Zum Inhalt springen

API reference

Quittio\Core\Xml

quittio/core#

Quittio\Core\Xml

  • FormatNumber formats for XML: dot as decimal separator, no grouping, no exponent.
  • PaymentTermsTextBuilds the payment terms text (BT-20) from structured payment terms.
  • SerializationOptionsOptions for XML serialisation.
  • UnsafeXmlExceptionRejected XML input (DOCTYPE, too large, not well-formed).
  • XmlSecuritySafe XML loading for untrusted input.
  • XmlSerializer interfaceWrites calculated invoice data as XML in one syntax.

Quittio\Core\Xml\Cii

  • CiiReaderReads UN/CEFACT Cross Industry Invoices (Factur-X/ZUGFeRD, XRechnung CII) into the data model.
  • CiiWriterWrites UN/CEFACT Cross Industry Invoice (D16B) according to the EN 16931 binding (CEN/TS 16931-3-3) and the Factur-X/ZUGFeRD profiles.

Quittio\Core\Xml\Ubl

  • UblReaderReads UBL 2.1 Invoice and CreditNote documents (EN 16931, XRechnung UBL, Peppol BIS) into the data model.
  • UblWriterWrites OASIS UBL 2.1 Invoice and CreditNote documents according to the EN 16931 binding (CEN/TS 16931-3-2). Credit note type codes produce a CreditNote document.

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