Skip to content

EInvoice for Pascal 0.9.0-beta.1

Pre-release
Pre-release

Choose a tag to compare

@landrix landrix released this 13 Nov 16:28
· 12 commits to main since this release

First public pre-release of EInvoice for Pascal: one library for electronic invoices according to EN 16931, for Delphi 6 to 13 and Free Pascal 3.2.2+, without MSXML and without Java.

This is a beta. The API may still change until 1.0. Units marked API: internal, among them validation and rendering (documented as a preview), may change in any release.

What it does

  • Read and write XRechnung 3.0.2 (UBL and CII), ZUGFeRD 2.5.2 / Factur-X 1.09.2 (MINIMUM to EXTENDED) and Peppol BIS Billing 3.0.21; read the invoice embedded in a ZUGFeRD / Factur-X PDF (the library does not write PDF).
  • Three levels: the semantic model TLandrixInvoice (the TInvoice of XRechnung-for-Delphi), and the generated syntax models TLandrixCII... (Factur-X EXTENDED) and TLandrixUBL....
  • Check the business rules before writing: EN 16931, XRechnung, Peppol and the Factur-X code checks, about 380 rule identifiers.
  • Validate XML and PDF documents against the official KoSIT configurations (XML schema and Schematron) natively, with the same verdict as the KoSIT validator; reports as XML and HTML. addons/kosit/install-kosit.ps1 installs the configuration files.
  • Show invoices as HTML or Markdown, in English or German.
  • Move from XRechnung-for-Delphi with the compatibility units (same names, change the uses clause); a guide for ZUGFeRD-for-Delphi users.
  • Examples for Delphi and Lazarus, among them Workbench, a window to create, open, check and show invoices.

Getting started

git clone --recurse-submodules https://github.com/LandrixSoftware/EInvoice-for-Pascal.git

Add source and external/landrix-xml/source to the search path. See Getting started (Deutsch) and Validating and showing invoices.

The source archives of a GitHub release do not contain the LandrixXML submodule: clone with --recurse-submodules, or download LandrixXML for Pascal 0.4.0 into external/landrix-xml.

License

GPL-3.0-or-later or the Landrix Software Commercial License; see README. The full list of changes is in CHANGELOG.md.