跳至内容
菜单
此问题已终结
524 查看

Hello Odoo Team and Community,

I'm encountering a critical issue in Odoo 18 when processing PEPPOL self-billing invoices (InvoiceTypeCode 389) that include a cac:AllowanceCharge with a cbc:BaseAmount.

When a self-billing invoice contains:

<cac:AllowanceCharge>
    <cbc:ChargeIndicator>false</cbc:ChargeIndicator>
    <cbc:Amount currencyID="EUR">10.00</cbc:Amount>
    <cbc:BaseAmount currencyID="EUR">100.00</cbc:BaseAmount>
</cac:AllowanceCharge>

Odoo misinterprets the allowance, resulting in:

  • The allowance being applied as a full deduction on the line amount, instead of a percentage-based reduction.
  • The taxable base not being adjusted correctly.
  • The VAT calculation becoming inconsistent (e.g., VAT is calculated on incorrect net amounts).
  • In some cases, the allowance appears as a negative line of -100.00 EUR, even though the intended discount is only 10% of 100.00 EUR.

This leads to incorrect total amounts and VAT reporting, which breaks compliance.

形象
丢弃

This Forum is for User to User support.

If you want to contact Odoo to report a bug, do so via https://odoo.com/help

编写者

Hence the ' and Community'...

Submitted to Odoo Support - 5005612

相关帖文 回复 查看 活动
2
8月 25
1161
2
8月 25
1073
1
8月 25
247
2
8月 25
211
3
8月 25
824