Skip to content

API reference

List the down payments of a contract

Invoicing API

GET/v1/down-payments

Returns 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-payments
Example
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
GET
/v1/down-payments
List the down payments of a contract
All
›AuthenticationRequiredBearerAuth

Provide your API key in the Authorization: Bearer <key> header. Keys are stored locally in your browser.

›Headers2
›Query Parameters1
›Code Snippet
curl -X GET "https://api.certinvo.com/v1/down-payments" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json"
Response

No request sent yet

Configure parameters and click Send to view the response.

Navigation

Type to search…

↑↓ navigate↵ selectEsc close