├── .gitignore ├── .gitlab └── issue_templates │ └── peppol-rule.md ├── CHANGELOG.md ├── LICENSE ├── README.md ├── build.xml ├── docs ├── development.md └── harmonization-xr-peppol-bis-billing.md ├── src ├── tools │ └── xr2nrs │ │ ├── xr-2-peppol-bis-billing-nrs.xsl │ │ ├── xr-rules-list.xml │ │ └── xr-variables-list.xml ├── validation │ └── schematron │ │ ├── cii │ │ └── XRechnung-CII-validation.sch │ │ ├── common.sch │ │ └── ubl │ │ └── XRechnung-UBL-validation.sch └── xsl │ ├── check-schematron-asserts.xsl │ ├── normalization.xsl │ ├── peppol-into-xr.xsl │ └── rule-list.xml └── test └── instances ├── cii ├── cii-br-de-1-test.xml ├── cii-br-de-10-test.xml ├── cii-br-de-11-test.xml ├── cii-br-de-14-test.xml ├── cii-br-de-15-test.xml ├── cii-br-de-16-negative-tests-bt-95-bt-151.xml ├── cii-br-de-16-test-code-O-2.xml ├── cii-br-de-16-test-code-O.xml ├── cii-br-de-16-tests-bt-95-bt-151.xml ├── cii-br-de-17-tests.xml ├── cii-br-de-18-case-sensitive-keyword-2.xml ├── cii-br-de-18-case-sensitive-keyword-3.xml ├── cii-br-de-18-case-sensitive-keyword.xml ├── cii-br-de-18-freespace-test.xml ├── cii-br-de-18-no-newline-after-skonto-2.xml ├── cii-br-de-18-no-newline-after-skonto-3.xml ├── cii-br-de-18-no-newline-after-skonto-4.xml ├── cii-br-de-18-no-newline-after-skonto.xml ├── cii-br-de-18-test-incorrect-verzug.xml ├── cii-br-de-18-test-skonto-test-no-newline-last-note.xml ├── cii-br-de-18-test-skonto.xml ├── cii-br-de-18-text-after-end-2.xml ├── cii-br-de-18-text-after-end.xml ├── cii-br-de-18-too-much-digits-after-dot-2.xml ├── cii-br-de-18-too-much-digits-after-dot.xml ├── cii-br-de-18-wrong-basisbeitrag.xml ├── cii-br-de-18-wrong-basistype.xml ├── cii-br-de-18-wrong-numeric-seperator-2.xml ├── cii-br-de-18-wrong-numeric-seperator.xml ├── cii-br-de-18-wrong-whitespace-2.xml ├── cii-br-de-18-wrong-whitespace-3.xml ├── cii-br-de-18-wrong-whitespace.xml ├── cii-br-de-19-iban-tests.xml ├── cii-br-de-2-test.xml ├── cii-br-de-22-check-unique-file-name-test-uncefact.xml ├── cii-br-de-23-test-bg-17-with-bg-18.xml ├── cii-br-de-23-test-bg-17-with-bg-19-bt-89.xml ├── cii-br-de-23-test-bg-17-with-bg-19-bt-90.xml ├── cii-br-de-23-test-bg-17-with-bg-19-bt-91.xml ├── cii-br-de-23-test-bg-17.xml ├── cii-br-de-24-test-bg-18-with-bg-17.xml ├── cii-br-de-24-test-bg-18-with-bg-19-bt-89.xml ├── cii-br-de-24-test-bg-18-with-bg-19-bt-90.xml ├── cii-br-de-24-test-bg-18-with-bg-19-bt-91.xml ├── cii-br-de-24-test-bg-18.xml ├── cii-br-de-25-test-bg-19-remove-bt-89.xml ├── cii-br-de-25-test-bg-19-remove-bt-90.xml ├── cii-br-de-25-test-bg-19-remove-bt-91.xml ├── cii-br-de-25-test-bg-19-with-bg-17.xml ├── cii-br-de-25-test-bg-19-with-bg-18.xml ├── cii-br-de-25-test-bg-19.xml ├── cii-br-de-26-test.xml ├── cii-br-de-27-test.xml ├── cii-br-de-28-test.xml ├── cii-br-de-3-test.xml ├── cii-br-de-30-31-test-2.xml ├── cii-br-de-30-31-test.xml ├── cii-br-de-4-test.xml ├── cii-br-de-5-test.xml ├── cii-br-de-5-test2.xml ├── cii-br-de-6-test.xml ├── cii-br-de-7-test.xml ├── cii-br-de-8-test.xml ├── cii-br-de-9-test.xml ├── cii-br-dex-01-test.xml ├── cii-br-dex-04-schemeid-test-2.xml ├── cii-br-dex-04-schemeid-test-3.xml ├── cii-br-dex-04-schemeid-test-4.xml ├── cii-br-dex-04-schemeid-test.xml ├── cii-br-dex-05-schemeid-test-2.xml ├── cii-br-dex-05-schemeid-test-3.xml ├── cii-br-dex-05-schemeid-test-4.xml ├── cii-br-dex-05-schemeid-test.xml ├── cii-br-dex-06-schemeid-test-2.xml ├── cii-br-dex-06-schemeid-test-3.xml ├── cii-br-dex-06-schemeid-test-4.xml ├── cii-br-dex-06-schemeid-test.xml ├── cii-br-dex-07-schemeid-test-2.xml ├── cii-br-dex-07-schemeid-test-3.xml ├── cii-br-dex-07-schemeid-test-4.xml ├── cii-br-dex-07-schemeid-test.xml ├── cii-br-dex-08-schemeid-test-2.xml ├── cii-br-dex-08-schemeid-test-3.xml ├── cii-br-dex-08-schemeid-test-4.xml ├── cii-br-dex-08-schemeid-test.xml ├── cii-br-dex-15-test-on-sub-invoice-lines.xml ├── cii-br-tmp-2-test.xml ├── cii-peppol-en16931-r001.xml ├── cii-peppol-en16931-r005.xml ├── cii-peppol-en16931-r008.xml ├── cii-peppol-en16931-r010.xml ├── cii-peppol-en16931-r020.xml ├── cii-peppol-en16931-r040-HUF-slack.xml ├── cii-peppol-en16931-r040.xml ├── cii-peppol-en16931-r041.xml ├── cii-peppol-en16931-r042.xml ├── cii-peppol-en16931-r043.xml ├── cii-peppol-en16931-r044.xml ├── cii-peppol-en16931-r046-1.xml ├── cii-peppol-en16931-r046-2.xml ├── cii-peppol-en16931-r053-1.xml ├── cii-peppol-en16931-r053-2-negative-test.xml ├── cii-peppol-en16931-r054-1.xml ├── cii-peppol-en16931-r054-2-negative-test.xml ├── cii-peppol-en16931-r055.xml ├── cii-peppol-en16931-r061-1.xml ├── cii-peppol-en16931-r061-2.xml ├── cii-peppol-en16931-r101.xml ├── cii-peppol-en16931-r110.xml ├── cii-peppol-en16931-r111.xml ├── cii-peppol-en16931-r121.xml ├── cii-peppol-en16931-r130-1.xml └── cii-peppol-en16931-r130-2.xml ├── ubl-cn ├── ubl-cn-br-de-1-test.xml ├── ubl-cn-br-de-10-test.xml ├── ubl-cn-br-de-11-test.xml ├── ubl-cn-br-de-14-test.xml ├── ubl-cn-br-de-15-test.xml ├── ubl-cn-br-de-16-negative-test-bt-102.xml ├── ubl-cn-br-de-16-negative-test-bt-151.xml ├── ubl-cn-br-de-16-negative-test-bt-95.xml ├── ubl-cn-br-de-16-test-bt-102.xml ├── ubl-cn-br-de-16-test-bt-151.xml ├── ubl-cn-br-de-16-test-bt-95.xml ├── ubl-cn-br-de-16-test-code-O-2.xml ├── ubl-cn-br-de-16-test-code-O.xml ├── ubl-cn-br-de-17-test.xml ├── ubl-cn-br-de-18-case-sensitive-keyword-2.xml ├── ubl-cn-br-de-18-case-sensitive-keyword-3.xml ├── ubl-cn-br-de-18-case-sensitive-keyword.xml ├── ubl-cn-br-de-18-freespace-test.xml ├── ubl-cn-br-de-18-no-newline-2.xml ├── ubl-cn-br-de-18-no-newline-3.xml ├── ubl-cn-br-de-18-no-newline.xml ├── ubl-cn-br-de-18-skonto-many-tests.xml ├── ubl-cn-br-de-18-test-incorrect-verzug.xml ├── ubl-cn-br-de-18-test-no-newline-last-note.xml ├── ubl-cn-br-de-18-test.xml ├── ubl-cn-br-de-18-text-after-end-2.xml ├── ubl-cn-br-de-18-text-after-end.xml ├── ubl-cn-br-de-18-too-much-digits-after-dot-2.xml ├── ubl-cn-br-de-18-too-much-digits-after-dot.xml ├── ubl-cn-br-de-18-wrong-numeric-seperator-2.xml ├── ubl-cn-br-de-18-wrong-numeric-seperator.xml ├── ubl-cn-br-de-18-wrong-skonto-basisbetrag-test.xml ├── ubl-cn-br-de-18-wrong-whitespace-2.xml ├── ubl-cn-br-de-18-wrong-whitespace-3.xml ├── ubl-cn-br-de-18-wrong-whitespace.xml ├── ubl-cn-br-de-2-test.xml ├── ubl-cn-br-de-23-test-bg-17-with-bg-18.xml ├── ubl-cn-br-de-23-test-bg-17-with-bg-19.xml ├── ubl-cn-br-de-23-test-bg-17.xml ├── ubl-cn-br-de-24-test-bg-18-with-bg-17.xml ├── ubl-cn-br-de-24-test-bg-18-with-bg-19.xml ├── ubl-cn-br-de-24-test-bg-18.xml ├── ubl-cn-br-de-25-test-bg-19-with-bg-17.xml ├── ubl-cn-br-de-25-test-bg-19-with-bg-18.xml ├── ubl-cn-br-de-25-test-bg-19.xml ├── ubl-cn-br-de-26-test.xml ├── ubl-cn-br-de-27-test.xml ├── ubl-cn-br-de-28-test.xml ├── ubl-cn-br-de-3-test.xml ├── ubl-cn-br-de-30-31-test.xml ├── ubl-cn-br-de-4-test.xml ├── ubl-cn-br-de-5-test.xml ├── ubl-cn-br-de-6-test.xml ├── ubl-cn-br-de-7-test.xml ├── ubl-cn-br-de-8-test.xml ├── ubl-cn-br-de-9-test.xml ├── ubl-cn-br-tmp-2-test.xml ├── ubl-cn-peppol-en16931-r001.xml ├── ubl-cn-peppol-en16931-r005.xml ├── ubl-cn-peppol-en16931-r008.xml ├── ubl-cn-peppol-en16931-r010.xml ├── ubl-cn-peppol-en16931-r020.xml ├── ubl-cn-peppol-en16931-r040-allowance.xml ├── ubl-cn-peppol-en16931-r040-charge.xml ├── ubl-cn-peppol-en16931-r040-r120-HUF-slack.xml ├── ubl-cn-peppol-en16931-r040.xml ├── ubl-cn-peppol-en16931-r041.xml ├── ubl-cn-peppol-en16931-r042.xml ├── ubl-cn-peppol-en16931-r043.xml ├── ubl-cn-peppol-en16931-r044.xml ├── ubl-cn-peppol-en16931-r046-1.xml ├── ubl-cn-peppol-en16931-r053-1.xml ├── ubl-cn-peppol-en16931-r053-2.xml ├── ubl-cn-peppol-en16931-r054-1.xml ├── ubl-cn-peppol-en16931-r054-2.xml ├── ubl-cn-peppol-en16931-r055-1.xml ├── ubl-cn-peppol-en16931-r055-2.xml ├── ubl-cn-peppol-en16931-r055-without-bt-6.xml ├── ubl-cn-peppol-en16931-r061-1.xml ├── ubl-cn-peppol-en16931-r061-2.xml ├── ubl-cn-peppol-en16931-r101.xml ├── ubl-cn-peppol-en16931-r110.xml ├── ubl-cn-peppol-en16931-r111.xml ├── ubl-cn-peppol-en16931-r120.xml ├── ubl-cn-peppol-en16931-r121.xml └── ubl-cn-peppol-en16931-r130.xml └── ubl-inv ├── ubl-inv-br-de-1-test.xml ├── ubl-inv-br-de-10-test.xml ├── ubl-inv-br-de-11-test.xml ├── ubl-inv-br-de-14-test.xml ├── ubl-inv-br-de-15-test.xml ├── ubl-inv-br-de-16-negative-test-bt-102.xml ├── ubl-inv-br-de-16-negative-test-bt-151.xml ├── ubl-inv-br-de-16-negative-test-bt-95.xml ├── ubl-inv-br-de-16-test-bt-102.xml ├── ubl-inv-br-de-16-test-bt-151.xml ├── ubl-inv-br-de-16-test-bt-95.xml ├── ubl-inv-br-de-16-test-code-O-2.xml ├── ubl-inv-br-de-16-test-code-O.xml ├── ubl-inv-br-de-17-test.xml ├── ubl-inv-br-de-18-case-sensitive-keyword-2.xml ├── ubl-inv-br-de-18-case-sensitive-keyword-3.xml ├── ubl-inv-br-de-18-case-sensitive-keyword.xml ├── ubl-inv-br-de-18-freespace-test.xml ├── ubl-inv-br-de-18-no-newline-2.xml ├── ubl-inv-br-de-18-no-newline.xml ├── ubl-inv-br-de-18-skonto-many-tests.xml ├── ubl-inv-br-de-18-test-incorrect-verzug.xml ├── ubl-inv-br-de-18-test-no-newline-last-note.xml ├── ubl-inv-br-de-18-test-no-newline.xml ├── ubl-inv-br-de-18-test.xml ├── ubl-inv-br-de-18-text-after-end-2.xml ├── ubl-inv-br-de-18-text-after-end.xml ├── ubl-inv-br-de-18-too-much-digits-after-dot-2.xml ├── ubl-inv-br-de-18-too-much-digits-after-dot.xml ├── ubl-inv-br-de-18-wrong-numeric-seperator-2.xml ├── ubl-inv-br-de-18-wrong-numeric-seperator.xml ├── ubl-inv-br-de-18-wrong-skonto-basisbetrag-test.xml ├── ubl-inv-br-de-18-wrong-whitespace-2.xml ├── ubl-inv-br-de-18-wrong-whitespace-3.xml ├── ubl-inv-br-de-18-wrong-whitespace.xml ├── ubl-inv-br-de-19-iban-tests.xml ├── ubl-inv-br-de-2-test.xml ├── ubl-inv-br-de-20-paymentmeans-code59-test.xml ├── ubl-inv-br-de-22-check-unique-file-name-test.xml ├── ubl-inv-br-de-23-test-bg-17-with-bg-18.xml ├── ubl-inv-br-de-23-test-bg-17-with-bg-19.xml ├── ubl-inv-br-de-23-test-bg-17.xml ├── ubl-inv-br-de-24-test-bg-18-with-bg-17.xml ├── ubl-inv-br-de-24-test-bg-18-with-bg-19.xml ├── ubl-inv-br-de-24-test-bg-18.xml ├── ubl-inv-br-de-25-test-bg-19-with-bg-17.xml ├── ubl-inv-br-de-25-test-bg-19-with-bg-18.xml ├── ubl-inv-br-de-25-test-bg-19.xml ├── ubl-inv-br-de-26-test.xml ├── ubl-inv-br-de-27-test.xml ├── ubl-inv-br-de-28-test.xml ├── ubl-inv-br-de-3-test.xml ├── ubl-inv-br-de-30-31-test.xml ├── ubl-inv-br-de-4-test.xml ├── ubl-inv-br-de-5-test.xml ├── ubl-inv-br-de-6-test.xml ├── ubl-inv-br-de-7-test.xml ├── ubl-inv-br-de-8-test.xml ├── ubl-inv-br-de-9-test.xml ├── ubl-inv-br-dex-01-extension_mime_code_test.xml ├── ubl-inv-br-dex-02-check-0-values.xml ├── ubl-inv-br-dex-02-check-correct-sums-sub-invoice-line-2.xml ├── ubl-inv-br-dex-02-check-correct-sums-sub-invoice-line.xml ├── ubl-inv-br-dex-02-some-invoicelines-with-sub.xml ├── ubl-inv-br-dex-03-invalid-test.xml ├── ubl-inv-br-dex-03-test.xml ├── ubl-inv-br-dex-04-schemeid-test-2.xml ├── ubl-inv-br-dex-04-schemeid-test-3.xml ├── ubl-inv-br-dex-04-schemeid-test-4.xml ├── ubl-inv-br-dex-04-schemeid-test.xml ├── ubl-inv-br-dex-05-schemeid-test.xml ├── ubl-inv-br-dex-06-schemeid-test-2.xml ├── ubl-inv-br-dex-06-schemeid-test-3.xml ├── ubl-inv-br-dex-06-schemeid-test-4.xml ├── ubl-inv-br-dex-06-schemeid-test.xml ├── ubl-inv-br-dex-07-schemeid-test-2.xml ├── ubl-inv-br-dex-07-schemeid-test-3.xml ├── ubl-inv-br-dex-07-schemeid-test-4.xml ├── ubl-inv-br-dex-07-schemeid-test.xml ├── ubl-inv-br-dex-08-schemeid-test-2.xml ├── ubl-inv-br-dex-08-schemeid-test-3.xml ├── ubl-inv-br-dex-08-schemeid-test-4.xml ├── ubl-inv-br-dex-08-schemeid-test.xml ├── ubl-inv-br-dex-09-negative-test.xml ├── ubl-inv-br-dex-09-test-2.xml ├── ubl-inv-br-dex-09-test-3.xml ├── ubl-inv-br-dex-09-test-4.xml ├── ubl-inv-br-dex-09-test.xml ├── ubl-inv-br-dex-10-11-12-negative-test.xml ├── ubl-inv-br-dex-10-test.xml ├── ubl-inv-br-dex-11-test.xml ├── ubl-inv-br-dex-12-test.xml ├── ubl-inv-br-dex-13-test.xml ├── ubl-inv-br-dex-14-test.xml ├── ubl-inv-br-tmp-2-test.xml ├── ubl-inv-contact-tests.xml ├── ubl-inv-paymentmeans-test.xml ├── ubl-inv-peppol-en16931-r001.xml ├── ubl-inv-peppol-en16931-r005.xml ├── ubl-inv-peppol-en16931-r008.xml ├── ubl-inv-peppol-en16931-r010.xml ├── ubl-inv-peppol-en16931-r020.xml ├── ubl-inv-peppol-en16931-r040-allowance.xml ├── ubl-inv-peppol-en16931-r040-charge.xml ├── ubl-inv-peppol-en16931-r040-r120-HUF-slack.xml ├── ubl-inv-peppol-en16931-r040.xml ├── ubl-inv-peppol-en16931-r041.xml ├── ubl-inv-peppol-en16931-r042.xml ├── ubl-inv-peppol-en16931-r043.xml ├── ubl-inv-peppol-en16931-r044.xml ├── ubl-inv-peppol-en16931-r046-1.xml ├── ubl-inv-peppol-en16931-r053-1.xml ├── ubl-inv-peppol-en16931-r053-2.xml ├── ubl-inv-peppol-en16931-r054-1.xml ├── ubl-inv-peppol-en16931-r054-2.xml ├── ubl-inv-peppol-en16931-r055-1.xml ├── ubl-inv-peppol-en16931-r055-2.xml ├── ubl-inv-peppol-en16931-r055-without-bt6.xml ├── ubl-inv-peppol-en16931-r061-1.xml ├── ubl-inv-peppol-en16931-r061-2.xml ├── ubl-inv-peppol-en16931-r101.xml ├── ubl-inv-peppol-en16931-r110.xml ├── ubl-inv-peppol-en16931-r111.xml ├── ubl-inv-peppol-en16931-r120.xml ├── ubl-inv-peppol-en16931-r121.xml └── ubl-inv-peppol-en16931-r130.xml /.gitignore: -------------------------------------------------------------------------------- 1 | dist/ 2 | build/ 3 | lib/ 4 | reports/ 5 | 6 | .vscode 7 | *.xpr 8 | .ant-targets-build.xml 9 | .project 10 | .DS_Store 11 | zz 12 | 13 | validation/schematron/QS 2017/ 14 | validation/schematron/ubl-cn/XRechnung-UBL-validation.sch 15 | validation/schematron/ubl-inv/XRechnung-UBL-validation.sch 16 | bis-material/ 17 | temp/ 18 | 19 | # developer files 20 | development.build.properties 21 | -------------------------------------------------------------------------------- /.gitlab/issue_templates/peppol-rule.md: -------------------------------------------------------------------------------- 1 | # Peppol-EN-16931-R??? [UBL / CII] 2 | 3 | ## link 4 | 5 | ## description of test requirements (if necessary) 6 | 7 | ## tasks 8 | 9 | - [ ] test in xrechnung-schematron created (@assignee) 10 | 11 | - [ ] QS test (@reviewer), e.g.: 12 | - test is applied to correct element(s) 13 | - rule called by mutator is correct 14 | - file name refers to correct rule 15 | - 16 | 17 | - [ ] QS rule (@reviewer), e.g.: 18 | - correct context 19 | - 20 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # XRechnung Schematron 2 | 3 | Schematron Rules for XML validation of the [German CIUS (XRechnung)](https://xeinkauf.de/xrechnung/versionen-und-bundles/) business rules compliant with EN16931:2017. 4 | 5 | ## Changes and Versioning 6 | 7 | Changes to each version are documented in our [CHANGELOG.md](CHANGELOG.md). 8 | 9 | In December 2018 we introduced [Semantic Versioning](https://semver.org/spec/v2.0.0.html). 10 | 11 | Given a version number MAJOR.MINOR.PATCH, we increment the: 12 | 13 | 1. MAJOR version when we make incompatible changes: 14 | * That is we introduce changes to the rules which will **DEFINITELY** not validate previously generated XML which was valid to previous major version anymore 15 | 1. MINOR version when we add functionality 16 | * That is we introduce changes to the rules which widen the scope of valid content (e.g. we add new codelist terms or accept new optional XML elements). 17 | * **CAUTION**: This might break YOUR validation scenario and ability to accept XML content 18 | 1. PATCH version when we make backwards-compatible bug fixes. 19 | 20 | ## Contact 21 | 22 | Existing issues can be found at [our issue tracker](https://projekte.kosit.org/xrechnung/xrechnung-schematron/-/issues). 23 | 24 | If you think you have found a bug, please [contact us](https://xeinkauf.de/kontakt/#support). 25 | 26 | You can find packaged releases on [our GitLab project](https://projekte.kosit.org/xrechnung/xrechnung-schematron/-/releases). 27 | 28 | ## Development 29 | 30 | Further information on development may be found in our [Developer Documentation](./docs/development.md) 31 | -------------------------------------------------------------------------------- /docs/development.md: -------------------------------------------------------------------------------- 1 | # Project Structure 2 | 3 | Schematron sources are in `validation/schematron/{cii, ubl}` directories. 4 | 5 | ## Testing 6 | 7 | We are only testing with **Saxon HE 9.9** and later. 8 | Proper execution of the rules with other XSLT environments cannot be guaranteed. 9 | 10 | Hint: the CEN rules are also tested with Saxon HE. 11 | 12 | ## Test case development with XML Mutate 13 | 14 | We also create test cases using XML Mutate https://projekte.kosit.org/kosit/xml-mutate . 15 | 16 | Currently, you need to manually download the newest version from https://projekte.kosit.org/kosit/xml-mutate/-/jobs and put it somewhere local. 17 | 18 | Additionally, you must set a custom ant property that points to the URL of the XML Mutate repository (full path), 19 | 20 | e.g. `xmute.download.url.prefix=file:/mnt/c/data/git-repos/xml-mutator/target` (Linux). 21 | 22 | Example ant call: 23 | 24 | ```shell 25 | ant -Dxmute.download.url.prefix=file:/home/renzo/projects/xml-mutate/target test 26 | ``` 27 | 28 | For Windows users: 29 | 30 | ```shell 31 | ant "-Dxmute.download.url.prefix=file:/c:/dev/git/xml-mutate/target" test 32 | ``` 33 | 34 | 35 | The `test/instances` directories contains instances for the sole purpose to cover detailed technical aspects of XRechnung development such as codelist tests among others. These tests have Unit Test character by focusing on testing single Schematron rules in isolation. Hence, these technical cases might not be valid instances w.r.t. to XRechnung specification. 36 | There are three directories for the different formats (cii, ubl-cn, ubl-inv). The naming convention for the tests is *format*-*rule*-*description*.xml (e.g. cii-br-de-24-test-bg-17.xml). 37 | 38 | ### Test requirements 39 | 40 | #### Avoid "A sequence is not allowed.." errors 41 | 42 | This error occurs if an assertion uses an XPath function which only expects one element per function call (e.g. matches()), but receives several. 43 | 44 | If a rule tests a specific element which can occur multiple times, a test instance has to have multiple occurences of the element. 45 | 46 | If a rule tests a specific element within a parent element, which can occur multiple times, a test instance has to have multiple occurences of the parent element. 47 | 48 | ### Conventions 49 | 50 | In order to keep test case development consistent it is important to follow several conventions. 51 | 52 | #### Common names for different Schematron rule sets 53 | 54 | The following names are used to reference different schematron files 55 | 56 | ``` 57 | cenubl: for CEN UBL Invoice (and Credit Note) rules 58 | cencii: for CEN UN/CEFACT CII rules 59 | xrubl: for XRechnung UBL Invoice (and Credit Note) 60 | xrcii: for XRechnung UN/CEFACT CII 61 | ``` 62 | 63 | ## The build environment 64 | 65 | We recommend `Apache Ant` version 1.10.x or newer (but should work with > 1.8.x). 66 | 67 | The main `ant` targets for developing are: 68 | 69 | * `compile` 70 | * `test` (unit testing) 71 | * and `dist` (creating the distribution artefact) 72 | 73 | However, because of the complex dependencies, you may only expect `compile` target to work without any customizations. 74 | 75 | ## Distribution 76 | 77 | The `ant` target `dist` creates the distribution zip archive. 78 | 79 | ## Release 80 | 81 | ### Checklist 82 | 83 | * Are all issues scheduled for the release solved? 84 | * Is everything merged to master branch? 85 | * Do Schematron files include correct version of XRechnung Specification? 86 | * Make sure that CHANGELOG.md is up to date 87 | 88 | 89 | ### Prepare 90 | 91 | * Make sure you committed and pushed everything 92 | * Create the distribution by **not** using your development properties file. 93 | This requires to set some at command line: 94 | 95 | ``` 96 | ant -Dxmute.download.url.prefix='file:/home/renzo/projects/xml-mutate/target' clean dist 97 | ``` 98 | 99 | * Tag the last commit according to the following naming rule: `release-${xr-schematron.version.full}` e.g. 100 | `git tag release-2.3.0 && git push origin release-2.3.0` 101 | 102 | ### Publish 103 | 104 | * Draft a new release at https://github.com/itplr-kosit/xrechnung-schematron/releases/new 105 | * Choose the git tag you just created 106 | * Add release title of the following scheme: `XRechnung Schematron ${xr-schematron.version.full} compatible with XRechnung ${xrechnung.version}` 107 | * Copy & paste the high quality changelog entries for this release from CHANGELOG.md. 108 | * Upload distribution zip and tick mark this release as a `pre-release`. 109 | * If **all** released components are checked to be okay, then uncheck pre-release. 110 | 111 | * Publish the new release in GitLab 112 | 113 | ### Post-Release 114 | 115 | * Change the version of XRechnung Schematron in `build.xml` to the next release and commit 116 | 117 | You are done :smile: 118 | -------------------------------------------------------------------------------- /docs/harmonization-xr-peppol-bis-billing.md: -------------------------------------------------------------------------------- 1 | # Harmonization of XRechnung and Peppol BIS Billing 3.0 XRechnung 2 | 3 | With the aims of minimizing the delta between XRechnung and Peppol BIS Billing - both CIUSes of the European Norm EN 16931 - a set of Peppol BIS Billing rules is included into XRechnung, and, vice versa, a set of rules to be added to Peppol BIS Billing as the German National ruleset is created from XRechnung national business rules. 4 | This document outlines the process of mutual harmonization of Peppol BIS Billing 3.0 and XRechnung on a technical level. 5 | 6 | The integration is based on an automatic XSLT transformation of Schematron rules, which is initiated by an ANT build script. During the build process, transformed/generated files are saved to the `build/`folder. 7 | 8 | ## File Structure and Location 9 | 10 | The relevant files are located here: 11 | 12 | ``` 13 | / 14 | |-- src/ 15 | | |-- xsl/ 16 | | |-- peppol-into-xr.xsl (Transformation script for generation of XRechnung rules) 17 | | |-- rule-list.xml (Whitelist of Peppol BIS Billing rules to be transferred to XRechnung) 18 | | |-- tools/ 19 | | |-- xr-2-peppol-bis-billing-nrs.xsl (transformation file for creation of National Ruleset) 20 | | |-- xr-rules-list.xml (Whitelist of XRechnung business rules to be included in National Ruleset) 21 | | |-- xr-variables-list.xml (Blacklist of XR Schematron variables not used in target rule set) 22 | |-- build/ (temporary files downloaded/created during the build process) 23 | | |-- bis/ (Peppol BIS Billing rules downloaded here) 24 | | |-- schematron/ 25 | | |-- cii/ (generated CII rules stored here) 26 | | |-- ubl/ (generated UBL rules stored here) 27 | | |-- national-rules/ 28 | | |-- XRechnung-UBL-NRS.sch (National rule set for integration into Peppol BIS Billing) 29 | ``` 30 | 31 | 32 | ## Transformation of Peppol BIS Billing rules into XRechnung 33 | 34 | Per transformation script `peppol-into-xr.xsl` patterns, global parameters and functions are copied from the Peppol BIS Billing 3.0 Schematron files into the XRechnung Schematron files (UBL and CII, respectively). 35 | The set of rules as provided in `rule-list.xml` are then copied and modified, if necessary (see details below). 36 | 37 | The transformation is invoked by the Ant target `merge-peppol-rules-with-xr-rules`. 38 | 39 | Call 40 | 41 | ```shell 42 | ant merge-peppol-rules-with-xr-rules 43 | ``` 44 | 45 | The corresponding source files are contained within `src/xsl/`. The output files are saved in `build/schematron/`. 46 | 47 | ### Handling of CII 48 | 49 | Notably, as Peppol BIS Billing does not officially support CII, severity levels were set to "warning" per default for all CII rules. **They will be implemented as "error"/"fatal" with an upcoming release.** 50 | 51 | ### Modifications 52 | 53 | Additionally, some rules had to be added or customized: 54 | 55 | - `PEPPOL-EN16931-R008` was added for CII 56 | - `PEPPOL-EN16931-R042` and `PEPPOL-EN16931-R046` were added for CII 57 | - `PEPPOL-EN16931-R053` and `PEPPOL-EN16931-R055` were modified for CII due to bugs in source code 58 | - message texts were replaced in `PEPPOL-EN16931-R053`, `PEPPOL-EN16931-R054`, and `PEPPOL-EN16931-R101` for CII 59 | - `PEPPOL-EN16931-R120` was excluded for CII due to syntaxbinding inconsistencies 60 | - the slack function provided in Peppol BIS Billing and rules `PEPPOL-EN16931-R040` and `PEPPOL-EN16931-R120` were modified for UBL and CII to handle rounding without decimal places in currency HUF 61 | 62 | ## Transformation of XRechnung national business rules to Peppol BIS Billing National Ruleset 63 | 64 | XRechnung Schematron rules as whitelisted in `xr-rules-list.xml` are transformed via `xr-2-peppol-bis-billing-nrs.xsl` to create the German National Ruleset for Peppol BIS Billing. XRechnung Schematron variables not blacklisted in `xr-variables-list.xml` are included as global variables. To ensure that the German national rules apply only in case of German seller AND customer country (BT-40 and BT-55), respective predicates are applied to the rules' contexts. 65 | The list of rules in `xr-rules-list.xml` provides translations of XRechnung rules' IDs and texts to Peppol BIS Billing rules' IDs and texts that are applied during the transformation. 66 | 67 | As Peppol BIS Billing does not officially support CII, only UBL is taken into account in the transformation process. 68 | 69 | The transformation is invoked by Ant target `transform-xr-rules-to-peppol-nrs`. 70 | 71 | Call 72 | 73 | ```shell 74 | ant transform-xr-rules-to-peppol-nrs 75 | ``` 76 | 77 | The corresponding source files are contained within `src/tools/`. The output file is saved in `build/national-rules/`. -------------------------------------------------------------------------------- /src/tools/xr2nrs/xr-2-peppol-bis-billing-nrs.xsl: -------------------------------------------------------------------------------- 1 | 2 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 75 | 76 | 77 | 78 | 79 | 80 | 81 | 82 | 83 | 84 | 85 | 86 | 87 | 88 | 89 | 90 | 91 | 92 | 93 | 94 | 95 | 96 | 97 | 98 | 99 | 100 | 101 | 103 | 104 | 105 | 106 | 108 | 109 | 110 | -------------------------------------------------------------------------------- /src/tools/xr2nrs/xr-rules-list.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | An invoice shall contain information on "PAYMENT INSTRUCTIONS" (BG-16). 8 | The group "SELLER CONTACT" (BG-6) shall be provided. 9 | The element "Seller city" (BT-37) shall be provided. 10 | The element "Seller post code" (BT-38) shall be provided. 11 | The element "Seller contact point" (BT-41) shall be provided. 12 | The element "Seller contact telephone number" (BT-42) shall be provided. 13 | The element "Seller contact email address" (BT-43) shall be provided. 14 | The element "Buyer city" (BT-52) shall be provided. 15 | The element "Buyer post code" (BT-53) shall be provided. 16 | The element "Deliver to city" (BT-77) shall be provided if the group "DELIVER TO ADDRESS" (BG-15) is delivered. 17 | The element "Deliver to post code" (BT-78) shall be provided if the group "DELIVER TO ADDRESS" (BG-15) is delivered. 18 | 19 | 22 | The element "VAT category rate" (BT-119) shall be provided. 23 | The element "Buyer reference" (BT-10) shall be provided. 24 | 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). 25 | The element "Invoice type code" (BT-3) should only contain the following values from code list UNTDID 1001: 326 (Partial invoice), 380 (Commercial invoice), 384 (Corrected invoice), 389 (Self-billed invoice), 381 (Credit note), 875 (Partial construction invoice), 876 (Partial final construction invoice), 877 (Final construction invoice). 26 | Information on cash discounts for prompt payment (Skonto) shall be provided within the element "Payment terms" BT-20 in the following way: First segment "SKONTO", second segment amount of days ("TAGE=N"), third segment percentage ("PROZENT=N"). Percentage must be separated by dot with two decimal places. In case the base value of the invoiced amount is not provided in BT-115 but as a partial amount, the base value shall be provided as fourth segment "BASISBETRAG=N" as semantic data type amount. Each entry shall start with a #, the segments must be separated by # and a row shall end with a #. A complete statement on cash discount for prompt payment shall end with a XML-conformant line break. All statements on cash discount for prompt payment shall be given in capital letters. Additional whitespaces (blanks, tabulators or line breaks) are not allowed. Other characters or texts than defined above are not allowed. 27 | The element "Payment account identifier" (BT-84) should contain a valid IBAN if code 58 SEPA is provided in "Payment means type code" (BT-81). 28 | The element "Debited account identifier" (BT-91) should contain a valid IBAN if code 59 SEPA is provided in "Payment means type code" (BT-81). 29 | 30 | [BR-DE-21] Das Element "Specification identifier" (BT-24) soll syntaktisch der Kennung des Standards XRechnung entsprechen. 31 | Attached documents provided with an invoice in "ADDITIONAL SUPPORTING DOCUMENTS" (BG-24) shall have a unique filename (non case-sensitive) within the element ″Attached document″ (BT-125). 32 | If "Payment means type code" (BT-81) contains a code for credit transfer (30, 58), "CREDIT TRANSFER" (BG-17) shall be provided. 33 | If "Payment means type code" (BT-81) contains a code for credit transfer (30, 58), BG-18 and BG-19 shall not be provided. 34 | If "Payment means type code" (BT-81) contains a code for payment card (48, 54, 55), "PAYMENT CARD INFORMATION" (BG-18) shall be provided. 35 | If "Payment means type code" (BT-81) contains a code for payment card (48, 54, 55), BG-17 and BG-19 shall not be provided. 36 | If "Payment means type code" (BT-81) contains a code for direct debit (59), "DIRECT DEBIT" (BG-19) shall be provided. 37 | If "Payment means type code" (BT-81) contains a code for direct debit (59), BG-17 and BG-18 shall not be provided. 38 | If "Invoice type code" (BT-3) contains the code 384 (Corrected invoice), "PRECEDING INVOICE REFERENCE" (BG-3) should be provided at least once. 39 | "Seller contact telephone number" (BT-42) should contain a valid telephone number. A valid telephone should consist of 3 digits minimum. 40 | "Seller contact email address" (BT-43) should contain exactly one @-sign, which should not be framed by a whitespace or a dot but by at least two characters on each side. A dot should not be the first or last character. 41 | 42 | 45 | If the group "DIRECT DEBIT" (BG-19) is delivered, the element "Bank assigned creditor identifier" (BT-90) shall be provided. 46 | If the group "DIRECT DEBIT" (BG-19) is delivered, the element "Debited account identifier" (BT-91) shall be provided. 47 | -------------------------------------------------------------------------------- /src/tools/xr2nrs/xr-variables-list.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | XR-MAJOR-MINOR-VERSION 8 | XR-CIUS-ID 9 | XR-EXTENSION-ID 10 | DIGA-CODES 11 | ISO-6523-ICD-CODES 12 | ISO-6523-ICD-EXT-CODES 13 | CEF-EAS-CODES 14 | CEF-EAS-EXT-CODES 15 | 16 | -------------------------------------------------------------------------------- /src/validation/schematron/common.sch: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | -------------------------------------------------------------------------------- /src/xsl/check-schematron-asserts.xsl: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | true 9 | 10 | 11 | false 12 | The assertion with id="" has no error message text 14 | 15 | 16 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /src/xsl/normalization.xsl: -------------------------------------------------------------------------------- 1 | 2 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | -------------------------------------------------------------------------------- /src/xsl/rule-list.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | PEPPOL-EN16931-R001 8 | 13 | PEPPOL-EN16931-R005 14 | 18 | PEPPOL-EN16931-R008 19 | PEPPOL-EN16931-R010 20 | PEPPOL-EN16931-R020 21 | PEPPOL-EN16931-R040 22 | PEPPOL-EN16931-R041 23 | PEPPOL-EN16931-R042 24 | PEPPOL-EN16931-R043 25 | PEPPOL-EN16931-R044 26 | PEPPOL-EN16931-R046 27 | 31 | PEPPOL-EN16931-R053 32 | PEPPOL-EN16931-R054 33 | PEPPOL-EN16931-R055 34 | PEPPOL-EN16931-R061 35 | 39 | PEPPOL-EN16931-R101 40 | PEPPOL-EN16931-R110 41 | PEPPOL-EN16931-R111 42 | PEPPOL-EN16931-R120 43 | PEPPOL-EN16931-R121 44 | PEPPOL-EN16931-R130 45 | 50 | 51 | -------------------------------------------------------------------------------- /test/instances/ubl-cn/ubl-cn-br-de-16-test-code-O-2.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | urn:cen.eu:en16931:2017#compliant#urn:xeinkauf.de:kosit:xrechnung_3.0 6 | urn:fdc:peppol.eu:2017:poacc:billing:01:1.0 7 | 1234/78/901 8 | 2016-06-16 9 | 380 10 | #ADU#Diese Leistung ist umsatzsteuerbefreit nach § 4 Nr. 22a UStG. 11 | EUR 12 | 04011000-12348-91 13 | 14 | 15 | seller@seller.com 16 | 17 | [Seller trading name] 18 | 19 | 20 | [Seller address line 1] 21 | [Seller address line 2] 22 | [Seller city] 23 | 12345 24 | 25 | DE 26 | 27 | 28 | 29 | 30 | ??? 31 | 32 | 33 | 34 | [Seller name] 35 | VR 12345 Nz 36 | Vorstand: [...] (Vorsitzender), […] (Stellvertreterin), Dr. […] (Schatzmeister); Beirat: […] (Vorsitzender); Geschäftsführung: […], AG […], FA für Körperschaften […] 37 | 38 | 39 | […] 40 | +49 (0)12-345678-90 41 | mail@seller.eu 42 | 43 | 44 | 45 | 46 | 47 | buyer@buyer.com 48 | 49 | [Buyer address line 1] 50 | [Buyer address line 2] 51 | [Buyer city] 52 | 12345 53 | 54 | DE 55 | 56 | 57 | 58 | [Buyer name] 59 | 60 | 61 | [Buyer contact person] 62 | 63 | 64 | 65 | 66 | 58 67 | 68 | 69 | DE75512108001245126199 70 | 71 | 72 | 73 | Wir möchten Sie bitten, die Teilnahmegebühr iHv. 120,00 € innerhalb von 14 Tagen auf das oben genannte Konto unter Angabe der Rechnungsnummer 1234/78/901 zu überweisen. 74 | 75 | 76 | 0 77 | 78 | 120 79 | 0 80 | 81 | O 82 | 0 83 | als gemeinnützig anerkannt 84 | 85 | VAT 86 | 87 | 88 | 89 | 90 | 91 | 120 92 | 120 93 | 120 94 | 120 95 | 96 | 97 | Teilnahmegebühr 98 | 1 99 | 120 100 | 101 | Anmeldung von […] 102 | Teilnahmegebühr 103 | 104 | 105 | 108 | 111 | O 112 | 113 | VAT 114 | 115 | 116 | 117 | 118 | 120 119 | 120 | 121 | 122 | -------------------------------------------------------------------------------- /test/instances/ubl-cn/ubl-cn-br-de-16-test-code-O.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | urn:cen.eu:en16931:2017#compliant#urn:xeinkauf.de:kosit:xrechnung_3.0 6 | urn:fdc:peppol.eu:2017:poacc:billing:01:1.0 7 | 1234/78/901 8 | 2016-06-16 9 | 380 10 | #ADU#Diese Leistung ist umsatzsteuerbefreit nach § 4 Nr. 22a UStG. 11 | EUR 12 | 04011000-12348-91 13 | 14 | 15 | seller@seller.com 16 | 17 | [Seller trading name] 18 | 19 | 20 | [Seller address line 1] 21 | [Seller address line 2] 22 | [Seller city] 23 | 12345 24 | 25 | DE 26 | 27 | 28 | 29 | 32 | 35 | 36 | 12/345/67890 37 | 38 | VAT 39 | 40 | 41 | 42 | [Seller name] 43 | VR 12345 Nz 44 | Vorstand: [...] (Vorsitzender), […] (Stellvertreterin), Dr. […] (Schatzmeister); Beirat: […] (Vorsitzender); Geschäftsführung: […], AG […], FA für Körperschaften […] 45 | 46 | 47 | […] 48 | +49 (0)12-345678-90 49 | mail@seller.eu 50 | 51 | 52 | 53 | 54 | 55 | buyer@buyer.com 56 | 57 | [Buyer address line 1] 58 | [Buyer address line 2] 59 | [Buyer city] 60 | 12345 61 | 62 | DE 63 | 64 | 65 | 66 | [Buyer name] 67 | 68 | 69 | [Buyer contact person] 70 | 71 | 72 | 73 | 74 | 58 75 | 76 | 77 | DE75512108001245126199 78 | 79 | 80 | 81 | Wir möchten Sie bitten, die Teilnahmegebühr iHv. 120,00 € innerhalb von 14 Tagen auf das oben genannte Konto unter Angabe der Rechnungsnummer 1234/78/901 zu überweisen. 82 | 83 | 84 | 0 85 | 86 | 120 87 | 0 88 | 89 | O 90 | 0 91 | als gemeinnützig anerkannt 92 | 93 | VAT 94 | 95 | 96 | 97 | 98 | 99 | 120 100 | 120 101 | 120 102 | 120 103 | 104 | 105 | Teilnahmegebühr 106 | 1 107 | 120 108 | 109 | Anmeldung von […] 110 | Teilnahmegebühr 111 | 112 | 113 | O 114 | 115 | VAT 116 | 117 | 118 | 119 | 120 | 120 121 | 122 | 123 | 124 | -------------------------------------------------------------------------------- /test/instances/ubl-cn/ubl-cn-peppol-en16931-r053-1.xml: -------------------------------------------------------------------------------- 1 | 2 | urn:cen.eu:en16931:2017#compliant#urn:xeinkauf.de:kosit:xrechnung_3.0 3 | urn:fdc:peppol.eu:2017:poacc:billing:01:1.0 4 | 3009000003 5 | 2022-09-21 6 | 381 7 | Invoice Note Description 8 | EUR 9 | 12 | 05 123456 123 13 | 14 | 0000200123 15 | 16 | 17 | 18 | rechnungsausgang@test.com 19 | 20 | Muster Straße 4-6 21 | Dorf 22 | 12345 23 | 24 | DE 25 | 26 | 27 | 28 | DE123 29 | 30 | VAT 31 | 32 | 33 | 34 | Test GmbH 35 | 36 | 37 | Musterperson 38 | 123 39 | musterperson@test.de 40 | 41 | 42 | 43 | 44 | 45 | rechnungseingang@test.de 46 | 47 | Testweg 1 48 | Dorf 49 | 12345 50 | 51 | DE 52 | 53 | 54 | 55 | Musterfirma 56 | 57 | 58 | Musterfirma 59 | 60 | 61 | 62 | 63 | 30 64 | 1000000001 65 | 66 | DE94820800000815609800 67 | Testbank 68 | 69 | TESTTESTTT 70 | 71 | 72 | 73 | 74 | innerhalb 14 Tagen ohne Abzug Bis zum 05.10.2022 ohne Abzug 75 | 76 | 79 | 82 | 83 | 84 | 70.00 85 | 88 | 91 | 92 | 1000.00 93 | 70.00 94 | 95 | S 96 | 7.00 97 | 98 | VAT 99 | 100 | 101 | 102 | 103 | 104 | 1325.00 105 | 1325.00 106 | 1395.00 107 | 1395.00 108 | 109 | 110 | 000000 111 | 65 112 | 325.00 113 | 114 | Sascha Test 115 | 116 | S 117 | 19 118 | 119 | VAT 120 | 121 | 122 | 123 | 124 | 20.00 125 | 4 126 | 127 | 128 | 129 | 000001 130 | 10.000 131 | 1000.00 132 | 133 | Sascha Test 134 | 135 | S 136 | 7 137 | 138 | VAT 139 | 140 | 141 | 142 | 143 | 100.00 144 | 145 | 146 | -------------------------------------------------------------------------------- /test/instances/ubl-cn/ubl-cn-peppol-en16931-r054-1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | urn:cen.eu:en16931:2017#compliant#urn:xeinkauf.de:kosit:xrechnung_3.0 4 | urn:fdc:peppol.eu:2017:poacc:billing:01:1.0 5 | 3009000003 6 | 2022-09-21 7 | 381 8 | RECHNUNG 9 | EUR 10 | USD 11 | 05 123456 123 12 | 13 | 0000200123 14 | 15 | 16 | 17 | rechnungsausgang@test.com 18 | 19 | Muster Straße 4-6 20 | Dorf 21 | 12345 22 | 23 | DE 24 | 25 | 26 | 27 | DE123 28 | 29 | VAT 30 | 31 | 32 | 33 | Test GmbH 34 | 35 | 36 | Musterperson 37 | 123 38 | musterperson@test.de 39 | 40 | 41 | 42 | 43 | 44 | rechnungseingang@test.de 45 | 46 | Testweg 1 47 | Dorf 48 | 12345 49 | 50 | DE 51 | 52 | 53 | 54 | Musterfirma 55 | 56 | 57 | Musterfirma 58 | 59 | 60 | 61 | 62 | 30 63 | 1000000001 64 | 65 | DE94820800000815609800 66 | Testbank 67 | 68 | TESTTESTTT 69 | 70 | 71 | 72 | 73 | innerhalb 14 Tagen ohne Abzug Bis zum 05.10.2022 ohne Abzug 74 | 75 | 76 | 77 | 70.00 78 | 79 | 1000.00 80 | 70.00 81 | 82 | S 83 | 7.00 84 | 85 | VAT 86 | 87 | 88 | 89 | 90 | 93 | 96 | 97 | 98 | 70.00 99 | 100 | 101 | 1325.00 102 | 1325.00 103 | 1395.00 104 | 1395.00 105 | 106 | 107 | 000000 108 | 65 109 | 325.00 110 | 111 | Sascha Test 112 | 113 | S 114 | 19 115 | 116 | VAT 117 | 118 | 119 | 120 | 121 | 20.00 122 | 4 123 | 124 | 125 | 126 | 000001 127 | 10.000 128 | 1000.00 129 | 130 | Sascha Test 131 | 132 | S 133 | 7 134 | 135 | VAT 136 | 137 | 138 | 139 | 140 | 100.00 141 | 142 | 143 | -------------------------------------------------------------------------------- /test/instances/ubl-cn/ubl-cn-peppol-en16931-r054-2.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | urn:cen.eu:en16931:2017#compliant#urn:xeinkauf.de:kosit:xrechnung_3.0 4 | urn:fdc:peppol.eu:2017:poacc:billing:01:1.0 5 | 3009000003 6 | 2022-09-21 7 | 381 8 | RECHNUNG 9 | EUR 10 | USD 11 | 05 123456 123 12 | 13 | 0000200123 14 | 15 | 16 | 17 | rechnungsausgang@test.com 18 | 19 | Muster Straße 4-6 20 | Dorf 21 | 12345 22 | 23 | DE 24 | 25 | 26 | 27 | DE123 28 | 29 | VAT 30 | 31 | 32 | 33 | Test GmbH 34 | 35 | 36 | Musterperson 37 | 123 38 | musterperson@test.de 39 | 40 | 41 | 42 | 43 | 44 | rechnungseingang@test.de 45 | 46 | Testweg 1 47 | Dorf 48 | 12345 49 | 50 | DE 51 | 52 | 53 | 54 | Musterfirma 55 | 56 | 57 | Musterfirma 58 | 59 | 60 | 61 | 62 | 30 63 | 1000000001 64 | 65 | DE94820800000815609800 66 | Testbank 67 | 68 | TESTTESTTT 69 | 70 | 71 | 72 | 73 | innerhalb 14 Tagen ohne Abzug Bis zum 05.10.2022 ohne Abzug 74 | 75 | 76 | 77 | 70.00 78 | 79 | 1000.00 80 | 70.00 81 | 82 | S 83 | 7.00 84 | 85 | VAT 86 | 87 | 88 | 89 | 90 | 91 | 92 | 70.00 93 | 94 | 97 | 100 | 101 | 102 | 70.00 103 | 104 | 105 | 1325.00 106 | 1325.00 107 | 1395.00 108 | 1395.00 109 | 110 | 111 | 000000 112 | 65 113 | 325.00 114 | 115 | Sascha Test 116 | 117 | S 118 | 19 119 | 120 | VAT 121 | 122 | 123 | 124 | 125 | 20.00 126 | 4 127 | 128 | 129 | 130 | 000001 131 | 10.000 132 | 1000.00 133 | 134 | Sascha Test 135 | 136 | S 137 | 7 138 | 139 | VAT 140 | 141 | 142 | 143 | 144 | 100.00 145 | 146 | 147 | -------------------------------------------------------------------------------- /test/instances/ubl-inv/ubl-inv-br-de-16-negative-test-bt-151.xml: -------------------------------------------------------------------------------- 1 | 2 | urn:cen.eu:en16931:2017#compliant#urn:xeinkauf.de:kosit:xrechnung_3.0 3 | urn:fdc:peppol.eu:2017:poacc:billing:01:1.0 4 | 0150085959 5 | 2020-09-10 6 | 2020-09-30 7 | 380 8 | Steuerkennzeichen 9 | EUR 10 | Leitweg 4711 11 | 12 | 13 | DE123 14 | 15 | DE123 16 | 17 | 18 | Muster AG Absender 19 | 20 | 21 | Bahnhofstraße 45 22 | Zughausen 23 | 12345 24 | 25 | DE 26 | 27 | 28 | 29 | 30 | 31 | VAT 32 | 33 | 34 | 35 | Muster AG Absender 36 | 37 | 38 | Alfred E. Neumann 39 | +49 (69) 123-456 40 | alfred.e.neumann@mad.de 41 | 42 | 43 | 44 | 45 | 46 | Leitweg 4711 47 | 48 | Muster AG X-Rechnung 49 | 50 | 51 | Netzstraße 15 52 | Haltemada 53 | 12345 54 | 55 | DE 56 | 57 | 58 | 59 | 60 | VAT 61 | 62 | 63 | 64 | Muster AG X-Rechnung 65 | 66 | 67 | nicht vorhanden 68 | 0 69 | no_email 70 | 71 | 72 | 73 | 74 | 30 75 | 76 | DE75512108001245126199 77 | 78 | 79 | 80 | 0.00 81 | 82 | 5000.00 83 | 0.00 84 | 85 | O 86 | 0.00 87 | Nicht steuerbar 88 | 89 | VAT 90 | 91 | 92 | 93 | 94 | 95 | 5000.00 96 | 5000.00 97 | 5000.00 98 | 0.00 99 | 5000.00 100 | 101 | 102 | 000010 103 | Dummymaterial 104 | 1.00 105 | 5000.00 106 | 107 | undef 108 | 109 | undefined 110 | 111 | 112 | 113 | Dummymaterial 114 | Dummymaterial 115 | 116 | L0014 117 | 118 | 119 | 122 | S 123 | 124 | VAT 125 | 126 | 127 | 128 | 129 | 5000.00 130 | 1.00 131 | 132 | 133 | -------------------------------------------------------------------------------- /test/instances/ubl-inv/ubl-inv-br-de-16-test-bt-151.xml: -------------------------------------------------------------------------------- 1 | 2 | urn:cen.eu:en16931:2017#compliant#urn:xeinkauf.de:kosit:xrechnung_3.0 3 | urn:fdc:peppol.eu:2017:poacc:billing:01:1.0 4 | 0150085959 5 | 2020-09-10 6 | 2020-09-30 7 | 380 8 | Steuerkennzeichen 9 | EUR 10 | Leitweg 4711 11 | 12 | 13 | DE123 14 | 15 | DE123 16 | 17 | 18 | Muster AG Absender 19 | 20 | 21 | Bahnhofstraße 45 22 | Zughausen 23 | 12345 24 | 25 | DE 26 | 27 | 28 | 29 | DE199861724 30 | 31 | VAT 32 | 33 | 34 | 35 | Muster AG Absender 36 | 37 | 38 | Alfred E. Neumann 39 | +49 (69) 123-456 40 | alfred.e.neumann@mad.de 41 | 42 | 43 | 44 | 45 | 46 | Leitweg 4711 47 | 48 | Muster AG X-Rechnung 49 | 50 | 51 | Netzstraße 15 52 | Haltemada 53 | 12345 54 | 55 | DE 56 | 57 | 58 | 59 | 60 | VAT 61 | 62 | 63 | 64 | Muster AG X-Rechnung 65 | 66 | 67 | nicht vorhanden 68 | 0 69 | no_email 70 | 71 | 72 | 73 | 74 | 30 75 | 76 | DE75512108001245126199 77 | 78 | 79 | 80 | 0.00 81 | 82 | 5000.00 83 | 0.00 84 | 85 | M 86 | 0.00 87 | 88 | VAT 89 | 90 | 91 | 92 | 93 | 94 | 5000.00 95 | 5000.00 96 | 5000.00 97 | 0.00 98 | 5000.00 99 | 100 | 101 | 000010 102 | Dummymaterial 103 | 1.00 104 | 5000.00 105 | 106 | Dummymaterial 107 | Dummymaterial 108 | 109 | L0014 110 | 111 | 112 | 115 | M 116 | 0.00 117 | 118 | VAT 119 | 120 | 121 | 122 | 123 | 5000.00 124 | 1.00 125 | 126 | 127 | -------------------------------------------------------------------------------- /test/instances/ubl-inv/ubl-inv-br-de-16-test-code-O-2.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | urn:cen.eu:en16931:2017#compliant#urn:xeinkauf.de:kosit:xrechnung_3.0 6 | urn:fdc:peppol.eu:2017:poacc:billing:01:1.0 7 | 1234/78/901 8 | 2016-06-16 9 | 380 10 | #ADU#Diese Leistung ist umsatzsteuerbefreit nach § 4 Nr. 22a UStG. 11 | EUR 12 | 04011000-12348-91 13 | 14 | 15 | rechnungsausgang@test.com 16 | 17 | [Seller trading name] 18 | 19 | 20 | [Seller address line 1] 21 | [Seller address line 2] 22 | [Seller city] 23 | 12345 24 | 25 | DE 26 | 27 | 28 | 29 | 30 | ??? 31 | 32 | 33 | 34 | [Seller name] 35 | VR 12345 Nz 36 | Vorstand: [...] (Vorsitzender), […] (Stellvertreterin), Dr. […] (Schatzmeister); Beirat: […] (Vorsitzender); Geschäftsführung: […], AG […], FA für Körperschaften […] 37 | 38 | 39 | […] 40 | +49 (0)12-345678-90 41 | mail@seller.eu 42 | 43 | 44 | 45 | 46 | 47 | rechnungseingang@test.de 48 | 49 | [Buyer address line 1] 50 | [Buyer address line 2] 51 | [Buyer city] 52 | 12345 53 | 54 | DE 55 | 56 | 57 | 58 | [Buyer name] 59 | 60 | 61 | [Buyer contact person] 62 | 63 | 64 | 65 | 66 | 58 67 | 68 | 69 | DE75512108001245126199 70 | 71 | 72 | 73 | Wir möchten Sie bitten, die Teilnahmegebühr iHv. 120,00 € innerhalb von 14 Tagen auf das oben genannte Konto unter Angabe der Rechnungsnummer 1234/78/901 zu überweisen. 74 | 75 | 76 | 0 77 | 78 | 120 79 | 0 80 | 81 | O 82 | 0 83 | als gemeinnützig anerkannt 84 | 85 | VAT 86 | 87 | 88 | 89 | 90 | 91 | 120 92 | 120 93 | 120 94 | 120 95 | 96 | 97 | Teilnahmegebühr 98 | 1 99 | 120 100 | 101 | Anmeldung von […] 102 | Teilnahmegebühr 103 | 104 | 105 | 108 | 111 | O 112 | 113 | VAT 114 | 115 | 116 | 117 | 118 | 120 119 | 120 | 121 | 122 | -------------------------------------------------------------------------------- /test/instances/ubl-inv/ubl-inv-br-de-16-test-code-O.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | urn:cen.eu:en16931:2017#compliant#urn:xeinkauf.de:kosit:xrechnung_3.0 6 | urn:fdc:peppol.eu:2017:poacc:billing:01:1.0 7 | 1234/78/901 8 | 2016-06-16 9 | 380 10 | #ADU#Diese Leistung ist umsatzsteuerbefreit nach § 4 Nr. 22a UStG. 11 | EUR 12 | 04011000-12348-91 13 | 14 | 15 | rechnungsausgang@test.com 16 | 17 | [Seller trading name] 18 | 19 | 20 | [Seller address line 1] 21 | [Seller address line 2] 22 | [Seller city] 23 | 12345 24 | 25 | DE 26 | 27 | 28 | 29 | 32 | 35 | 36 | 12/345/67890 37 | 38 | VAT 39 | 40 | 41 | 42 | [Seller name] 43 | VR 12345 Nz 44 | Vorstand: [...] (Vorsitzender), […] (Stellvertreterin), Dr. […] (Schatzmeister); Beirat: […] (Vorsitzender); Geschäftsführung: […], AG […], FA für Körperschaften […] 45 | 46 | 47 | […] 48 | +49 (0)12-345678-90 49 | mail@seller.eu 50 | 51 | 52 | 53 | 54 | 55 | rechnungseingang@test.de 56 | 57 | [Buyer address line 1] 58 | [Buyer address line 2] 59 | [Buyer city] 60 | 12345 61 | 62 | DE 63 | 64 | 65 | 66 | [Buyer name] 67 | 68 | 69 | [Buyer contact person] 70 | 71 | 72 | 73 | 74 | 58 75 | 76 | 77 | DE75512108001245126199 78 | 79 | 80 | 81 | Wir möchten Sie bitten, die Teilnahmegebühr iHv. 120,00 € innerhalb von 14 Tagen auf das oben genannte Konto unter Angabe der Rechnungsnummer 1234/78/901 zu überweisen. 82 | 83 | 84 | 0 85 | 86 | 120 87 | 0 88 | 89 | O 90 | 0 91 | als gemeinnützig anerkannt 92 | 93 | VAT 94 | 95 | 96 | 97 | 98 | 99 | 120 100 | 120 101 | 120 102 | 120 103 | 104 | 105 | Teilnahmegebühr 106 | 1 107 | 120 108 | 109 | Anmeldung von […] 110 | Teilnahmegebühr 111 | 112 | 113 | O 114 | 115 | VAT 116 | 117 | 118 | 119 | 120 | 120 121 | 122 | 123 | 124 | -------------------------------------------------------------------------------- /test/instances/ubl-inv/ubl-inv-br-de-17-test.xml: -------------------------------------------------------------------------------- 1 | 2 | urn:cen.eu:en16931:2017#compliant#urn:xeinkauf.de:kosit:xrechnung_3.0 3 | urn:fdc:peppol.eu:2017:poacc:billing:01:1.0 4 | 123456XX 5 | 2016-04-04 6 | 9 | 12 | 380 13 | #ADU#Es gelten unsere Allgem. Geschäftsbedingungen, die Sie unter […] finden. 14 | EUR 15 | 04011000-12345-34 16 | 17 | 18 | rechnungsausgang@test.com 19 | 20 | [Seller trading name] 21 | 22 | 23 | [Seller address line 1] 24 | [Seller city] 25 | 12345 26 | 27 | DE 28 | 29 | 30 | 31 | DE 123456789 32 | 33 | VAT 34 | 35 | 36 | 37 | [Seller name] 38 | [HRA-Eintrag] 39 | 123/456/7890, HRA-Eintrag in […] 40 | 41 | 42 | nicht vorhanden 43 | +49 1234-5678 44 | seller@email.de 45 | 46 | 47 | 48 | 49 | 50 | rechnungseingang@test.de 51 | 52 | [Buyer identifier] 53 | 54 | 55 | [Buyer address line 1] 56 | [Buyer city] 57 | 12345 58 | 59 | DE 60 | 61 | 62 | 63 | [Buyer name] 64 | 65 | 66 | 67 | 68 | 58 69 | 70 | 71 | DE75512108001245126199 72 | 73 | 74 | 75 | Zahlbar sofort ohne Abzug. 76 | 77 | 78 | 22.04 79 | 80 | 314.86 81 | 22.04 82 | 83 | S 84 | 7 85 | 86 | VAT 87 | 88 | 89 | 90 | 91 | 92 | 314.86 93 | 314.86 94 | 336.9 95 | 336.9 96 | 97 | 98 | Zeitschrift [...] 99 | Die letzte Lieferung im Rahmen des abgerechneten Abonnements erfolgt in 12/2016 Lieferung erfolgt / erfolgte direkt vom Verlag 100 | 1 101 | 288.79 102 | 103 | 2016-01-01 104 | 2016-12-31 105 | 106 | 107 | 6171175.1 108 | 109 | 110 | Zeitschrift Inland 111 | Zeitschrift [...] 112 | 113 | 246 114 | 115 | 116 | 0721-880X 117 | 118 | 119 | S 120 | 7 121 | 122 | VAT 123 | 124 | 125 | 126 | 127 | 288.79 128 | 129 | 130 | 131 | Porto + Versandkosten 132 | 1 133 | 26.07 134 | 135 | Porto + Versandkosten 136 | 137 | S 138 | 7 139 | 140 | VAT 141 | 142 | 143 | 144 | 145 | 26.07 146 | 147 | 148 | -------------------------------------------------------------------------------- /test/instances/ubl-inv/ubl-inv-br-de-18-test-no-newline-last-note.xml: -------------------------------------------------------------------------------- 1 | 2 | urn:cen.eu:en16931:2017#compliant#urn:xeinkauf.de:kosit:xrechnung_3.0 3 | urn:fdc:peppol.eu:2017:poacc:billing:01:1.0 4 | Rechnungsnummer 5 | 2016-06-27 6 | 380 7 | #ADU#Wir liefern Ihnen ausschließlich zu unseren allgemeinen Geschäftsbedingungen (Stand Februar 2013). Diese werden Ihnen jederzeit auf Wunsch übersandt. Bei Aufträgen, basierend auf öffentlichen Vergaben, gelten die ggf. vereinbarten abweichenden Liefer- und Zahungsbedingungen des Auftraggebers. 8 | EUR 9 | 04011000-12351-28 10 | 11 | Dummywert 12 | Auftragsnummer 13 | 14 | 15 | 16 | rechnungsausgang@test.com 17 | 18 | [Seller trading name] 19 | 20 | 21 | [Seller address line 1] 22 | [Seller city] 23 | 12345 24 | 25 | DE 26 | 27 | 28 | 29 | DE123456789 30 | 31 | VAT 32 | 33 | 34 | 35 | 123/456/789 36 | 37 | ??? 38 | 39 | 40 | 41 | [Seller name] 42 | HRB 123456 43 | Sitz der Gesellschaft: […], Registergericht: […], Geschäftsführer: […] 44 | 45 | 46 | Berater / Sachbearbeiter 47 | +49(0)1234-0 48 | info@seller.de 49 | 50 | 51 | 52 | 53 | 54 | rechnungseingang@test.com 55 | 56 | [Buyer address line 1] 57 | [Buyer city] 58 | 12345 59 | 60 | DE 61 | 62 | 63 | 64 | [Buyer name] 65 | 66 | 67 | Ansprechpartner Käufer 68 | 69 | 70 | 71 | 72 | 73 | 74 | [Deliver to address line 1] 75 | [Deliver to city] 76 | 12345 77 | 78 | DE 79 | 80 | 81 | 82 | 83 | 84 | Außenstelle XY 85 | 86 | 87 | 88 | 89 | 90 | #SKONTO#TAGE=7#PROZENT=2.00# 91 | #SKONTO#TAGE=14#PROZENT=1.00#BASISBETRAG=2.53# 92 | #SKONTO#TAGE=14#PROZENT=1.00#BASISBETRAG=-5.53# 93 | Test 94 | 95 | 96 | 414.2 97 | 98 | 2180 99 | 414.2 100 | 101 | S 102 | 19 103 | 104 | VAT 105 | 106 | 107 | 108 | 109 | 110 | 2180 111 | 2180 112 | 2594.2 113 | 2594.2 114 | 115 | 116 | 1 117 | 10 118 | 2180 119 | 120 | Sitz: 10-301 blau, Rücken: 10-301 blau, …. 121 | Drehstuhl 122 | 123 | AL281982 124 | 125 | 126 | S 127 | 19 128 | 129 | VAT 130 | 131 | 132 | 133 | 134 | 218 135 | 136 | 137 | -------------------------------------------------------------------------------- /test/instances/ubl-inv/ubl-inv-br-de-18-test-no-newline.xml: -------------------------------------------------------------------------------- 1 | 2 | urn:cen.eu:en16931:2017#compliant#urn:xeinkauf.de:kosit:xrechnung_3.0 3 | urn:fdc:peppol.eu:2017:poacc:billing:01:1.0 4 | Rechnungsnummer 5 | 2016-06-27 6 | 380 7 | #ADU#Wir liefern Ihnen ausschließlich zu unseren allgemeinen Geschäftsbedingungen (Stand Februar 2013). Diese werden Ihnen jederzeit auf Wunsch übersandt. Bei Aufträgen, basierend auf öffentlichen Vergaben, gelten die ggf. vereinbarten abweichenden Liefer- und Zahungsbedingungen des Auftraggebers. 8 | EUR 9 | 04011000-12351-28 10 | 11 | Dummywert 12 | Auftragsnummer 13 | 14 | 15 | 16 | rechnungsausgang@test.com 17 | 18 | [Seller trading name] 19 | 20 | 21 | [Seller address line 1] 22 | [Seller city] 23 | 12345 24 | 25 | DE 26 | 27 | 28 | 29 | DE123456789 30 | 31 | VAT 32 | 33 | 34 | 35 | 123/456/789 36 | 37 | ??? 38 | 39 | 40 | 41 | [Seller name] 42 | HRB 123456 43 | Sitz der Gesellschaft: […], Registergericht: […], Geschäftsführer: […] 44 | 45 | 46 | Berater / Sachbearbeiter 47 | +49(0)1234-0 48 | info@seller.de 49 | 50 | 51 | 52 | 53 | 54 | rechnungseingang@test.com 55 | 56 | [Buyer address line 1] 57 | [Buyer city] 58 | 12345 59 | 60 | DE 61 | 62 | 63 | 64 | [Buyer name] 65 | 66 | 67 | Ansprechpartner Käufer 68 | 69 | 70 | 71 | 72 | 73 | 74 | [Deliver to address line 1] 75 | [Deliver to city] 76 | 12345 77 | 78 | DE 79 | 80 | 81 | 82 | 83 | 84 | Außenstelle XY 85 | 86 | 87 | 88 | 89 | 90 | #SKONTO#TAGE=7#PROZENT=2.00##SKONTO#TAGE=14#PROZENT=1.00#BASISBETRAG=2.53# 91 | #SKONTO#TAGE=14#PROZENT=1.00#BASISBETRAG=-5.53# 92 | 93 | 94 | 95 | 414.2 96 | 97 | 2180 98 | 414.2 99 | 100 | S 101 | 19 102 | 103 | VAT 104 | 105 | 106 | 107 | 108 | 109 | 2180 110 | 2180 111 | 2594.2 112 | 2594.2 113 | 114 | 115 | 1 116 | 10 117 | 2180 118 | 119 | Sitz: 10-301 blau, Rücken: 10-301 blau, …. 120 | Drehstuhl 121 | 122 | AL281982 123 | 124 | 125 | S 126 | 19 127 | 128 | VAT 129 | 130 | 131 | 132 | 133 | 218 134 | 135 | 136 | -------------------------------------------------------------------------------- /test/instances/ubl-inv/ubl-inv-br-de-19-iban-tests.xml: -------------------------------------------------------------------------------- 1 | 2 | urn:cen.eu:en16931:2017#compliant#urn:xeinkauf.de:kosit:xrechnung_3.0 3 | urn:fdc:peppol.eu:2017:poacc:billing:01:1.0 4 | 1234/78/901 5 | 2016-06-16 6 | 326 7 | #ADU#Diese Leistung ist umsatzsteuerbefreit nach § 4 Nr. 22a UStG. 8 | EUR 9 | 04011000-12348-31 10 | 11 | 12 | rechnungsausgang@test.com 13 | 14 | [Seller trading name] 15 | 16 | 17 | [Seller address line 1] 18 | [Seller address line 2] 19 | [Seller city] 20 | 12345 21 | 22 | DE 23 | 24 | 25 | 26 | 12/345/67890 27 | 28 | ??? 29 | 30 | 31 | 32 | [Seller name] 33 | VR 12345 Nz 34 | Vorstand: [...] (Vorsitzender), […] (Stellvertreterin), Dr. […] (Schatzmeister); Beirat: […] (Vorsitzender); Geschäftsführung: […], AG […], FA für Körperschaften […] 35 | 36 | 37 | […] 38 | +49 (0)12-345678-90 39 | mail@seller.eu 40 | 41 | 42 | 43 | 44 | 45 | rechnungseingang@test.de 46 | 47 | [Buyer address line 1] 48 | [Buyer address line 2] 49 | [Buyer city] 50 | 12345 51 | 52 | DE 53 | 54 | 55 | 56 | [Buyer name] 57 | 58 | 59 | [Buyer contact person] 60 | 61 | 62 | 63 | 64 | 58 65 | 66 | 68 | 70 | 72 | 74 | 76 | 80 | DE75512108001245126199 81 | 82 | 83 | 84 | Wir möchten Sie bitten, die Teilnahmegebühr iHv. 120,00 € innerhalb von 14 Tagen auf das oben genannte Konto unter Angabe der Rechnungsnummer 1234/78/901 zu überweisen. 85 | 86 | 87 | 0 88 | 89 | 120 90 | 0 91 | 92 | O 93 | als gemeinnützig anerkannt 94 | 95 | VAT 96 | 97 | 98 | 99 | 100 | 101 | 120 102 | 120 103 | 120 104 | 120 105 | 106 | 107 | Teilnahmegebühr 108 | 1 109 | 120 110 | 111 | Anmeldung von […] 112 | Teilnahmegebühr 113 | 114 | O 115 | 116 | VAT 117 | 118 | 119 | 120 | 121 | 120 122 | 123 | 124 | -------------------------------------------------------------------------------- /test/instances/ubl-inv/ubl-inv-br-de-24-test-bg-18-with-bg-17.xml: -------------------------------------------------------------------------------- 1 | 2 | urn:cen.eu:en16931:2017#compliant#urn:xeinkauf.de:kosit:xrechnung_3.0 3 | urn:fdc:peppol.eu:2017:poacc:billing:01:1.0 4 | 123456XX 5 | 2016-04-04 6 | 380 7 | #ADU#Es gelten unsere Allgem. Geschäftsbedingungen, die Sie unter […] finden. 8 | EUR 9 | 04011000-12345-34 10 | 11 | 12 | seller@seller.com 13 | 14 | [Seller trading name] 15 | 16 | 17 | [Seller address line 1] 18 | [Seller city] 19 | 12345 20 | 21 | DE 22 | 23 | 24 | 25 | DE 123456789 26 | 27 | VAT 28 | 29 | 30 | 31 | [Seller name] 32 | [HRA-Eintrag] 33 | 123/456/7890, HRA-Eintrag in […] 34 | 35 | 36 | nicht vorhanden 37 | +49 1234-5678 38 | seller@email.de 39 | 40 | 41 | 42 | 43 | 44 | buyer@buyer.com 45 | 46 | [Buyer identifier] 47 | 48 | 49 | [Buyer address line 1] 50 | [Buyer city] 51 | 12345 52 | 53 | DE 54 | 55 | 56 | 57 | [Buyer name] 58 | 59 | 60 | 61 | 62 | 48 63 | 66 | 67 | 68 | DE75512108001245126199 69 | 70 | 71 | 41234 72 | 73 | 74 | 75 | Zahlbar sofort ohne Abzug. 76 | 77 | 78 | 22.04 79 | 80 | 314.86 81 | 22.04 82 | 83 | S 84 | 7 85 | 86 | VAT 87 | 88 | 89 | 90 | 91 | 92 | 314.86 93 | 314.86 94 | 336.9 95 | 336.9 96 | 97 | 98 | Zeitschrift [...] 99 | Die letzte Lieferung im Rahmen des abgerechneten Abonnements erfolgt in 12/2016 Lieferung erfolgt / erfolgte direkt vom Verlag 100 | 1 101 | 288.79 102 | 103 | 2016-01-01 104 | 2016-12-31 105 | 106 | 107 | 6171175.1 108 | 109 | 110 | Zeitschrift Inland 111 | Zeitschrift [...] 112 | 113 | 246 114 | 115 | 116 | 0721-880X 117 | 118 | 119 | S 120 | 7 121 | 122 | VAT 123 | 124 | 125 | 126 | 127 | 288.79 128 | 129 | 130 | 131 | Porto + Versandkosten 132 | 1 133 | 26.07 134 | 135 | Porto + Versandkosten 136 | 137 | S 138 | 7 139 | 140 | VAT 141 | 142 | 143 | 144 | 145 | 26.07 146 | 147 | 148 | -------------------------------------------------------------------------------- /test/instances/ubl-inv/ubl-inv-br-dex-02-check-correct-sums-sub-invoice-line.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | urn:cen.eu:en16931:2017#compliant#urn:xeinkauf.de:kosit:xrechnung_3.0#conformant#urn:xeinkauf.de:kosit:extension:xrechnung_3.0 5 | urn:fdc:peppol.eu:2017:poacc:billing:01:1.0 6 | 12345 7 | 2019-05-15 8 | 380 9 | EUR 10 | 12345678-12345-12 11 | 12 | 2019-02-01 13 | 2019-05-07 14 | 15 | 16 | 123 17 | 18 | 19 | 20 | seller@seller.com 21 | 22 | [Seller name] 23 | 24 | 25 | [Seller address line 1] 26 | [Seller city] 27 | 12345 28 | 29 | DE 30 | 31 | 32 | 33 | DEU123456789 34 | 35 | VAT 36 | 37 | 38 | 39 | [Seller name] 40 | 1122334455 41 | 42 | 43 | Kundencenter 44 | 0800-12345678 45 | kundencenter@sellder.de 46 | 47 | 48 | 49 | 50 | 51 | buyer@buyer.com 52 | 53 | 345LA5324 54 | 55 | 56 | [Buyer name] 57 | 58 | 59 | [Buyer address line 1] 60 | [Buyer city] 61 | 12345 62 | 63 | DE 64 | 65 | 66 | 67 | [Buyer name] 68 | 69 | 70 | 71 | 72 | 59 73 | 74 | 75 | [Mandate reference identifier] 76 | 77 | DE75512108001245126199 78 | 79 | 80 | 81 | 82 | Zahlbar innerhalb 14 Tagen nach Erhalt der Rechnung. 83 | 84 | 85 | 5.27 86 | 87 | 27.72 88 | 5.27 89 | 90 | S 91 | 19 92 | 93 | VAT 94 | 95 | 96 | 97 | 98 | 99 | 27.72 100 | 27.72 101 | 32.99 102 | 32.99 103 | 104 | 105 | 106 | 1 107 | 1 108 | 109 | 27.72 110 | 111 | PDD 112 | 113 | S 114 | 19 115 | 116 | VAT 117 | 118 | 119 | 120 | 121 | 27.72 122 | 123 | 124 | 1 1 125 | 28 126 | 127 | 12.32 128 | 129 | Hose Bernhard ws UKD 130 | 131 | 132 | 0.44 133 | 134 | 135 | 136 | 1 2 137 | 35 138 | 139 | 15.40 140 | 141 | Kasack Bodo blau UKD 142 | 143 | 144 | 0.44 145 | 146 | 147 | 148 | -------------------------------------------------------------------------------- /test/instances/ubl-inv/ubl-inv-br-dex-04-schemeid-test-2.xml: -------------------------------------------------------------------------------- 1 | 2 | urn:cen.eu:en16931:2017#compliant#urn:xeinkauf.de:kosit:xrechnung_3.0#conformant#urn:xeinkauf.de:kosit:extension:xrechnung_3.0 3 | urn:fdc:peppol.eu:2017:poacc:billing:01:1.0 4 | 123456XX 5 | 2016-04-04 6 | 380 7 | #ADU#Es gelten unsere Allgem. Geschäftsbedingungen, die Sie unter […] finden. 8 | EUR 9 | 04011000-12345-34 10 | 11 | 12 | seller@seller.com 13 | 14 | [Seller trading name] 15 | 16 | 17 | [Seller address line 1] 18 | [Seller city] 19 | 12345 20 | 21 | DE 22 | 23 | 24 | 25 | DE 123456789 26 | 27 | VAT 28 | 29 | 30 | 31 | [Seller name] 32 | [HRA-Eintrag] 33 | 123/456/7890, HRA-Eintrag in […] 34 | 35 | 36 | nicht vorhanden 37 | +49 1234-5678 38 | seller@email.de 39 | 40 | 41 | 42 | 43 | 44 | buyer@buyer.com 45 | 46 | 47 | [Buyer identifier] 48 | 49 | 50 | [Buyer address line 1] 51 | [Buyer city] 52 | 12345 53 | 54 | DE 55 | 56 | 57 | 58 | [Buyer name] 59 | 60 | 61 | 62 | 63 | 58 64 | 65 | 66 | DE75512108001245126199 67 | 68 | 69 | 70 | Zahlbar sofort ohne Abzug. 71 | 72 | 73 | 22.04 74 | 75 | 314.86 76 | 22.04 77 | 78 | S 79 | 7 80 | 81 | VAT 82 | 83 | 84 | 85 | 86 | 87 | 314.86 88 | 314.86 89 | 336.9 90 | 336.9 91 | 92 | 93 | Zeitschrift [...] 94 | Die letzte Lieferung im Rahmen des abgerechneten Abonnements erfolgt in 12/2016 Lieferung erfolgt / erfolgte direkt vom Verlag 95 | 1 96 | 288.79 97 | 98 | 2016-01-01 99 | 2016-12-31 100 | 101 | 102 | 6171175.1 103 | 104 | 105 | Zeitschrift Inland 106 | Zeitschrift [...] 107 | 108 | 246 109 | 110 | 111 | 0721-880X 112 | 113 | 114 | S 115 | 7 116 | 117 | VAT 118 | 119 | 120 | 121 | 122 | 288.79 123 | 124 | 125 | 126 | Porto + Versandkosten 127 | 1 128 | 26.07 129 | 130 | Porto + Versandkosten 131 | 132 | S 133 | 7 134 | 135 | VAT 136 | 137 | 138 | 139 | 140 | 26.07 141 | 142 | 143 | -------------------------------------------------------------------------------- /test/instances/ubl-inv/ubl-inv-br-dex-04-schemeid-test-3.xml: -------------------------------------------------------------------------------- 1 | 2 | urn:cen.eu:en16931:2017#compliant#urn:xeinkauf.de:kosit:xrechnung_3.0#conformant#urn:xeinkauf.de:kosit:extension:xrechnung_3.0 3 | urn:fdc:peppol.eu:2017:poacc:billing:01:1.0 4 | 123456XX 5 | 2016-04-04 6 | 380 7 | #ADU#Es gelten unsere Allgem. Geschäftsbedingungen, die Sie unter […] finden. 8 | EUR 9 | 04011000-12345-34 10 | 11 | 12 | seller@seller.com 13 | 14 | [Seller trading name] 15 | 16 | 17 | [Seller address line 1] 18 | [Seller city] 19 | 12345 20 | 21 | DE 22 | 23 | 24 | 25 | DE 123456789 26 | 27 | VAT 28 | 29 | 30 | 31 | [Seller name] 32 | [HRA-Eintrag] 33 | 123/456/7890, HRA-Eintrag in […] 34 | 35 | 36 | nicht vorhanden 37 | +49 1234-5678 38 | seller@email.de 39 | 40 | 41 | 42 | 43 | 44 | buyer@buyer.com 45 | 46 | 47 | [Buyer identifier] 48 | 49 | 50 | [Buyer address line 1] 51 | [Buyer city] 52 | 12345 53 | 54 | DE 55 | 56 | 57 | 58 | [Buyer name] 59 | 60 | 61 | 62 | 63 | 58 64 | 65 | 66 | DE75512108001245126199 67 | 68 | 69 | 70 | Zahlbar sofort ohne Abzug. 71 | 72 | 73 | 22.04 74 | 75 | 314.86 76 | 22.04 77 | 78 | S 79 | 7 80 | 81 | VAT 82 | 83 | 84 | 85 | 86 | 87 | 314.86 88 | 314.86 89 | 336.9 90 | 336.9 91 | 92 | 93 | Zeitschrift [...] 94 | Die letzte Lieferung im Rahmen des abgerechneten Abonnements erfolgt in 12/2016 Lieferung erfolgt / erfolgte direkt vom Verlag 95 | 1 96 | 288.79 97 | 98 | 2016-01-01 99 | 2016-12-31 100 | 101 | 102 | 6171175.1 103 | 104 | 105 | Zeitschrift Inland 106 | Zeitschrift [...] 107 | 108 | 246 109 | 110 | 111 | 0721-880X 112 | 113 | 114 | S 115 | 7 116 | 117 | VAT 118 | 119 | 120 | 121 | 122 | 288.79 123 | 124 | 125 | 126 | Porto + Versandkosten 127 | 1 128 | 26.07 129 | 130 | Porto + Versandkosten 131 | 132 | S 133 | 7 134 | 135 | VAT 136 | 137 | 138 | 139 | 140 | 26.07 141 | 142 | 143 | -------------------------------------------------------------------------------- /test/instances/ubl-inv/ubl-inv-br-dex-04-schemeid-test-4.xml: -------------------------------------------------------------------------------- 1 | 2 | urn:cen.eu:en16931:2017#compliant#urn:xeinkauf.de:kosit:xrechnung_3.0#conformant#urn:xeinkauf.de:kosit:extension:xrechnung_3.0 3 | urn:fdc:peppol.eu:2017:poacc:billing:01:1.0 4 | 123456XX 5 | 2016-04-04 6 | 380 7 | #ADU#Es gelten unsere Allgem. Geschäftsbedingungen, die Sie unter […] finden. 8 | EUR 9 | 04011000-12345-34 10 | 11 | 12 | seller@seller.com 13 | 14 | [Seller trading name] 15 | 16 | 17 | [Seller address line 1] 18 | [Seller city] 19 | 12345 20 | 21 | DE 22 | 23 | 24 | 25 | DE 123456789 26 | 27 | VAT 28 | 29 | 30 | 31 | [Seller name] 32 | [HRA-Eintrag] 33 | 123/456/7890, HRA-Eintrag in […] 34 | 35 | 36 | nicht vorhanden 37 | +49 1234-5678 38 | seller@email.de 39 | 40 | 41 | 42 | 43 | 44 | buyer@buyer.com 45 | 46 | 47 | [Buyer identifier] 48 | 49 | 50 | [Buyer address line 1] 51 | [Buyer city] 52 | 12345 53 | 54 | DE 55 | 56 | 57 | 58 | [Buyer name] 59 | 60 | 61 | 62 | 63 | 58 64 | 65 | 66 | DE75512108001245126199 67 | 68 | 69 | 70 | Zahlbar sofort ohne Abzug. 71 | 72 | 73 | 22.04 74 | 75 | 314.86 76 | 22.04 77 | 78 | S 79 | 7 80 | 81 | VAT 82 | 83 | 84 | 85 | 86 | 87 | 314.86 88 | 314.86 89 | 336.9 90 | 336.9 91 | 92 | 93 | Zeitschrift [...] 94 | Die letzte Lieferung im Rahmen des abgerechneten Abonnements erfolgt in 12/2016 Lieferung erfolgt / erfolgte direkt vom Verlag 95 | 1 96 | 288.79 97 | 98 | 2016-01-01 99 | 2016-12-31 100 | 101 | 102 | 6171175.1 103 | 104 | 105 | Zeitschrift Inland 106 | Zeitschrift [...] 107 | 108 | 246 109 | 110 | 111 | 0721-880X 112 | 113 | 114 | S 115 | 7 116 | 117 | VAT 118 | 119 | 120 | 121 | 122 | 288.79 123 | 124 | 125 | 126 | Porto + Versandkosten 127 | 1 128 | 26.07 129 | 130 | Porto + Versandkosten 131 | 132 | S 133 | 7 134 | 135 | VAT 136 | 137 | 138 | 139 | 140 | 26.07 141 | 142 | 143 | -------------------------------------------------------------------------------- /test/instances/ubl-inv/ubl-inv-br-dex-04-schemeid-test.xml: -------------------------------------------------------------------------------- 1 | 2 | urn:cen.eu:en16931:2017#compliant#urn:xeinkauf.de:kosit:xrechnung_3.0#conformant#urn:xeinkauf.de:kosit:extension:xrechnung_3.0 3 | urn:fdc:peppol.eu:2017:poacc:billing:01:1.0 4 | 123456XX 5 | 2016-04-04 6 | 380 7 | #ADU#Es gelten unsere Allgem. Geschäftsbedingungen, die Sie unter […] finden. 8 | EUR 9 | 04011000-12345-34 10 | 11 | 12 | seller@seller.com 13 | 14 | [Seller trading name] 15 | 16 | 17 | [Seller address line 1] 18 | [Seller city] 19 | 12345 20 | 21 | DE 22 | 23 | 24 | 25 | DE 123456789 26 | 27 | VAT 28 | 29 | 30 | 31 | [Seller name] 32 | [HRA-Eintrag] 33 | 123/456/7890, HRA-Eintrag in […] 34 | 35 | 36 | nicht vorhanden 37 | +49 1234-5678 38 | seller@email.de 39 | 40 | 41 | 42 | 43 | 44 | buyer@buyer.com 45 | 46 | 47 | [Buyer identifier] 48 | 49 | 50 | [Buyer address line 1] 51 | [Buyer city] 52 | 12345 53 | 54 | DE 55 | 56 | 57 | 58 | [Buyer name] 59 | 60 | 61 | 62 | 63 | 58 64 | 65 | 66 | DE75512108001245126199 67 | 68 | 69 | 70 | Zahlbar sofort ohne Abzug. 71 | 72 | 73 | 22.04 74 | 75 | 314.86 76 | 22.04 77 | 78 | S 79 | 7 80 | 81 | VAT 82 | 83 | 84 | 85 | 86 | 87 | 314.86 88 | 314.86 89 | 336.9 90 | 336.9 91 | 92 | 93 | Zeitschrift [...] 94 | Die letzte Lieferung im Rahmen des abgerechneten Abonnements erfolgt in 12/2016 Lieferung erfolgt / erfolgte direkt vom Verlag 95 | 1 96 | 288.79 97 | 98 | 2016-01-01 99 | 2016-12-31 100 | 101 | 102 | 6171175.1 103 | 104 | 105 | Zeitschrift Inland 106 | Zeitschrift [...] 107 | 108 | 246 109 | 110 | 111 | 0721-880X 112 | 113 | 114 | S 115 | 7 116 | 117 | VAT 118 | 119 | 120 | 121 | 122 | 288.79 123 | 124 | 125 | 126 | Porto + Versandkosten 127 | 1 128 | 26.07 129 | 130 | Porto + Versandkosten 131 | 132 | S 133 | 7 134 | 135 | VAT 136 | 137 | 138 | 139 | 140 | 26.07 141 | 142 | 143 | -------------------------------------------------------------------------------- /test/instances/ubl-inv/ubl-inv-br-dex-06-schemeid-test-2.xml: -------------------------------------------------------------------------------- 1 | 2 | urn:cen.eu:en16931:2017#compliant#urn:xeinkauf.de:kosit:xrechnung_3.0#conformant#urn:xeinkauf.de:kosit:extension:xrechnung_3.0 3 | urn:fdc:peppol.eu:2017:poacc:billing:01:1.0 4 | 123456XX 5 | 2016-04-04 6 | 380 7 | #ADU#Es gelten unsere Allgem. Geschäftsbedingungen, die Sie unter […] finden. 8 | EUR 9 | 04011000-12345-34 10 | 11 | 12 | seller@seller.com 13 | 14 | [Seller trading name] 15 | 16 | 17 | [Seller address line 1] 18 | [Seller city] 19 | 12345 20 | 21 | DE 22 | 23 | 24 | 25 | DE 123456789 26 | 27 | VAT 28 | 29 | 30 | 31 | [Seller name] 32 | [HRA-Eintrag] 33 | 123/456/7890, HRA-Eintrag in […] 34 | 35 | 36 | nicht vorhanden 37 | +49 1234-5678 38 | seller@email.de 39 | 40 | 41 | 42 | 43 | 44 | buyer@buyer.com 45 | 46 | [Buyer identifier] 47 | 48 | 49 | [Buyer address line 1] 50 | [Buyer city] 51 | 12345 52 | 53 | DE 54 | 55 | 56 | 57 | [Buyer name] 58 | 59 | 60 | 61 | 62 | 58 63 | 64 | 65 | DE75512108001245126199 66 | 67 | 68 | 69 | Zahlbar sofort ohne Abzug. 70 | 71 | 72 | 22.04 73 | 74 | 314.86 75 | 22.04 76 | 77 | S 78 | 7 79 | 80 | VAT 81 | 82 | 83 | 84 | 85 | 86 | 314.86 87 | 314.86 88 | 336.9 89 | 336.9 90 | 91 | 92 | Zeitschrift [...] 93 | Die letzte Lieferung im Rahmen des abgerechneten Abonnements erfolgt in 12/2016 Lieferung erfolgt / erfolgte direkt vom Verlag 94 | 1 95 | 288.79 96 | 97 | 2016-01-01 98 | 2016-12-31 99 | 100 | 101 | 6171175.1 102 | 103 | 104 | Zeitschrift Inland 105 | Zeitschrift [...] 106 | 107 | 246 108 | 109 | 110 | 111 | 0123456789 112 | 113 | 114 | 0721-880X 115 | 116 | 117 | S 118 | 7 119 | 120 | VAT 121 | 122 | 123 | 124 | 125 | 288.79 126 | 127 | 128 | 129 | Porto + Versandkosten 130 | 1 131 | 26.07 132 | 133 | Porto + Versandkosten 134 | 135 | S 136 | 7 137 | 138 | VAT 139 | 140 | 141 | 142 | 143 | 26.07 144 | 145 | 146 | -------------------------------------------------------------------------------- /test/instances/ubl-inv/ubl-inv-br-dex-06-schemeid-test-3.xml: -------------------------------------------------------------------------------- 1 | 2 | urn:cen.eu:en16931:2017#compliant#urn:xeinkauf.de:kosit:xrechnung_3.0#conformant#urn:xeinkauf.de:kosit:extension:xrechnung_3.0 3 | urn:fdc:peppol.eu:2017:poacc:billing:01:1.0 4 | 123456XX 5 | 2016-04-04 6 | 380 7 | #ADU#Es gelten unsere Allgem. Geschäftsbedingungen, die Sie unter […] finden. 8 | EUR 9 | 04011000-12345-34 10 | 11 | 12 | seller@seller.com 13 | 14 | [Seller trading name] 15 | 16 | 17 | [Seller address line 1] 18 | [Seller city] 19 | 12345 20 | 21 | DE 22 | 23 | 24 | 25 | DE 123456789 26 | 27 | VAT 28 | 29 | 30 | 31 | [Seller name] 32 | [HRA-Eintrag] 33 | 123/456/7890, HRA-Eintrag in […] 34 | 35 | 36 | nicht vorhanden 37 | +49 1234-5678 38 | seller@email.de 39 | 40 | 41 | 42 | 43 | 44 | buyer@buyer.com 45 | 46 | [Buyer identifier] 47 | 48 | 49 | [Buyer address line 1] 50 | [Buyer city] 51 | 12345 52 | 53 | DE 54 | 55 | 56 | 57 | [Buyer name] 58 | 59 | 60 | 61 | 62 | 58 63 | 64 | 65 | DE75512108001245126199 66 | 67 | 68 | 69 | Zahlbar sofort ohne Abzug. 70 | 71 | 72 | 22.04 73 | 74 | 314.86 75 | 22.04 76 | 77 | S 78 | 7 79 | 80 | VAT 81 | 82 | 83 | 84 | 85 | 86 | 314.86 87 | 314.86 88 | 336.9 89 | 336.9 90 | 91 | 92 | Zeitschrift [...] 93 | Die letzte Lieferung im Rahmen des abgerechneten Abonnements erfolgt in 12/2016 Lieferung erfolgt / erfolgte direkt vom Verlag 94 | 1 95 | 288.79 96 | 97 | 2016-01-01 98 | 2016-12-31 99 | 100 | 101 | 6171175.1 102 | 103 | 104 | Zeitschrift Inland 105 | Zeitschrift [...] 106 | 107 | 246 108 | 109 | 110 | 111 | 0123456789 112 | 113 | 114 | 0721-880X 115 | 116 | 117 | S 118 | 7 119 | 120 | VAT 121 | 122 | 123 | 124 | 125 | 288.79 126 | 127 | 128 | 129 | Porto + Versandkosten 130 | 1 131 | 26.07 132 | 133 | Porto + Versandkosten 134 | 135 | S 136 | 7 137 | 138 | VAT 139 | 140 | 141 | 142 | 143 | 26.07 144 | 145 | 146 | -------------------------------------------------------------------------------- /test/instances/ubl-inv/ubl-inv-br-dex-06-schemeid-test-4.xml: -------------------------------------------------------------------------------- 1 | 2 | urn:cen.eu:en16931:2017#compliant#urn:xeinkauf.de:kosit:xrechnung_3.0#conformant#urn:xeinkauf.de:kosit:extension:xrechnung_3.0 3 | urn:fdc:peppol.eu:2017:poacc:billing:01:1.0 4 | 123456XX 5 | 2016-04-04 6 | 380 7 | #ADU#Es gelten unsere Allgem. Geschäftsbedingungen, die Sie unter […] finden. 8 | EUR 9 | 04011000-12345-34 10 | 11 | 12 | seller@seller.com 13 | 14 | [Seller trading name] 15 | 16 | 17 | [Seller address line 1] 18 | [Seller city] 19 | 12345 20 | 21 | DE 22 | 23 | 24 | 25 | DE 123456789 26 | 27 | VAT 28 | 29 | 30 | 31 | [Seller name] 32 | [HRA-Eintrag] 33 | 123/456/7890, HRA-Eintrag in […] 34 | 35 | 36 | nicht vorhanden 37 | +49 1234-5678 38 | seller@email.de 39 | 40 | 41 | 42 | 43 | 44 | buyer@buyer.com 45 | 46 | [Buyer identifier] 47 | 48 | 49 | [Buyer address line 1] 50 | [Buyer city] 51 | 12345 52 | 53 | DE 54 | 55 | 56 | 57 | [Buyer name] 58 | 59 | 60 | 61 | 62 | 58 63 | 64 | 65 | DE75512108001245126199 66 | 67 | 68 | 69 | Zahlbar sofort ohne Abzug. 70 | 71 | 72 | 22.04 73 | 74 | 314.86 75 | 22.04 76 | 77 | S 78 | 7 79 | 80 | VAT 81 | 82 | 83 | 84 | 85 | 86 | 314.86 87 | 314.86 88 | 336.9 89 | 336.9 90 | 91 | 92 | Zeitschrift [...] 93 | Die letzte Lieferung im Rahmen des abgerechneten Abonnements erfolgt in 12/2016 Lieferung erfolgt / erfolgte direkt vom Verlag 94 | 1 95 | 288.79 96 | 97 | 2016-01-01 98 | 2016-12-31 99 | 100 | 101 | 6171175.1 102 | 103 | 104 | Zeitschrift Inland 105 | Zeitschrift [...] 106 | 107 | 246 108 | 109 | 110 | 111 | 0123456789 112 | 113 | 114 | 0721-880X 115 | 116 | 117 | S 118 | 7 119 | 120 | VAT 121 | 122 | 123 | 124 | 125 | 288.79 126 | 127 | 128 | 129 | Porto + Versandkosten 130 | 1 131 | 26.07 132 | 133 | Porto + Versandkosten 134 | 135 | S 136 | 7 137 | 138 | VAT 139 | 140 | 141 | 142 | 143 | 26.07 144 | 145 | 146 | -------------------------------------------------------------------------------- /test/instances/ubl-inv/ubl-inv-br-dex-06-schemeid-test.xml: -------------------------------------------------------------------------------- 1 | 2 | urn:cen.eu:en16931:2017#compliant#urn:xeinkauf.de:kosit:xrechnung_3.0#conformant#urn:xeinkauf.de:kosit:extension:xrechnung_3.0 3 | urn:fdc:peppol.eu:2017:poacc:billing:01:1.0 4 | 123456XX 5 | 2016-04-04 6 | 380 7 | #ADU#Es gelten unsere Allgem. Geschäftsbedingungen, die Sie unter […] finden. 8 | EUR 9 | 04011000-12345-34 10 | 11 | 12 | seller@seller.com 13 | 14 | [Seller trading name] 15 | 16 | 17 | [Seller address line 1] 18 | [Seller city] 19 | 12345 20 | 21 | DE 22 | 23 | 24 | 25 | DE 123456789 26 | 27 | VAT 28 | 29 | 30 | 31 | [Seller name] 32 | [HRA-Eintrag] 33 | 123/456/7890, HRA-Eintrag in […] 34 | 35 | 36 | nicht vorhanden 37 | +49 1234-5678 38 | seller@email.de 39 | 40 | 41 | 42 | 43 | 44 | buyer@buyer.com 45 | 46 | [Buyer identifier] 47 | 48 | 49 | [Buyer address line 1] 50 | [Buyer city] 51 | 12345 52 | 53 | DE 54 | 55 | 56 | 57 | [Buyer name] 58 | 59 | 60 | 61 | 62 | 58 63 | 64 | 65 | DE75512108001245126199 66 | 67 | 68 | 69 | Zahlbar sofort ohne Abzug. 70 | 71 | 72 | 22.04 73 | 74 | 314.86 75 | 22.04 76 | 77 | S 78 | 7 79 | 80 | VAT 81 | 82 | 83 | 84 | 85 | 86 | 314.86 87 | 314.86 88 | 336.9 89 | 336.9 90 | 91 | 92 | Zeitschrift [...] 93 | Die letzte Lieferung im Rahmen des abgerechneten Abonnements erfolgt in 12/2016 Lieferung erfolgt / erfolgte direkt vom Verlag 94 | 1 95 | 288.79 96 | 97 | 2016-01-01 98 | 2016-12-31 99 | 100 | 101 | 6171175.1 102 | 103 | 104 | Zeitschrift Inland 105 | Zeitschrift [...] 106 | 107 | 246 108 | 109 | 110 | 111 | 0123456789 112 | 113 | 114 | 0721-880X 115 | 116 | 117 | S 118 | 7 119 | 120 | VAT 121 | 122 | 123 | 124 | 125 | 288.79 126 | 127 | 128 | 129 | Porto + Versandkosten 130 | 1 131 | 26.07 132 | 133 | Porto + Versandkosten 134 | 135 | S 136 | 7 137 | 138 | VAT 139 | 140 | 141 | 142 | 143 | 26.07 144 | 145 | 146 | -------------------------------------------------------------------------------- /test/instances/ubl-inv/ubl-inv-paymentmeans-test.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | urn:cen.eu:en16931:2017#compliant#urn:xeinkauf.de:kosit:xrechnung_3.0 4 | urn:fdc:peppol.eu:2017:poacc:billing:01:1.0 5 | 1234/78/901 6 | 2016-06-16 7 | 8 | 10 | 12 | 326 13 | #ADU#Diese Leistung ist umsatzsteuerbefreit nach § 4 Nr. 22a UStG. 14 | EUR 15 | 04011000-12348-31 16 | 17 | 18 | seller@seller.com 19 | 20 | [Seller trading name] 21 | 22 | 23 | [Seller address line 1] 24 | [Seller address line 2] 25 | [Seller city] 26 | 12345 27 | 28 | DE 29 | 30 | 31 | 32 | 12/345/67890 33 | 34 | ??? 35 | 36 | 37 | 38 | [Seller name] 39 | VR 12345 Nz 40 | Vorstand: [...] (Vorsitzender), […] (Stellvertreterin), Dr. […] (Schatzmeister); Beirat: […] (Vorsitzender); Geschäftsführung: […], AG […], FA für Körperschaften […] 41 | 42 | 43 | […] 44 | +49 (0)12-345678-90 45 | mail@seller.eu 46 | 47 | 48 | 49 | 50 | 51 | buyer@buyer.com 52 | 53 | [Buyer address line 1] 54 | [Buyer address line 2] 55 | [Buyer city] 56 | 12345 57 | 58 | DE 59 | 60 | 61 | 62 | [Buyer name] 63 | 64 | 65 | [Buyer contact person] 66 | 67 | 68 | 69 | 72 | 75 | 76 | 79 | 30 80 | 81 | 84 | DE75512108001245126199 85 | 86 | 87 | 88 | Wir möchten Sie bitten, die Teilnahmegebühr iHv. 120,00 € innerhalb von 14 Tagen auf das oben genannte Konto unter Angabe der Rechnungsnummer 1234/78/901 zu überweisen. 89 | 90 | 91 | 0 92 | 93 | 120 94 | 0 95 | 96 | O 97 | als gemeinnützig anerkannt 98 | 99 | VAT 100 | 101 | 102 | 103 | 104 | 105 | 120 106 | 120 107 | 120 108 | 120 109 | 110 | 111 | Teilnahmegebühr 112 | 1 113 | 120 114 | 115 | Anmeldung von […] 116 | Teilnahmegebühr 117 | 118 | O 119 | 120 | VAT 121 | 122 | 123 | 124 | 125 | 120 126 | 127 | 128 | -------------------------------------------------------------------------------- /test/instances/ubl-inv/ubl-inv-peppol-en16931-r053-1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | urn:cen.eu:en16931:2017#compliant#urn:xeinkauf.de:kosit:xrechnung_3.0 4 | urn:fdc:peppol.eu:2017:poacc:billing:01:1.0 5 | 3009000003 6 | 2022-09-21 7 | 2022-10-19 8 | 380 9 | RECHNUNG 10 | EUR 11 | 14 | 05 123456 123 15 | 16 | 0000200123 17 | 18 | 19 | 20 | rechnungsausgang@test.com 21 | 22 | Muster Straße 4-6 23 | Dorf 24 | 12345 25 | 26 | DE 27 | 28 | 29 | 30 | DE123 31 | 32 | VAT 33 | 34 | 35 | 36 | Test GmbH 37 | 38 | 39 | Musterperson 40 | 123 41 | musterperson@test.de 42 | 43 | 44 | 45 | 46 | 47 | rechnungseingang@test.de 48 | 49 | Testweg 1 50 | Dorf 51 | 12345 52 | 53 | DE 54 | 55 | 56 | 57 | Musterfirma 58 | 59 | 60 | Musterfirma 61 | 62 | 63 | 64 | 65 | 30 66 | 1000000001 67 | 68 | DE94820800000815609800 69 | Testbank 70 | 71 | TESTTESTTT 72 | 73 | 74 | 75 | 76 | innerhalb 14 Tagen ohne Abzug Bis zum 05.10.2022 ohne Abzug 77 | 78 | 81 | 84 | 85 | 86 | 70.00 87 | 90 | 93 | 94 | 1000.00 95 | 70.00 96 | 97 | S 98 | 7.00 99 | 100 | VAT 101 | 102 | 103 | 104 | 105 | 106 | 1325.00 107 | 1325.00 108 | 1395.00 109 | 1395.00 110 | 111 | 112 | 000000 113 | 65 114 | 325.00 115 | 116 | Sascha Test 117 | 118 | S 119 | 19 120 | 121 | VAT 122 | 123 | 124 | 125 | 126 | 20.00 127 | 4 128 | 129 | 130 | 131 | 000001 132 | 10.000 133 | 1000.00 134 | 135 | Sascha Test 136 | 137 | S 138 | 7 139 | 140 | VAT 141 | 142 | 143 | 144 | 145 | 100.00 146 | 147 | 148 | -------------------------------------------------------------------------------- /test/instances/ubl-inv/ubl-inv-peppol-en16931-r054-1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | urn:cen.eu:en16931:2017#compliant#urn:xeinkauf.de:kosit:xrechnung_3.0 4 | urn:fdc:peppol.eu:2017:poacc:billing:01:1.0 5 | 3009000003 6 | 2022-09-21 7 | 2022-10-19 8 | 380 9 | RECHNUNG 10 | EUR 11 | USD 12 | 05 123456 123 13 | 14 | 0000200123 15 | 16 | 17 | 18 | rechnungsausgang@test.com 19 | 20 | Muster Straße 4-6 21 | Dorf 22 | 12345 23 | 24 | DE 25 | 26 | 27 | 28 | DE123 29 | 30 | VAT 31 | 32 | 33 | 34 | Test GmbH 35 | 36 | 37 | Musterperson 38 | 123 39 | musterperson@test.de 40 | 41 | 42 | 43 | 44 | 45 | rechnungseingang@test.de 46 | 47 | Testweg 1 48 | Dorf 49 | 12345 50 | 51 | DE 52 | 53 | 54 | 55 | Musterfirma 56 | 57 | 58 | Musterfirma 59 | 60 | 61 | 62 | 63 | 30 64 | 1000000001 65 | 66 | DE94820800000815609800 67 | Testbank 68 | 69 | TESTTESTTT 70 | 71 | 72 | 73 | 74 | innerhalb 14 Tagen ohne Abzug Bis zum 05.10.2022 ohne Abzug 75 | 76 | 77 | 78 | 70.00 79 | 80 | 1000.00 81 | 70.00 82 | 83 | S 84 | 7.00 85 | 86 | VAT 87 | 88 | 89 | 90 | 91 | 94 | 97 | 98 | 99 | 70.00 100 | 101 | 102 | 1325.00 103 | 1325.00 104 | 1395.00 105 | 1395.00 106 | 107 | 108 | 000000 109 | 65 110 | 325.00 111 | 112 | Sascha Test 113 | 114 | S 115 | 19 116 | 117 | VAT 118 | 119 | 120 | 121 | 122 | 20.00 123 | 4 124 | 125 | 126 | 127 | 000001 128 | 10.000 129 | 1000.00 130 | 131 | Sascha Test 132 | 133 | S 134 | 7 135 | 136 | VAT 137 | 138 | 139 | 140 | 141 | 100.00 142 | 143 | 144 | -------------------------------------------------------------------------------- /test/instances/ubl-inv/ubl-inv-peppol-en16931-r054-2.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | urn:cen.eu:en16931:2017#compliant#urn:xeinkauf.de:kosit:xrechnung_3.0 4 | urn:fdc:peppol.eu:2017:poacc:billing:01:1.0 5 | 3009000003 6 | 2022-09-21 7 | 2022-10-19 8 | 380 9 | RECHNUNG 10 | EUR 11 | USD 12 | 05 123456 123 13 | 14 | 0000200123 15 | 16 | 17 | 18 | rechnungsausgang@test.com 19 | 20 | Muster Straße 4-6 21 | Dorf 22 | 12345 23 | 24 | DE 25 | 26 | 27 | 28 | DE123 29 | 30 | VAT 31 | 32 | 33 | 34 | Test GmbH 35 | 36 | 37 | Musterperson 38 | 123 39 | musterperson@test.de 40 | 41 | 42 | 43 | 44 | 45 | rechnungseingang@test.de 46 | 47 | Testweg 1 48 | Dorf 49 | 12345 50 | 51 | DE 52 | 53 | 54 | 55 | Musterfirma 56 | 57 | 58 | Musterfirma 59 | 60 | 61 | 62 | 63 | 30 64 | 1000000001 65 | 66 | DE94820800000815609800 67 | Testbank 68 | 69 | TESTTESTTT 70 | 71 | 72 | 73 | 74 | innerhalb 14 Tagen ohne Abzug Bis zum 05.10.2022 ohne Abzug 75 | 76 | 77 | 78 | 70.00 79 | 80 | 1000.00 81 | 70.00 82 | 83 | S 84 | 7.00 85 | 86 | VAT 87 | 88 | 89 | 90 | 91 | 92 | 93 | 70.00 94 | 95 | 98 | 101 | 102 | 103 | 70.00 104 | 105 | 106 | 1325.00 107 | 1325.00 108 | 1395.00 109 | 1395.00 110 | 111 | 112 | 000000 113 | 65 114 | 325.00 115 | 116 | Sascha Test 117 | 118 | S 119 | 19 120 | 121 | VAT 122 | 123 | 124 | 125 | 126 | 20.00 127 | 4 128 | 129 | 130 | 131 | 000001 132 | 10.000 133 | 1000.00 134 | 135 | Sascha Test 136 | 137 | S 138 | 7 139 | 140 | VAT 141 | 142 | 143 | 144 | 145 | 100.00 146 | 147 | 148 | --------------------------------------------------------------------------------