Skip to main content

Version 2.0.5

ยท One min read

New feature:

It is now possible to specify the VAT exemption type (vatExemptionType) when creating a document via the API.

  • vatExemptionType is available in both input and output of document endpoints.
  • When vatExemptionType is provided, the amountNotice field is automatically derived from the corresponding legal notice.
  • amountNotice can only be set manually when vatExemptionType is CUSTOM_EXEMPTION or CUSTOM_APPLICATION.
Breaking change

Sending amountNotice without a compatible vatExemptionType (CUSTOM_EXEMPTION or CUSTOM_APPLICATION) now returns a 400 error.

More details here.

New field: tradeName on Portal and Documents

The enterprise object of the Portal (and the from field on Documents) now exposes an optional tradeName field.

This field represents the trade name of the company, as opposed to the legal name (name, required for legal compliance).

  • Available on GET /portal, PATCH /portal, and all document outputs (from.tradeName).
  • When set, the trade name is displayed prominently on PDF documents; the legal name appears below it.
  • Fully backward-compatible: existing portals and documents without this field are unaffected.