Community

Multipage Invoices - Header And Footer Answered

Hello!

 

I have a rather big problem when it comes to processing multipage invoices using EuropeanInvoice.

I have a PDF with multiple invoices, each of them having a number of pages ranging from 1 to 5

When I load the pdf into a test batch, with the "Automatically when Document Definition is applied" option selected for the batch, each page becomes one document, which is obviously wrong.

I heard that I have to create a new FlexiLayout, give it a header and a footer, export it and then add it to the EuropeanInvoice document definition as an additional layout.

I did that, but it was useless, it does nothing to influence the pages , it still takes each page of the pdf as a separate document. 

Can anyone help me, please? I have been trying to solve this issue for a rather long time but seem to get nowhere.

0

Comments

4 comments

  • Avatar
    Hajar Herrou

    Hello ,

    I have the same problem .

    Any idea about how to fix this issue??

    Best Regards.

    Hajar

    1
  • Avatar
    Vishal Trivedi

    Hi, 

    When you are creating the definition make sure the uniq value set for the header and footer. first-page contain header value and last page contain footer value. let me know if you still get the error.

     

    Thanks.
    Vishal

    1
  • Avatar
    mihainaum

    I have managed to solve my problem with splitting the invoices in an even better way!

    For everyone that has this problem, take a look at this video. Do exactly what the person does, copy the scripts, and it will all work wonders.

    Link: https://www.youtube.com/watch?v=9fFjQn_E8dI

    2
  • Avatar
    Vishal Trivedi

    Great, Perfect answer for the static multiple same types of invoice.

    0

Please sign in to leave a comment.