curl --request PATCH \
--url https://api.zenskar.com/invoices/{invoice_id}/approve \
--header 'Content-Type: application/json' \
--header 'organisation: <api-key>' \
--header 'x-api-key: <api-key>' \
--data '
{
"check_duplicate_invoice": true
}
'{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}Approve an invoice by its ID.
curl --request PATCH \
--url https://api.zenskar.com/invoices/{invoice_id}/approve \
--header 'Content-Type: application/json' \
--header 'organisation: <api-key>' \
--header 'x-api-key: <api-key>' \
--data '
{
"check_duplicate_invoice": true
}
'{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}Documentation Index
Fetch the complete documentation index at: https://docs2.zenskar.com/llms.txt
Use this file to discover all available pages before exploring further.
"false"
Approve Invoice Request Schema
Check for duplicate invoice in same billing period
Successful Response