These docs are for v1.0. Click to read the latest docs for v2.0.
Added

New `electronic_billing_address` field on the invoice import

You can now choose the electronic billing address of a customer invoice when you import it with a conversion to e-invoice.
This address is used for the e-invoicing routing of the invoice, instead of the address saved on the
customer.

What's new

→ POST /api/external/v2/customer_invoices/import
The electronic_billing_address field can be sent when convert_to_e_invoice is true.

New field

FieldTypeDescription
electronic_billing_addressstring | nullThe electronic billing address of the customer used for the e-invoicing routing of this invoice.

The field is optional and nullable.
Please send one of the addresses returned by List eligible electronic billing addresses for a customer.
When the field is not sent, null or empty, the address saved on the customer is used.

Example:

{
  "convert_to_e_invoice": true,
  "electronic_billing_address": "123456789_00012",
  ...
}

For a complete request and the details of the field, see Import an invoice with file attached in the API reference.