Monday, 23 November 2026

How AI would write a new standard for invoices

 Could AI Create a Better Kind of Standards Body?

Making open standards simpler, cheaper and more accessible to everyone

Standards are essential infrastructure for a modern economy. They allow organisations to exchange information, work together and automate processes without having to negotiate a different technical arrangement with every trading partner.

Yet standards development has a problem. The process can be slow, expensive and dominated by the organisations with the greatest resources. The resulting standards can become so comprehensive and complicated that smaller organisations struggle to implement them.

Electronic invoicing illustrates this particularly well.

The potential economic benefits of electronic invoicing are enormous. Governments can reduce administrative costs, businesses can automate their accounting processes, suppliers can receive payments more efficiently, and tax authorities can improve the quality of transaction data. The benefits extend throughout the economy.

But achieving widespread adoption requires something that is often neglected: making the standards inexpensive and straightforward to implement.

The question is whether artificial intelligence could help us do this differently.

I believe it could. Indeed, AI may make it possible to establish a new kind of standards organisation.

The problem with traditional standards development

Traditional standards organisations have made important contributions to international interoperability. But their processes have some inherent difficulties.

They depend on committees, meetings, consultation processes and consensus between organisations with different interests. Participants may have very different priorities. Large software vendors, government departments and specialist industries can have considerably more resources and influence than small businesses.

There is also a tendency for standards to become comprehensive. Designers try to accommodate an increasingly wide range of requirements, industries, countries, business practices and exceptional circumstances.

The result can be technically impressive but expensive to implement.

A standard may contain many optional capabilities, alternative calculation methods, conditional requirements and specialised data structures. Even when a particular feature is optional, supporting the standard can require an implementer to understand its implications.

This creates a particular problem for small businesses and the software companies serving them.

The objective should not be to standardise everything that might conceivably be needed. It should be to standardise what businesses commonly need, in the simplest way that is sufficient.

Specialist requirements should be accommodated, but they should not impose unnecessary complexity on ordinary implementations.

A new opportunity: an AI-enabled standards organisation

AI agents could undertake much of the work traditionally performed by standards committees and their supporting technical teams.

This does not mean allowing AI to make standards without human oversight. It means using AI to make the process dramatically more efficient, accessible and transparent.

I envisage an independent, not-for-profit organisation with a small human governing body and a network of specialised AI agents.

The organisation would have several responsibilities.

1. Understand what businesses actually need

AI agents could analyse existing standards, software implementations, business documents, legislation and feedback from users.

They could identify:

  • The information commonly required by ordinary businesses.
  • The capabilities supported by mainstream accounting software.
  • The requirements that create disproportionate implementation costs.
  • The differences between genuine business necessities and specialised exceptions.
  • Opportunities to simplify calculations and validation rules.

The aim would be to establish requirements from evidence of actual business practice rather than theoretical possibilities.

Small businesses would have an important role in this process. Their requirements should not be inferred solely from the capabilities of large enterprise software.

2. Design a genuinely small, coherent standard

The organisation would begin with a deliberately limited common model.

For electronic invoicing, this might include the information and calculations needed for ordinary domestic business transactions, including appropriate tax information.

It would avoid making advanced functionality a prerequisite for basic implementation.

For example:

  • One currency per invoice as the normal baseline.
  • A straightforward and consistent calculation sequence.
  • A limited number of clearly defined discount and charge mechanisms.
  • Predictable tax calculations.
  • Few alternative ways of expressing the same information.
  • Specialist transport, freight and other industry requirements handled separately.

The objective would be a complete, coherent standard, not an arbitrary selection of fields removed from a much larger specification.

That distinction matters. Simplifying a large standard by deleting elements does not necessarily remove the dependencies, calculation rules and conditional behaviour associated with them.

A simpler standard should be designed as a simpler system from the beginning.

3. Use AI to develop and test the specification

Specialised agents could work together on different aspects of the standard.

One group could develop the semantic model. Another could define calculation rules. Others could create example documents, test implementations, identify ambiguities and check interoperability.

Agents could systematically examine questions such as:

  • Can two independent implementations calculate exactly the same invoice totals?
  • Are the rules sufficiently clear to avoid different interpretations?
  • Can a small software developer implement the standard without specialist accounting expertise?
  • Does a proposed feature introduce complexity elsewhere?
  • Can optional extensions be processed without changing the meaning of the common core?

The agents could also generate thousands of test cases and continuously check implementations against the specification.

Human experts would review the results, resolve substantive disagreements and approve releases.

This could make standards development a continuous engineering process rather than an occasional committee exercise.

4. Build working software, not just documents

One of the weaknesses of standards development is that a published specification can be treated as the finished product.

It isn't.

A standard is only useful when independent organisations can implement it consistently.

The new organisation should therefore produce open-source reference software alongside the specification.

For an invoicing standard, this would include:

  • Invoice creation and reading libraries.
  • Calculation and validation software.
  • Conversion tools for existing formats.
  • Conformance test suites.
  • Sample applications.
  • Clear implementation guides.

AI agents could help maintain all these resources as the specification evolves.

A small software developer should be able to obtain the specification, download a free implementation library and start building compatible software without first having to understand an enormous technical document.

5. Make the process transparent

Every proposal, change, objection and decision should be publicly recorded.

AI agents could maintain a complete history of the development process, identify conflicting requirements and explain the consequences of proposed changes.

The organisation should publish the reasons for accepting or rejecting each significant feature.

It should also assess the implementation cost of proposed changes.

A useful rule would be:

No additional complexity without a demonstrated need and an assessment of who will bear the cost.

This would help prevent the gradual accumulation of requirements that makes standards increasingly difficult to implement.

Human governance would remain essential

AI can undertake much of the technical and administrative work, but it cannot provide legitimate public accountability simply by being intelligent.

The organisation would need an independent governing council representing:

  • Small and medium-sized businesses.
  • Accounting and software developers.
  • Large businesses and trading networks.
  • Government procurement organisations.
  • Tax authorities.
  • Independent technical and accounting experts.

No single commercial supplier or government department should control the standard.

The governing council would approve specifications, resolve disputes, manage conflicts of interest and ensure that the organisation remains committed to its public-interest objectives.

Participation should be open, and the resulting standards should be freely available.

How would it be funded?

This is perhaps the most important question.

The benefits of interoperable standards are distributed throughout the economy. Governments save administrative costs. Businesses reduce transaction costs. Public services improve procurement. Suppliers benefit from more efficient processing and payment.

But the costs of developing and maintaining the underlying infrastructure are concentrated.

This creates a funding problem. Everyone can benefit, but no single organisation necessarily has an incentive to pay for the work.

An AI-enabled standards organisation could be relatively inexpensive to operate compared with traditional standards-development structures. Nevertheless, it would need reliable funding for governance, expert review, infrastructure, testing and maintenance.

Funding should come from the organisations that benefit:

  • National governments.
  • The European Commission and other public institutions.
  • Public procurement organisations.
  • Health services and other large public-sector buyers.
  • Industry associations.
  • Large businesses and software suppliers.

A consortium could share the cost, with contributions proportionate to the resources and benefits of participating organisations.

The specifications and core software would remain open public infrastructure. Contributors would help finance the work without acquiring exclusive control over the results.

Start with one practical project

Rather than beginning with a grand programme to replace existing standards, the organisation should demonstrate its approach through a focused project.

Electronic invoicing would be a good candidate.

The first objective would be to develop a small, coherent invoicing standard suitable for ordinary businesses.

It would be tested against existing standards and real software. Independent developers would be invited to implement it. The organisation would publish the results, including the costs and difficulties encountered.

It would then demonstrate how the new standard could coexist with existing systems through conversion and interoperability tools.

The test of success would not be the number of features included or the size of the specification.

It would be how easily and inexpensively an ordinary business could use it.

A different philosophy of standards

The underlying philosophy is straightforward.

Standards should make business easier, not create additional barriers to participation.

The common standard should contain common requirements. Specialist requirements should remain available, but should not burden basic implementations.

There is a useful principle often attributed to Jon Bosak: make things as simple as possible, but no simpler.

That is exactly the balance required.

A standard must be sufficiently complete to support real business transactions. But completeness should not become an excuse for accommodating every possible variation in the common core.

AI gives us an opportunity to reconsider how standards are developed, maintained and tested.

It could allow a small independent organisation to perform work that previously required large committees, extensive technical resources and substantial administrative overhead.

More importantly, it could shift the emphasis from producing comprehensive specifications to producing standards that people can actually afford to implement.

The opportunity

The economic case for interoperable electronic invoicing has been demonstrated repeatedly. The benefits extend from government procurement to private-sector transactions and small-business productivity.

Yet adoption remains constrained by implementation costs and complexity.

We should not accept that as inevitable.

The next generation of standards could be simpler, cheaper, more transparent and more accessible. AI agents could help us build the technical infrastructure and operate the development process. Independent human governance could provide legitimacy and accountability. Governments and industry could jointly fund the work because they share in the benefits.

The opportunity is bigger than electronic invoicing.

It is an opportunity to rethink standards development itself.

Perhaps AI's most valuable contribution to standards will not be helping us create more sophisticated standards, but helping us create simpler ones that everyone can afford to use.


ChatGPT, prompted by Stephen D Green, November 2026 

Invoice Calculation Framework

 Building a Universal Invoice Calculation Framework: EN 16931, Peppol, Tax Rules, GAAP and the Complexity of Invoicing


By ChatGPT, prompted by Stephen D Green, November 2026 


How can a single invoice architecture support a small local trader, a multinational business, paper invoices, electronic invoices and cross-border transactions?

Disclaimer

This article is intended for general information and discussion. It is not legal, tax, accounting or technical implementation advice. Although reasonable efforts have been made to explain the relevant standards and principles accurately, some statements may contain inaccuracies, simplifications or omissions.

EN 16931, Peppol specifications, national tax legislation, accounting standards and tax authority guidance are subject to change. Their interpretation and application can also differ by jurisdiction and transaction type.

Readers should independently verify the relevant standards, legislation, validation specifications and professional guidance before relying on any information in this article or implementing the suggested architecture.


1. The fundamental question: Who actually defines how an invoice is calculated?

An invoice looks relatively straightforward. It identifies a seller, a buyer, goods or services supplied, prices, discounts, charges, taxes and an amount payable.

However, behind those apparently simple figures is a surprisingly complicated collection of rules.

Consider a basic invoice:

  • Goods: £1,000
  • Discount: £100
  • Taxable amount: £900
  • VAT at 20%: £180
  • Total payable: £1,080

Who decided that the discount should be £100? Who decided that VAT should be calculated on £900? Who determined that VAT should be rounded to two decimal places? Who decided how the final invoice total should be calculated?

These decisions do not necessarily originate from the same authority.

A useful starting point is to distinguish between five sources of rules:

  1. Commercial agreements and pricing policies.
  2. Tax legislation and tax authority requirements.
  3. Accounting standards and accounting policies.
  4. Invoice standards such as EN 16931.
  5. E-invoicing implementation specifications such as Peppol BIS Billing.

These sources have different responsibilities. Treating them as interchangeable can lead to problems when designing an invoice calculation system.

2. EN 16931: A common semantic model, not a universal tax authority

EN 16931 is the European standard for the semantic data model of an electronic invoice.

It provides a common vocabulary for invoice information, including:

  • Invoice identifiers and dates.
  • Seller and buyer information.
  • Invoice lines.
  • Quantities and prices.
  • Discounts and charges.
  • VAT categories and amounts.
  • Invoice totals.
  • Payment information.

One of its most useful features is its use of Business Terms (BT) and Business Term Groups (BG).

For example:

Identifier

Description

BT-1

Invoice number

BT-2

Invoice issue date

BT-5

Invoice currency code

BT-109

Invoice total amount without VAT

BT-110

Invoice total VAT amount

BT-112

Invoice total amount with VAT

BT-116

VAT category taxable amount

BT-117

VAT category tax amount

BT-119

VAT category rate

These identifiers provide a standardised way of referring to invoice information.

Importantly, they identify business information, not necessarily the complete formula used to calculate that information.

For example, BT-110 identifies the invoice total VAT amount. It does not independently determine which VAT rate applies to a particular transaction.

That determination comes from the relevant tax legislation.

Business Terms versus Business Rules

EN 16931 also defines business rules, commonly identified using BR identifiers.

This creates an important distinction:

  • BT identifiers identify invoice information.
  • BG identifiers identify groups of invoice information.
  • BR identifiers identify business rules and validation constraints.

For example, BR-CO-14 defines the relationship between the invoice VAT total (BT-110) and the VAT category tax amounts (BT-117).

BR-CO-17 defines a calculation relationship between the VAT category taxable amount (BT-116), the VAT category rate (BT-119) and the VAT category tax amount (BT-117).

This is useful because it means EN 16931 does more than provide a vocabulary. It also establishes certain calculation and consistency expectations.

Nevertheless, EN 16931 does not attempt to determine every commercial or tax decision involved in creating an invoice.

3. How EN 16931 handles invoice tax calculations

VAT is a particularly good example of how the semantic model and calculation rules work together.

The invoice VAT total is not simply an arbitrary amount entered by the invoice issuer.

The standard establishes a relationship between individual VAT breakdowns and the overall invoice VAT amount.

A simplified calculation sequence is:

Step 1: Determine taxable amounts by VAT category.

The taxable amount is established for each applicable VAT category and rate.

It can include:

  • Invoice line net amounts.
  • Document-level charges.
  • Document-level allowances.

Step 2: Calculate the VAT amount for each category.

The applicable rate is applied to the taxable amount, subject to the standard's calculation and rounding requirements.

Step 3: Calculate the invoice VAT total.

The individual VAT category tax amounts are aggregated to produce BT-110.

For example:

VAT category

Taxable amount

Rate

VAT

Standard

€1,000

20%

€200

Reduced

€500

10%

€50

Zero-rated

€200

0%

€0

Total

€1,700


€250

The invoice VAT total is €250.

The important point is that the standard provides the common calculation relationships, while the applicable tax legislation determines the actual tax treatment.

The standard should not be confused with the legislation that determines whether a transaction is standard-rated, reduced-rated, exempt, zero-rated or subject to reverse charge.

4. Who defines discounts, charges and rounding?

This is where invoice implementation becomes more complicated.

Not every invoice calculation originates from a tax authority or an invoice standard.

Discounts

Discounts are primarily commercial.

The seller and buyer, or the seller's pricing policies, determine matters such as:

  • Whether a discount applies.
  • Whether it is a percentage or fixed amount.
  • Whether it applies to an individual line or the entire invoice.
  • Whether it is conditional on payment within a certain period.
  • How it is allocated across different VAT categories.

EN 16931 provides fields for representing discounts, including line-level and document-level allowances.

Tax legislation then determines how those discounts affect the taxable amount.

Charges

Charges are also primarily commercial.

Examples include:

  • Delivery charges.
  • Handling charges.
  • Packaging charges.
  • Administration fees.
  • Environmental surcharges.

The commercial agreement determines whether the charge is payable.

Tax legislation determines its VAT treatment.

EN 16931 provides corresponding fields for representing document-level charges and their tax classifications.

Rounding

Rounding is particularly interesting because it can involve multiple authorities.

Relevant considerations include:

  • Applicable tax legislation.
  • Tax authority guidance.
  • Accounting policies.
  • Invoice calculation requirements.
  • The specific monetary calculation being performed.

Different permitted approaches may exist for calculating VAT, including approaches involving line-level calculations or aggregation by VAT category.

EN 16931 establishes particular calculation expectations, including two-decimal rounding in specified calculations.

However, it should not be assumed that the standard establishes one universal rounding policy for every monetary calculation in every country.

For example, HMRC provides guidance on VAT calculation and rounding in the UK.

The implementation must consider the applicable jurisdiction rather than simply adopting an arbitrary rounding method.

5. Does GAAP define invoice calculation rules?

Accounting standards are another important source, but their purpose needs to be understood correctly.

GAAP is not one universal accounting framework.

There are different frameworks, including:

  • US GAAP.
  • UK GAAP.
  • IFRS-based accounting frameworks.

One particularly relevant accounting standard is IFRS 15, Revenue from Contracts with Customers.

Its US equivalent is ASC 606.

UK businesses may also apply FRS 102, depending on their circumstances.

These standards address matters such as:

  • Transaction price.
  • Variable consideration.
  • Discounts and rebates.
  • Revenue recognition.
  • Consideration payable to customers.
  • Allocation of consideration to performance obligations.

These issues are relevant to invoice amounts, but they are not necessarily the same as the mechanics of calculating an invoice.

For example, an accounting standard may determine how a volume rebate affects revenue recognition. The commercial agreement determines the rebate itself, while tax legislation determines its VAT implications.

It is therefore useful to separate:

Commercial calculation rules: How prices, discounts and charges are determined.

Accounting measurement rules: How amounts are recognised and measured for accounting purposes.

Tax calculation rules: How taxable amounts and taxes are determined.

These are related but distinct areas.

6. What happens with cross-border invoices?

Cross-border invoicing makes the need for separation even more important.

Imagine a UK business supplying consulting services to a German VAT-registered business.

The invoice may be denominated in euros, but the applicable tax treatment is not necessarily determined by the currency or the seller's location.

The general B2B place-of-supply rule for services may mean that the supply is treated as taking place in Germany.

The German customer may account for VAT under the reverse-charge mechanism.

The UK supplier may therefore issue an invoice without charging UK VAT, while identifying the applicable reverse-charge treatment.

The important point is that several jurisdictions and regulatory frameworks may be relevant.

These include:

  • The supplier's jurisdiction.
  • The customer's jurisdiction.
  • The place of supply.
  • The jurisdiction in which VAT is due.
  • The applicable invoicing legislation.
  • The supplier's accounting framework.

There is also a distinction between the legislation governing the tax treatment and the legislation governing the invoice document itself.

Within the EU, VAT Directive Article 219a addresses which Member State's invoicing rules apply, including certain exceptions.

A system should therefore avoid assuming that one country identifier determines every applicable rule.

A better approach to jurisdiction determination

Before applying calculations, an invoice system may need to determine:

  1. Where the supplier is established.
  2. Where the customer is established.
  3. Whether the customer is a business or consumer.
  4. Whether the transaction concerns goods or services.
  5. Where the goods are located or where the service is deemed supplied.
  6. Whether the supplier and customer have relevant VAT registrations.
  7. Whether reverse charge, exemption or another special treatment applies.

The applicable rules can then be selected.

This is considerably more robust than simply choosing the supplier's domestic tax rules.

7. How does Peppol support this diversity?

Peppol provides an interesting example of how a common invoice model can support different national requirements.

Peppol is not intended to make every business use the same internal accounting system or commercial policies.

Instead, it establishes common requirements for representing and exchanging invoices.

A simplified view of the structure is:

EN 16931

Provides the European semantic invoice model.

Peppol BIS Billing 3.0

Implements the invoice model using UBL XML and establishes additional requirements and validation rules.

Country-specific requirements

Allow national Peppol Authorities to introduce additional validation requirements where appropriate.

National legislation

Determines the underlying tax and legal obligations.

Peppol BIS Billing 3.0 is a Core Invoice Usage Specification (CIUS) of EN 16931.

This means it can introduce restrictions and additional requirements while preserving the underlying semantic model.

For example, it can make certain optional information mandatory or introduce additional consistency checks.

However, it should not arbitrarily redefine the meaning of an EN 16931 business term.

Calculation rules versus validation rules

An important distinction is that Peppol validation rules generally check the consistency of the invoice being exchanged.

They do not necessarily determine how the supplier originally arrived at every commercial amount.

For example:

  • A commercial policy determines a discount.
  • The invoice calculation engine calculates the resulting net amount.
  • The applicable tax rules determine the VAT treatment.
  • The invoice is represented using EN 16931 business terms.
  • Peppol validation checks that the invoice satisfies the applicable requirements.

This separation is fundamental.

International invoicing and PINT

EN 16931 is European.

Peppol also has a broader international approach through PINT (Peppol International Invoice).

PINT provides a common international invoice model with jurisdiction-specific adaptations.

This reinforces the distinction between a common invoice model and the national rules that determine how transactions must be treated.

8. What about a small local trader?

A small trader issuing paper invoices to local customers does not generally need to implement EN 16931 or Peppol.

Consider a small UK business selling goods locally.

Its requirements might be relatively simple:

  • Determine the selling price.
  • Apply any agreed discount.
  • Calculate VAT if registered and applicable.
  • Apply the appropriate rounding method.
  • Calculate the invoice total.
  • Include the legally required invoice information.

A non-VAT-registered trader will have a simpler calculation model because they generally do not charge VAT.

A VAT-registered trader needs to follow the relevant VAT legislation and HMRC guidance.

There is no reason to require a small trader to understand every detail of EN 16931, GAAP or Peppol.

However, software developers can still use EN 16931 as a reference vocabulary behind the scenes.

This allows a relatively simple local invoicing application to use the same underlying data model as a much more sophisticated international invoicing platform.

The complexity of the rules can vary without changing the fundamental data structure.

9. A proposed universal invoice architecture

Bringing all these ideas together suggests an architecture with separate but related components.

Layer 1: Common invoice data model

Use EN 16931 business terms wherever an appropriate semantic equivalent exists.

This provides a common representation of:

  • Invoice information.
  • Parties.
  • Invoice lines.
  • Discounts.
  • Charges.
  • Taxes.
  • Totals.
  • Payment information.

The data model should be independent of whether the final output is paper, PDF or electronic.

Layer 2: Commercial rules

These determine:

  • Pricing.
  • Discounts.
  • Rebates.
  • Charges.
  • Contractual adjustments.
  • Customer-specific pricing.

They are generally driven by commercial agreements and organisational policies.

Layer 3: Tax rules

These determine:

  • Taxability.
  • Applicable tax rates.
  • VAT categories.
  • Exemptions.
  • Reverse charge.
  • Taxable amounts.
  • Tax rounding.
  • Jurisdiction-specific requirements.

These rules must reflect the relevant tax legislation and tax authority guidance.

Layer 4: Accounting rules

These determine:

  • Revenue recognition.
  • Transaction price measurement.
  • Accounting treatment of discounts.
  • Variable consideration.
  • Accounting adjustments.
  • Financial reporting requirements.

They should reflect the accounting framework applicable to the reporting entity.

Layer 5: EN 16931 calculation and validation rules

These provide common calculation relationships and consistency requirements.

They should be treated as a standardised baseline, while recognising that national legislation and permitted CIUS restrictions may introduce additional requirements.

Layer 6: Exchange and compliance profiles

These apply the requirements of the chosen invoice delivery mechanism.

Examples include:

  • EN 16931-compliant invoice implementations.
  • Peppol BIS Billing.
  • PINT.
  • National electronic invoicing specifications.
  • Paper and PDF invoice requirements.

Layer 7: Invoice output

The same underlying invoice data can then be used to produce:

  • Paper invoices.
  • PDF invoices.
  • Electronic invoices.
  • Peppol invoices.
  • Other national invoice formats.

The output mechanism should not unnecessarily dictate the internal calculation model.

10. Rule ownership and provenance

A particularly useful feature of this architecture would be to record where every rule comes from.

For example:

Rule: Calculate VAT category tax amount

Rule identifier: TAX-CALC-001

Formula:

VAT amount = taxable amount × VAT rate, subject to the applicable rounding requirements.

Semantic references:

  • Input: BT-116.
  • Input: BT-119.
  • Output: BT-117.

Rule provenance:

  • Standard reference: EN 16931.
  • Standard rule reference: BR-CO-17.
  • Jurisdiction: Applicable tax jurisdiction.
  • Legal reference: Relevant VAT legislation and guidance.
  • Corporate policy: Applicable tax policy.
  • Effective date: Version-controlled.

This provides traceability and makes it easier to manage changes.

It also avoids a situation where a calculation is implemented without anyone knowing whether it originated from legislation, a standard, a corporate policy or an implementation decision.

Calculation rules versus validation rules

I would explicitly distinguish these two concepts.

A calculation rule tells the system what to calculate.

A validation rule tells the system what to check.

For example:

Calculation:

VAT amount = taxable amount × VAT rate, rounded as required.

Validation:

The VAT amount supplied on the invoice must equal the expected amount under the applicable calculation rule.

The same formula can be used for both purposes, but the rules have different responsibilities.

This distinction becomes particularly important when implementing Peppol validation.

11. A hierarchy of rules: An important qualification

It is tempting to create a simple hierarchy in which one rule source always takes precedence over another.

For example:

  1. Tax legislation.
  2. Tax authority guidance.
  3. EN 16931.
  4. Corporate accounting policy.
  5. Commercial policy.

However, this can be misleading because these sources do not always regulate the same subject.

A better approach is to determine which source has authority over each individual decision.

For example:

Decision

Relevant authority

Whether a customer receives a discount

Commercial agreement

Whether the discount reduces taxable consideration

Tax legislation

How the discount is represented in the invoice

EN 16931

How the discount affects revenue recognition

Accounting standards

Whether the invoice passes Peppol validation

Applicable Peppol rules

Corporate policies must remain consistent with applicable law and accounting requirements.

Where requirements conflict, the system should identify the conflict and require an appropriate resolution rather than silently selecting a formula.

12. The most important architectural principle

Perhaps the most important conclusion is this:

The invoice data model should be relatively stable, while the rules applied to that data should be configurable and evolve independently.

A small local trader and a multinational corporation can use the same fundamental invoice data model.

The difference is the complexity of their commercial, tax and accounting requirements.

Similarly, a business should not need an entirely different calculation engine simply because it changes from paper invoices to PDF or Peppol.

The same calculation framework can support multiple output formats and compliance profiles.

The architecture should therefore separate:

  • What the invoice contains.
  • How its amounts are calculated.
  • Why particular tax treatments apply.
  • How the resulting information is validated.
  • How the invoice is ultimately exchanged.

Conclusion

There is no single universal authority that defines every calculation in an invoice.

Commercial agreements determine prices, discounts and charges.

Tax legislation determines tax treatment.

Accounting standards determine financial recognition and measurement.

EN 16931 provides a common European semantic model and standard calculation and validation relationships.

Peppol provides an international invoice exchange framework with common and country-specific requirements.

A well-designed invoice platform should recognise these different responsibilities rather than attempting to force them into one specification.

The opportunity is to build a flexible, jurisdiction-aware invoice calculation framework around a common semantic invoice model.

That framework could support a small trader issuing paper invoices, a domestic business with complex tax arrangements, or a multinational exchanging electronic invoices through Peppol.

The invoice itself remains conceptually the same. What changes is the set of rules that must be applied to produce and validate it.

One invoice model. Multiple rule sets. Multiple jurisdictions. Multiple delivery channels.