Commit Graph

641 Commits

Author SHA1 Message Date
Jochen Staerk
be7bded6e4 Merge pull request #410 from langfr/master
Return all BankDetails from parsed CII xml. Closes #408.
2024-07-13 11:02:07 +02:00
langfr
5469e5c30d Return all BankDetails from parsed CII-Invoice xml. Closes #408. 2024-07-11 17:08:13 +01:00
jstaerk
affc468294 Merge branch 'master' of github.com:ZUGFeRD/mustangproject 2024-07-11 16:35:51 +02:00
jstaerk
5d5b316652 closes #409 2024-07-11 16:35:35 +02:00
Philip Helger
0f5ff080d8 Replace java.util Logging with SLF4J 2024-07-10 11:28:22 +02:00
jstaerk
c88ec268f5 whitespace corrections+switch to ioutils 2024-07-10 11:06:12 +02:00
Philip Helger
4ae6fd9ef0 Additional cleanup 2024-07-09 19:23:24 +02:00
Philip Helger
0831930125 Test fix 2024-07-09 18:44:37 +02:00
Philip Helger
12a3abde66 Cleansing 2024-07-09 18:37:53 +02:00
Jochen Staerk
7778ee7728 Merge pull request #399 from Sarenor/feature/ISSUE-395-Support-Zugferd-Xrechnung-profile
Added XRechnung Profile support
2024-06-28 11:42:30 +02:00
Dominik Röschke
94f7558066 Added XRechnung Profile support 2024-06-27 15:05:07 +02:00
Matthias Kilian
3ca078a10c ZUGFeRDVisualizer.toPDF(): generate PDF/A-3b.
PDF/A-1b doesn't support embedded files, but when converting e.g. an XRechnung with an
attached document, the visualizer tries (and fails) to attach it to the generated PDF.
2024-06-27 13:19:46 +02:00
jstaerk
53391eaf13 closes #392 2024-06-27 10:47:50 +02:00
Philip Helger
f911028135 Renamed class 2024-06-18 21:18:37 +02:00
Philip Helger
9cd2e36c69 Test fixes 2024-06-18 21:09:52 +02:00
Philip Helger
22b76141c2 Updated to Jakarta + PDFBox 3.x 2024-06-18 18:22:57 +02:00
jstaerk
b8720a16a0 small possible nullpointerex fix (for accidental non-pdf/a-PDFs), new test 2024-06-03 08:04:15 +02:00
langfr
8c16d4311c Fix #389: ClassCastException: ZUGFeRDExporterFromA3 cannot be cast to ZUGFeRDExporterFromPDFA 2024-06-01 13:53:41 +01:00
Heavenfighter
18be7adb07 allow embedd fonts from jar-file for pdf creation
fonts can now added in fop configuration via classpath notation. Also added FreeSans.ttf
2024-05-30 16:02:46 +02:00
jstaerk
abb4ccd38b added some javadoc 2024-05-22 18:20:17 +02:00
jstaerk
d5df6d9b3e corrected ubl tests for xr3 example 2024-05-15 11:44:07 +02:00
jstaerk
7f7adeab5a updates from the weekend 2024-05-13 10:13:48 +02:00
jstaerk
757910fff8 working on cash discount abstraction (XR and reading is still missing) 2024-05-09 08:59:20 +02:00
jstaerk
bdb47ce100 coparing arrays for beginners 2024-05-06 15:24:43 +02:00
jstaerk
52c7fce13e move ubl examples to different dir 2024-05-06 15:02:18 +02:00
asdf00000
5bad27ea62 Update ZUGFeRD2PullProvider.java
removing GrossPriceProductTradePrice when there is no
no allowance per line to fix validation error
2024-04-17 14:25:13 +02:00
jstaerk
6cea38f57b ubl impoter to parse contacts 2024-04-01 08:45:29 +02:00
jstaerk
df0eef061f zugferdimporter to accept xml files 2024-03-31 20:21:39 +02:00
jstaerk
15122e809d xrechnungimporter to accept filename and inputstring, zugferdimporter to accept xml files 2024-03-31 20:20:51 +02:00
jstaerk
5545f9c912 closes #385. Actually no, they are not required, I had been working on a feature to visualize xml into pdf but the feature did not yet make it and the files were not cleanly removed, thanks for spotting 2024-02-07 12:30:19 +01:00
jstaerk
eba5413610 closes #343 2023-12-23 02:38:21 +01:00
jstaerk
c6173dd124 working on #343 2023-12-22 16:16:21 +01:00
jstaerk
a4361e5c45 also accept pdf/a3 from inputstream 2023-12-12 16:53:55 +01:00
jstaerk
5fde51a88d javadoc corrections 2023-11-26 19:27:02 +01:00
jstaerk
771fbbab2c updated history. got rid of one more readallbytes 2023-11-26 18:46:33 +01:00
jstaerk
a490a8598b corrected read in java 8 2023-11-26 18:27:39 +01:00
jstaerk
80f5e796cd backport to java 8 2023-11-26 18:14:17 +01:00
jstaerk
21e6903736 ZUGFeRDExporterFromA3 did not set default ZUGFeRD Version 2023-11-26 17:59:27 +01:00
jstaerk
53ae1ec9dc had to "correct" i.e. falsify some tests due to https://awv-git.de/einvoicing/factur-x/-/issues/69 :-( 2023-11-25 18:44:50 +01:00
Martin Wachtveitl
43241eaa7a 341 beta 2023-11-22 14:15:15 +01:00
Martin Wachtveitl
f031790c4d 341 beta 2023-11-22 14:10:00 +01:00
Chris Webert
b8350012ec fix SpecifiedTradeSettlementPaymentMeans missing closing tag when no BIC number 2023-11-15 16:22:01 +01:00
jstaerk
7f8024c891 working on issue #294 2023-09-18 11:24:46 +02:00
jstaerk
2edcec3f94 doc corrections 2023-09-13 13:26:54 +02:00
jstaerk
cdde3f262b pdf fixes 2023-09-11 13:58:08 +02:00
jstaerk
5bc13c01eb continued parsing UBL 2023-09-11 11:32:17 +02:00
jstaerk
fcb52431ba working on ubl import 2023-09-11 08:09:10 +02:00
jstaerk
e8c06253ce works(??) 2023-08-28 20:14:41 +02:00
jstaerk
9bfc1ef7fe attempt to be able to convert to pdf 2023-08-14 11:07:13 +02:00
jstaerk
3e81c7036f creating pdf/a files using this config file:<fop version="1.0">
<!-- Strict user configuration -->
  <strict-configuration>true</strict-configuration>

  <!-- Strict FO validation -->
  <strict-validation>true</strict-validation>

  <!-- Base URL for resolving relative URLs -->
  <base>./</base>

  <!-- Font Base URL for resolving relative font URLs -->
  <font-base>./</font-base>

  <!-- Source resolution in dpi (dots/pixels per inch) for determining the size of pixels in SVG and bitmap images, default: 72dpi -->
  <source-resolution>72</source-resolution>
  <!-- Target resolution in dpi (dots/pixels per inch) for specifying the target resolution for generated bitmaps, default: 72dpi -->
  <target-resolution>72</target-resolution>

  <!-- default page-height and page-width, in case
       value is specified as auto -->
  <default-page-settings height="11in" width="8.26in"/>

  <!-- etc. etc..... -->

  <renderers>
   <renderer mime="application/pdf">
   <fonts>
       <font kerning="no" embed-url="file:///C:/Users/jstaerk/temp/timesbd.ttf" embedding-mode="subset">
           <font-triplet name="Times" style="normal" weight="bold" />
       </font>
       <font kerning="no" embed-url="file:///C:/Users/jstaerk/temp/timesbd.ttf" embedding-mode="subset">
           <font-triplet name="SourceSerifPro" style="normal" weight="normal" />
       </font>
   </fonts>
   </renderer>
</renderers>

</fop>
2023-07-26 20:23:56 +02:00