Commit Graph

806 Commits

Author SHA1 Message Date
Sebastian Sieber
f0924d4389 Correct tax category code in <ram:SpecifiedTradeAllowanceCharge>
Use VATAmount.getCategoryCode instead of "S".
2020-11-20 12:45:36 +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
jstaerk
d028d453c5 closes #196 2020-11-19 09:52:16 +01:00
jstaerk
460f7e5984 test pdf-a/3 import generated invoice 2020-11-18 19:26:08 +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
Sebastian Sieber
5a5f8272b2 Merge remote-tracking branch 'remotes/origin/master' into master 2020-11-17 15:14:38 +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
8e80eed0f1 Merge branch 'weclapp-dev-master' into master 2020-11-17 12:06:28 +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
jstaerk
8d48e992f8 updated javadoc 2020-11-17 11:10:50 +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
Stefan Klinke
b62e240f57 Merge XMPMetadata and try making the PDF more compliant if it isn't already 2020-11-16 17:34:49 +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
8ddfd3aa57 updated history, readme and release notes 2020-11-12 18:17:37 +01:00
jstaerk
9c990251e1 updated cli help text 2020-11-12 16:39:48 +01:00
jstaerk
98f2982324 updated history and release notes 2020-11-12 16:39:33 +01:00
jstaerk
7ed6c33b33 Javadoc amendments 2020-11-12 09:16:10 +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
46c7e25ef9 merged BOM functionality in XMLtools 2020-11-12 06:49:46 +01:00
jstaerk
599320462d Allow to specify customer ID 2020-11-12 06:48:55 +01:00
jstaerk
e1881a3891 closes #190 2020-11-11 21:15:49 +01:00
Jochen Staerk
442e061607 Merge pull request #189 from quadrik/master
have shaded artifacts attached
2020-11-10 13:42:24 +01:00
Ulrich Zielhofer
d52e4168e8 Merge branch 'master' of https://github.com/ZUGFeRD/mustangproject into master 2020-11-10 13:06:19 +01:00
Ulrich Zielhofer
040dc683dc shaded artifacts attached 2020-11-10 13:05:37 +01:00
jstaerk
5b8d1c9c54 support document level charges/allowances in invoiceimporter 2020-11-10 12:03:38 +01:00
Ulrich Zielhofer
9db44d8833 Merge branch 'master' of https://github.com/ZUGFeRD/mustangproject into master 2020-11-10 11:25:21 +01:00
Jochen Staerk
b065a1beb1 Merge pull request #187 from weclapp-zugferd/CategoryCodeFix
Correct tax category code
2020-11-10 09:09:46 +01:00
Sebastian Sieber
337ed2e99e Correct tax category code
Use TaxCategoryCode instead of DocumentCode by creating
VATPercentAmountMap.
2020-11-09 15:34:43 +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
92f50aae0a new todos 2020-11-05 11:03:13 +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
Ulrich Zielhofer
343a9d9a01 Merge branch 'master' of https://github.com/ZUGFeRD/mustangproject into master 2020-11-03 15:42:50 +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
jstaerk
b624052fac use java8 base64 encode 2020-10-31 12:40:45 +01:00
Jochen Staerk
e830eacb66 Merge pull request #183 from quadrik/master
I guess I'll just trust you :-)
2020-10-31 10:14:43 +01:00
Ulrich Zielhofer
00379a95a0 Merge branch 'master' of https://github.com/ZUGFeRD/mustangproject into master 2020-10-30 13:58:44 +01:00
Ulrich Zielhofer
7a4c4afc9b avoid classloading issues within Wildfly; see https://developer.jboss.org/thread/80291 2020-10-30 13:41:13 +01:00
Jochen Stärk
f47222ee58 Reactiate improved migration feature, this time in the library 2020-10-29 17:26:04 +01:00