To get information of the new incoming invoices in Maventa, start by listing the new incoming invoice id’s and save them locally.
Both of the methods can be used to list the new incoming invoices.
Invoice_list_ids is usually used by on-premise systems where as SaaS systems use list_vendor_inbound_invoices.
direction=RECEIVED
, received_at_start
, and received_at_end
to get list of invoices to download.
source_format
) and all the assosiated attachments (files
-array). Each file in the array has its own id, type and href.files
, therefore there is no invoice image. To download attachment marked as invoice image see the next chapter.After you have listed and saved the new incoming invoice id’s, download the invoice files and attachments into your system.
return_format
:
To get specific file of the invoice you can use GET /v1/invoices/{id}/files/{file_id}. You need invoice’s id
and the file’s id
, which were returned when invoices were listed.
Example usage:
return_format
as FINVOICE30.return_format
being one of the described above.href
for each file in files
array in response of GET /v1/invoices.