Commit Graph

1303 Commits

Author SHA1 Message Date
Jochen Stärk
c5e45f5418 bigger itemChargesAllowances test. BasisQuantity correction 2020-09-21 22:14:33 +02:00
Jochen Stärk
9bf1097bac allow relative =percentual item allowances/charges 2020-09-21 21:45:03 +02:00
Jens Heise
d78d0f7fbb ZUGFeRD2PullProvider: Add write support for GlobalID and ID to buyer addresses
especially for 'BuyerTradeParty' and 'ShipToTradeParty' right now.

Since EN16931 allows only one ID entry for these entries, the ID assigned
by the buyer is prefered over the global ID for now if bot are defined in
the IZUGFeRDExportableTradeParty object.
2020-09-19 20:52:44 +02:00
Jochen Stärk
060aa79958 support item level allowances 2020-09-17 13:31:31 +02:00
Jochen Stärk
6cc3bfb998 [maven-release-plugin] prepare for next development iteration 2020-09-15 12:35:49 +02:00
Jochen Stärk
27dee49b42 [maven-release-plugin] prepare release core-1.9.0-alpha2 2020-09-15 12:35:41 +02:00
Jochen Stärk
48f6ae92ad no message 2020-09-14 20:14:32 +02:00
Jochen Stärk
b70e3571be reflexive tests (using validator component to test library component) 2020-09-14 19:57:55 +02:00
Jochen Stärk
e49330adbe order-x extract support 2020-09-13 14:15:31 +02:00
Jochen Stärk
6a169b19b2 moving tax id and vat id into tradeparty 2020-09-12 14:50:34 +02:00
Jochen Stärk
78dd1b2121 tests pass again 2020-09-10 21:35:21 +02:00
Jochen Stärk
fd63a79ced Introduce InvoiceCorrection class and TradeParty 2020-09-10 09:04:25 +02:00
Jochen Stärk
bbf8c97501 add dummy for occurrence dates 2020-09-08 16:46:21 +02:00
Jochen Stärk
e276a447f6 Merge branch 'master' of github.com:ZUGFeRD/mustangproject
# Conflicts:
#	library/src/main/java/org/mustangproject/Allowance.java
#	library/src/main/java/org/mustangproject/Charge.java
#	library/src/test/java/org/mustangproject/ZUGFeRD/ZF2PushTest.java
2020-09-08 10:36:44 +02:00
Jochen Stärk
f8dbfd7eb6 some charges/allowance changes 2020-09-08 10:19:56 +02:00
jstaerk
fd82395c3d Merge branch 'master' of https://github.com/ZUGFeRD/mustangproject 2020-09-08 10:11:55 +02:00
Jochen Stärk
c1fa8ec608 logging to stderr instead of stdout 2020-09-06 15:18:53 +02:00
jstaerk
03916461ba attempt for new tests(which compile but do not yet even fail) 2020-09-03 21:24:57 +02:00
jstaerk
d8824a15e5 attempt for new tests(which compile but do not yet even fail) 2020-09-03 21:16:07 +02:00
Jochen Stärk
70d110ef6d preliminary updates 2020-09-03 18:32:34 +02:00
Jochen Stärk
9414f86d6f added visuallization again 2020-08-20 17:33:28 +02:00
Jochen Stärk
db4c86315a removing localization marks and potential bom(?) 2020-08-20 17:15:00 +02:00
Jochen Stärk
73a6937fec new test, always set a version=xmlProvider 2020-08-18 17:37:28 +02:00
Jochen Stärk
8cd81965e2 upgrade to saxon 9.9 2020-08-12 17:55:40 +02:00
Jochen Stärk
10ebb012d1 [maven-release-plugin] prepare for next development iteration 2020-08-06 16:29:38 +02:00
Jochen Stärk
e0ed82baa1 [maven-release-plugin] prepare release core-1.9.0-alpha1 2020-08-06 16:29:30 +02:00
Jochen Stärk
fd947e04d5 checkin for alpha release attempt 2020-08-06 16:26:53 +02:00
Jochen Stärk
a98e495947 updated version numbers to 1.9.0-alpha1 2020-08-06 16:09:18 +02:00
Jochen Stärk
662307c0ba corrected zf2pullprovider, re-applied changes on v1 2020-08-06 12:18:35 +02:00
Jochen Staerk
4b4ed88b43 Merge pull request #175 from HKB-CSS/patch-1
Patch 1
2020-08-06 10:18:58 +02:00
HKB-CSS
4ea0b0e549 Update ZUGFeRD2PullProvider.java
get TypeCode from Interface IZUGFeRDExportableTransaction method getDcoumentCode()
2020-08-05 12:17:58 +02:00
Jochen Stärk
baa26851ba removed factories 2020-07-28 13:33:46 +02:00
Jochen Stärk
67bddba154 move invoice item contact and product out of zugferd namespace 2020-07-26 11:23:51 +02:00
Jochen Stärk
3b706724fb pom corrections 2020-07-26 11:23:19 +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
e70e99dcbb improved test for the importer 2020-07-09 10:44:04 +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
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
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
c92b9dd0b2 dropped orphaned migration feature 2020-06-07 10:36:02 +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
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
Jochen Stärk
1d4ed498c1 Merge branch 'add_extraction_methods' of https://github.com/aberndt-hub/mustangproject into aberndt-hub-add_extraction_methods 2020-06-03 05:41:52 +02:00
Jochen Stärk
dbdcdbe75f corrected tests 2020-05-24 19:49:05 +02:00