Create Generic Invoice
The CreateGenericInvoice
API in OCS.io is a specialized tool designed to generate generic invoice documents. This API is built upon the CreateAnyDocumentWithLines
API, making it a more specific tool for creating invoice documents with multiple lines.
This API is particularly useful when there’s a need to create a generic invoice document from product catalogue items outside OCS.io.
API Overview
Detailed API documentation and endpoint specifics are available here. |
Request Validations
The following validations are performed when creating a generic invoice document:
-
Account must be provided in the request, it must be already created in the system and must not be in Deactivated State.
-
Payer must be already created in the system.
-
Document Type of Category Generic Invoice must be configured in the system.
-
Document Source must be configured in the system.
-
Currency must be configured in the system.
-
Payment Method must be configured in the system.
-
Delivery Method must be configured in the system.
-
If External Document Number is provided in the request, other Document with the same External Document Number must not be already created in the system, it must be unique.