Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 5 Next »

GlobalCapture provides a no code interface directly to the Dynamics 365 API. While Square 9’s out of the box integration supports bi-directional data flows for interfacing with AP data entry functions, any API functions may be called with a basic understanding of of how the Dynamics nodes interact with the API and its data. There is no code required for limitless data extensibility with Dynamics 365.

While Square 9’s packaged solutions and this documentation is 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.

"lineType": "Account"

  • No labels