Keep your users updated as your project evolves
June 15, 2026
A broad pass aligning the API vocabulary with EN 16931 / Peppol BIS
Billing 3.0 — the standards behind EU e-invoicing. Several fields are
renamed across resources, and a few are added. If you integrated before
this date, review the renames below. The underlying id values are
unchanged throughout.
Breaking: the counterparty is now customer
The document/expense counterparty role is renamed purchaser →
customer (mirroring UBL AccountingCustomerParty). supplier is
unchanged. This supersedes the June 9 note that purchaser_id would keep
its name.
The contact_type value "purchaser" is likewise now "customer".
Breaking: party & address field renames
country_code is an ISO 3166-1 alpha-2 code — the internal numeric
country_id foreign key is no longer exposed.
tax_id and vat_id are unchanged (they’re already EN 16931 BT-32 /
BT-31 identifiers).
Breaking: line items
Document and expense line items are now exposed as line_items in
responses and accepted as line_items_attributes in create/update —
previously document_items / expense_items. The per-line position
field order is renamed line_number (EN 16931 BT-126, the invoice
line identifier).
On create/update, send line_items_attributes (was
document_items_attributes / expense_items_attributes):
This is unrelated to the list ?order=asc|desc sort parameter
(introduced June 9), which is unchanged. Only the line-item field
order became line_number.
Breaking: country codes are uppercase
country_code is returned in canonical uppercase ISO form — "SK",
not "sk". Inbound country_code on create/update is accepted
case-insensitively, so existing lowercase clients keep working on writes.
Breaking: seen_timestamp → seen_at
The document read-tracking timestamp (when the recipient first opened the
PDF) is renamed seen_timestamp → seen_at, matching the *_at
convention used by the other timestamps.
Breaking: bank account internal fields removed
Two fields are removed from the bank accounts resource — both exposed internal state the API shouldn’t have surfaced:
invoice_display— removed from responses and the create/update request body. It had no effect (nothing reads it yet; it was reserved for a future “choose which accounts appear on an invoice” capability). On create/update, stop sending it — the key is now ignored.tenant— removed from responses. It was an internal flag for the property-management (realities/rents) feature, never accepted on writes and unrelated to API tokens or multi-workspace access.
New: counterparty legal name + document totals
Documents and expenses now expose the counterparty’s pinned legal name and the computed monetary totals:
legal_nameon the embeddedcustomer/supplier— the identity frozen at issue time, not the live party. (trading_namewas removed; it was unused.)subtotal,vat_amount,total,vat_summaries(PeppolLegalMonetaryTotal/TaxTotal), plus the live payment pairamount_paid/amount_due(amount_due = total − amount_paid). All monetary values are decimal strings.
Fixed: vat_payer_type enum
The documented vat_payer_type values now match the API:
standard, non_payer_vat, foreign. The spec previously
advertised vat_registered_eu / vat_registered_oss, which the API does
not accept.
