Negative Invoice Line

We have a business requirement where an item with negative line item has to be shown on the invoice layout. Now as per my understanding, integration does not allow negative quantity or amounts. Any workaround? Despite this negative line, there’s also a document level discount. i came to know from the customer that some of suppliers are providing them with negative lines. Not sure how to achieve this. Appreciate suggestions.

Hi,
In ZATCA xml standard there is no possiblity to have amount in negative so only thing you can use/try is allowances option to reduce amount. thanks