Template for Croatian Market - but can be used for others with little tweaking…
Croatian Tax Agency was very strict what must be on Invoice and its mandated by law, so i created templates, and on Croatian version of website will be packaged Invoice plane with templates and instructions how to use it on Croatian market…
One thing i added, that is my personal need, is second address for company… Some want invoices sent to other address then what is they official address of buissnes… so it will be reflected in template…
This are screenshots… will be sending code for templates here as soon as i finish tweeking…
I need to see how to iterate and get list of Tax rates so i don’t have them hardcoded in template…
I’m using here mpdf helper from this forum, and used theyr template as starter point for this templates
i will share it i just need to do few touches, and specify all additional fields i use and i will publish it here
p.s. will try to add in english language files all strings for translation i have some ideas how to add it maybe semi permanently… if it works… i’ll give instructions here…
I saw that you mention tax amounts for each tax rates at the bottom of template.
In Italy we need to do the same since we can sell different items with different tax rates.
Finally have computer up and running… Planning next week a vacation… I see i’ll have first to update my own installation, and templates first while on vacation …
A lot unexpected things on the house happened (it was built in 1962) … so i don’t think it will be finished in next 1-2 months… but will have to get my regular work back up and running full time asap – will need extra founding for house
i was ill and working on house then office and a lot of things happened…
Did manage to catch up a bit on things and i hope during this upcoming vacation around new year i’ll find time to update my system to lates invoice plane, update template and release it …
You can group different VATs (cro - PDV) in your PDF and Web template by collecting all VATs into an Array. However, the array like this is not clean and proper PHP code and it will cause the E_Notice… BUT, we can code dirty and disable the E_Notice and enable it later… This will work: