Export Invoices


We have been sending some samples of beer out to China and to Hungary. We are quite new to this so it has been a bit of a learning process. We have seen that Breww produces invoices with the required information for exports but they should say Commercial Invoice at the top whereas the Breww version just says Invoice #… I had to go into a pdf editor to add Commercial to it. Could this be changed in Breww so that it shows Commercial Invoice?


I bet you can do this with the (Invoice) document template.

You certainly can @jon-kyme.

Give us a shout if you have any bespoke templating needs. Click here for an example @rob-rainey.

In this instance, I think the tweak required is merely adding the text "Commercial " to this line in the Header HTML

{{ document_title }} #{{ document_number }}

to give you

Commercial {{ document_title }} #{{ document_number }}

You could choose to assign this template to particular customers via customer settings…

Alternatively, I guess you could wrap the “Commercial” in a conditional, maybe

{% if is_export and is_invoice %}Commercial {% endif %}

Anything much more complicated than that, unless you’re confident with these kinds of templating jobs, probably best to find someone who is.

Thanks everyone for the suggestions, these would work really well :+1:

Fortunately, it’s a simple tweak on our side to swap out the {{ document_title }} variable for “Commercial Invoice” in the case that the document is an invoice and is an export.

We feel that this change will likely be beneficial to everyone, so we’re going to make this change within Breww. If for some reason, you don’t want this change, you can revert this in your own templates with something like:


{{ document_title }} #{{ document_number }}


{{ document_title.replace("Commercial", "") }} #{{ document_number }}


This topic was automatically closed 5 days after the last reply. New replies are no longer allowed.