diff --git a/History.md b/History.md index 4a695a1a..701106d8 100644 --- a/History.md +++ b/History.md @@ -1,21 +1,25 @@ -- 639 -- 633 --626, --622, --356 -allow to add includedNotes with type -- - 645 -- 631 multiple invoice referenced documents -- 629 -- 630 #296 #565 -- 657 -- 658 -- 648 -- 651 -- 652 -- -620 -- 653 -- 654 + +2.16.0 +======= +2025-01-10 +- #657 allow allowancechargereasoncodes on document level +- allow to add includedNotes with type +- #356 print version of xml report +- #645 Fix visualization of validation logs +- #639 Fix invoice calculation if rounding amount is present +- #633 Bump ch.qos.logback:logback-core from 1.2.13 to 1.5.13 +- #626 Fix minor java issues +- #622 Fix FOP config +- #631 multiple invoice referenced documents +- #629 Visualizing xml +- #630 Fix issue #296 (Validation-Error: Ungültiger Content wurde beginnend mit Element 'ram:DueDateDateTime' ) (duplicate of #565) +- #658 prevent nullpointerexception +- #648 Fix log visualization +- #651 ZUGFeRDInvoiceImporter: Item-Allowances not imported +- #652 Discount VAT is not subtracted from duepayable +- #620 Fix logback config +- #653 ZF2EdgeTest: methods 'getPaymentMeansCode()' & 'getPaymentMeansInformation()' does not override super methods +- #654 remove wrong test methods 2.15.2 ======= diff --git a/Mustang-CLI/pom.xml b/Mustang-CLI/pom.xml index 38fc18f8..9b5e3bc9 100644 --- a/Mustang-CLI/pom.xml +++ b/Mustang-CLI/pom.xml @@ -40,7 +40,7 @@ ch.qos.logback logback-core - 1.5.13 + 1.5.16 diff --git a/library/src/test/java/org/mustangproject/ZUGFeRD/ZF2PushTest.java b/library/src/test/java/org/mustangproject/ZUGFeRD/ZF2PushTest.java index 03c495c8..56a64b16 100644 --- a/library/src/test/java/org/mustangproject/ZUGFeRD/ZF2PushTest.java +++ b/library/src/test/java/org/mustangproject/ZUGFeRD/ZF2PushTest.java @@ -478,8 +478,8 @@ public class ZF2PushTest extends TestCase { .addItem(new Item(new Product("Testprodukt", "", "C62", new BigDecimal(19)), amount, new BigDecimal(1.0))) .addItem(new Item(new Product("Testprodukt", "", "C62", new BigDecimal(19)), amount, new BigDecimal(1.0))) .addItem(new Item(new Product("Testprodukt", "", "C62", new BigDecimal(19)), amount, new BigDecimal(1.0))) - .addCharge(new Charge(new BigDecimal(0.5)).setTaxPercent(new BigDecimal(19))) - .addAllowance(new Allowance(new BigDecimal(0.2)).setTaxPercent(new BigDecimal(19))) + .addCharge(new Charge(new BigDecimal(0.5)).setTaxPercent(new BigDecimal(19)).setReasonCode("ABK")) + .addAllowance(new Allowance(new BigDecimal(0.2)).setTaxPercent(new BigDecimal(19)).setReasonCode("ABK")) ); String theXML = new String(ze.getProvider().getXML()); assertTrue(theXML.contains("