Changelog

Change history of the Aruba Electronic Invoicing SDK

Changelog

All notable changes to the SDK are documented on this page.

Packages follow Semantic Versioning and are versioned independently via Changesets. For the full per-package detail, see the respective CHANGELOG.md files on GitHub.

xml-builder 0.3.0

Features

Dramatically simplifies invoice construction and reduces classes of tax errors. All changes are backward compatible.

  • Auto-computed totals: addLinea/setDettaglioLinee number the lines, compute PrezzoTotale, and automatically generate the DatiRiepilogo (grouped by rate + nature) and the ImportoTotaleDocumento in build(). Added the pure utility calcolaRiepilogo.
  • Type-safe serializer (fix): escapeXml and formatDecimal now coerce their inputs — number values passed where strings are expected (e.g. VAT/ZIP code from a database) no longer crash serialization. Quantita keeps 2–8 decimals instead of truncating to 2.
  • Flat-field anagrafica helpers: cedentePrestatore, cessionario, sede, contatti avoid manual construction of nested objects.
  • Builder convenience: validate(), toXml(), toResult() (object + XML + validation + SDI file name) and the nomeFileSdi, toNumber, round2, calcolaPrezzoTotale, setEsigibilitaIVA utilities. build() is now repeatable (does not mutate state).

nuxt 0.2.1

Patch Changes

  • Updated internal dependencies (xml-builder@0.3.0).

nuxt 0.1.1

Patch Changes

  • Removed a duplicate server export that caused import warnings.

0.1.0 — Initial alpha release

First public release of all SDK packages:

  • @fatturazione-elettronica-aruba/core
  • @fatturazione-elettronica-aruba/invoices
  • @fatturazione-elettronica-aruba/notifications
  • @fatturazione-elettronica-aruba/communications
  • @fatturazione-elettronica-aruba/xml-builder
  • @fatturazione-elettronica-aruba/utils
  • @fatturazione-elettronica-aruba/nuxt