ABCDEFGHIJKLMNOPQRSTUVWXYZ
1
2
INPUTS GENERALES
3
4
InputsTypeReferenceNote
5
Categoria de ProductoConfiguracionM_Product_Category
6
Socio de NegociosConfiguracionC_BPartner
7
ProductoConfiguracionM_Product
8
Tipo Socio de Negocios ImpositivoConfiguracionC_BPartnerTypeTAXIdentificador No existente
9
Tipo Socio de NegociosConfiguracionC_BPartnerType
10
PaisConfiguracionC_Country
11
LocalidadConfiguracionC_Region
12
ImpuestoConfiguracionC_Tax
13
RetenidoConfiguracionWithheld_Tax
14
Tipo de ImpuestoConfiguracionC_TaxType
15
Tipo Compra y VentaConfiguracionSOPOType
16
SubTotal de FacturaValorC_Invoice_GrandTotal
17
Sub Total de ProductoValorM_Product_Total
18
CantidadValorM_Product_QT
19
Factura CXCConfiguracionAR_Invoice
20
Pago CXPConfiguracionAP_Payment
21
22
23
OutputTypeReferenceNote
24
Tasa de ImpuestoValorTaxRate
Será el valor que tendrá por producto
25
26
CONFIGURACION DE IVA EN MEXICO
27
28
IVA A MEDICAMENTOS
29
parser.parse
IF((M_Product_Category='MEDICAMENTO' and Area="FARMACIA EXTERNA") )
IF(M_Product_Category='NOMINA' and C_Country='MX' and C_Region= 'NL')
30
parser.setVariable('IVA', 0);
('PayRollTAX',0.02)
31
IF(M_Product_Category='NOMINA' and C_Country='MX' and C_Region= 'DF')
32
IVA A OTROS PRODUCTOS
('PayRollTAX',0.03)
33
parser.parse
IF(NOT(M_Product_Category='MEDICAMENTO' and Area="FARMACIA EXTERNA") )
34
parser.setVariable('IVA', 0.16);
35
36
RETENCION DE IMPUESTOS IVA
37
parser.getVariable('IVA')
38
parser.parse
IF ('IVA'=0.16 AND C_BPartnerType = 'RETENCION_IVA')
39
parser.setVariable
('RETIVA', (0.16 / 3 * 2) * - 1 );
40
41
RETENCION DE IMPUESTOS ISR
42
parser.parse
IF ('IVA'=0.16 AND C_BPartnerType = 'RETENCION_ISR')
43
parser.setVariable('RETISR', 0.10 )
44
45
CONFIGURACIONES DE IVA KSA
46
47
IVA GENERAL MEDICAMENTOS
48
parser.parse
IF((M_Product_Category='DRUG' AND C_BPartnerTypeTAX = "TaxYes") )
49
parser.parse
IF(M_Product_Total > 2000 )
50
parser.setVariable('IVA', 0.02);
51
52
IVA GENERAL MEDICAMENTOS
53
parser.parse
IF((M_Product_Category='DRUG' AND C_BPartnerTypeTAX = "TaxYes") )
54
parser.parse
IF(M_Product_Total < 2000 )
55
parser.setVariable('IVA', 0.05);
56
57
IVA GENERAL MEDICAMENTOS SIN TAX
58
parser.parse
IF((M_Product_Category='DRUG' AND NOT( C_BPartnerTypeTAX = "TaxYes" ) ) )
59
parser.setVariable('IVA', 0.00);
60
61
IVA GENERAL OTROS
62
parser.parse
IF((M_Product_Category='DRUG' AND C_BPartnerTypeTAX = "TaxYes") )
63
parser.parse
IF(M_Product_Total > 2000 )
64
parser.setVariable('IVA', 0.02);
65
66
IVA GENERAL OTROS
67
parser.parse
IF(NOT ( (M_Product_Category='MEDICAMENTO' AND C_BPartnerTypeTAX = "TaxYes" ) ) )
68
parser.parse
IF(M_Product_Total < 5000 )
69
parser.setVariable('IVA', 0.05);
70
71
IVA GENERAL OTROS
72
parser.parse
IF(NOT ( (M_Product_Category='MEDICAMENTO' AND C_BPartnerTypeTAX = "TaxYes" ) ) )
73
parser.parse
IF(M_Product_Total > 5000 )
74
parser.setVariable('IVA', 0.04);
75
76
77
CONFIGURACIONES DE RETENCIONES ARGENTINA
78
79
Anexo II, inc B) pto 3
80
Rurales Sociedades
81
82
parser.parse
IF (DocType = AP_Payment)
83
parser.parse
IF(( (M_Product_Category='ALQUILERES_RURAL' AND C_BPartnerTypeTAX = "Inscripto" ) ) )
84
parser.parse
IF(M_Product_Total > 7120 )
85
parser.setVariable('RetAII', 0.06);
86
parser.parse
IF(( (M_Product_Category='ALQUILERES_RURAL' AND C_BPartnerTypeTAX = "No_Inscripto" ) ) )
87
parser.parse
IF(M_Product_Total > 7120 )
88
parser.setVariable('RetAII', 0.25);
89
parser.parse
IF( (M_Product_Total * 'RetAII') < 150 )
1500.2537.5150
90
parser.setVariable('C_Tax', 150);
91
92
93
Anexo II
94
Retenciones con Uso de Escalas
95
96
parser.parse
IF (DocType = AP_Payment)
97
parser.parse
IF(( (M_Product_Category='ALQUILERES_RURAL' AND C_BPartnerTypeTAX = "Inscripto" ) ) )
98
parser.parse
IF(M_Product_Total > 10700 )
99
parser.setVariable('RetAII', 'Escala');
100
parser.parse
IF(( (M_Product_Category='ALQUILERES_RURAL' AND C_BPartnerTypeTAX = "No_Inscripto" ) ) )