Commit Graph

17 Commits

Author SHA1 Message Date
Mauritz Funke
ae07c77c43 Adds a function to get the total amount of a charge without specifying an item 2024-08-21 15:02:56 +02:00
Mauritz Funke
2dacde9cfb Revert "Adds a function to get the total amount of a charge without specifying an item"
This reverts commit a07cef4fd9.
2024-08-21 15:00:21 +02:00
Mauritz Funke
a07cef4fd9 Adds a function to get the total amount of a charge without specifying an item 2024-08-21 14:45:10 +02:00
langfr
77ddc7627d Enhance Charges/Allowances with reasonCode. 2024-07-30 15:37:57 +01:00
Philip Helger
12a3abde66 Cleansing 2024-07-09 18:37:53 +02:00
jstaerk
86d7d20cab updated some javadoc 2022-09-22 11:20:10 +02:00
Sebastian Sieber
5e71863f8b Improve handling of categoryCode
Charge returns the local field if is set.
IZUGFeRDExportableProduct: Use compareTo instead of equals to check the mathematical equality.
2020-12-02 11:28:09 +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
Jochen Stärk
72f9093e94 add chareg/allowance percent to XML, if set 2020-10-22 12:11:17 +02:00
Jochen Stärk
44c6509504 Relative charges/allowances on document level 2020-10-08 14:51:33 +02:00
Jochen Stärk
efcbdb7b45 corrected document level charges 2020-10-01 08:26:10 +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
9bf1097bac allow relative =percentual item allowances/charges 2020-09-21 21:45:03 +02:00
Jochen Stärk
060aa79958 support item level allowances 2020-09-17 13:31:31 +02:00
Jochen Stärk
e276a447f6 Merge branch 'master' of github.com:ZUGFeRD/mustangproject
# Conflicts:
#	library/src/main/java/org/mustangproject/Allowance.java
#	library/src/main/java/org/mustangproject/Charge.java
#	library/src/test/java/org/mustangproject/ZUGFeRD/ZF2PushTest.java
2020-09-08 10:36:44 +02:00
Jochen Stärk
f8dbfd7eb6 some charges/allowance changes 2020-09-08 10:19:56 +02:00
jstaerk
d8824a15e5 attempt for new tests(which compile but do not yet even fail) 2020-09-03 21:16:07 +02:00