Hello,
We created a simple order-to-cash flow (with only one line) and applied a standard discount, S100 - 100%.

The SD invoice then becomes VAT-only, with a taxable amount of 0 and VAT calculated correctly (22%).

However, the electronic invoice returns an error:
<Code>00422</Code>
<Description>2.2.2.5 <TaxableAmount> not calculated according to the rules defined in the technical specifications: For the invoice: 6001000142 of 2025-01-09</Description>
<Suggestion>Verify that the value of TaxableAmount present in DataSummary has been determined in compliance with the calculation requirements established in the technical specifications</Suggestion>
</Error>
</ErrorList>
The XML is structured as follows:
<LineDetail>
<LineNumber>1</LineNumber>
<Description>iPhone 11 128GB Black</Description>
<Quantity>1.0000000</Quantity>
<UnitOfMeasure>PZ</UnitOfMeasure>
<UnitPrice>800.0000000</UnitPrice>
<DiscountIncrease>
<Type>SC</Type>
<Percentage>100.00</Percentage>
<Amount>800.0000000</Amount>
</DiscountIncrease>
<TotalPrice>0.00</TotalPrice>
<VATRate>22.00</VATRate>
</LineDetail>
<SummaryData>
<VATRate>22.00</VATRate>
<TaxableAmount>800.00</TaxableAmount>
<Tax>176.00</Tax>
<VATCollectibility>I</VATCollectibility>
</SummaryData>
</GoodsServicesData>
Can someone give us a suggestion on how we can solve this problem?
Thank you in advance!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.