curl --request POST \
--url https://api.clientbox.co/api/1.1/wf/create-invoice \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"customer_id": "cust_12345",
"amount": 150.5,
"currency": "EUR",
"items": [
{
"description": "Consultancy uren",
"price": 75.25
}
]
}
'{
"invoice_id": "inv_998877",
"status": "sent",
"download_url": "https://clientbox.co/dl/inv_998877.pdf"
}Genereert een PDF factuur en stuurt deze (optioneel) direct per mail.
curl --request POST \
--url https://api.clientbox.co/api/1.1/wf/create-invoice \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"customer_id": "cust_12345",
"amount": 150.5,
"currency": "EUR",
"items": [
{
"description": "Consultancy uren",
"price": 75.25
}
]
}
'{
"invoice_id": "inv_998877",
"status": "sent",
"download_url": "https://clientbox.co/dl/inv_998877.pdf"
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
ID van de klant die de factuur krijgt.
"cust_12345"
Totaalbedrag exclusief BTW.
150.5
Valuta code (ISO 4217).
EUR, USD, GBP "EUR"
Lijst met factuurregels.
Show child attributes
Was this page helpful?