Versions Compared

Key

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

Note

Moved to https://app.gitbook.com/o/-LhoT2vqihl0pYiCeolt/s/-MLgVvwAcuJjEnACKN0B/user-guides/accounting-integration-api/autopost-invoices

When inserting data that in the end will result in an account payable, you might want to post the invoice directly. This can be done with a couple of API calls.

...

To generate invoice lines post the below request, where key is the voyage key. For multiple voyages, add multiple keys.

Code Block
POST /ws/rest/Document/refreshDocumentLines?key=123&key=456&isAccountsPayable=true
Body: empty

...