From d25d0fa31507be068f266aac8e9eeb4e0e6a07ee Mon Sep 17 00:00:00 2001 From: Jochen Staerk Date: Fri, 14 Aug 2020 21:07:27 +0200 Subject: [PATCH] Update Release_Notes.md --- Release_Notes.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Release_Notes.md b/Release_Notes.md index 8657c64d..233591ab 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 | |---|---|---| @@ -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 to create e-invoices ``` @@ -132,7 +132,7 @@ public class Main { } ``` -## Invoice class +### Export XML 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 ```