unstale

npm / @e-invoice-eu/core

@e-invoice-eu/core

What changed in @e-invoice-eu/core 2 to 3, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-25.

5 breaking1 security5 new APIs and options4 behavior and defaults1 tooling18 fixes and other

See which of these apply to your code, ranked, in your agent:

npx @unstale/cli init

@unstale/cli 0.2.6 on npm

@e-invoice-eu/core 332 changes

Breaking changes 5

  • The software now uses cbc:CompanyLegalForm instead of cbc:LegalForm.

    3.2.0release notes

  • Amount elements no longer include @currencyID, which is forbidden by CII-DT-031.

    3.0.2release notes

  • ReceivableSpecifiedTradeAccountingAccount is now placed inside ApplicableHeaderTradeSettlement.

    3.0.2release notes

  • A global ID is downgraded when no scheme is present.

    3.0.1release notes

  • The invoice interface has a breaking change; code referencing its types directly may need changes.

    3.0.0release notes

New APIs and options 5

  • The library allows overriding invoice metadata; this experimental feature may be removed in the next major release.

    3.4.0release notes

  • CII Extensions are supported for invoice note subject codes (BT-21) through this special element.

    3.2.0release notes

  • Base64 padding is optional.

    3.1.1release notes

  • Adds the UnitPriceAmount type for BT-146, BT-147, and BT-148.

    3.1.0release notes

  • Adds a postprocessor option to modify invoice data before XML is rendered.

    3.0.3release notes

Behavior and default changes 4

  • Top-level cbc:Note can now be a single string value or an array of strings.

    3.4.2release notes

  • Top-level x-cii:SubjectCode can now be a single string value or an array of strings.

    3.4.2release notes

  • Uses the new tag schema.

    3.3.0release notes

  • VAT date codes are automatically converted between UBL UNCL 2005 and CII UNCL 2445 according to the selected invoice format.

    3.2.0release notes

Fixes and other changes 18

@e-invoice-eu/core 22 changes

Security 1

Tooling 1