added a XR cash discount test, or at least an according manual field. Updated history.

This commit is contained in:
jstaerk
2022-03-24 13:08:59 +01:00
parent bbb28f7b5b
commit a888b3c25f
2 changed files with 5 additions and 2 deletions

View File

@@ -1,7 +1,7 @@
2.4.1
=======
DespatchAdviceReferencedDocument/IssuerAssignedID
DespatchAdviceReferencedDocument/IssuerAssignedID #253
- allow to specify legalorganisation ID+scheme ID
- allow to specify additional files to be attached in command line
@@ -13,6 +13,8 @@ DespatchAdviceReferencedDocument/IssuerAssignedID
- allow to specify a tradeparties' legalorganisation i.e. allow to write Factur-X invoices to french authorities
- allow to add attachments in CLI
- replaced jargs with apache commons cli as command line parser
- nicer XML https://github.com/ZUGFeRD/mustangproject/issues/266 thanks to weclapp-dev
- XR now also tests paymenttermdescription(#238)
2.4.0
=======

View File

@@ -86,7 +86,8 @@ public class XRTest extends TestCase {
.setRecipient(new TradeParty("Franz Müller", "teststr.12", "55232", "Entenhausen", "DE"))
.setReferenceNumber("991-01484-64")//leitweg-id
// not using any VAT, this is also a test of zero-rated goods:
.setNumber(number).addItem(new Item(new Product("Testprodukt", "", "C62", BigDecimal.ZERO), amount, new BigDecimal(1.0)))
.setNumber(number).setPaymentTermDescription("#SKONTO#TAGE=14#PROZENT=2.25#\n" +
"#SKONTO#TAGE=28#PROZENT=1.00#\n").addItem(new Item(new Product("Testprodukt", "", "C62", BigDecimal.ZERO), amount, new BigDecimal(1.0)))
.embedFileInXML(fe1).embedFileInXML(fe2);