Skip to main content
PATCH
/
invoices
/
{invoice_id}
/
approve
Approve invoice
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.

Authorizations

x-api-key
string
header
default:<your-api-key>
required
organisation
string
header
default:<your-organisation-id>
required

Path Parameters

invoice_id
string<uuid>
required

Query Parameters

send_email
boolean | null
default:true
Example:

"false"

Body

application/json

Approve Invoice Request Schema

check_duplicate_invoice
boolean | null

Check for duplicate invoice in same billing period

Response

Successful Response