Create Proforma Invoice
The CreateProformaInvoice API in OCS.io is a specialized tool designed to generate proforma invoice documents. This API is built upon the CreateAnyDocument API, making it a more specific tool for creating proforma invoice documents.
API Overview
| Detailed API documentation and endpoint specifics are available here. | 
Request Validations
The following validations are performed when creating a proforma invoice:
- 
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 Proforma 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.