Skip to content

fix: PEPPOL generator validation fixes and credit note sign handling#39

Merged
pritambiswal merged 1 commit intodevelopfrom
fix/peppol-credit-note-and-br32-validation
Feb 26, 2026
Merged

fix: PEPPOL generator validation fixes and credit note sign handling#39
pritambiswal merged 1 commit intodevelopfrom
fix/peppol-credit-note-and-br32-validation

Conversation

@pritambiswal
Copy link
Contributor

  • Always add TaxCategory to AllowanceCharge elements (BR-32 compliance)
  • Only use InvoiceTypeCode 384 when both parties are German organizations
  • Normalize negative signs for credit notes (abs on qty, amounts, totals)
  • Handle invoice deduction lines (negative amount moved to quantity)
  • Use consistent 2-decimal formatting for all monetary XML values

- Always add TaxCategory to AllowanceCharge elements (BR-32 compliance)
- Only use InvoiceTypeCode 384 when both parties are German organizations
- Normalize negative signs for credit notes (abs on qty, amounts, totals)
- Handle invoice deduction lines (negative amount moved to quantity)
- Use consistent 2-decimal formatting for all monetary XML values
@pritambiswal pritambiswal force-pushed the fix/peppol-credit-note-and-br32-validation branch from f8a16be to 9c588ec Compare February 26, 2026 02:06
@pritambiswal pritambiswal merged commit d4b8f42 into develop Feb 26, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant