-
Notifications
You must be signed in to change notification settings - Fork 156
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Se documentan los campos de los casos. Se agregan nuevos casos.
- Loading branch information
Showing
33 changed files
with
371 additions
and
0 deletions.
There are no files selected for viewing
23 changes: 23 additions & 0 deletions
23
tests/resources/yaml/documentos_ok/033_factura_afecta/033_001_simple.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
34 changes: 34 additions & 0 deletions
34
...ces/yaml/documentos_ok/033_factura_afecta/033_009_servicios_periodicos_domiciliarios.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
Encabezado: | ||
IdDoc: | ||
TipoDTE: 33 | ||
Folio: 1 | ||
# IndServicio: Código 1 corresponde Factura de servicios periódicos domiciliarios. | ||
IndServicio: 1 | ||
FchVenc: '2024-10-31' | ||
Emisor: | ||
RUTEmisor: 12345678-5 | ||
RznSoc: Compañía de Gas | ||
GiroEmis: DISTRIBUCION DE COMBUSTIBLES GASEOSOS POR TUBERIA | ||
Acteco: 352020 | ||
DirOrigen: Santa Cruz | ||
CmnaOrigen: Santa Cruz | ||
Receptor: | ||
RUTRecep: 76192083-9 | ||
RznSocRecep: SASCO SpA | ||
GiroRecep: Tecnología, informática y telecomunicaciones | ||
DirRecep: Santa Cruz | ||
CmnaRecep: Santa Cruz | ||
Detalle: | ||
- NmbItem: Servicio de gas | ||
QtyItem: 99 | ||
UnmdRef: m3 | ||
PrcItem: 540 | ||
|
||
# Esta sección no debe de ser considerada para un caso de ejemplo de emisión. | ||
Test: | ||
ExpectedValues: | ||
Encabezado: | ||
Totales: | ||
MntNeto: 53460 | ||
IVA: 10157 | ||
MntTotal: 63617 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
44 changes: 44 additions & 0 deletions
44
tests/resources/yaml/documentos_ok/052_guia_despacho/052_003_guia_devolucion.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
Encabezado: | ||
IdDoc: | ||
TipoDTE: 52 | ||
Folio: 1 | ||
TipoDespacho: 1 | ||
# IndTraslado: Código 7 indica Guía de devolución. - Largo máx: 1 - Tipo: NÚM. | ||
IndTraslado: 7 | ||
TermPagoGlosa: DEVOLUCION POR NO CORRESPONDER A LO SOLICITADO SEGUN FACTURA | ||
# En las guías de devolución el Receptor del documento que se hace referencia se convierte en el Emisor de la guía de devolución. | ||
# y el Emisor del documento que se hace referencia se convierte en el Receptor de la guía de devolución. | ||
Emisor: | ||
RUTEmisor: 1234567-4 | ||
RznSoc: Antonio Rosales | ||
GiroEmis: Venta al por menor de muebles | ||
Acteco: 523330 | ||
DirOrigen: Calle 432 | ||
CmnaOrigen: Hong Kong | ||
Receptor: | ||
RUTRecep: 76192083-9 | ||
RznSocRecep: SASCO SpA | ||
GiroRecep: Tecnología, informática y telecomunicaciones | ||
DirRecep: Santa Cruz | ||
CiudadRecep: Santa Cruz | ||
Transporte: | ||
DirDest: Calle 123 | ||
CmnaDest: Santiago | ||
Detalle: | ||
- NmbItem: Impresora | ||
QtyItem: 1 | ||
PrcItem: 31500 | ||
Referencia: | ||
- TpoDocRef: 33 | ||
FolioRef: 1 | ||
FchRef: '2016-01-01' | ||
CodRef: 1 | ||
|
||
# Esta sección no debe de ser considerada para un caso de ejemplo de emisión. | ||
Test: | ||
ExpectedValues: | ||
Encabezado: | ||
Totales: | ||
MntNeto: 31500 | ||
IVA: 5985 | ||
MntTotal: 37485 |
Oops, something went wrong.