Outlet bills
Add outlet bills
Adds new outlet bills with their items.
Request
[PlatformAddress]/api/connector/v1/outletBills/add
Property | Type | Contract | Description |
---|---|---|---|
| string | required | Token identifying the client application. |
| string | required | Access token of the client application. |
| string | required | Name and version of the client application. |
| array of Outlet bill parameters | required | The new outlet bills. |
Outlet bill parameters
Property | Type | Contract | Description |
---|---|---|---|
| string | required | Unique identifier of the Outlet where the bill was issued. |
| string | required | Number of the bill. |
| string | optional | Additional notes on the bill. |
| string | required | Date and time of the bill closure in UTC timezone in ISO 8601 format. |
| array of Outlet item parameters | required | The items on the bill. |
Outlet item parameters
Property | Type | Contract | Description |
---|---|---|---|
| string Outlet item type | optional | Type of the item. |
| string | required | Name of the item. |
| number | required | Unit count of the item. |
| required | Unit amount of the item. | |
| string | required | Date and time of the item consumption in UTC timezone in ISO 8601 format. |
| string | optional | An identifier of this item from another system. |
| string | optional | Additional notes of the item. |
| string | optional | Unique identifier of an Accounting category to be assigned to the item. |
Response
Property | Type | Contract | Description |
---|---|---|---|
| array of string | required | Array of unique identifiers of the added Outlet bills. |
Last updated