Quittio 0.3 API

Rules

Table of Contents

Classes

CallbackRule
A rule defined by a closure. The closure receives the invoice and a reporter.
CodeListRules
Code list rules of EN 16931 (BR-CL-…), based on the official code lists.
En16931Rules
EN 16931 business rules (BR-…) and conditions (BR-CO-…) checked on the data model.
FieldMatrixRule
Mandatory and allowed fields of the selected profile (level L2), derived from the mapping attributes of the data model and the profile's additional requirements.
Inspect
Helpers shared by the rule sets.
PeppolRules
Subset of the Peppol BIS Billing 3.0 rules (PEPPOL-EN16931-R…) with readable messages.
PlausibilityRules
Plausibility checks (level L7): IBAN check digits, BIC and VAT identifier formats, e-mail addresses, date logic and the VAT category against the destination country.
QuittioRules
Package rules (QUITTIO-…) that go beyond EN 16931.
RuleReporter
Collects the findings of one rule.
StructureRules
Structure and data format checks of the data model (level L1).
VatCategoryRules
VAT category rules of EN 16931 (BR-S, BR-Z, BR-E, BR-AE, BR-IC, BR-G, BR-O).
On this page

Search results