Service Purchase Invoices

Introduction to Invoices through API

Invoice consist of two general parts:

  • Header
  • Lines

To get a full invoice, firstly you need to get invoice's header, for example:

GET https://app.vecticum.com/api/v1/Rsk9Jv9bV7bGBFupWlE3

Rsk9Jv9bV7bGBFupWlE3 - endpoint for service invoices.


To get lines, another endpoint must be used. For example:

https://app.vecticum.com/api/v1/I10spNv4pUdDN47PufV2. This URL returns lines of all invoices. To get lines of one invoice, filter must be used:

{"key":"idparentId","operator":"==","value":"invoiceId"}, where invoiceId is invoice's header ID.

After importing invoices, do not forget to return a result to Vecticum to avoid miscommunication and duplicates. Returning a result