GET
/v1/down-paymentsReturns the down payment invoices this company issued whose contract reference (BT-12) or order reference (BT-13) is reference, oldest first. A down payment invoice has type 326, 386 or 875. Only the newest version of an edited invoice is listed.
Query parameters
- referencestringRequired
Response
A 200 answer carries these fields.
- referencestringRequired
- downPaymentsarray of objectRequired
Show 10 child fields
- invoiceIdstring (uuid)Required
- invoiceNumberstringRequired
- issueDatestring (date) or nullRequired
- typeCodestringRequired
- currencystringRequired
- taxExclusiveAmountstringRequired
- taxAmountstringRequired
- taxInclusiveAmountstringRequired
- payableAmountstringRequired
- paidbooleanRequired
True when its history holds
api:paid.
Status codes
| Status | Meaning |
|---|---|
200 |
The down payments. |
400 |
|
401 |
|
501 |
GET
/v1/down-paymentsExample
curl https://api.certinvo.com/v1/down-payments?reference=string \
-H "Authorization: Bearer $CERTINVO_API_KEY"const response = await fetch(`https://api.certinvo.com/v1/down-payments?reference=string`, {
headers: {
Authorization: `Bearer ${process.env.CERTINVO_API_KEY}`,
},
})
console.log(response.status, await response.json())import os
import requests
response = requests.get(
"https://api.certinvo.com/v1/down-payments?reference=string",
headers={"Authorization": f"Bearer {os.environ['CERTINVO_API_KEY']}"},
)
print(response.status_code, response.text)200
application/json
{
"reference": "string",
"downPayments": [
{
"invoiceId": "3f0c2a5e-8d1b-4c7a-9e2f-6b5d4a3c2b1a",
"invoiceNumber": "string",
"issueDate": "2026-09-17",
"typeCode": "string",
"currency": "string",
"taxExclusiveAmount": "string",
"taxAmount": "string",
"taxInclusiveAmount": "string",
"payableAmount": "string",
"paid": true
}
]
}Success response