Commit Graph

408 Commits

Author SHA1 Message Date
jstaerk
86f3aee816 Merge branch 'master' of github.com:ZUGFeRD/mustangproject 2021-12-18 11:50:33 +01:00
jstaerk
1cc3aafa91 added xml signature 2021-12-18 11:49:26 +01:00
Jochen Staerk
ff2857b0af Merge pull request #257 from quadrik/uber
solves #227
2021-12-18 11:11:58 +01:00
Ivan Vaklinov
8b0d6623ed Multiple changes to do with XRechnung and other improvements:
1. Getting a profile by name disregarding teh ZUGFeRD version
2. Allowing the XRechnung version to be explicitly set in the
   PDF meta-data (must match the version in the attached XML).
3. Change/fix for data relationship in case of MINIMUM and
   BASICWL profile. See documentation ZUGFeRD211_EN/
   Documentation/ZUGFeRD-2.1.1 - Specification_TA_Part-A.pdf
4. Error handling improvements (exceptions not suppressed)
2021-12-18 00:09:47 +02:00
Ulrich Zielhofer
1ec64c6110 solves #227: create both non-shaded and shaded jar for library, while not breaking CLI 2021-12-17 08:48:04 +01:00
jstaerk
63c0f2ca73 [maven-release-plugin] prepare for next development iteration 2021-12-16 12:18:54 +01:00
jstaerk
54c51f113a [maven-release-plugin] prepare release core-2.3.2 2021-12-16 12:18:53 +01:00
jstaerk
88448c66e1 jacksonability 2021-12-13 17:11:37 +01:00
jstaerk
dea6d1738a better error message 2021-12-09 11:39:21 +01:00
Sebastian Sieber
c5bced102b Remove faulty '/' from getNodeListByPath call.
Otherwise the buyerTradePartyAddress is not found.
2021-12-06 12:19:39 +01:00
jstaerk
34ee9b6267 corrected profile for order-x 2021-12-04 15:25:00 +01:00
jstaerk
24363725ac Revert "added first order-x experiments"
This reverts commit 485c96b9b6.
2021-12-02 11:43:05 +01:00
jstaerk
485c96b9b6 added first order-x experiments 2021-11-29 16:57:37 +01:00
jstaerk
63f33cabc7 Do not trim trailing whitespace in XML submitted by the user, e.g. for XRechnung Skonto in PaymenttermsDescription 2021-11-16 21:07:04 +01:00
jstaerk
099ce840d1 count patterns as fired rules->testing UBL positive 2021-11-13 17:51:11 +01:00
jstaerk
f56e37bda9 - Fixed an error validation UBL files
- unknown root elements will now throw type 3 errors
- added some tests
2021-11-13 17:34:24 +01:00
jstaerk
b2b3001b30 [maven-release-plugin] prepare for next development iteration 2021-10-25 18:33:11 +02:00
jstaerk
5d2a2537f6 [maven-release-plugin] prepare release core-2.3.1 2021-10-25 18:33:08 +02:00
jstaerk
dbfe0baeea insufficient test data 2021-10-25 18:29:49 +02:00
jstaerk
7b1d5b9669 updated documentation 2021-10-25 18:23:54 +02:00
jstaerk
41e5689b6a import contacts and tradeparty vat and tax number 2021-10-25 14:54:19 +02:00
jstaerk
032629ab44 some git checkouts may convert to crlm 2021-10-25 12:52:51 +02:00
jstaerk
2b61cfe008 added another non-null condition 2021-10-25 09:33:47 +02:00
Jochen Staerk
1157ea5086 Merge pull request #252 from weclapp-dev/master
Add a document type and additional fields
2021-10-21 14:14:37 +02:00
jstaerk
55ae424338 parse referencedDocuments 2021-10-21 14:11:26 +02:00
jstaerk
cfee4b3c31 write support for referenceddocument 2021-10-21 13:58:10 +02:00
Sebastian Sieber
7e092d08be Remove double closing '>' 2021-10-19 14:50:47 +02:00
Sebastian Sieber
6a34668265 Merge remote-tracking branch 'remotes/mustang-origin/master' into fork-master
# Conflicts:
#	validator/src/main/java/org/mustangproject/validator/PDFValidator.java
2021-10-19 14:50:22 +02:00
jstaerk
8094504fa5 make invoiceimporters namespace aware to be able to properly ignore namespaces 2021-10-18 15:27:50 +02:00
jstaerk
5bac833f2a [maven-release-plugin] prepare for next development iteration 2021-10-04 12:11:54 +02:00
jstaerk
78d6d05d35 [maven-release-plugin] prepare release core-2.3.0 2021-10-04 12:11:53 +02:00
jstaerk
df83c303a8 closes #249 2021-10-04 11:35:19 +02:00
jstaerk
f915f8dd83 [maven-release-plugin] prepare for next development iteration 2021-08-26 10:31:07 +02:00
jstaerk
23d85a2748 [maven-release-plugin] prepare release core-2.2.1 2021-08-26 10:31:06 +02:00
LAPTOP-MS3A4HDC\Asim khan
c7093a20c1 closiong #247 2021-08-09 10:50:35 +02:00
dependabot[bot]
1d0e759b67 Bump pdfbox from 2.0.23 to 2.0.24 in /library
Bumps pdfbox from 2.0.23 to 2.0.24.

---
updated-dependencies:
- dependency-name: org.apache.pdfbox:pdfbox
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-22 11:15:45 +00:00
jstaerk
8234c631ab closes #233 2021-06-22 13:11:00 +02:00
jstaerk
5ce6e27043 [maven-release-plugin] prepare for next development iteration 2021-05-20 15:21:00 +02:00
jstaerk
aaf729c7a2 [maven-release-plugin] prepare release core-2.2.0 2021-05-20 15:20:57 +02:00
Jens Heise
6d8bcac81e Use typecode 58 (SEPA credit transfer) in SpecifiedTradeSettlementPaymentMeans
as old code 42 is for the more generic "payment to bank account" while
the ZUGFeRD specification and EN16931-1 recommend to clearly distinguish
between SEPA transfers and non SEPA transfers and we are only supporting
SEPA payment data right now.
2021-04-15 18:15:07 +02:00
Sebastian Sieber
7de3b5964e Fix issue Referenced date 2021-03-10 10:28:43 +01:00
Sebastian Sieber
f4623bb863 Fix wrong date format for invoice referenced issue date.
Add methods to ZUGFeRDDateFormat to format date in udt and qdt.
Replace zugferdDateFormat with specific ZUGFeRDDateFormat.DATE.
2021-03-08 09:27:20 +01:00
Sebastian Sieber
6801fd50db Fix wrong end tag 2021-03-04 15:16:20 +01:00
Sebastian Sieber
b2e246d3a0 Add methods to add SpecifiedProcuringProject 2021-03-04 09:59:02 +01:00
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