Sebastian Sieber
a178bf7e36
Add invoiceReferencedIssueDate
2021-03-04 09:13:58 +01:00
Sebastian Sieber
b69aef624d
WECLAPP-31713 Add PARTIAL_BILLING
...
Fix line ending problem in UTLTest
Fix typo
2021-03-02 12:43:55 +01:00
Sebastian Sieber
417e899cab
Consider tax category code when writing exemption reason in ApplicableHeaderTradeSettlement
...
To prevent the following error:
<error type="4" location="/*[local-name()='CrossIndustryInvoice']/*[local-name()='SupplyChainTradeTransaction']/*[local-name()='ApplicableHeaderTradeSettlement']/*[local-name()='ApplicableTradeTax'][2]/*[local-name()='CategoryCode']" criterion="not(../ram:ExemptionReason) and not (../ram:ExemptionReasonCode)">A VAT Breakdown (BG-23) with VAT Category code (BT-118) "Standard rate" shall not have a VAT exemption reason code (BT-121) or VAT exemption reason text (BT-120).</error>
<error type="24" location="/*:CrossIndustryInvoice[namespace-uri()='urn:un:unece:uncefact:data:standard:CrossIndustryInvoice:100'][1]/*:SupplyChainTradeTransaction[namespace-uri()='urn:un:unece:uncefact:data:standard:CrossIndustryInvoice:100'][1]/*:ApplicableHeaderTradeSettlement[namespace-uri()='urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:100'][1]/*:ApplicableTradeTax[namespace-uri()='urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:100'][2]/*:CategoryCode[namespace-uri()='urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:100'][1]" criterion="not(../ram:ExemptionReason) and not (../ram:ExemptionReasonCode)">[BR-S-10]-A VAT Breakdown (BG-23) with VAT Category code (BT-118) "Standard rate" shall not have a VAT exemption reason code (BT-121) or VAT exemption reason text (BT-120).</error>
2021-02-15 14:09:07 +01:00
jstaerk
da35a78ff2
remove debug output
2021-02-14 15:49:43 +01:00
jstaerk
9191253199
[maven-release-plugin] prepare for next development iteration
2021-02-09 13:19:43 +01:00
jstaerk
30aec810b5
[maven-release-plugin] prepare release core-2.1.1
2021-02-09 13:19:42 +01:00
jstaerk
a6a7f50206
attempt to have visualization tests passed
2021-02-09 13:18:06 +01:00
jstaerk
2bf48a5844
[maven-release-plugin] rollback the release of core-2.1.1
2021-02-09 10:13:56 +01:00
jstaerk
0dd5d96bb5
[maven-release-plugin] prepare for next development iteration
2021-02-09 10:04:26 +01:00
jstaerk
f71cba100c
[maven-release-plugin] prepare release core-2.1.1
2021-02-09 10:03:01 +01:00
jstaerk
3cef91025d
[maven-release-plugin] rollback the release of core-2.1.1
2021-02-09 09:37:33 +01:00
Daniel Murygin
2739411424
Add a test that generates invoices with a recipient without a street
...
resolves #222
Add a test that generates invoices with a recipient without a street in the address.
Extract a method in the test to create the invoice with recipient as parameter.
2021-02-08 10:15:37 +01:00
Daniel Murygin
e90d1e12fd
Check if street in the address of the recipient is null
...
Fixes #222
2021-02-08 10:12:33 +01:00
jstaerk
f7a4635285
[maven-release-plugin] prepare for next development iteration
2021-02-02 08:26:10 +01:00
jstaerk
512b865037
[maven-release-plugin] prepare release core-2.1.1
2021-02-02 08:26:09 +01:00
jstaerk
e142a81959
have tests for visualization and ubl convert. Insist in UTF-8 as charset in more cases.
2021-02-02 08:05:10 +01:00
Jens Heise
6bf2e334dc
Remove outdated dependency to ph-commons 9.1.1 in library/pom.xml
...
to make UBL conversion work again with Mustang-CLI and in other programs.
2021-01-29 17:07:15 +01:00
Sewan Aleanakian
45475bee2e
Allow setting Contact for recipient TradeParty in XRechnung
...
fixes ZUGFeRD/mustangproject#216
2021-01-27 13:34:02 +01:00
jstaerk
4933a69369
removed eclipse translation markers
2021-01-26 15:30:11 +01:00
jstaerk
cf3ba8376b
- a correction should reference the original invoice via invoiceReferencedDocument, not buyerOrderReferencedDocument
2021-01-26 15:29:29 +01:00
jstaerk
670e59146a
only deploy library and validator to maven central, not core nor cli
2021-01-26 15:28:04 +01:00
Jochen Staerk
4e34298004
Merge pull request #217 from weclapp-dev/dev/SellerOrderReferencedDocument
...
Dev/seller order referenced document
2021-01-21 15:42:55 +01:00
Sebastian Sieber
597075e0dc
Support SellerOrderReferencedDocumentId
2021-01-20 10:13:10 +01:00
jstaerk
12ffe9716b
[maven-release-plugin] prepare for next development iteration
2021-01-19 09:19:32 +01:00
jstaerk
3d3ed12067
[maven-release-plugin] prepare release core-2.1.0
2021-01-19 09:19:32 +01:00
jstaerk
46b19b7768
Merge branch 'issues/213'
2021-01-19 09:03:03 +01:00
jstaerk
2defd02f1d
switch to cii2ubl 1.3.0, update commandline help, remove getZip in favor of getZIP
2021-01-19 08:59:26 +01:00
jstaerk
9fa8db04ae
Removing datechecked Xrechnung version switch (became effective 2020-01-01 anyway)
2021-01-03 10:48:02 +01:00
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