Update an Imported customer invoice

Update an imported customer invoice or credit note. It is not applicable for draft invoices.

This endpoint requires the following scope: customer_invoices:all

Path Params
integer
required

The ID of the imported customer invoice

Query Params
boolean
Defaults to true

If you are already using the X-Use-2026-API-Changes header, you can ignore this parameter.

The Pennylane API is introducing important changes, which will be rolled out in three phases: preview, sunset and cleanup.

For new user, please use this parameter with true value to opt in directly to the new version of the API.

Preview phase: From January 14th to April 7th 2026. Opt in by setting this attribute to true to test and migrate to the new behavior.

Sunset phase: From April 8th to June 30th 2026. The new behavior becomes the default. Set this attribute to false if you need additional time to migrate.

Cleanup phase: Starting July 1st 2026 The old behavior will no longer be available. You must have migrated by this point.

For more details, see our API documentation https://pennylane.readme.io/docs/2026-api-changes-guide for migration instructions.

Body Params
date

Invoice date (ISO 8601)

date

Invoice payment deadline (ISO 8601)

int64

Customer identifier

string

Invoice number

string
enum
Defaults to EUR
string

Invoice currency amount before tax (total value before tax of the invoice in the currency of the invoice)

string

Invoice currency amount (total value of the invoice in the currency of the invoice)

string

Invoice amount in euros (total value of the invoice in euros). If the currency is euro, currency_amount and amount are identical.

string

Invoice taxable amount (in invoice currency)

string

Invoice taxable amount (in euros). If the currency is euro, currency_tax and tax are identical.

transaction_reference
object | null

Schema for creating/updating a transaction reference

invoice_lines
object

Add, update, delete invoice lines.

string

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

Responses

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