diff --git a/doc/guide-for-visual-testing.md b/doc/guide-for-visual-testing.md index 925a709..b379824 100644 --- a/doc/guide-for-visual-testing.md +++ b/doc/guide-for-visual-testing.md @@ -30,7 +30,9 @@ expectation: ## Dates * wrong-date-with-text-uncefact.xml * wrong-date-with-zeros-uncefact.xml +* multiple-due-dates-uncefact.xml expectation: * fields should contain "no date defined" or similar * all others should show YYYY-MM-DD without timezone +* multiple due dates should be renderer correctly \ No newline at end of file diff --git a/src/test/instances/multiple-due-dates-uncefact.xml b/src/test/instances/multiple-due-dates-uncefact.xml new file mode 100644 index 0000000..95e0f82 --- /dev/null +++ b/src/test/instances/multiple-due-dates-uncefact.xml @@ -0,0 +1,171 @@ + + + + + urn:cen.eu:en16931:2017#compliant#urn:xoev-de:kosit:standard:xrechnung_2.2 + + + + 123456XX + 380 + + 20160404 + + + Es gelten unsere Allgem. Geschäftsbedingungen, die Sie unter […] finden. + ADU + + + + + + Zeitschrift [...] + + Die letzte Lieferung im Rahmen des abgerechneten Abonnements erfolgt in 12/2016 Lieferung erfolgt / erfolgte direkt vom Verlag + + + + 246 + Zeitschrift [...] + Zeitschrift Inland + + 0721-880X + + + + + 6171175.1 + + + 288.79 + + + + 1 + + + + VAT + S + 7 + + + + 20160101 + + + 20161231 + + + + 288.79 + + + + + + Porto + Versandkosten + + + Porto + Versandkosten + + + + 26.07 + + + + 1 + + + + VAT + S + 7 + + + 26.07 + + + + + 08-A0-48 + + [Seller name] + 123/456/7890, HRA-Eintrag in […] + + [HRA-Eintrag] + [Seller trading name] + + + nicht vorhanden + + +49 1234-5678 + + + seller@email.de + + + + 12345 + [Seller address line 1] + [Seller city] + DE + + + DE 123456789 + + + + [Buyer identifier] + [Buyer name] + + 12345 + [Buyer address line 1] + [Buyer city] + DE + + + + + + EUR + + 58 + + + DE75512108001245126199 + + + + 22.04 + VAT + 314.86 + S + 7 + + + Zahlbar sofort ohne Abzug. + + 20230203 + + + + Teil 2 zahlbar bis + + 20230303 + + + + 314.86 + 314.86 + 22.04 + 336.9 + 336.9 + + + +