API Docs
Invoice Service
Contents
This API operates on an invoice.
It is possible to use this API to process an invoice - see blog: Creating an invoice using APIs.
It is also possible to use this API for invoice integration with ERP system - see blog Alma - ERP invoices integration using APIs.
Resource URL
POST /almaws/v1/acq/invoices/{invoice_id}
API Description
URL Parameters
Parameter | Type | Description |
---|---|---|
invoice_id | xs:string | The Invoice id. |
Querystring Parameters
Parameter | Type | Required | Description |
---|---|---|---|
op | xs:string | Required | The operation to perform on the invoice. Currently, the options are 'mark_in_erp', 'paid', 'process_invoice' or 'rejected' |
Body Parameters
This method takes an invoice object. See doc
Output
This method returns a Invoice
object. See doc
Possible Error Codes
Code | Message |
---|---|
40166410 | Parameter op is not valid. |
412400 | Invoice X not found. |
60260 | Failed to start invoice process and workflow. |
60267 | Failed to process invoice in ERP. |
60268 | The invoice note is mandatory. |