Skip to content

Conversation

erykgajos
Copy link

@erykgajos erykgajos commented Sep 12, 2025

This PR introduces support for the missing MultiplierFactorNumeric field in the AllowanceCharge component.

According to the invoice specification, the cbc:MultiplierFactorNumeric element is part of the UBL Invoice syntax and is intended to represent a multiplier factor used in allowance or charge calculations. Reference:
https://docs.peppol.eu/poacc/billing/3.0/syntax/ubl-invoice/cac-AllowanceCharge/cbc-MultiplierFactorNumeric/

Changes:

  • Added MultiplierFactorNumeric property to the corresponding model.

Notes:

  • The field was missing in the current implementation, and its addition improves standards compliance.

@stephanstapel
Copy link
Owner

Thanks for sending this pull request.

BT-94 and BT-101 are the allowance calculation percentage and charge calculation percentage on header level, not on item level.
Please see here: https://docs.peppol.eu/poacc/billing/3.0/syntax/ubl-invoice/cac-AllowanceCharge/cbc-MultiplierFactorNumeric/

What do you want to implement?

@erykgajos
Copy link
Author

We received an invoice where MultiplierFactorNumeric was set at line level, and we would like to be able to parse this case.

Regarding your point that this field is typically used at the header level: we understand that, but there are other fields that also exist both at the header and line level (e.g. AllowanceChargeReason and AllowanceChargeReasonCode), and they are parsed on both levels as well:

For consistency and compatibility with invoices we encounter, it would be helpful to support MultiplierFactorNumeric at line level too.

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.

2 participants