Create Invoice
Authentication
Request
Open balance , when it is <= 0, status will be auto set to 2
The due date for this invoice, specified as a Unix timestamp. If left empty, it will be set to the current date plus a pre-configured number of days (set in your B2B Edition control panel settings).
Invoice status. Possible values: 0: Open (default) 1: Partially paid 2: Completed
The status will automatically be set to Completed (2) when the open balance becomes zero or negative.
The source of the invoice. Possible values: 0: B2B Edition 1: External
The URL of an externally hosted PDF file to be associated with this invoice. The file size must not exceed 5 MB. Ensure that the file hosting service supports Cross-Origin Resource Sharing (CORS) to allow our system to access the file.
Terms & Conditions. Visible on the default Invoice PDF.