Zum Inhalt springen

API reference

Quittio\Core\Reading

quittio/core#

Quittio\Core\Reading

  • DeclaredExemptionReasonsEN 16931 carries the VAT exemption reason (BT-120, BT-121) only on the VAT breakdown, the data model takes it from the lines (LineVat) and document allowances and charges. Readers copy the declared reasons back, so that a recalculation keeps them.
  • DiagnosingXmlExtractor interfaceAn extractor that also reports where the XML came from and what it noticed on the way.
  • EmbeddedXmlExtractor interfaceExtracts the embedded invoice XML from a hybrid PDF (ZUGFeRD/Factur-X, XRechnung in PDF).
  • ExtractedXmlThe invoice XML found in a hybrid PDF, with the file specification it came from.
  • FormatReader interfaceReads one XML invoice format into the data model.
  • InvoiceReaderReads e-invoices from XML or PDF.
  • ReadResultResult of reading an e-invoice: the parsed data, the totals declared in the document (kept unchanged for comparison), findings and the raw input.
  • UnreadableInvoiceExceptionThe input is not a supported e-invoice.

Die Open-Core-Pakete stehen unter der MIT-Lizenz. Die rechtlichen Formulierungen der Länderpakete sind mit einer Steuerberatung abzustimmen.