Commit Graph

330 Commits

Author SHA1 Message Date
jstaerk
b3846b806a support credit notes, automatically switch from XR 1.2.2 to XR 2.0 on 2021-01-01 2020-12-05 18:11:42 +01:00
jstaerk
08b6d8b5fb making Transaction calculators getGrandTotal public 2020-11-28 10:59:50 +01:00
jstaerk
d764fb4784 closes #201 2020-11-26 09:39:47 +01:00
jstaerk
e7e2141c04 support reverse charge 2020-11-25 18:34:48 +01:00
jstaerk
04bb87ad2b resources for new sample invoice 2020-11-21 20:53:41 +01:00
jstaerk
a79a48095e support account holders, new sample invoice 2020-11-21 20:46:05 +01:00
jstaerk
3ff25bc9fe correction zf2 edge test case (interface based) 2020-11-21 13:05:14 +01:00
jstaerk
39d98d1e9d added item delivery periods 2020-11-21 12:50:55 +01:00
Sebastian Sieber
12fdf01c5c Merge remote-tracking branch 'remotes/origin/master' into master 2020-11-20 11:45:38 +01:00
jstaerk
231a7999ee don't mention tax numbers for shiptotradeparties 2020-11-19 14:37:42 +01:00
jstaerk
dff6334185 do not expect dueDate for corrected invoices 2020-11-19 12:12:27 +01:00
Sebastian Sieber
f29c452a04 Remove LineCalculator.getItemTotalGrossAmount() to prevent confusion 2020-11-18 15:00:19 +01:00
Sebastian Sieber
4ba099c86d Correct and simplify calculation
In the test case with allowance the VAT amount was calculated 1 ct too high.
2020-11-17 18:07:16 +01:00
Jochen Staerk
1740c6891a Merge pull request #193 from mr-stephan/preserving-metadata
Preserving metadata
2020-11-17 14:49:25 +01:00
jstaerk
0ce0d98c46 Merge branch 'master' of https://github.com/weclapp-dev/mustangproject into weclapp-dev-master
# Conflicts:
#	library/src/main/java/org/mustangproject/ZUGFeRD/TransactionCalculator.java
#	library/src/test/java/org/mustangproject/ZUGFeRD/XRTest.java
2020-11-17 12:06:05 +01:00
jstaerk
48dc209f94 closes #172, fixes zero rated products, added some lines to the test of the XRechnung, have the XRechnung test actually wriote to file and have the XR test file validated automatically 2020-11-17 11:49:20 +01:00
Stefan Klinke
510198884c Added a test to validate the exported PDF is identified as A3 2020-11-16 18:23:59 +01:00
Sebastian Sieber
1387d09044 BigDecimal specific refactoring
Use BigDecimal.stripTrailingZeros() as key for getVATPercentMap and in consequence use compareTo... == 0 instead of equals
Use BigDecimal.ZERO instead of new BigDecimal(0)
These changes result in improvements in enumeration of the <ram:SpecifiedTradeAllowanceCharge> tags and the calculation of tag <ram:SpecifiedTradeSettlementHeaderMonetarySummation>.
2020-11-16 15:40:23 +01:00
jstaerk
b6aad03da2 updated some javadoc 2020-11-12 08:06:53 +01:00
jstaerk
bb42381c67 test for customer IDs 2020-11-12 06:50:17 +01:00
jstaerk
5b8d1c9c54 support document level charges/allowances in invoiceimporter 2020-11-10 12:03:38 +01:00
jstaerk
71379627c6 corrected release notes and history, zf1 test 2020-11-08 20:15:41 +01:00
jstaerk
ffe6fd9e1a Also list item level charge/allowance reason in according profile (i.e., extended) 2020-11-05 22:52:42 +01:00
jstaerk
0f98ecb8f0 allow custom ram:reasons (previously ignored) 2020-11-05 10:42:50 +01:00
jstaerk
b80432903c corrected taxrate issue in rateApplicablePercent 2020-11-04 21:23:46 +01:00
jstaerk
1243863368 support included notes 2020-11-04 20:51:22 +01:00
jstaerk
9efb2204d5 minor corrections 2020-11-03 08:36:41 +01:00
jstaerk
ede19a6b74 refactoring Transactioncalculator 2020-10-31 18:16:10 +01:00
jstaerk
aaa106f09a import seller and buyer correctly 2020-10-31 16:43:04 +01:00
jstaerk
45cccee02f parsing invoice dates 2020-10-31 16:19:34 +01:00
jstaerk
0ac9ac6cac parse item attributes 2020-10-31 13:57:33 +01:00
Jochen Stärk
2bb906df3a add fax number to contact. Allow access to lineTwo(additionaladdress) 2020-10-27 10:18:28 +01:00
Jochen Stärk
0f351a2c3c invoiceimporter to parse quantities 2020-10-13 17:52:31 +02:00
Jochen Stärk
2199a8e649 test case for relative charges/allowances to also use relative charge on item level 2020-10-08 15:15:20 +02:00
Jochen Stärk
44c6509504 Relative charges/allowances on document level 2020-10-08 14:51:33 +02:00
Jochen Stärk
66fd7b4316 be able to refer to contract id 2020-10-06 12:43:35 +02:00
Jochen Stärk
cd3a5b75ef Merge branch 'master' of github.com:ZUGFeRD/mustangproject 2020-10-06 12:23:59 +02:00
Jochen Stärk
adc981d98c add document level billing period 2020-10-06 12:22:57 +02:00
jstaerk
399d671f19 Taxnumber correction 2020-10-01 13:55:26 +02:00
Jochen Stärk
45a6ec1f6a corrected test 2020-10-01 08:29:38 +02:00
Jochen Stärk
efcbdb7b45 corrected document level charges 2020-10-01 08:26:10 +02:00
Jochen Stärk
0776960e24 adding bank details 2020-09-30 23:18:40 +02:00
Jochen Stärk
7dde7e7180 starting with document level charges/allowances via invoice class 2020-09-29 21:36:56 +02:00
Jochen Stärk
b707559507 improved profile handling, corrected test 2020-09-29 21:04:52 +02:00
Jochen Stärk
d1b16f6b4d switch to new profiles (the old ones did not work) 2020-09-24 21:59:03 +02:00
Jochen Stärk
5144758c2f set BuyerOrderReferencedDocument and correct TypeCode for correction 2020-09-24 18:33:01 +02:00
Jochen Stärk
7f5ae2036d also write recipienttradeparty with getTradePartyAsXML, not only sender 2020-09-22 21:50:28 +02:00
Jochen Stärk
bf48d69a3b test correction 2020-09-21 22:37:52 +02:00
Jochen Stärk
2c31e50b45 file attachments 2020-09-21 22:35:32 +02:00
Jochen Stärk
c5e45f5418 bigger itemChargesAllowances test. BasisQuantity correction 2020-09-21 22:14:33 +02:00