Skip to content

API reference

Quittio\Core\Enums

quittio/core#

Quittio\Core\Enums

  • AllowanceReasonCode enumAllowance reason code (BT-98, BT-140), UNTDID 5189 subset.
  • ChargeReasonCode enumCharge reason code (BT-105, BT-145), UNTDID 7161 subset. Further codes can be used as RawCode.
  • DocumentReferenceTypeCode enumDocument type code for additional supporting documents (BG-24), UNTDID 1001 subset.
  • ElectronicAddressScheme enumElectronic address scheme (BT-34-1, BT-49-1), CEF EAS code list. Further codes can be used as RawCode.
  • IdentifierScheme enumIdentifier scheme (ISO/IEC 6523 ICD), e.g. for BT-29, BT-46, BT-157. Further codes can be used as RawCode.
  • InvoiceTypeCode enumDocument type code (BT-3), UNTDID 1001 subset allowed by EN 16931.
  • ItemClassificationScheme enumItem classification scheme (BT-158-1), UNTDID 7143 subset. Further codes can be used as RawCode.
  • MimeType enumMIME code of an attached document (BT-125-1). Xml (application/xml) is not part of the EN 16931 code list (BR-CL-24); only the XRechnung extension allows it (BR-DEX-01).
  • NoteSubjectCode enumInvoice note subject code (BT-21), UNTDID 4451 subset. Further codes can be used as RawCode.
  • PaymentMeansCode enumPayment means type code (BT-81), UNTDID 4461. Further codes can be used as RawCode.
  • TaxPointDateCode enumValue added tax point date code (BT-8).
  • UnitCode enumUnit of measure (BT-130, BT-150), UN/ECE Recommendation 20 and 21. Further codes can be used as RawCode.
  • VatCategory enumVAT category code (BT-95, BT-102, BT-118, BT-151), UNTDID 5305 subset.
  • VatExemptionReasonCode enumVAT exemption reason code (BT-121), VATEX code list. Further codes can be used as RawCode.

Quittio\Core\Enums\Concerns

  • HasLabel traitTranslated labels for code list enums, e.g. "Stunde" for HUR.

The open core packages are MIT licensed. The legal wording of the country packs must be confirmed by a tax adviser.