dart_pdf icon indicating copy to clipboard operation
dart_pdf copied to clipboard

PDF/A 3b

Open ilaurillard opened this issue 1 year ago • 5 comments

Would you please have a look at the catalog.dart file - there is a problem with the "/Names" part. You have an indirect/ref field and i have a "PdfDict" - these have to be merged somehow ..

greetings

ilaurillard avatar Sep 27 '24 08:09 ilaurillard

@ilaurillard Thank you for your pdf/a implementation. I see you have added some code related to XRechnung/Factur-X. I'm also working on an implementation for e-invoices. Could you please make PdfaFacturxRdf more customizable? It should be possible to set the ConformanceLevel and not only fix it to "BASIC".

At the same it might be better to put this code in a separated library as it is more related to e-invoices than generic PDF generation. I could provide my schema dart code for e-invoices.

grundid avatar Sep 30 '24 10:09 grundid

@ilaurillard Thank you for your pdf/a implementation. I see you have added some code related to XRechnung/Factur-X. I'm also working on an implementation for e-invoices. Could you please make PdfaFacturxRdf more customizable? It should be possible to set the ConformanceLevel and not only fix it to "BASIC".

done

At the same it might be better to put this code in a separated library as it is more related to e-invoices than generic PDF generation. I could provide my schema dart code for e-invoices.

yes, you are right.. pdf/a and e-invoices are separate things ... this should be discussed .. @DavBfr?

@grundid for UBL invoices i wrote a class generator, that crawls the official xsd schemas an makes dart classes of the definitions, if you are interested ..

ilaurillard avatar Sep 30 '24 15:09 ilaurillard

@grundid for UBL invoices i wrote a class generator, that crawls the official xsd schemas an makes dart classes of the definitions, if you are interested ..

Well, yes! Right now I've done the same thing for the ZUGFeRD specification in Germany and now I'm validating the output xml agains the schematron rules. Shall we set up a project and discuss collaboration?

grundid avatar Oct 01 '24 06:10 grundid

Yes, all schema generation could be in another package.

DavBfr avatar Oct 05 '24 12:10 DavBfr

I've created a dart package dedicated to the creation of e-invoices based on the ZUGFeRD/Factur-X specification: https://github.com/Blaulichtplaner/e_invoice_tools

@ilaurillard you can find an example with all the schema classes here: https://github.com/Blaulichtplaner/e_invoice_tools/blob/main/packages/e_invoice_data_classes/example/e_invoice_data_classes_example.dart

grundid avatar Oct 08 '24 09:10 grundid

Hi, is there any timeline when this could be merged? I need the capability to attach files (xml-documents) to my pdf to create a valid ZUGFeRD document :)

CLNMR avatar Nov 26 '24 15:11 CLNMR

Thanks!

DavBfr avatar Nov 28 '24 10:11 DavBfr