Zum Inhalt springen

API reference

Quittio\Core\Mapping\Attributes

quittio/core#

Quittio\Core\Mapping\Attributes

  • BinaryBinary string; arrays and JSON carry it base64 encoded.
  • BtBusiness term or business group identifier from EN 16931 (e.g. BT-1, BG-25).
  • CardinalityCardinality according to EN 16931: 1, 0..1, 0..n or 1..n.
  • CiiLocation of the field in UN/CEFACT CII, relative to the parent element (informative).
  • ComputedThe value is set by the calculator and is not a user input.
  • ExtendedOnlyThe value exists only in the Factur-X/ZUGFeRD EXTENDED profile.
  • InputForMarks a user input that the calculator copies into the given business term.
  • InternalPackage-internal value without an EN 16931 business term (not written to XML).
  • LevelLowest Factur-X/ZUGFeRD profile level in which the field may be used. Fields without this attribute are available from level EN 16931 on.
  • ListOfElement type of an array property, used for hydration and schema generation.
  • MapOfValue type of an array property keyed by strings, e.g. line options keyed by line identifier; the hydrator keeps the keys.
  • PdfOnlyThe value is used for the PDF only and never written to XML.
  • RequiredInProfile keys in which an optional EN 16931 field becomes mandatory (e.g. "xrechnung").
  • SinceThe field exists from the given version of EN 16931 on.
  • TaxCurrencyMonetary value expressed in the VAT accounting currency (BT-6) instead of the invoice currency.
  • UblLocation of the field in UBL 2.1, relative to the parent element (informative).
  • UntilThe field exists up to and including the given version of EN 16931.
  • XRechnungExtensionOnlyThe value exists only in the XRechnung extension.

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