Skip to content

Commit

Permalink
Generated by github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Apr 18, 2024
1 parent 01fe2ad commit f561577
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 26 deletions.
18 changes: 9 additions & 9 deletions rules/examples/Invoice_Example_Full.xml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
</cac:ContractDocumentReference>
<cac:AdditionalDocumentReference>
<cbc:ID schemeID="AAG">60231136</cbc:ID>
<cbc:DocumentTypeCode>50</cbc:DocumentTypeCode>
<cbc:DocumentTypeCode>130</cbc:DocumentTypeCode>
<cbc:DocumentDescription>Time list</cbc:DocumentDescription>
<cac:Attachment>
<cbc:EmbeddedDocumentBinaryObject mimeCode="text/csv" filename="fakturareferens.csv">aHR0cHM6Ly90ZXN0LXZlZmEuZGlmaS5uby9wZXBwb2xiaXMvcG9hY2MvYmlsbGluZy8zLjAvYmlzLw==</cbc:EmbeddedDocumentBinaryObject>
Expand Down Expand Up @@ -234,13 +234,13 @@
</cac:TaxCategory>
</cac:AllowanceCharge>
<cac:TaxTotal>
<cbc:TaxAmount currencyID="SEK">50.00</cbc:TaxAmount>
<cbc:TaxAmount currencyID="SEK">0.00</cbc:TaxAmount>
<cac:TaxSubtotal>
<cbc:TaxableAmount currencyID="SEK">200.00</cbc:TaxableAmount>
<cbc:TaxAmount currencyID="SEK">50.00</cbc:TaxAmount>
<cbc:TaxAmount currencyID="SEK">0.00</cbc:TaxAmount>
<cac:TaxCategory>
<cbc:ID>S</cbc:ID>
<cbc:Percent>25.00</cbc:Percent>
<cbc:ID>E</cbc:ID>
<cbc:Percent>0.00</cbc:Percent>
<cbc:TaxExemptionReasonCode>VATEX-EU-79-C</cbc:TaxExemptionReasonCode>
<cbc:TaxExemptionReason>Momslagen ej tillämplig</cbc:TaxExemptionReason>
<cac:TaxScheme>
Expand All @@ -252,12 +252,12 @@
<cac:LegalMonetaryTotal>
<cbc:LineExtensionAmount currencyID="SEK">180.00</cbc:LineExtensionAmount>
<cbc:TaxExclusiveAmount currencyID="SEK">200.00</cbc:TaxExclusiveAmount>
<cbc:TaxInclusiveAmount currencyID="SEK">250.00</cbc:TaxInclusiveAmount>
<cbc:TaxInclusiveAmount currencyID="SEK">200.00</cbc:TaxInclusiveAmount>
<cbc:AllowanceTotalAmount currencyID="SEK">0.00</cbc:AllowanceTotalAmount>
<cbc:ChargeTotalAmount currencyID="SEK">20.00</cbc:ChargeTotalAmount>
<cbc:PrepaidAmount currencyID="SEK">50.00</cbc:PrepaidAmount>
<cbc:PayableRoundingAmount currencyID="SEK">0.00</cbc:PayableRoundingAmount>
<cbc:PayableAmount currencyID="SEK">200.00</cbc:PayableAmount>
<cbc:PayableAmount currencyID="SEK">150.00</cbc:PayableAmount>
</cac:LegalMonetaryTotal>
<cac:InvoiceLine>
<cbc:ID>1</cbc:ID>
Expand Down Expand Up @@ -303,8 +303,8 @@
<cbc:ItemClassificationCode listID="SN" listVersionID="1">698679864</cbc:ItemClassificationCode>
</cac:CommodityClassification>
<cac:ClassifiedTaxCategory>
<cbc:ID>S</cbc:ID>
<cbc:Percent>25.00</cbc:Percent>
<cbc:ID>E</cbc:ID>
<cbc:Percent>0.00</cbc:Percent>
<cac:TaxScheme>
<cbc:ID>VAT</cbc:ID>
</cac:TaxScheme>
Expand Down
16 changes: 8 additions & 8 deletions rules/mapping/Invoice.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4930,7 +4930,7 @@
<Data ss:Type="String">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</Data>
</Cell>
<Cell>
<Data ss:Type="String">50.00</Data>
<Data ss:Type="String">0.00</Data>
</Cell>
<Cell>
<Data ss:Type="String">/ubl:Invoice/cac:TaxTotal/cbc:TaxAmount</Data>
Expand Down Expand Up @@ -5060,7 +5060,7 @@
<Data ss:Type="String">The total VAT amount for a given VAT category. Must be rounded to maximum 2 decimals.</Data>
</Cell>
<Cell>
<Data ss:Type="String">50.00</Data>
<Data ss:Type="String">0.00</Data>
</Cell>
<Cell>
<Data ss:Type="String">/ubl:Invoice/cac:TaxTotal/cac:TaxSubtotal/cbc:TaxAmount</Data>
Expand Down Expand Up @@ -5138,7 +5138,7 @@
<Data ss:Type="String">Coded identification of a VAT category.</Data>
</Cell>
<Cell>
<Data ss:Type="String">S</Data>
<Data ss:Type="String">E</Data>
</Cell>
<Cell>
<Data ss:Type="String">/ubl:Invoice/cac:TaxTotal/cac:TaxSubtotal/cac:TaxCategory/cbc:ID</Data>
Expand All @@ -5164,7 +5164,7 @@
<Data ss:Type="String">The VAT rate, represented as percentage that applies for the relevant VAT category.</Data>
</Cell>
<Cell>
<Data ss:Type="String">25.00</Data>
<Data ss:Type="String">0.00</Data>
</Cell>
<Cell>
<Data ss:Type="String">/ubl:Invoice/cac:TaxTotal/cac:TaxSubtotal/cac:TaxCategory/cbc:Percent</Data>
Expand Down Expand Up @@ -5424,7 +5424,7 @@
<Data ss:Type="String">The total amount of the Invoice with VAT. Must be rounded to maximum 2 decimals.</Data>
</Cell>
<Cell>
<Data ss:Type="String">250.00</Data>
<Data ss:Type="String">200.00</Data>
</Cell>
<Cell>
<Data ss:Type="String">/ubl:Invoice/cac:LegalMonetaryTotal/cbc:TaxInclusiveAmount</Data>
Expand Down Expand Up @@ -5684,7 +5684,7 @@
<Data ss:Type="String">The outstanding amount that is requested to be paid. Must be rounded to maximum 2 decimals.</Data>
</Cell>
<Cell>
<Data ss:Type="String">200.00</Data>
<Data ss:Type="String">150.00</Data>
</Cell>
<Cell>
<Data ss:Type="String">/ubl:Invoice/cac:LegalMonetaryTotal/cbc:PayableAmount</Data>
Expand Down Expand Up @@ -6854,7 +6854,7 @@
<Data ss:Type="String">The VAT category code for the invoiced item.</Data>
</Cell>
<Cell>
<Data ss:Type="String">S</Data>
<Data ss:Type="String">E</Data>
</Cell>
<Cell>
<Data ss:Type="String">/ubl:Invoice/cac:InvoiceLine/cac:Item/cac:ClassifiedTaxCategory/cbc:ID</Data>
Expand All @@ -6880,7 +6880,7 @@
<Data ss:Type="String">The VAT rate, represented as percentage that applies to the invoiced item.</Data>
</Cell>
<Cell>
<Data ss:Type="String">25.00</Data>
<Data ss:Type="String">0.00</Data>
</Cell>
<Cell>
<Data ss:Type="String">/ubl:Invoice/cac:InvoiceLine/cac:Item/cac:ClassifiedTaxCategory/cbc:Percent</Data>
Expand Down
18 changes: 9 additions & 9 deletions structure/syntax/ubl-invoice.xml
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,7 @@
<Description>Code "130" MUST be used to indicate an invoice object reference. Not used for other additional documents</Description>
<DataType>Code</DataType>
<Reference type="BUSINESS_TERM">BT-18</Reference>
<Value type="DEFAULT">50</Value>
<Value type="DEFAULT">130</Value>
</Element>
<Element cardinality="0..1">
<Term>cbc:DocumentDescription</Term>
Expand Down Expand Up @@ -1631,7 +1631,7 @@
<Reference type="RULE">BR-DEC-15</Reference>
<Reference type="RULE">UBL-DT-01</Reference>
<Reference type="RULE">BR-CL-03</Reference>
<Value type="EXAMPLE">50.00</Value>
<Value type="EXAMPLE">0.00</Value>
<Attribute>
<Term>currencyID</Term>
<Description>Mandatory attribute. Use BT-5 or BT-6.</Description>
Expand Down Expand Up @@ -1697,7 +1697,7 @@
<Reference type="RULE">BR-IP-09</Reference>
<Reference type="RULE">BR-DEC-20</Reference>
<Reference type="RULE">UBL-DT-01</Reference>
<Value type="EXAMPLE">50.00</Value>
<Value type="EXAMPLE">0.00</Value>
<Attribute>
<Term>currencyID</Term>
<Description>Mandatory attribute. Use BT-5</Description>
Expand Down Expand Up @@ -1729,7 +1729,7 @@
<Reference type="RULE">BR-IP-01</Reference>
<Reference type="RULE">BR-CL-17</Reference>
<Reference type="CODE_LIST">UNCL5305</Reference>
<Value type="EXAMPLE">S</Value>
<Value type="EXAMPLE">E</Value>
</Element>
<Element cardinality="0..1">
<Term>cbc:Percent</Term>
Expand All @@ -1739,7 +1739,7 @@
<Reference type="BUSINESS_TERM">BT-119</Reference>
<Reference type="RULE">BR-48</Reference>
<Reference type="RULE">SE-R-006</Reference>
<Value type="EXAMPLE">25.00</Value>
<Value type="EXAMPLE">0.00</Value>
</Element>
<Element cardinality="0..1">
<Term>cbc:TaxExemptionReasonCode</Term>
Expand Down Expand Up @@ -1855,7 +1855,7 @@
<Reference type="RULE">BR-DEC-14</Reference>
<Reference type="RULE">UBL-DT-01</Reference>
<Reference type="RULE">BR-CL-03</Reference>
<Value type="EXAMPLE">250.00</Value>
<Value type="EXAMPLE">200.00</Value>
<Attribute>
<Term>currencyID</Term>
<Description>Mandatory attribute. Use BT-5</Description>
Expand Down Expand Up @@ -1954,7 +1954,7 @@
<Reference type="RULE">BR-DEC-18</Reference>
<Reference type="RULE">UBL-DT-01</Reference>
<Reference type="RULE">BR-CL-03</Reference>
<Value type="EXAMPLE">200.00</Value>
<Value type="EXAMPLE">150.00</Value>
<Attribute>
<Term>currencyID</Term>
<Description>Mandatory attribute. Use BT-5</Description>
Expand Down Expand Up @@ -2350,7 +2350,7 @@
<Reference type="RULE">BR-O-12</Reference>
<Reference type="RULE">BR-CL-18</Reference>
<Reference type="CODE_LIST">UNCL5305</Reference>
<Value type="EXAMPLE">S</Value>
<Value type="EXAMPLE">E</Value>
</Element>
<Element cardinality="0..1">
<Term>cbc:Percent</Term>
Expand All @@ -2368,7 +2368,7 @@
<Reference type="RULE">BR-IG-05</Reference>
<Reference type="RULE">BR-IP-05</Reference>
<Reference type="RULE">SE-R-006</Reference>
<Value type="EXAMPLE">25.00</Value>
<Value type="EXAMPLE">0.00</Value>
</Element>
<Element>
<Term>cac:TaxScheme</Term>
Expand Down

0 comments on commit f561577

Please sign in to comment.