Commit Graph

97 Commits

Author SHA1 Message Date
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
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
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
jstaerk
5b8d1c9c54 support document level charges/allowances in invoiceimporter 2020-11-10 12:03:38 +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
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
jstaerk
b624052fac use java8 base64 encode 2020-10-31 12:40:45 +01:00
Jochen Stärk
f47222ee58 Reactiate improved migration feature, this time in the library 2020-10-29 17:26:04 +01:00
HKB-CSS
4de53c4c86 Byte-Data of AdditionalDocument converted to String 2020-10-28 15:36:38 +01:00
HKB-CSS
01c2d44b27 additionalReferencedDocuments according to BG-24 XRechnung
(Rechnungsbegruendende Unterlagen) included in
IExportableTransaction.java and ZUGFeRD2PullProvider.java
2020-10-28 14:39:31 +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
72f9093e94 add chareg/allowance percent to XML, if set 2020-10-22 12:11:17 +02:00
Jochen Stärk
f1fed5e569 fixed another javadoc issue 2020-10-17 18:37:31 +02:00
Jochen Stärk
55d35b6d0c updated javadoc 2020-10-17 18:22:34 +02:00
Jochen Stärk
47146ad3f4 first attempt to parse tradeparties from XML 2020-10-15 12:22:28 +02: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
0fbd4944f3 Removed some redundancy 2020-10-08 14:57:26 +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