In Spain there’s a special tax for freelancers in agriculture, it works as follows:
- If I’m the customer of a freelancer in agriculture instead of receiving an invoice with the 4% VAT, I will just have to create the invoice myself for the freelancer.
- In the supplier invoice created, we must put a 12% VAT + 2% IRPF. The 12% VAT must be added to the unit price when the 2% IRPF is applied.
A good explanation of how it works can be found here:
The 12+2 taxes can be put manually in the supplier invoice (that is selecting both taxes manually in the m2m widget) and the computation works as expected as long as IRPF sequence is greater than the VAT sequence. So far, so good.
However, as the 12%+2% is only applied when the party is a freelancer it would be great to create a rule tax so when the product has a 4% is converted to 12%+2% for theses suppliers.
However, as I understand that is not possible because rule taxes only allow one target tax and because the “update unit price” cannot be used on child taxes. See:
Here’s the tax computation that only
Here’s the code to the constraint that only allows update unit price on parent taxes:
Does anybody have a good alternative to create those taxes so that they can be used in tax rules?
I don’t see a reason for not permiting “update unit price” in child taxes, although that price would only be applied to sibling taxes, but it would be an acceptable behaviour I think.