Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
588 Lượt xem

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.

Ảnh đại diện
Huỷ bỏ

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

Tác giả

Hence the ' and Community'...

Submitted to Odoo Support - 5005612

Bài viết liên quan Trả lời Lượt xem Hoạt động
0
thg 8 25
110
0
thg 8 25
133
0
thg 8 25
184
1
thg 8 25
197
1
thg 8 25
326