Commit Graph

879 Commits

Author SHA1 Message Date
Jochen Stärk
3b706724fb pom corrections 2020-07-26 11:23:19 +02:00
Jochen Stärk
3bfae18969 zf 2.1.1 2020-07-25 12:08:35 +02:00
Jochen Stärk
a094af656b do create xslt files in build 2020-07-25 10:05:07 +02:00
Jochen Stärk
505170d933 ZF 2.1.1 schema files 2020-07-25 09:26:43 +02:00
Jochen Stärk
c5c457ed4b removed zfdateformat 2020-07-18 09:10:46 +02:00
Jochen Stärk
5eb45acd74 updated verapdf 2020-07-09 15:13:46 +02:00
Jochen Stärk
e70e99dcbb improved test for the importer 2020-07-09 10:44:04 +02:00
Jochen Stärk
b7d6c5c02e Added allowed version for XRechnung 2020-07-05 13:32:01 +02:00
Jochen Stärk
2d91507880 allow new filename for zf 2.1.1 2020-07-04 10:44:11 +02:00
Jochen Stärk
98fb837cd8 Merge branch 'add_extraction_methods' of https://github.com/aberndt-hub/mustangproject 2020-06-23 15:53:38 +02:00
Alexander Berndt
eb83863854 Added getIncludedNote() and to ZUGFeRDImporter.java
Added Test
2020-06-22 11:23:25 +02:00
Jochen Stärk
36048decd1 corrected filename for xrechnung profile, now no longer bypassing XR checks for XR profile, now also allow for import of xrechnung profile, add test files and tests 2020-06-20 09:44:36 +02:00
Jochen Stärk
b5006c3161 updated POM to actually copy XML 2020-06-18 17:48:09 +02:00
Alexander Berndt
62f367e70d Added getIncludedNote() and to ZUGFeRDImporter.java
Added Test
2020-06-18 12:15:30 +02:00
Alexander Berndt
7084f12b8f Added getBuyertradePartySpecifiedTaxRegistrationID() and to ZUGFeRDImporter.java
Added Test
2020-06-18 12:13:33 +02:00
Alexander Berndt
3da3dbe476 Added getBuyerTradePartyGlobalID() and to ZUGFeRDImporter.java
Added Test
2020-06-18 12:11:09 +02:00
Alexander Berndt
2d1fd3ae94 Added getBuyerTradePartyAddress() and getAddressFromNodeList() to ZUGFeRDImporter.java
Added Test
2020-06-18 12:06:13 +02:00
Alexander Berndt
2b60b7a8b7 Added getSellerTradePartyGlobalID() to ZUGFeRDImporter.java
Added Test
2020-06-18 11:53:36 +02:00
Alexander Berndt
11688d2421 Added getPaidAmount() to ZUGFeRDImporter.java
Added Test
2020-06-18 11:52:02 +02:00
Alexander Berndt
266ccb25e3 Added getRoundingAmount() to ZUGFeRDImporter.java
Added Test
2020-06-18 11:50:13 +02:00
Alexander Berndt
36ec2f6836 Added getTaxTotalAmount() to ZUGFeRDImporter.java
Added Test
2020-06-18 11:48:19 +02:00
Alexander Berndt
fca1d3e9c1 Added getTaxBasisTotalAmount() to ZUGFeRDImporter.java
Added Test
2020-06-18 11:35:53 +02:00
Alexander Berndt
4b0121c45b Added getLineTotalAmount() to ZUGFeRDImporter.java
Added Test
2020-06-18 11:33:48 +02:00
Alexander Berndt
50efe64b8a Added getPaymentTerms() to ZUGFeRDImporter.java
Added Test
2020-06-18 11:10:17 +02:00
Alexander Berndt
2a2c3747b1 Added getTaxPointDate() to ZUGFeRDImporter.java
Added Test
2020-06-18 11:08:09 +02:00
Alexander Berndt
b7701e2bba Added getIssueDate() to ZUGFeRDImporter.java
Added Test
2020-06-18 10:39:44 +02:00
Alexander Berndt
417eaeca15 Added getIssuerAssignedID() to ZUGFeRDImporter.java
Added Test
2020-06-18 10:35:35 +02:00
Alexander Berndt
a4be1da6c6 Added getInvoiceCurrencyCode() to ZUGFeRDImporter.java
Added Test
2020-06-18 10:29:10 +02:00
Alexander Berndt
77a660b737 Added getZUGFeRDProfil() to ZUGFeRDImporter.java
Added Test
2020-06-18 10:26:55 +02:00
Alexander Berndt
3bb2a951d9 Added getInvoiceID() to ZUGFeRDImporter.java
Added Test
2020-06-18 09:56:20 +02:00
Dominik Vogt
0cab494755 Merge pull request #1 from ZUGFeRD/master
Merge
2020-06-17 12:07:37 +02:00
Jochen Stärk
c6486a0a62 no message 2020-06-16 15:37:36 +02:00
Jochen Stärk
b9efc21492 addressing #159 gross price. removing jaxb from zf1. 2020-06-14 11:40:27 +02:00
Jochen Stärk
5dbb3a72cc first attempt to remove jaxb from zfv1 2020-06-11 15:22:40 +02:00
Jochen Stärk
c28d0cb652 add zf schematron files 2020-06-07 11:58:30 +02:00
Jochen Stärk
b574f7a7f2 generate ZF XSLTs from schematron when building 2020-06-07 11:47:14 +02:00
Jochen Stärk
61db60a719 no message 2020-06-07 11:46:30 +02:00
Jochen Stärk
c92b9dd0b2 dropped orphaned migration feature 2020-06-07 10:36:02 +02:00
Jochen Stärk
86b1cc0606 correcting total directory validity output 2020-06-06 13:57:00 +02:00
Jochen Stärk
34fea04501 improvements on directory validation 2020-06-06 13:53:09 +02:00
Jochen Staerk
aa8af9536a Merge pull request #163 from ZUGFeRD/dependabot/maven/library/org.dom4j-dom4j-2.1.3
Bump dom4j from 2.1.1 to 2.1.3 in /library
2020-06-06 12:56:14 +02:00
Jochen Staerk
88a8fe4b5d Merge pull request #162 from ZUGFeRD/dependabot/maven/validator/org.dom4j-dom4j-2.1.3
Bump dom4j from 2.1.1 to 2.1.3 in /validator
2020-06-06 12:55:58 +02:00
Jochen Stärk
1982aed5f4 working on directory validation 2020-06-06 10:23:05 +02:00
dependabot[bot]
429914e564 Bump dom4j from 2.1.1 to 2.1.3 in /library
Bumps [dom4j](https://github.com/dom4j/dom4j) from 2.1.1 to 2.1.3.
- [Release notes](https://github.com/dom4j/dom4j/releases)
- [Commits](https://github.com/dom4j/dom4j/compare/version-2.1.1...version-2.1.3)

Signed-off-by: dependabot[bot] <support@github.com>
2020-06-06 06:02:01 +00:00
dependabot[bot]
b7896e329f Bump dom4j from 2.1.1 to 2.1.3 in /validator
Bumps [dom4j](https://github.com/dom4j/dom4j) from 2.1.1 to 2.1.3.
- [Release notes](https://github.com/dom4j/dom4j/releases)
- [Commits](https://github.com/dom4j/dom4j/compare/version-2.1.1...version-2.1.3)

Signed-off-by: dependabot[bot] <support@github.com>
2020-06-06 06:00:20 +00:00
Jochen Staerk
feaa6a0ee5 Merge pull request #161 from heisej/bugfixes_and_new_export_props
Bugfixes and new export props
2020-06-03 20:20:44 +02:00
Jens Heise
74900ebe69 ZUGFeRD2PullProvider: Added several properties to be written to the ZUGFeRD-XML
and if necessary corresponding methods in the IZUGFeRDExportable... interface
objects of Transaction, Item and Product:

Properties with new methods:
- SubjectNote for 'ExchangedDocument.IncludedNote' (human readable
  document subject)
- RebateAgreementExists for 'ExchangedDocument.IncludedNote'
  (Note that there are rebate agreements)
- BasisQuantity (number of item units per price)
- SellerAssignedID (seller identification of product)
- BuyerAssignedID (buyer identification of product)
- TaxExemptionReason (explanatory statement why no tax gets applied)
  enhancement to support other exemptions than "IC-supply"

Properties for existing methods that did not get written to the XML
up to now:
- SellerTradeParty.ID (buyer assigned ID of seller)
- SellerTradeParty.GlobalID of seller (e.g. DUNS)
- BuyerOrderReferencedDocumentID (order number of buyer)
2020-06-03 11:17:23 +02:00
Jens Heise
1efd4ee9ae Bugfix in ZF2ZInvoiceImporterTest: Make test work on case sensitive file systems
The generated file is named "testout-ZF2new.pdf" not "testout-ZF2New.pdf"
which will make the test fail on case sensitive file systems as can be
found on many unix like systems.
2020-06-03 11:17:23 +02:00
Jens Heise
371cbb67a1 Bugfix in ZUGFeRD2PullProvider.generateXML(): Only Debit payment information is part of 'SpecifiedTradePaymentTerms'
so test for 'payment' being an instance of 'IZUGFeRDTradeSettlementDebit' as
'IZUGFeRDTradeSettlement' and 'IZUGFeRDTradeSettlementPayment' return 'null' for
'getPaymentXML()' which is not allowed to be written to the XML file.
2020-06-03 11:17:23 +02:00
Jens Heise
d1200a8dcd Bugfix in ZUGFeRD2PullProvider.generateXML(): Test for valid value of getDueDate() before using it
or a NullPointerException might happen as 'hasDueDate==true' is not the result
of a test to ensure that 'trans' overwrites 'getDueDate()' at all, so the default
implementation from 'IZUGFeRDExportableTransaction' might get used which returns
the unusable result 'null'.
2020-06-03 11:17:23 +02:00