corrected ubl tests for xr3 example

This commit is contained in:
jstaerk
2024-05-15 11:44:07 +02:00
parent 7f7adeab5a
commit d5df6d9b3e
5 changed files with 15550 additions and 3 deletions

View File

@@ -1,3 +1,8 @@
2.11.0
=======
2024-05-15
- EN16931 validation 1.3.12 codelists v11 #357 - EN16931 validation 1.3.12 codelists v11 #357
- Fonts removed #358 - Fonts removed #358
- xrechnungimporter to read from filename, inputstream - xrechnungimporter to read from filename, inputstream
@@ -9,6 +14,8 @@
- upgrade ph-schematron from 6.3.3 to 8 - upgrade ph-schematron from 6.3.3 to 8
- support inputstreams https://github.com/ZUGFeRD/mustangproject/pull/379 - support inputstreams https://github.com/ZUGFeRD/mustangproject/pull/379
- #314 ZUGFeRDInvoiceImporter additional constructur - #314 ZUGFeRDInvoiceImporter additional constructur
- add XML cash discount (thisn was previously only possible for XRechnung, not ZF Extended, using a manually encoded setPaymentTermDescription)
- surrendered to XRechnung 3 compromises, e.g. no longer put gross amount if it does not deviate from net
2.10.0 2.10.0
======= =======

View File

@@ -35,7 +35,7 @@ If e.g. new elements or attributes are added, they are often added
* in the object so that a developer can use them * in the object so that a developer can use them
* in the interface so that a old fashioned developer could use them as well * in the interface so that a old fashioned developer could use them as well
* in the pullprovider so that it actually finds it's way into the XML * in the pullprovider so that it actually finds it's way into the XML
* in at least one test, after the test has been run this should at least once be * in at least one test (the ...edgeTest are supposed to handle edge cases, ~all bells and whistles, maybe it fits there), after the test has been run this should at least once be
* validated. If that works one can start implementing the * validated. If that works one can start implementing the
* reading part (along with tests), then it needs to be * reading part (along with tests), then it needs to be
* documented e.g. on the homepage and * documented e.g. on the homepage and

View File

@@ -41,7 +41,7 @@ public class CashDiscount implements IZUGFeRDCashDiscount {
* @return this particular cash discount in proprietary xrechnung format * @return this particular cash discount in proprietary xrechnung format
*/ */
public String getAsXRechnung() { public String getAsXRechnung() {
return "#SKONTO#TAGE="+days+"#PROZENT="+XMLTools.nDigitFormat(percent,3)+"#\n"; return "#SKONTO#TAGE="+days+"#PROZENT="+XMLTools.nDigitFormat(percent,2)+"#\n";
} }

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long