Bart_1977 Posted July 7, 2016 Share Posted July 7, 2016 Hi all, i have a strange problem. For b2b sales in the EU i need to add the customers VAT number on the invoices. I already selected in Localisation --> Countries --> Adress the vat_number. Now the strange thing: On the delivery slip the VAT number is there, but on the invoice it isnt... I have a third party theme installed and checked the following maps: Public/PDF, Override/Classes/PDF and MyTheme/PDF But i cant find anything strange... ( but im no programmer ) Does anyone have any idea to solve this problem? Best regards, Bart Link to comment Share on other sites More sharing options...
rocky Posted July 8, 2016 Share Posted July 8, 2016 Check whether there are TPL files in the themes/<your_theme>/pdf. If there is, you can compare the invoice and delivery-slip TPL files to see what's missing. If there's no files in that directory, then the files will be in the pdf directory in the root of your website. Link to comment Share on other sites More sharing options...
tuk66 Posted July 22, 2016 Share Posted July 22, 2016 What is your version? Some versions remove the VAT number from the address. See PS_INVCE_INVOICE_ADDR_RULES and PS_INVCE_DELIVERY_ADDR_RULES records in the ps_configuration table. Link to comment Share on other sites More sharing options...
Bart_1977 Posted July 25, 2016 Author Share Posted July 25, 2016 Hi Tuk66, the shop is running on version 1.6.1.4 I found a solution for this, i just added <br>{$addresses.invoice->vat_number}<br /> in the invoice-b2b.tpl and the VAT number is now on the invoices. Link to comment Share on other sites More sharing options...
sueshi Posted November 9, 2016 Share Posted November 9, 2016 Just to make it complete: I needed VAT number on every invoice pdf, as long as existing. So I added right after {$invoice_address} in the invoice template: {if !empty($addresses.invoice->vat_number)}<br>UID: {$addresses.invoice->vat_number}{/if} So it only shows when customers have entered their VAT Link to comment Share on other sites More sharing options...
Nickovitshj Posted September 5 Share Posted September 5 can't post it as text: Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now