You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: website/openapi_v2.en.yaml
+26-6Lines changed: 26 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -10817,8 +10817,7 @@ components:
10817
10817
- `false`: Indicates that the price attribute does not include taxes, so those taxes to be applied will be added to the final price.
10818
10818
taxability:
10819
10819
type: string
10820
-
default: |
10821
-
`"01"` if the `taxes` array is empty; `"02"` if the `taxes` array has at least one element.
10820
+
default: "02"
10822
10821
enum:
10823
10822
- "01"
10824
10823
- "02"
@@ -10841,14 +10840,23 @@ components:
10841
10840
- `08`: Not Subject to tax IVA, and not required IEPS breakdown.
10842
10841
taxes:
10843
10842
type: array
10844
-
default: IVA (VAT) transferred 16%
10843
+
default:
10844
+
- type: IVA
10845
+
rate: 0.16
10845
10846
example:
10846
10847
[{
10847
10848
"type": "IVA",
10848
10849
"rate": 0.16
10849
10850
}]
10850
10851
description: |
10851
-
List of taxes that must be applied to this product. If the parameter is omitted or null, it will be saved with an element representing the transferred IVA (VAT) of 16%, which is the most common tax. If an empty array is explicitly sent, it is understood that the product is exempt from taxes.
10852
+
List of taxes that must be applied to this product.
10853
+
10854
+
Resolution when `taxes` is omitted or `null`:
10855
+
- `taxability` omitted or `"02"`: IVA (VAT) transferred 16% is added.
10856
+
- `taxability` in `"01"`, `"03"`, `"04"`, `"05"`, `"06"`, or `"08"`: `[]` is stored.
10857
+
- `taxability = "07"`: the request is invalid; you must provide at least one transferred IEPS tax and include no IVA taxes.
10858
+
10859
+
If you send `taxes` explicitly, the provided array is used.
10852
10860
items:
10853
10861
$ref: "#/components/schemas/BaseTax"
10854
10862
local_taxes:
@@ -10911,6 +10919,9 @@ components:
10911
10919
- "03"
10912
10920
- "04"
10913
10921
- "05"
10922
+
- "06"
10923
+
- "07"
10924
+
- "08"
10914
10925
description: |
10915
10926
Code that represents whether the good or service is subject to tax or not. This attribute corresponds to the "ObjetoImp" field in the CFDI.
10916
10927
@@ -10921,9 +10932,18 @@ components:
10921
10932
- `05`: Subject to tax, VAT credit PODEBI.
10922
10933
taxes:
10923
10934
type: array
10924
-
default: IVA (VAT) transferred 16%
10935
+
default:
10936
+
- type: IVA
10937
+
rate: 0.16
10925
10938
description: |
10926
-
List of taxes that must be applied to this product. If the parameter is omitted or null, it will be saved with an element representing the transferred IVA (VAT) of 16%, which is the most common tax. If an empty array is explicitly sent, it is understood that the product is exempt from taxes.
10939
+
List of taxes that must be applied to this product.
10940
+
10941
+
Resolution when `taxes` is omitted or `null`:
10942
+
- `taxability` omitted or `"02"`: IVA (VAT) transferred 16% is added.
10943
+
- `taxability` in `"01"`, `"03"`, `"04"`, `"05"`, `"06"`, or `"08"`: `[]` is stored.
10944
+
- `taxability = "07"`: the request is invalid; you must provide at least one transferred IEPS tax and include no IVA taxes.
10945
+
10946
+
If you send `taxes` explicitly, the provided array is used.
Copy file name to clipboardExpand all lines: website/openapi_v2.yaml
+28-6Lines changed: 28 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -11061,8 +11061,7 @@ components:
11061
11061
- `false`: Indica que el atributo price no incluye impuestos, por lo que aquellos impuestos a aplicar se sumarán en el precio final.
11062
11062
taxability:
11063
11063
type: string
11064
-
default: |
11065
-
'01' si el array `taxes` está vacío; '02' si el array `taxes` tiene por lo menos un elemento.
11064
+
default: "02"
11066
11065
enum:
11067
11066
- "01"
11068
11067
- "02"
@@ -11085,13 +11084,23 @@ components:
11085
11084
- `08`: No traslado de IVA sin desglose de IEPS.
11086
11085
taxes:
11087
11086
type: array
11088
-
default: IVA trasladado 16%
11087
+
default:
11088
+
- type: IVA
11089
+
rate: 0.16
11089
11090
example:
11090
11091
[{
11091
11092
"type": "IVA",
11092
11093
"rate": 0.16
11093
11094
}]
11094
-
description: Lista de impuestos que deberán aplicarse a este producto. Si el parámetro se omite o es nulo, se guardará con un elemento que representa el IVA trasladado del 16%, que es el impuesto más común. En caso de mandar explícitamente un arreglo vacío, se entiende que el producto está exento de impuestos.
11095
+
description: |
11096
+
Lista de impuestos que deberán aplicarse a este producto.
11097
+
11098
+
Resolución cuando `taxes` se omite o es `null`:
11099
+
- `taxability` omitido o `"02"`: se agrega IVA trasladado 16%.
11100
+
- `taxability` en `"01"`, `"03"`, `"04"`, `"05"`, `"06"` o `"08"`: se guarda `[]`.
11101
+
- `taxability = "07"`: la solicitud es inválida; debes enviar al menos un IEPS de traslado y no incluir IVA.
11102
+
11103
+
Si envías `taxes` explícitamente, se usa el arreglo enviado.
11095
11104
items:
11096
11105
$ref: "#/components/schemas/BaseTax"
11097
11106
local_taxes:
@@ -11144,6 +11153,9 @@ components:
11144
11153
- "03"
11145
11154
- "04"
11146
11155
- "05"
11156
+
- "06"
11157
+
- "07"
11158
+
- "08"
11147
11159
description: |
11148
11160
Código que representa si el bien o servicio es objeto de impuesto o no. Este atributo corresponde al campo "ObjetoImp" en el CFDI.
11149
11161
@@ -11154,8 +11166,18 @@ components:
11154
11166
- `05`: Sí objeto de impuesto, IVA crédito PODEBI.
11155
11167
taxes:
11156
11168
type: array
11157
-
default: IVA trasladado 16%
11158
-
description: Lista de impuestos que deberán aplicarse a este producto. Si el parámetro se omite o es nulo, se guardará con un elemento que representa el IVA trasladado del 16%, que es el impuesto más común. En caso de mandar explícitamente un arreglo vacío, se entiende que el producto está exento de impuestos.
11169
+
default:
11170
+
- type: IVA
11171
+
rate: 0.16
11172
+
description: |
11173
+
Lista de impuestos que deberán aplicarse a este producto.
11174
+
11175
+
Resolución cuando `taxes` se omite o es `null`:
11176
+
- `taxability` omitido o `"02"`: se agrega IVA trasladado 16%.
11177
+
- `taxability` en `"01"`, `"03"`, `"04"`, `"05"`, `"06"` o `"08"`: se guarda `[]`.
11178
+
- `taxability = "07"`: la solicitud es inválida; debes enviar al menos un IEPS de traslado y no incluir IVA.
11179
+
11180
+
Si envías `taxes` explícitamente, se usa el arreglo enviado.
0 commit comments