From f9ff079024f637883071a4159a503e15cf82c738 Mon Sep 17 00:00:00 2001 From: Jochen Staerk Date: Fri, 14 Aug 2020 21:05:22 +0200 Subject: [PATCH] Update Release_Notes.md --- Release_Notes.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Release_Notes.md b/Release_Notes.md index fad55ed0..8657c64d 100644 --- a/Release_Notes.md +++ b/Release_Notes.md @@ -7,7 +7,7 @@ It integrates the successor of the ZUGFeRD [Validator ZUV](https://github.com/ZU This is a preview release, please do not (yet) use it in production -##Use on command line +## Use on command line `java -jar Mustang-CLI-2.0.0-alpha1.jar --action=combine` embedds a XML into a PDF (A-1) file and exports as PDF/A-3 `java -jar mustang-cli.jar --action=extract` extracts XML from a ZUGFeRD file and @@ -51,7 +51,7 @@ result codes apply: | 27 | XRechnung Schematron Check | -##Use as Library +## Use as Library | What | old value | new value | |---|---|---| @@ -64,7 +64,7 @@ as artifact ID. "validator" includes the library functionality but is >20 MB bigger due to it's dependencies. -##Update from 1.x to 2.0 +## Update from 1.x to 2.0 ZF2 was possible with Mustang 1 but it is default in Mustang 2, so you will need to `.setZUGFeRDVersion(1)` if you don't want ZUGFeRD 2 files. @@ -90,7 +90,7 @@ String amount = zi.getAmount(); ``` but we are also working on an importer to import into the new invoice class. -##Using the library +## Using the library ``` @@ -132,7 +132,7 @@ public class Main { } ``` -##Invoice class +## Invoice class A invoice like this ``` Invoice i = new Invoice().setDueDate(new Date()).setIssueDate(new Date()).setDeliveryDate(new Date()).setOwnOrganisationName(orgname).setOwnStreet("teststr").setOwnZIP("55232").setOwnLocation("teststadt").setOwnCountry("DE").setOwnTaxID("4711").setOwnVATID("0815").setRecipient(new Contact("Franz Müller", "0177123456", "fmueller@test.com", "teststr.12", "55232", "Entenhausen", "DE")).setNumber(number).addItem(new Item(new Product("Testprodukt", "", "C62", new BigDecimal(0)), amount, new BigDecimal(1.0))); @@ -144,7 +144,7 @@ zf2p.generateXML(i); String theXML = new String(zf2p.getXML()); ``` or can also be used with setTransaction to generate invoice PDFs straight away. -##Embedding the validator +## Embedding the validator ```