Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

While Square 9’s packaged solutions and this documentation is are focused on Dynamics 365 Business Central, other APIs in the Dynamics 365 are also accessible, including Azure Active Directory and Dynamics 365 CRM.

Purchase Invoice Lines

Purchase invoices need at least one line item to represent the transaction and how it should be coded.

The purchase invoice line endpoint looks like:

purchaseInvoices({p_id})/purchaseInvoiceLines

Where {p_id} represents the ID (a GUID) returned from the purchase invoice create request.

Acceptable types are noted below, and should be passed in the request body for creating a new purchase invoice line. Choose the correct line type for the transaction you are working with (inventory, non-inventory, etc). Note that the required element of a line may change depending on the type of line chosen.

  • Comment

  • Account

  • Item

  • Resource

  • Value

  • Fixed Asset

  • Charge

One of these values is required for the lineType parameter.

...

languagejson

...

Objects for Dynamics 365 Business Central may be found here. Square 9’s quick start package offers out of the box configurations for processing Purchase Invoices, and best practices patterns for for interacting with the data.

Objects for Dynamics 365 CRM may be found here.

Child pages (Children Display)
alltrue
excerptTyperich content