Issue: When I set the default tax (i.e. 10%) and I configure to auto apply this tax on the invoices in general settings, the tax isn’t applied when I create new invoice from the quote (there are 0% tax in summary calculation). I tried it with both legacy and new type of calculation set up with ipconfig.php.
How to reproduce: Create some tax type in Invoiceplane. Configure this tax as auto-apply tax for invoices in general settings. Create new quote and then create new invoice from this quote. Check the pricing summary - you see 0% tax applied there.
Expected behaviour: Tax is auto-applied on invoice during the creation of the invoice. In the previous version (1.6.2) this worked normally.
Yes, based on the author description it looks like it’s the same issue.
BTW If I set the calculation type to legacy, I am able to manually apply the tax on the invoice via top right drop-down menu - this works fine. But I need to prevent situation when somebody forget to apply tax manually.
Hi on what version of PHP are you running on invoiceplane?
And can you add it manually on the invoice (in options → add VAT) if you do that one time, what happens next time you create a new invoice?
When I apply VAT manually:
If I set the LEGACY_CALCULATION=true, then I can apply the VAT to the whole invoice via top right drop-down menu manually. This works fine. When I do this, then delete the invoice and after that I try to create new invoice from some existing quote, it will create invoice without VAT again (and yes, I have configured the VAT to auto-apply in system settings within InvoicePlane).
weird i can’t simulate this in none of my invoiceplanes and i have 3 different installs, i even don’t know where you do this: LEGACY_CALCULATION=true, whats the vat % that you try to apply is it a whole number or a with a comma?
@UnderDog My goal is to use only automated taxes, but they are not working in each legacy and non-legacy calculation.
BTW I tried now to create invoice when LEGACY_CALCULATION was set to “true”, then I applied the tax manually on the invoice, then I set LEGACY_CALCULATION to “false” and checked the invoice. After set the LEGACY_CALCULATION to false I see the total amount of the invoice stayed on amount with tax included, but on the line with tax from items is displayed zero (0) value. So there is definitely something with legacy calculation feature.
Thanks for your support, will wait for your report from testing.
@myedgy I have VAT set to 21% (21,00%). I tried to set number just like “21” but it corrects to “21,00” automatically after saving. I think this is fine because when I apply the VAT on the invoice manually, it calculates it right.
The LEGACY_CALCULATION option you can set in ipconfig.php file. It’s new feature in version 1.6.3. I didn’t face the issue with VAT applying in previous version 1.6.2.
new installation today - version 1.6.3 and got the same issue.
legacy calc = false or true no difference
only tax setup is Tax Rates = 10%
Settings - Taxes - Default Invoice Tax Rate - 10% (via dropdown)
new installation today - version 1.6.3 and got the same issue.
legacy calc = false or true no difference
only tax setup is Tax Rates = 10%
Settings - Taxes - Default Invoice Tax Rate - 10%
I still can’t read cryptic messages.
Best thing you can do is the following:
Open up ipconfig.php and find all instances of LEGACY_CALCULATION=true
I’ve had situations where i saw LEGACY_CALCULATIONtwice, especially with new installations
Screenshot every single step and don’t skip any steps you screenshot
Steps to Reproduce
Settings, Tab Taxes => screenshot
Create Invoice, Fill product => screenshot
Find out things about the tax percentage => screenshot
Without steps to reproduce the problem is unreproducible and we’ll end up with an 1.6.4 version that doesn’t contain your solution