Commit Graph

192 Commits

Author SHA1 Message Date
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
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
Stefan Schmiedl
ce5af7b012 complete profile options for v1
see "Das ZUGFeRD-Format_1p0", p. 98, lines 1982 ff.
2019-07-25 16:55:28 +02:00
Jochen Staerk
915e863978 Merge pull request #109 from swsch/issue23
use RoundingMode enumeration and locale-safe BigDecimal.toPlainString
2019-07-24 17:34:44 +02:00
Stefan Schmiedl
5816929617 make document name and globalID configurable by implementers 2019-07-24 16:14:17 +02:00
Stefan Schmiedl
deac979877 use RoundingMode enumeration and locale-safe BigDecimal.toPlainString 2019-07-22 21:32:40 +02:00
Stefan Schmiedl
2e5818f8e7 specify charset to avoid platform specific defaults 2019-07-22 21:17:12 +02:00
Jochen Staerk
a10d9bdf3f ndigitformat was ment to return string 2019-07-22 20:10:06 +02:00
Jochen Staerk
04da31d37c closes #23 2019-07-22 20:00:01 +02:00
Stefan Schmiedl
780d92575b iron out javadoc errors and warnings
IntelliJ now succeeds in building javadoc
2019-07-22 10:58:49 +02:00
Jochen Stärk
b5a88460c8 closes #104 2019-07-21 17:55:41 +02:00
Jochen Stärk
24b27a9b51 added unit test for problematic cases also for zf2 2019-07-18 11:08:57 +02:00
Jochen Stärk
020ca043b6 updated javadoc 2019-07-14 10:53:20 +02:00
Jochen Staerk
70d2f38648 Merge pull request #100 from swsch/master
skip over BOM in XML input
2019-07-13 15:50:34 +02:00
Jochen Staerk
7e384192ff Merge pull request #102 from swsch/master
updates for 2.0 compatibility (IncludedNote, SpecifiedTaxRegistration)
2019-07-13 15:47:31 +02:00
Jochen Stärk
fb53501c61 zf1 visualization, recognition if file is zf1 or zf2 2019-07-10 18:41:06 +02:00
Jochen Stärk
d045073c78 refer to (external) css and js file instead of embedding them 2019-07-10 17:53:13 +02:00
Jochen Stärk
ae6ae3edde Merge branch '1.8.0': get back XR to HTML stylesheet to be able to visualize ZF2 2019-07-10 17:43:08 +02:00
Stefan Schmiedl
7e74739023 updates for 2.0 compatibility (IncludedNote, SpecifiedTaxRegistration) 2019-07-09 21:29:08 +02:00
Stefan Schmiedl
94453bbd03 skip over BOM in XML input 2019-07-08 22:25:48 +02:00
Jochen Stärk
636829aed3 Bankleitzahl (german bank code) is invalid in the schema file and in the spec of ZF2 2019-07-08 19:03:33 +02:00
Jochen Stärk
97766c7494 no message 2019-07-06 21:39:37 +02:00