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
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
48f6ae92ad
no message
2020-09-14 20:14:32 +02:00
Jochen Stärk
b70e3571be
reflexive tests (using validator component to test library component)
2020-09-14 19:57:55 +02:00
Jochen Stärk
6a169b19b2
moving tax id and vat id into tradeparty
2020-09-12 14:50:34 +02:00
Jochen Stärk
78dd1b2121
tests pass again
2020-09-10 21:35:21 +02:00
Jochen Stärk
fd63a79ced
Introduce InvoiceCorrection class and TradeParty
2020-09-10 09:04:25 +02:00
Jochen Stärk
bbf8c97501
add dummy for occurrence dates
2020-09-08 16:46:21 +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
03916461ba
attempt for new tests(which compile but do not yet even fail)
2020-09-03 21:24:57 +02:00