Sebastian Sieber
a1c4f4a2d6
Unify the values of taxes
...
Concerning ApplicableHeaderTradeSettlement:
The amount in ApplicableTradeTax.CalculatedAmount is different from SpecifiedTradeSettlementHeaderMonetarySummation.TaxTotalAmount. To avoid this I removed the rounding from totalAmount.
2020-11-25 12:47:31 +01:00
Sebastian Sieber
1e78866040
Import UnitCode of basisQuantity to product.
...
I don't know which node is the better one to read the unitCode:
grossPriceProductTradePrice or netPriceProductTradePrice. I have chosen the last one.
2020-11-25 12:46:19 +01:00
Sebastian Sieber
90b1d7c7aa
Unify the values of taxes
...
Concerning ApplicableHeaderTradeSettlement:
The amount in ApplicableTradeTax.CalculatedAmount is different from SpecifiedTradeSettlementHeaderMonetarySummation.TaxTotalAmount. To avoid this I removed the rounding from totalAmount.
2020-11-25 12:34:15 +01:00
Sebastian Sieber
95998b820a
Create XRechnungImporter to import data from raw xml
...
The XRechnungImporter extends from ZUGFeRDImporter.
It simply sets the given raw xml and provides otherwise the same functionality as the parent class.
2020-11-24 14:54:21 +01:00
jstaerk
df43d2f878
Merge branch 'master' of github.com:ZUGFeRD/mustangproject
...
# Conflicts:
# History.md
2020-11-24 10:12:27 +01:00
jstaerk
e5d055aac5
history update
2020-11-24 10:10:54 +01:00
Sebastian Sieber
9af73473b7
Import UnitCode of basisQuantity to product.
...
I don't know which node is the better one to read the unitCode: grossPriceProductTradePrice or netPriceProductTradePrice. I have chosen the last one.
2020-11-24 09:46:12 +01:00
Sebastian Sieber
cda1cd1c24
Merge remote-tracking branch 'remotes/origin/master' into master
2020-11-24 08:43:03 +01:00
Jochen Staerk
565c0c0a50
Update History.md
2020-11-23 14:19:02 +01:00
Jochen Staerk
5b005db984
Merge pull request #198 from weclapp-dev/master
...
Just another CategoryCode improvement
2020-11-23 14:17:18 +01:00
Sebastian Sieber
ce4893f445
Merge remote-tracking branch 'remotes/origin/master' into master
2020-11-23 08:17:17 +01:00
jstaerk
0f58a60b74
closes #197
2020-11-22 16:47:20 +01:00
jstaerk
82dd4cf131
[maven-release-plugin] prepare for next development iteration
2020-11-21 21:02:31 +01:00
jstaerk
dcedd9cc97
[maven-release-plugin] prepare release core-2.0.1
2020-11-21 21:02:01 +01:00
jstaerk
755fe651d3
[maven-release-plugin] rollback the release of core-2.0.1
2020-11-21 20:59:56 +01:00
jstaerk
a1fe5c437d
javadoc correction
2020-11-21 20:58:40 +01:00
jstaerk
ac7e5fb7b1
[maven-release-plugin] prepare for next development iteration
2020-11-21 20:55:27 +01:00
jstaerk
d1fa9356c3
[maven-release-plugin] prepare release core-2.0.1
2020-11-21 20:55:25 +01:00
jstaerk
04bb87ad2b
resources for new sample invoice
2020-11-21 20:53:41 +01:00
jstaerk
372f882756
new date
2020-11-21 20:48:09 +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
0923a01ccc
correction of interface based intra community supply
2020-11-21 13:04:47 +01:00
jstaerk
39d98d1e9d
added item delivery periods
2020-11-21 12:50:55 +01:00
jstaerk
81dc18d731
change XR guideline ID to 1.2.2
2020-11-21 12:15:21 +01:00
jstaerk
2848711cff
have fax numbers for contacts only as of extended profile
2020-11-21 12:03:16 +01:00
jstaerk
e1c498a582
update version numbers, history
2020-11-21 10:30:25 +01:00
Sebastian Sieber
f9ae321ec4
Use categoryCode of current allowanceCharge if exists
2020-11-20 22:15:50 +01:00
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