POST https://api.zoined.com/accounting?dryRun=false&separator=%3B&encoding=utf-8
Security
bearerAuth
Any of:
Receipt type
| Enum Value | Description |
|---|---|
| income | This receipt is income for the company in income statement |
| cost | This receipt is cost for the company in income statement |
| asset | This receipt is balance sheet asset (eg. property) for the company |
| liability | This receipt is balance sheet liability (eg. debt) for the company |
Example:"cost"
Currency as ISO 4217 currency code. Required if multiple currencies are used.
Example:"EUR"
- Mock serverhttps://zapi-api.zoined.com/_mock/accounting
- https://api.zoined.comhttps://api.zoined.com/accounting
curl -i -X POST \
'https://zapi-api.zoined.com/_mock/accounting?dryRun=false&separator=%3B&encoding=utf-8' \
-H 'Authorization: Bearer <YOUR_token_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"transaction_id": "1234",
"line_item_id": "1",
"organisation_id": "540",
"department_id": "5401",
"account_id": "1150",
"event_date": "2016-01-01",
"event_time": "15:00:00",
"receipt_type": "cost",
"receipt_number": "12345",
"receipt_value": 2000,
"receipt_value_wo_vat": 1600,
"currency": "EUR",
"cancelled": true,
"custom_field_1": "XYZ",
"custom_field_2": "XYZ",
"custom_field_3": "XYZ",
"custom_field_4": "XYZ",
"custom_field_5": "XYZ",
"source_system": "ABCDEF"
}'Response
{ "status": "OK", "msg": "1 entity added" }