jstaerk
1675728563
Enabling functionality via Command line, changing POM so no errors occur
2021-01-03 10:47:03 +01:00
jstaerk
44a464bee3
closes #212
2020-12-26 11:37:58 +01:00
jstaerk
fe08c4d74d
Corrected intra community supply tax exemption category code
2020-12-22 16:52:04 +01:00
Sebastian Sieber
157ea9f554
Revert previous change.
...
Instead, calculate the total amounts on amounts with scale 2 to avoid errors in validation.
2020-12-08 15:52:43 +01:00
Sebastian Sieber
d97007d60f
Sum the individual tax amounts to the total tax amount to avoid following error:
...
[BR-CO-14]-Invoice total VAT amount (BT-110) = ? VAT category tax amount (BT-117)
2020-12-08 14:36:06 +01:00
Sebastian Sieber
dcf7f82b01
Extract method to avoid duplicate code.
2020-12-07 16:31:58 +01:00
jstaerk
91837c7e14
[maven-release-plugin] prepare for next development iteration
2020-12-06 11:59:04 +01:00
jstaerk
e59be41348
[maven-release-plugin] prepare release core-2.0.3
2020-12-06 11:59:02 +01:00
jstaerk
b3846b806a
support credit notes, automatically switch from XR 1.2.2 to XR 2.0 on 2021-01-01
2020-12-05 18:11:42 +01:00
Sebastian Sieber
60f71b54ec
Merge remote-tracking branch 'remotes/origin/master' into Improvements
...
# Conflicts:
# library/src/main/java/org/mustangproject/ZUGFeRD/ZUGFeRDInvoiceImporter.java
# library/src/test/java/org/mustangproject/ZUGFeRD/ZF2ZInvoiceImporterTest.java
2020-12-03 15:05:17 +01:00
Sebastian Sieber
812a22e901
Add property and method TradeParty to add debit details
2020-12-03 11:45:33 +01:00
Sebastian Sieber
54dccc188a
Fix id of profile XRECHNUNG
2020-12-02 14:32:18 +01: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
jstaerk
57d53af39f
Don't write "null" as paymentDescription if no Bank account is specified
2020-12-01 18:32:46 +01:00
Sebastian Sieber
687d8f628c
Use constants instead of magic numbers
2020-12-01 15:58:18 +01:00
jstaerk
08b6d8b5fb
making Transaction calculators getGrandTotal public
2020-11-28 10:59:50 +01:00
Sebastian Sieber
c2742c0e3a
Merge remote-tracking branch 'remotes/origin/master' into Improvements
2020-11-27 12:53:01 +01:00
Sebastian Sieber
751d129def
Add != null expression to prevent NPE
2020-11-27 12:51:10 +01:00
jstaerk
d764fb4784
closes #201
2020-11-26 09:39:47 +01:00
jstaerk
2555b82b6a
[maven-release-plugin] prepare for next development iteration
2020-11-25 18:38:34 +01:00
jstaerk
2e9bf5c55b
[maven-release-plugin] prepare release core-2.0.2
2020-11-25 18:38:32 +01:00
jstaerk
e7e2141c04
support reverse charge
2020-11-25 18:34:48 +01:00
Sebastian Sieber
bd720e38f7
Merge branch 'master' into Improvements
2020-11-25 15:13:09 +01:00
Sebastian Sieber
451b249887
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-25 12:50:36 +01:00
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
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
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
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