Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Development nrs #1

Merged
merged 18 commits into from
Sep 10, 2024
2 changes: 1 addition & 1 deletion rules/unit-UBL-DE/UBL-IN_DE-R-001.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
</assert>
<test>
<assert>
<description>DE-R-001 unit test</description>
<success>DE-R-001</success>
<description>DE-R-001 unit test</description>
</assert>
<Invoice xmlns="urn:oasis:names:specification:ubl:schema:xsd:Invoice-2" xmlns:cac="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cec="urn:oasis:names:specification:ubl:schema:xsd:CommonExtensionComponents-2" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2">
<cbc:CustomizationID>urn:cen.eu:en16931:2017#compliant#urn:fdc:peppol.eu:2017:poacc:billing:3.0</cbc:CustomizationID>
Expand Down
5 changes: 1 addition & 4 deletions rules/unit-UBL-DE/UBL-IN_DE-R-016.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<testSet xmlns="http://difi.no/xsd/vefa/validator/1.0" configuration="peppolbis-en16931-base-3.0-ubl">
<assert>
<description>DE-R-016 description tbd</description>
<description>DE-R-016 If one of the VAT codes S, Z, E, AE, K, G, L, or M is used, an invoice shall contain at least one of the following elements: "Seller VAT identifier" (BT-31) or "Seller tax registration identifier" (BT-32) or "SELLER TAX REPRESENTATIVE PARTY" (BG-11).</description>
<scope>DE-R-016</scope>
</assert>
<test>
Expand Down Expand Up @@ -470,9 +470,6 @@
<cbc:Amount currencyID="EUR">0</cbc:Amount>
<cbc:BaseAmount currencyID="EUR">0</cbc:BaseAmount>
<cac:TaxCategory>
<?xmute mutator="code" values="Z,E,AE,K,G,L,M"
schematron-invalid="xrubl:BR-DE-16" id="ubl-inv-mandatory-companyID-with-some-tax-category-BT-95-invalid"
description="mandatory companyID with some tax category" ?>
<cbc:ID>S</cbc:ID>
<cbc:Percent>19</cbc:Percent>
<cac:TaxScheme>
Expand Down
2 changes: 1 addition & 1 deletion rules/unit-UBL-DE/UBL-IN_DE-R-027.xml
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,7 @@

<test>
<assert>
<error>DE-R-027</error>
<warning>DE-R-027</warning>
</assert>
<Invoice xmlns="urn:oasis:names:specification:ubl:schema:xsd:Invoice-2" xmlns:cac="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cec="urn:oasis:names:specification:ubl:schema:xsd:CommonExtensionComponents-2" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2">
<cbc:CustomizationID>urn:cen.eu:en16931:2017#compliant#urn:fdc:peppol.eu:2017:poacc:billing:3.0</cbc:CustomizationID>
Expand Down
2 changes: 1 addition & 1 deletion rules/unit-UBL-DE/UBL-IN_DE-R-031.xml
Original file line number Diff line number Diff line change
Expand Up @@ -461,7 +461,7 @@

<test>
<assert>
<error>DE-R-030</error>
<error>DE-R-031</error>
</assert>

<Invoice xmlns="urn:oasis:names:specification:ubl:schema:xsd:Invoice-2" xmlns:cac="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cec="urn:oasis:names:specification:ubl:schema:xsd:CommonExtensionComponents-2" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2">
Expand Down
2 changes: 1 addition & 1 deletion structure/syntax/part/payee-party.xml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
<Description>This element is used for both the identification of the Payee, or the unique banking reference identifier of Payee (assigned by the Payee bank.) For payee identification use ICD code list, for SEPA bank assigned creditor reference, use SEPA.</Description>
<DataType>Text</DataType>
<Reference type="BUSINESS_TERM">BT-60, BT-90</Reference>
<Reference type="RULE">DE-R-30</Reference>
<Reference type="RULE">DE-R-030</Reference>

<Attribute usage="Optional">
<Term>schemeID</Term>
Expand Down
Loading