Update a commercial document

This endpoint allows you to update a commercial document.

Only the fields present in the payload are applied. The document type
and the document number cannot be changed after creation.

ℹ️

This endpoint requires the following scope: commercial_documents:all

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
integer
required
Body Params
date

Document issue date (ISO 8601)

date

Document validity deadline (ISO 8601)

int64

Customer identifier

int64

The commercial document template ID

string

For example, the contact details of the person to contact

string

Document title

string

Document description

string
enum
Defaults to EUR
string

Additional details. Maximum 2,000 characters.

string
enum

The local default is based on the thirdparty (customer / supplier ) billing_language . In case the customer is not present, we will default to the company locale.

Allowed:
discount
object
string

The unique external reference that was assigned during creation either by you or Pennylane.

invoice_line_sections
object

Add, update or delete line sections. Sections that are not listed
are left untouched.

invoice_lines
object

Add, update or delete invoice lines. Lines that are not listed are
left untouched.

Responses

Language
Credentials
OAuth2
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json