Monitor API availability and service status. Use these endpoints to verify connectivity and check if the API is operational.
- Create Invoice record attachments
DualEntry Public API (1.0.0)
- Production environmenthttps://api.dualentry.io/public/v1/invoices/{record_number}/
- Development environment (for testing)https://api-dev.dualentry.io/public/v1/invoices/{record_number}/
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X PUT \
'https://api.dualentry.io/public/v1/invoices/{record_number}/' \
-H 'Content-Type: application/json' \
-d '{
"date": "2019-08-24",
"transaction_date": "2019-08-24",
"custom_fields": [
{}
],
"items": [
{
"id": 0,
"item_id": 0,
"quantity": 0,
"rate": 0,
"position": 0,
"memo": "string",
"classifications": [],
"tax": {
"code": "string",
"rate": 0,
"amount": 0,
"is_taxable": true,
"tax_exempt_amount": 0
}
}
],
"memo": "string",
"due_date": "2019-08-24",
"company_id": 0,
"customer_id": 0,
"currency_iso_4217_code": "AED",
"bill_to_address": "",
"billing_address": {
"street": "string",
"city": "string",
"state": "string",
"postal_code": "string",
"country": "",
"second_line": ""
},
"ship_to_address": "",
"shipping_address": {
"street": "string",
"city": "string",
"state": "string",
"postal_code": "string",
"country": "",
"second_line": ""
},
"exchange_rate": 0,
"sales_order_id": 0,
"record_status": "posted",
"attachments": [],
"contracted": false,
"term_id": 0,
"reference_number": "",
"payment": {
"type": "string",
"id": 0,
"body": "string",
"link": "string"
}
}'OK
Total amount of transaction
Total amount of transaction
Amount to be paid
Amount to be paid
Amount that was already paid by Customer Repayment Applications or Customer Payments
Amount that was already paid by Customer Repayment Applications or Customer Payments
Posting date (GL date) - the date when the transaction is recorded in the general ledger
Transaction date (inception date) - the date when the transaction actually occurred
{ "attachments": [], "payment": { "type": "string", "id": 0, "body": "string", "link": "string" }, "term_id": 0, "term_name": "string", "transaction_ids": [ 0 ], "created_by": { "actor_type": "string", "email": "string", "first_name": "string", "last_name": "string", "timestamp": "2019-08-24T14:15:22Z" }, "updated_by": { "actor_type": "string", "email": "string", "first_name": "string", "last_name": "string", "timestamp": "2019-08-24T14:15:22Z" }, "internal_id": 0, "number": 0, "items": [ { … } ], "company_id": 0, "company_name": "string", "company_currency": "string", "customer_id": 0, "customer_name": "string", "currency_iso_4217_code": "AED", "exchange_rate": 0, "amount": 0, "amount_due": 0, "paid_total": 0, "memo": "string", "date": "2019-08-24", "transaction_date": "2019-08-24", "due_date": "2019-08-24", "bill_to_address": "string", "ship_to_address": "string", "billing_address": { "street": "string", "city": "string", "state": "string", "postal_code": "string", "country": "", "second_line": "" }, "shipping_address": { "street": "string", "city": "string", "state": "string", "postal_code": "string", "country": "", "second_line": "" }, "record_status": "draft", "recurring_record_number": 0, "reference_number": "string" }
- Production environmenthttps://api.dualentry.io/public/v1/invoices/{record_number}/attachments/
- Development environment (for testing)https://api-dev.dualentry.io/public/v1/invoices/{record_number}/attachments/
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
'https://api.dualentry.io/public/v1/invoices/{record_number}/attachments/' \
-H 'Content-Type: multipart/form-data' \
-F files=stringOK
Total amount of transaction
Total amount of transaction
Amount to be paid
Amount to be paid
Amount that was already paid by Customer Repayment Applications or Customer Payments
Amount that was already paid by Customer Repayment Applications or Customer Payments
Posting date (GL date) - the date when the transaction is recorded in the general ledger
Transaction date (inception date) - the date when the transaction actually occurred
{ "attachments": [], "payment": { "type": "string", "id": 0, "body": "string", "link": "string" }, "term_id": 0, "term_name": "string", "transaction_ids": [ 0 ], "created_by": { "actor_type": "string", "email": "string", "first_name": "string", "last_name": "string", "timestamp": "2019-08-24T14:15:22Z" }, "updated_by": { "actor_type": "string", "email": "string", "first_name": "string", "last_name": "string", "timestamp": "2019-08-24T14:15:22Z" }, "internal_id": 0, "number": 0, "items": [ { … } ], "company_id": 0, "company_name": "string", "company_currency": "string", "customer_id": 0, "customer_name": "string", "currency_iso_4217_code": "AED", "exchange_rate": 0, "amount": 0, "amount_due": 0, "paid_total": 0, "memo": "string", "date": "2019-08-24", "transaction_date": "2019-08-24", "due_date": "2019-08-24", "bill_to_address": "string", "ship_to_address": "string", "billing_address": { "street": "string", "city": "string", "state": "string", "postal_code": "string", "country": "", "second_line": "" }, "shipping_address": { "street": "string", "city": "string", "state": "string", "postal_code": "string", "country": "", "second_line": "" }, "record_status": "draft", "recurring_record_number": 0, "reference_number": "string" }