diff --git a/rules/examples/Invoice_Example_Full.xml b/rules/examples/Invoice_Example_Full.xml index aefeaed4..22cfd813 100644 --- a/rules/examples/Invoice_Example_Full.xml +++ b/rules/examples/Invoice_Example_Full.xml @@ -43,7 +43,7 @@ 60231136 - 50 + 130 Time list aHR0cHM6Ly90ZXN0LXZlZmEuZGlmaS5uby9wZXBwb2xiaXMvcG9hY2MvYmlsbGluZy8zLjAvYmlzLw== @@ -234,13 +234,13 @@ - 50.00 + 0.00 200.00 - 50.00 + 0.00 - S - 25.00 + E + 0.00 VATEX-EU-79-C Momslagen ej tillämplig @@ -252,12 +252,12 @@ 180.00 200.00 - 250.00 + 200.00 0.00 20.00 50.00 0.00 - 200.00 + 150.00 1 @@ -303,8 +303,8 @@ 698679864 - S - 25.00 + E + 0.00 VAT diff --git a/rules/mapping/Invoice.xml b/rules/mapping/Invoice.xml index 03ded999..49db2ea2 100644 --- a/rules/mapping/Invoice.xml +++ b/rules/mapping/Invoice.xml @@ -4930,7 +4930,7 @@ The total VAT amount for the Invoice or the VAT total amount expressed in the accounting currency accepted or required in the country of the Seller. Must be rounded to maximum 2 decimals - 50.00 + 0.00 /ubl:Invoice/cac:TaxTotal/cbc:TaxAmount @@ -5060,7 +5060,7 @@ The total VAT amount for a given VAT category. Must be rounded to maximum 2 decimals. - 50.00 + 0.00 /ubl:Invoice/cac:TaxTotal/cac:TaxSubtotal/cbc:TaxAmount @@ -5138,7 +5138,7 @@ Coded identification of a VAT category. - S + E /ubl:Invoice/cac:TaxTotal/cac:TaxSubtotal/cac:TaxCategory/cbc:ID @@ -5164,7 +5164,7 @@ The VAT rate, represented as percentage that applies for the relevant VAT category. - 25.00 + 0.00 /ubl:Invoice/cac:TaxTotal/cac:TaxSubtotal/cac:TaxCategory/cbc:Percent @@ -5424,7 +5424,7 @@ The total amount of the Invoice with VAT. Must be rounded to maximum 2 decimals. - 250.00 + 200.00 /ubl:Invoice/cac:LegalMonetaryTotal/cbc:TaxInclusiveAmount @@ -5684,7 +5684,7 @@ The outstanding amount that is requested to be paid. Must be rounded to maximum 2 decimals. - 200.00 + 150.00 /ubl:Invoice/cac:LegalMonetaryTotal/cbc:PayableAmount @@ -6854,7 +6854,7 @@ The VAT category code for the invoiced item. - S + E /ubl:Invoice/cac:InvoiceLine/cac:Item/cac:ClassifiedTaxCategory/cbc:ID @@ -6880,7 +6880,7 @@ The VAT rate, represented as percentage that applies to the invoiced item. - 25.00 + 0.00 /ubl:Invoice/cac:InvoiceLine/cac:Item/cac:ClassifiedTaxCategory/cbc:Percent diff --git a/structure/syntax/ubl-invoice.xml b/structure/syntax/ubl-invoice.xml index 7b213680..2d7d74fe 100644 --- a/structure/syntax/ubl-invoice.xml +++ b/structure/syntax/ubl-invoice.xml @@ -306,7 +306,7 @@ Code "130" MUST be used to indicate an invoice object reference. Not used for other additional documents Code BT-18 - 50 + 130 cbc:DocumentDescription @@ -1631,7 +1631,7 @@ BR-DEC-15 UBL-DT-01 BR-CL-03 - 50.00 + 0.00 currencyID Mandatory attribute. Use BT-5 or BT-6. @@ -1697,7 +1697,7 @@ BR-IP-09 BR-DEC-20 UBL-DT-01 - 50.00 + 0.00 currencyID Mandatory attribute. Use BT-5 @@ -1729,7 +1729,7 @@ BR-IP-01 BR-CL-17 UNCL5305 - S + E cbc:Percent @@ -1739,7 +1739,7 @@ BT-119 BR-48 SE-R-006 - 25.00 + 0.00 cbc:TaxExemptionReasonCode @@ -1855,7 +1855,7 @@ BR-DEC-14 UBL-DT-01 BR-CL-03 - 250.00 + 200.00 currencyID Mandatory attribute. Use BT-5 @@ -1954,7 +1954,7 @@ BR-DEC-18 UBL-DT-01 BR-CL-03 - 200.00 + 150.00 currencyID Mandatory attribute. Use BT-5 @@ -2350,7 +2350,7 @@ BR-O-12 BR-CL-18 UNCL5305 - S + E cbc:Percent @@ -2368,7 +2368,7 @@ BR-IG-05 BR-IP-05 SE-R-006 - 25.00 + 0.00 cac:TaxScheme