Commit Graph

212 Commits

Author SHA1 Message Date
JanAKQ
2312283320 Update ZUGFeRD2PullProvider.java
Hard coded EUR. Currency should come from the function getCurrency().
2020-01-25 23:03:04 +01:00
Jochen Stärk
02ae6fbff4 - include exemption reason if doing intra community supply 2019-12-07 20:01:05 +01:00
Jochen Stärk
7ee6d91d70 allow for diffent namespace prefixes #140 2019-12-07 19:46:18 +01:00
Jochen Stärk
d4f11a2e23 support alternate delivery address 2019-12-07 19:45:46 +01:00
Jochen Stärk
17a5bf9df1 added some javadoc 2019-11-05 11:51:23 +01:00
Jochen Stärk
9e747ca1e6 corrected default conformance level to en16931 2019-10-24 21:47:11 +02:00
Jochen Stärk
60156b1561 corrected ZF2 version number in RDF metadata 2019-10-17 19:49:40 +02:00
Christian Schwerdtfeger
3015de02a5 - Added possibility to specify delivery date in "week of year" or "month of year" format, through introduction of new IZUGFeRDDate interface. Keeping backward compatibility by providing both methods in IZUGFeRDExportableTransaction
- Added possibility to specify "LineTwo" in Recipient Address
- Limited pdfbox version to maximum 2.0.17 because otherwise 3.0.0-SNAPSHOT was pulled in which was broken because of missing ByteArrayDataSource
2019-10-14 17:31:32 +02:00
Jochen Stärk
191debf7e4 implement tax category codes second step 2019-10-13 18:23:49 +02:00
Jochen Stärk
293134af63 first step to support tax category codes 2019-10-13 18:16:54 +02:00
Jochen Stärk
c906bf8f64 new test so changes even in MustangReaderTestCase can no longer bypass backward compatibility 2019-10-07 20:39:18 +02:00
Jochen Stärk
49616bd4d8 closes #134 2019-09-30 20:13:45 +02:00
Jochen Stärk
d91ffef8ad added ZF2 basic tests 2019-09-14 18:59:49 +02:00
Jochen Stärk
af31f199ce Merge branch 'master' of github.com:ZUGFeRD/mustangproject
# Conflicts:
#	src/test/java/org/mustangproject/ZUGFeRD/ZF2EdgeTest.java
2019-09-14 18:52:12 +02:00
Jochen Stärk
211889b2f4 implemented sepa direct debit as payment means 2019-09-14 18:47:35 +02:00
Dominik Vogt
04ebdbd7f2 solved NPE on PDF without 2019-09-13 15:19:51 +02:00
Jochen Staerk
3d8c1ad624 Merge pull request #131 from CSSAG/master
removed unsed Methode; IssuedDateTime only if not null
2019-08-27 03:47:39 +02:00
Jochen Stärk
49bf243f37 added some javadocs 2019-08-24 15:47:23 +02:00
Jochen Stärk
cb391ac27e closes #132 2019-08-23 22:08:57 +02:00
Jochen Stärk
3fdb30e445 corrected dev doc 2019-08-22 21:14:47 +02:00
Jochen Stärk
9ee90ddf5c add zugferdimporter.getversion, add total amount in metrics 2019-08-22 20:54:00 +02:00
Pierre Barke
1c69f47e9f remove unsed Methode; IssuedDateTime only if not null
remove @getBuyerOrderReferencedDocument: not used after merge; only
setIssueDateTime if not null to avoid empty tag with NULL value
2019-08-12 13:36:42 +02:00
Jochen Staerk
9837ed8aa2 Merge branch 'master' into master 2019-08-12 13:18:11 +02:00
Pierre Barke
d4b1bd0e3d switched IZUGFeRDExportableContact to default-Methods; added
ShipToTradeParty: if the merchandies is not shipped to the same address
as stated in the invoide; added BuyerOrderReferencedDocument: the ID of
the purchase order the invoice ist based on
2019-08-12 10:10:01 +02:00
Jochen Stärk
ff9d1544c5 closes #102 2019-08-11 18:47:36 +02:00
Jochen Stärk
75151402ae corrected tests for ZF2 export: the one for issue #102 fails, which is correct until it is solved. 2019-08-11 12:10:02 +02:00
Jochen Stärk
0708bcf91e re-enable pretty print 2019-08-09 18:46:00 +02:00
Jochen Stärk
6cb647cd47 removed testIndicator in migration from v1 to v2 2019-08-09 18:44:43 +02:00
Jochen Staerk
a7046ef982 Update ZF2EdgeTest.java
I would not want ZF1 in the test for critical cases zugferd v2 cases
2019-08-08 18:38:54 +02:00
Stefan Schmiedl
eaaf97eb6e avoid deprecated ZUGFeRDExporter methods
In most cases this is achieved by using the corresponding factory methods.
Since they have to be set _somehow_, I introduced a new public method
`ZUGFeRDExporter.configure` to keep these calls local to the class.
This is called once in A3Factory.load(byte[]).

The deprecated Exporter setters could now be made private but that could
break existing code.
2019-08-07 14:54:36 +02:00
Stefan Schmiedl
0e57a2bcb7 remove zombie definition of getBankName 2019-08-07 13:45:33 +02:00
Jochen Staerk
8c77b38155 Merge pull request #127 from swsch/cec
comment editing and cosmetic improvements
2019-08-07 13:35:17 +02:00
Jochen Staerk
5a21779e12 Merge branch 'master' into gbn 2019-08-07 13:34:34 +02:00
Stefan Schmiedl
c1d0bbfbf9 comment editing and cosmetic improvements 2019-08-07 11:41:35 +02:00
Stefan Schmiedl
6e1ea1a3f3 deprecate German BLZ and Kontonummer 2019-08-07 11:33:51 +02:00
Stefan Schmiedl
3492ed770a add test for ZUGFeRDImporter.getBankName ... and make it work 2019-08-07 11:18:32 +02:00
Ivan Vaklinov
a264538d85 Changes:
1. Minor improvement to exception handling
2. Changes to adding a file to the document catalog if the AF item is
not directly a COSArray.
2019-08-06 14:26:34 +03:00
Stefan Schmiedl
bbd22852d4 parse rawXML into document only once 2019-08-05 15:04:51 +02:00
Stefan Schmiedl
c74e21ca87 add missing ram: to closing tag 2019-08-05 14:53:42 +02:00
Stefan Schmiedl
81635bb095 use totalPrepaidAmount to calculate duePayableAmount (for v2) 2019-08-01 20:16:54 +02:00
Stefan Schmiedl
e668a460fb add totalPrepaidAmount to monetarySummation and use value to calculate duePayableAmount 2019-07-31 21:54:00 +02:00
Stefan Schmiedl
8f34fa9010 add getter for TotalPrepaidAmount to IZUGFeRDExportableTransaction interface 2019-07-31 21:49:24 +02:00
Jochen Stärk
f9f018e895 removed visualization, it remains in v1.8.0 branch but master aims at 1.7.3 since I might want to try to add unit tests and some documentation for the new feature 2019-07-25 22:49:49 +02:00
Jochen Stärk
9bbf4f238e Merge branch 'master' of github.com:ZUGFeRD/mustangproject 2019-07-25 22:40:44 +02:00
Jochen Stärk
da01149a41 have css and js file in resources and write to working dir on visualization 2019-07-25 22:29:25 +02:00
Jochen Staerk
03fb4b1599 Merge pull request #115 from swsch/bord
make BuyerOrderReferencedDocument accessible
2019-07-25 21:08:56 +02:00
Stefan Schmiedl
a7e9d72d3a make BuyerOrderReferencedDocument accessible 2019-07-25 20:35:11 +02:00
Stefan Schmiedl
9681b4fa6d extend IProfileProvider to allow modification of profile 2019-07-25 18:33:14 +02:00
Stefan Schmiedl
b701bf25c8 failing test case to check for correct v1 profile string 2019-07-25 17:59:18 +02:00
Stefan Schmiedl
0720751d35 failing test case to check for correct v1 profile string 2019-07-25 17:53:03 +02:00