POST
/
consumers
/
{consumer_id}
/
accounting
/
invoices
/
pdf
/
{invoice_id}
Attach a document (PDF)
curl --request POST \
  --url https://api.chift.eu/consumers/{consumer_id}/accounting/invoices/pdf/{invoice_id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "base64_string": "<string>"
}'
This response does not have an example.

Authorizations

Authorization
string
header
required

This access token needs to be included in each of your request to the Chift API.

Path Parameters

consumer_id
string<uuid>
required
invoice_id
string
required

Query Parameters

folder_id
string | null

Id of the accounting folder instance. A folder represents a legal entity within the system. Required when the multiple folders feature is enabled.

overwrite_existing
enum<string> | null
default:false

Indicate what to do if a document is already attched to the invoice.

Available options:
true,
false

Body

application/json

Response

204

Successful Response