From e760b6f4bb5b89232c70de9dd02bab313163acb9 Mon Sep 17 00:00:00 2001 From: Philip Helger Date: Mon, 11 Dec 2023 21:03:16 +0100 Subject: [PATCH] Updated TSR examples for Appendix --- .../bis/doc-section/1intro/changelog.adoc | 1 + src/tsr/docs/bis/doc-section/appendix/a1.adoc | 2 +- src/tsr/docs/bis/doc-section/appendix/a2.adoc | 2 +- .../transaction-statistics-appendix1.xml | 106 ++++++++++++++++++ .../transaction-statistics-appendix2.xml | 20 ++++ 5 files changed, 129 insertions(+), 2 deletions(-) create mode 100644 src/tsr/trn-transaction_statistics/example/transaction-statistics-appendix1.xml create mode 100644 src/tsr/trn-transaction_statistics/example/transaction-statistics-appendix2.xml diff --git a/src/tsr/docs/bis/doc-section/1intro/changelog.adoc b/src/tsr/docs/bis/doc-section/1intro/changelog.adoc index cad7d80..2b70961 100644 --- a/src/tsr/docs/bis/doc-section/1intro/changelog.adoc +++ b/src/tsr/docs/bis/doc-section/1intro/changelog.adoc @@ -9,6 +9,7 @@ * Removed the operational statement on the number of calendar days before a reminder is sent * Added a statement, that empty subtotals are not allowed * Extended the country code list based on ISO-3166 to allow the `ZZ` value +* Updated the example in Appendix 1 to be fully consistent == Version 1.0.1 (2023-03-14) diff --git a/src/tsr/docs/bis/doc-section/appendix/a1.adoc b/src/tsr/docs/bis/doc-section/appendix/a1.adoc index 1ecb00d..1b828f5 100644 --- a/src/tsr/docs/bis/doc-section/appendix/a1.adoc +++ b/src/tsr/docs/bis/doc-section/appendix/a1.adoc @@ -6,5 +6,5 @@ This example represents the data for a Service Provider that both sent and recei [source, xml] ---- -include::../../../../trn-transaction_statistics/example/transaction-statistics-2.xml[] +include::../../../../trn-transaction_statistics/example/transaction-statistics-appendix1.xml[] ---- diff --git a/src/tsr/docs/bis/doc-section/appendix/a2.adoc b/src/tsr/docs/bis/doc-section/appendix/a2.adoc index 579fee7..52fa33a 100644 --- a/src/tsr/docs/bis/doc-section/appendix/a2.adoc +++ b/src/tsr/docs/bis/doc-section/appendix/a2.adoc @@ -6,5 +6,5 @@ This example represents a message in case no transmissions were performed within [source, xml] ---- -include::../../../../trn-transaction_statistics/example/transaction-statistics-empty.xml[] +include::../../../../trn-transaction_statistics/example/transaction-statistics-appendix2.xml[] ---- diff --git a/src/tsr/trn-transaction_statistics/example/transaction-statistics-appendix1.xml b/src/tsr/trn-transaction_statistics/example/transaction-statistics-appendix1.xml new file mode 100644 index 0000000..d688e23 --- /dev/null +++ b/src/tsr/trn-transaction_statistics/example/transaction-statistics-appendix1.xml @@ -0,0 +1,106 @@ + + + urn:fdc:peppol.eu:edec:trns:transaction-statistics-reporting:1.0 + urn:fdc:peppol.eu:edec:bis:reporting:1.0 +
+ + 2023-12-01 + 2023-12-31 + + POP000360 +
+ + + + 27 + 23 + + + + + peppol-transport-as4-v2_0 + 27 + 23 + + + + + + POP000001 + urn:oasis:names:specification:ubl:schema:xsd:CreditNote-2::CreditNote##urn:cen.eu:en16931:2017#compliant#urn:fdc:peppol.eu:2017:poacc:billing:3.0::2.1 + urn:fdc:peppol.eu:2017:poacc:billing:01:1.0 + 2 + 0 + + + POP000001 + urn:oasis:names:specification:ubl:schema:xsd:Invoice-2::Invoice##urn:cen.eu:en16931:2017#compliant#urn:fdc:peppol.eu:2017:poacc:billing:3.0::2.1 + urn:fdc:peppol.eu:2017:poacc:billing:01:1.0 + 13 + 11 + + + POP000001 + urn:oasis:names:specification:ubl:schema:xsd:OrderResponse-2::OrderResponse##urn:fdc:peppol.eu:poacc:trns:order_response:3::2.1 + urn:fdc:peppol.eu:poacc:bis:ordering:3 + 12 + 0 + + + POP000002 + urn:oasis:names:specification:ubl:schema:xsd:Order-2::Order##urn:fdc:peppol.eu:poacc:trns:order:3::2.1 + urn:fdc:peppol.eu:poacc:bis:ordering:3 + 0 + 12 + + + + + + + POP000001 + urn:oasis:names:specification:ubl:schema:xsd:CreditNote-2::CreditNote##urn:cen.eu:en16931:2017#compliant#urn:fdc:peppol.eu:2017:poacc:billing:3.0::2.1 + urn:fdc:peppol.eu:2017:poacc:billing:01:1.0 + BE + DE + 2 + 0 + + + POP000001 + urn:oasis:names:specification:ubl:schema:xsd:Invoice-2::Invoice##urn:cen.eu:en16931:2017#compliant#urn:fdc:peppol.eu:2017:poacc:billing:3.0::2.1 + urn:fdc:peppol.eu:2017:poacc:billing:01:1.0 + DE + AT + 4 + 0 + + + POP000001 + urn:oasis:names:specification:ubl:schema:xsd:Invoice-2::Invoice##urn:cen.eu:en16931:2017#compliant#urn:fdc:peppol.eu:2017:poacc:billing:3.0::2.1 + urn:fdc:peppol.eu:2017:poacc:billing:01:1.0 + DE + DE + 9 + 0 + + + POP000001 + urn:oasis:names:specification:ubl:schema:xsd:OrderResponse-2::OrderResponse##urn:fdc:peppol.eu:poacc:trns:order_response:3::2.1 + urn:fdc:peppol.eu:poacc:bis:ordering:3 + DE + AT + 7 + 0 + + + POP000001 + urn:oasis:names:specification:ubl:schema:xsd:OrderResponse-2::OrderResponse##urn:fdc:peppol.eu:poacc:trns:order_response:3::2.1 + urn:fdc:peppol.eu:poacc:bis:ordering:3 + DE + DE + 5 + 0 + + +
diff --git a/src/tsr/trn-transaction_statistics/example/transaction-statistics-appendix2.xml b/src/tsr/trn-transaction_statistics/example/transaction-statistics-appendix2.xml new file mode 100644 index 0000000..9b6ab0b --- /dev/null +++ b/src/tsr/trn-transaction_statistics/example/transaction-statistics-appendix2.xml @@ -0,0 +1,20 @@ + + + urn:fdc:peppol.eu:edec:trns:transaction-statistics-reporting:1.0 + urn:fdc:peppol.eu:edec:bis:reporting:1.0 +
+ + 2023-12-01 + 2023-12-31 + + POP000360 +
+ + + + 0 + 0 + + + +