Hi all,
Today I started using Dolibarr, and I’m trying to catch up with all the settings lurking at random locations.
I notice missing important (and required by our tax law) data on the invoices. On my company’s side there should be field for my company VAT number, but I fail to find where to enable it (It is properly filled in the company info but not showing on invoice field). At the same time, on both sides I am unable to enable showing additional field, i am using the ProfID1 field to store that number and I am required by law to have that shown. I can change the field / use different one if needed.
Earlier today I had asked for another hacky way to comply with our local laws, I sadly have to do it again. It is not a problem for me to keep modifying the pdf_sponge.modules.php like before until I gain enough confidence and knowledge on the template ODT (my expirience so far is on level ‘we better write invoices on paper’ )
To make it more clear, this is what’s required by law:
| My company | Client company |
|---|---|
| My company ltd | Client company |
| Whatever city | Another City |
| Some Addres 1676 | DifferentAddres 1 |
| CompanyID number (using the profID1 field) | CompanyID |
| VAT number | VAT Number |
P.S. Yea, our laws are bit wonky, but I would really like to use this software because it’s truly awesome and fully suits my needs, and I’m both hands for open source solutions instead of throwing money at something that does half the job.
Edit2:
I’m using Docker, it is absurd easy for me to keep the pdf_sponge.modules.php in sync between updates, including manually patch checking it for changes in newer versions until I figure out the proper way of doing things. Sadly, at the current moment I’m in a bit of rush to catch up with importing data for at least half the year so after having all invoices, payments, employees tax and so on i can verify that my hopes of having some decent software running also does the job properly.
EDIT3: My guess is somewhat correct, the number I need on both sides is the same as the french variant of SIREN number . I just finished re-reading the entire translation in Github, it amazes me how someone can translate accounting software and ignore that number at all (for example there’s a field ProfId1FR=Prof Id 1 (SIREN) that is exactly that number). Our variant is called ЕИК (translated Unified identification code) and it’s assigned to each company, and usually the VAT number is that code prepended with BG in front of it.




