Hello All!
This question is around using the BC API calls to pull back any additional PDF / salesInvoices beyond the first one initiated.
Order of Events:
- Sales Order is put in
- Partial order is Shipped & Invoiced - Invoice generates can be pulled from the UI
- Through the API you are not able to get back the pdfDocument for the invoice while the Sales Order is still outstanding
- Second portion of the order ships and a second invoice is generated (this is common to have two invoices for separate shipments) and is available in the UI
- When querying the salesInvoices() resource you can see both Invoices with their respective number but "id": is the same (see below)
- Now that the complete order has been shipped (in two shipments), when you hit the API for pdfDocument you are only able to get back the original invoice for the first POSTED invoice
I cannot find any documentation around either the pdfDocument or the salesInvoices that would allow for an additional parameter to select between the two posted sales invoices coming from the same order.
Any insight or documentation on how to make a call to pull them back selectively. In practice, I need to be able to call them individually not a combined call.

Report
All responses (
Answers (