Quittio\Core\Profiles
quittio/core#
Quittio\Core\Profiles
AbstractProfileDefaults shared by all profiles. Profiles override what differs.BasicFactur-X/ZUGFeRD BASIC: a subset of EN 16931 with lines.BasicWlFactur-X/ZUGFeRD BASIC WL (without lines). Not an e-invoice in the sense of EN 16931.En16931EN 16931 core invoice (Factur-X/ZUGFeRD profile EN 16931, also as plain CII or UBL).ExtendedFactur-X/ZUGFeRD EXTENDED: EN 16931 plus additional elements.MinimumFactur-X/ZUGFeRD MINIMUM. Not an e-invoice in the sense of EN 16931; booking aid only.PeppolBis3Peppol BIS Billing 3.0, a UBL based CIUS of EN 16931.ProfileinterfaceAn e-invoice profile (CIUS or extension): which fields are allowed or mandatory, which identifier goes into BT-24 and which additional rules apply.ProfileLevelenumOrdered Factur-X/ZUGFeRD profile levels. Each level contains all fields of the lower levels.ProfileRegistryKnown profiles by key. Country packs and network packages register further profiles.SyntaxenumXML syntax of an e-invoice.
Quittio\Core\Profiles\Capabilities
DescribesEmbeddedXmlinterfaceFor profiles whose XML is embedded in a PDF/A-3 with other XMP metadata than Factur-X ("Factur-X/ZUGFeRD Invoice", fx:Version "1.0"), e.g. XRechnung in ZUGFeRD.ExtendsCodeListsinterfaceProfiles that accept additional codes on top of the EN 16931 code lists, e.g. the identifier schemes XR01 to XR03 of the XRechnung extension.ReplacesRulesinterfaceProfiles that replace built-in rules with own rules under other codes, as the official validator configuration does, e.g. the XRechnung extension: BR-CO-16 by BR-DEX-09. The PHP rules driver does not run the replaced rules for this profile, so a violation is reported once.RequiresVatBreakdownRateinterfaceMarker for profiles that require the VAT category rate (BT-119) in every VAT breakdown, including category "O" (written as 0). Example: XRechnung (BR-DE-14).StructuredCashDiscountTextinterfaceMarker for profiles that expect cash discounts as structured lines in BT-20, e.g. XRechnung: "#SKONTO#TAGE=14#PROZENT=2.00#".SupportsExtensionFieldsinterfaceProfiles that transmit the fields of extensions of EN 16931, e.g. "xrechnung" for the fields marked with Mapping\Attributes\XRechnungExtensionOnly.SupportsSubLinesinterfaceProfiles that transmit sub lines (BG-DEX-01 of the XRechnung extension, the line hierarchy of EXTENDED). Invoices with sub lines are not upgraded to EXTENDED when they use such a profile.SupportsThirdPartyPaymentsinterfaceProfiles whose UBL invoices transmit third party payments (BG-DEX-09 of the XRechnung extension) without contradicting BR-CO-16.