InvoiceDetail (invoice product) entity messages and methods


Updated: November 29, 2016

Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2016, Dynamics CRM Online

An invoice product (invoice detail) stores a line item in an invoice. Each invoice can have multiple invoice detail records.


The pricing error code is specified in the InvoiceDetail.PricingErrorCode attribute. The possible values for this attribute are defined in the Pricing Error (qooi_pricingerrorcode) global option set.

The schema name for this entity is InvoiceDetail. To view the entity metadata for your organization, install the Metadata Browser solution described in Browse the metadata for your organization. You can also view the metadata for an uncustomized organization in the Excel file called EntityMetadata.xlsx included in the top-level folder of the SDK download. The following table describes the messages for this entity, which you use with the IOrganizationService.Execute method.




Creates an invoice detail. You can also call the IOrganizationService.Create method.


Deletes an invoice detail. You can also call the IOrganizationService.Delete method.


Retrieves an invoice detail. You can also call the IOrganizationService.Retrieve method.


Retrieves a collection of invoice details. You can also call the IOrganizationService.RetrieveMultiple method.


Updates an invoice detail. You can also call the IOrganizationService.Update method.

Microsoft Dynamics 365

© 2016 Microsoft. All rights reserved. Copyright

Community Additions