Use Invoice4U with eComm API
You can generate Invoice4U receipts through ecommerce API.
If you are submitting a transaction via API, please see the API documentation, where you can indicate which Payment Document would you like to have generated if the Transaction Type and Status are eligible.
Depending on the Payment Document Type selected, various fields will also need to be submitted in the API request.
The table below presents the Invoice4U specific fields (required and not required) for ecommerce API:
Parameters |
Type |
Required |
Description |
---|---|---|---|
receipt_type |
String |
Yes |
Supported types: “INVOICE_RECEIPT”, “FULL_RECEIPT” & “INVOICE” |
line_items |
Object |
Yes (for INVOICE and INVOICE_RECEIPT) |
Object carrying the parameters required for the product line items |
name |
String
|
Yes |
Descriptive name of the order line item |
quantity |
Integer |
Yes |
Quantity of the order line item |
unit_price |
Integer |
Yes |
Single unit price (tax included) |
tax_rate |
Number |
No |
Tax rate |
total_amount |
Integer |
Yes |
Total product amount (quantity × unit_price) |
sku |
String |
No |
The stock keeping unit (SKU) for the item |
sales_description | String | No | General description of the document |