Supplier's invoice with 0% VAT and 15%IRPF

Hi,

I need to add an invoice from a supplier.

VAT does not apply, so I have marked VAT no applicable in his profile.

The invoice also includes 15% IRPF (Localtax2), so I have ticked IRPF applicable in his profile.

The lines and values in the tax dictionay functioning ok in other cases are the following:

Country Type NPR Localtax1 Localtax2 Note


ES - España 0 No 0 0 VAT Rate 0
ES - España 4 No 0.5 0 VAT super-reduced rate
ES - España 8 No 1 0 VAT reduced rate
ES - España 18 No 4 15 VAT standard rate

Does anyone know what values I should enter when creating a new line in the tax dictionay to achieve the following result? :dry:

Sample invoice


Net amount= 120 EUR
VAT 0% = + 0 EUR
IRPF 15%= - 18 EUR


Total = 102 EUR

Thank you in advance for your help. :happy:

Inserting 15 under Localtax2 in the line already created in the dictionary for 0% VAT solved it :blush: :happy: :

ES - España 0 No 0 15 VAT Rate 0

There is another use case which I have been unable to model in Dolibarr 3.1.
In a few words: how can I input two provider bills with different localtax2 (irpf).

Scenario:
Provider A, 18% VAT, 15% IRPF (i.e. a services provider)
Provider B, 18% VAT, 19% IRPF (i.e. an office lessor when they are a person, not a company)

I have enabled the following taxes setup:

Country Type NPR Localtax1 Localtax2 Note


ES - España 0 No 0 0 IVA no sujeto / exento
ES - España 18 No 0 15 IVA estándar
ES - España 18 No 0 19 IVA estándar/IRPF 19

The problem is: both providers are vat enabled, irpf enabled, however when we create a new provider bill it always takes 15%, I don’t know how to select the other type (19%).
Any ideas?

I’m going to see the problem