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.

8 breaking1 security7 new APIs and options6 behavior and defaults1 tooling27 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 218 changes

Breaking changes 3

Security 1

New APIs and options 2

  • Customization ID and profile ID can now be overridden.

    2.3.2release notes

  • Creates a file dictionary for PDF attachments.

    2.2.0release notes

Behavior and default changes 2

  • The endpoint ID is optional for CII invoices, so developers can create them without supplying one.

    2.3.2release notes

  • Distinguishes global from local delivery location IDs.

    2.2.0release notes

Tooling 1

Fixes and other changes 9

  • Missing contact transformations were added, allowing contact data to be transformed.

    2.3.2release notes

  • A correction to CII handling addresses an issue with corrected invoices.

    2.3.2release notes

  • The transformation for payment means was corrected.

    2.3.2release notes

  • The order of ShipToTradeParty was corrected.

    2.3.2release notes

  • Fixes handling of an empty ApplicableHeaderTradeDelivery.

    2.2.0release notes

  • Addresses UBL-to-CII conversion issues involving GLN output.

    2.2.0release notes

  • Addresses incorrect ID namespaces in UBL-to-CII conversion.

    2.2.0release notes

  • Addresses UBL-to-CII conversion issues involving tax scheme mapping.

    2.2.0release notes

  • Fixes some transformation definitions.

    2.2.0release notes