Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
46 changes: 46 additions & 0 deletions website/openapi_v2.en.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13133,6 +13133,20 @@ components:
properties:
data:
$ref: "#/components/schemas/ComercioExteriorDataInput"
LeyendasFiscalesProperties:
allOf:
- $ref: "#/components/schemas/CartaPorteOrCustomComplementProperties"
- type: object
properties:
data:
$ref: "#/components/schemas/LeyendasFiscalesData"
LeyendasFiscalesInput:
allOf:
- $ref: "#/components/schemas/CartaPorteOrCustomComplementInput"
- type: object
properties:
data:
$ref: "#/components/schemas/LeyendasFiscalesData"
CartaPorteOrCustomComplementProperties:
title: Complement
type: object
Expand All @@ -13141,13 +13155,15 @@ components:
mapping:
carta_porte: "#/components/schemas/CartaPorteProperties"
comercio_exterior: "#/components/schemas/ComercioExteriorProperties"
leyendas_fiscales: "#/components/schemas/LeyendasFiscalesProperties"
custom: "#/components/schemas/CustomComplementProperties"
properties:
type:
type: string
enum:
- carta_porte
- comercio_exterior
- leyendas_fiscales
- custom
description: Type of complement
CartaPorteOrCustomComplementInput:
Expand All @@ -13159,6 +13175,7 @@ components:
custom: "#/components/schemas/CustomComplementInput"
carta_porte: "#/components/schemas/CartaPorteInput"
comercio_exterior: "#/components/schemas/ComercioExteriorInput"
leyendas_fiscales: "#/components/schemas/LeyendasFiscalesInput"
required:
- type
- data
Expand All @@ -13168,8 +13185,37 @@ components:
enum:
- carta_porte
- comercio_exterior
- leyendas_fiscales
- custom
description: Type of complement
LeyendasFiscalesData:
type: object
title: LeyendasFiscales
description: Fiscal Legends complement version 1.0.
required:
- leyendas
properties:
leyendas:
type: array
minItems: 1
description: Fiscal legends to include in the document.
items:
type: object
required:
- texto_leyenda
properties:
disposicion_fiscal:
type: string
minLength: 1
description: Tax provision applicable to the legend.
norma:
type: string
minLength: 1
description: Regulation governing the legend.
texto_leyenda:
type: string
minLength: 1
description: Text of the fiscal legend.
CartaPorteDataProperties:
type: object
title: CartaPorte
Expand Down
46 changes: 46 additions & 0 deletions website/openapi_v2.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13338,6 +13338,20 @@ components:
properties:
data:
$ref: "#/components/schemas/ComercioExteriorDataInput"
LeyendasFiscalesProperties:
allOf:
- $ref: "#/components/schemas/CartaPorteOrCustomComplementProperties"
- type: object
properties:
data:
$ref: "#/components/schemas/LeyendasFiscalesData"
LeyendasFiscalesInput:
allOf:
- $ref: "#/components/schemas/CartaPorteOrCustomComplementInput"
- type: object
properties:
data:
$ref: "#/components/schemas/LeyendasFiscalesData"
CartaPorteOrCustomComplementProperties:
title: Complement
type: object
Expand All @@ -13346,13 +13360,15 @@ components:
mapping:
carta_porte: "#/components/schemas/CartaPorteProperties"
comercio_exterior: "#/components/schemas/ComercioExteriorProperties"
leyendas_fiscales: "#/components/schemas/LeyendasFiscalesProperties"
custom: "#/components/schemas/CustomComplementProperties"
properties:
type:
type: string
enum:
- carta_porte
- comercio_exterior
- leyendas_fiscales
- custom
description: Tipo de complemento.
CartaPorteOrCustomComplementInput:
Expand All @@ -13364,6 +13380,7 @@ components:
custom: "#/components/schemas/CustomComplementInput"
carta_porte: "#/components/schemas/CartaPorteInput"
comercio_exterior: "#/components/schemas/ComercioExteriorInput"
leyendas_fiscales: "#/components/schemas/LeyendasFiscalesInput"
required:
- type
- data
Expand All @@ -13373,8 +13390,37 @@ components:
enum:
- carta_porte
- comercio_exterior
- leyendas_fiscales
- custom
description: Tipo de complemento.
LeyendasFiscalesData:
type: object
title: LeyendasFiscales
description: Complemento de Leyendas Fiscales versión 1.0.
required:
- leyendas
properties:
leyendas:
type: array
minItems: 1
description: Leyendas fiscales a incluir en el comprobante.
items:
type: object
required:
- texto_leyenda
properties:
disposicion_fiscal:
type: string
minLength: 1
description: Disposición fiscal aplicable a la leyenda.
norma:
type: string
minLength: 1
description: Norma que regula la leyenda.
texto_leyenda:
type: string
minLength: 1
description: Texto de la leyenda fiscal.
CartaPorteDataProperties:
type: object
title: CartaPorte
Expand Down