embeding a pdf inside the einvioce

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • jamie
    Senior Member
    • Aug 2025
    • 169

    #1

    embeding a pdf inside the einvioce

    Has anyone tried embedding a PDF invoice directly inside the sales-pack eInvoice? It seems to be becoming the modern standard, and I’d really like to support it. At the moment, though, I can only find a way to download the eInvoice XML. or if there was some way it could just attach to the existing record, i could then embed my pdf from other means

    yuri , any thoughts?
    Last edited by jamie; Today, 09:24 AM.
  • yuri
    EspoCRM product developer
    • Mar 2014
    • 9526

    #2
    ZUGFeRD invoices are not currently supported. It's quite a lot of work to be done to support them. Planned for the future but currently with no timelines.
    If you find EspoCRM good, we would greatly appreciate if you could give the project a star on GitHub. We believe our work truly deserves more recognition. Thanks.

    Comment


    • jamie
      jamie commented
      Editing a comment
      Yeah, ZUGFeRD does look a bit complicated. Some of my German customers are asking for this with XRechnung invoices as well, but there’s still the question of which PDF to embed and whether it’s even available.

      For now, I’m wondering if it might be possible to simply attach the generated eInvoice to the record. If so, I could then use some formula or workflow magic to embed that PDF as needed.
  • yuri
    EspoCRM product developer
    • Mar 2014
    • 9526

    #3
    There's no formula functions to generate E-Invoice contents.

    It's not that simple to attach the generated XML to a PDF. It requires PDF/A and some additional metadata to store in the PDF. It also requires CII standard e-invoice. We only have UBL supported. The main problem for us is not having CII support.
    If you find EspoCRM good, we would greatly appreciate if you could give the project a star on GitHub. We believe our work truly deserves more recognition. Thanks.

    Comment

    • jamie
      Senior Member
      • Aug 2025
      • 169

      #4
      yuri I meant to attach the e-invoice to the invoice Espo record, so that I could run a formula to embed my pre-generated PDF into the e-invoice XML whenever that field changes. This would probably be more future-proof, give me greater flexibility, and save you some work.

      So, to summarize: just add an “Attach” button after the export button here.

      Click image for larger version

Name:	image.png
Views:	0
Size:	8.1 KB
ID:	123260

      Comment

      Working...