New "apiv2" group for the Purchase Invoice API (1099 fields added)

Modified on Fri, Mar 8 at 1:06 PM

Issue: There was an error message when a user was trying to use the “purchaseInvoices” endpoint to integrate documents into Business Central.


Error: No HTTP resource was found that matches the request URI (404 error)


Solution: To resolve this issue, we have added the new "apiv2" group for the Purchase Invoice API.  In addition, it also includes the IRS 1099 Liable flag for the header and the line.


Users can send a GET to the common service endpoint using the URL below:


https://api.businesscentral.dynamics.com/v2.0/[tenant id]/[environment]/api/tct/apiv2/v2.0/companies([company GUID])/purchaseInvoices


The API behavior should mimic the UI behavior.  If you want to clear the IRS 1099 Code at the header level, then specify an empty value in the message body.  If you exclude the attribute in the message entirely, the default behavior should take over.

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article