Open epsitec opened 2 years ago
Positive or negative VAT amounts are both represented as decimal numbers.
The correct and most compact encoding would be:
/32/7.7:1000;2.5:-500
Which means:
1000.00
at VAT rate 7.7% → 77.00-500.00
at VAT rate 2.5% → -12.50Such an example should be included in the spec.
An invoice contains some positions with a VAT rate of 7.7% and some with a VAT rate of 2.5%.
In our example, the positions with the reduced VAT rate have a negative amount (refund).
How can we represent this using the SWICO-String?