Skip to content

Releases

v0.3.2

Choose a tag to compare

@github-actions github-actions released this 19 Nov 16:41
78545f8

Fixed

  • The web app reads "1.000" in the answer of a language model as 1000, as the reader of the page does, not as 1.

Security

  • fast-xml-parser 5.12.0, which reads an unterminated tag without quadratic CPU time (GHSA-474x-hrwr-fgx4).

v0.3.1

Choose a tag to compare

@github-actions github-actions released this 17 Nov 16:56
1750938

Fixed

  • A finding about a line total quotes the expected amount in cents, as the XML has it: 1 x 1.005 less 0.02 is 0.99,
    not 0.98.
  • Checking an e-invoice no longer calls a discount a contradiction whose percentage repeats the minus of a credit
    note, and reads freight that the profile EXTENDED states as a logistics service charge.

v0.3.0

Choose a tag to compare

@github-actions github-actions released this 16 Nov 17:12
60a37f9

Added

  • Discounts and charges on the whole invoice (discounts, charges): a percentage, an amount or both, a reason and
    the VAT category and rate they belong to. A percentage is taken of each VAT rate of the lines; an amount is never
    split between rates. They are checked, written into the XML, read back from an e-invoice and entered in the web app.
  • check refuses category O beside any other VAT category (BR-O-11).

Changed

  • calculate throws for a discount or charge it cannot place in a VAT group; check says why. readInvoiceXml and
    validateEInvoice return percentages, which check takes as an option.

v0.2.0

Choose a tag to compare

@github-actions github-actions released this 13 Nov 22:24
5cd7b3f

Added

  • A discount on a line item (discount): a percentage, an amount or both, with a reason. It is checked, written into
    the XML, read back from an e-invoice and entered in the web app.

Fixed

  • guessFromText no longer takes the customer's VAT ID or the seller's own address for the other party, nor a
    second currency on the page for the invoice's. It reads the country below an address abroad, Dutch postal codes,
    units in a column of their own, negative amounts set with a minus sign, English totals rows, the title of a
    partial, prepayment or corrected invoice with its type, periods over several months, payment terms that start
    with "Die Zahlung ist", and the VAT category of an invoice without VAT from its printed reason.
  • readInvoiceXml takes no customer number for a tax number, and check finds unit prices finer than a cent on the
    PDF. keepWhatThePdfShows keeps quantities with a thousands separator and periods printed as months.

v0.1.0

Choose a tag to compare

@github-actions github-actions released this 11 Nov 17:54
0465edb

The first release.

Added

  • createEInvoice: an existing invoice PDF plus invoice data becomes a ZUGFeRD / Factur-X e-invoice (PDF/A-3 with
    CII XML, profile EN 16931) without redrawing the pages. Scripts and actions PDF/A forbids are taken out of the
    PDF, and the data is compared with its text.
  • createXRechnung, and profile: 'xrechnung' for createEInvoice: the same data as XRechnung 3.0 for German
    public bodies, as plain XML in UBL or CII, or inside the PDF.
  • check: required fields, formats, EN 16931 arithmetic and a comparison of numbers, names, addresses, dates and
    amounts with the text of the PDF; with rules: 'xrechnung' also what XRechnung asks for on top.
  • extractText, extractLayout and guessFromText: the text and layout of a PDF, and reading an invoice from them
    without a model: totals by arithmetic, items that add up to them, also over several pages, seller and buyer,
    identifiers by their shape, and contact data and the buyer reference where the page leaves no doubt whose they
    are; labels in German, English and French.
  • keepWhatThePdfShows: drops what a language model returned but the PDF does not show.
  • validateEInvoice and readEmbeddedXml for existing e-invoices.
  • VAT categories S, Z, E, AE, K, G and O; invoices, credit notes, corrected, partial, prepayment and self-billed
    invoices.
  • Command line tool pdf-to-einvoice, an MCP server (pdf-to-einvoice mcp) and a skill for agents, with which the
    agent reads the PDF itself, a scanned one too.
  • Web app in English and German that runs entirely in the browser: marks on the preview show where each value stands
    on the page, every finding says what to do, the XML can be viewed before the file is created, XRechnung is a
    second output, and an existing e-invoice that is dropped gets a verdict.
  • Web app: on request a language model in the browser fills in what the patterns left empty. A bar shows how far its
    answer has come, every value it adds is marked until the user has checked it, and reading can be cancelled.