Diferencia entre revisiones de «Servicio Documentos Equivalentes Web Soap - Indice del Manual Integración Directa - Documentos Equivalentes Electrónicos»

De tfhkacolwiki
Ir a la navegación Ir a la búsqueda
Nhoyos (discusión | contribs.)
Página creada con «====<font color="blue">Class.FacturaGeneral</font>==== {| class="mw-collapsible mw-collapsed wikitable" ! style="background:#f2f2f2; text-align:center;"|Atributo ! style="…»
 
Nhoyos (discusión | contribs.)
Sin resumen de edición
 
Línea 1: Línea 1:
====<font color="blue">Class.FacturaGeneral</font>====  
====<font color="blue">Class.DocumentosReferenciados</font>====  
{| class="mw-collapsible mw-collapsed wikitable"
{| class="mw-collapsible mw-collapsed wikitable"
! style="background:#f2f2f2; text-align:center;"|Atributo
! style="background:#f2f2f2; text-align:center;"|Atributo
Línea 7: Línea 7:
! style="background:#f2f2f2; text-align:center;"|Descripción  
! style="background:#f2f2f2; text-align:center;"|Descripción  
|-
|-
|tipoDocumento
|numeroDocumento
|String
|String
| -
| -
|SI
|SI
|
|
:  
: Numero del documento Referenciado
:  
: '''PATH''': "/root/cac:AdditionalDocumentReference/cbc:ID
: Invoice, CreditNote, DebitNote
: /root/cac:DespatchDocumentReference/cbc:ID
|-  
: /root/cac:ReceiptDocumentReference/cbc:ID
|consecutivoDocumento
: /root/cac:DiscrepancyResponse/cbc:ReferenceID
: /Invoice/cac:BillingReference/cac:CreditNoteDocumentReference/cbc:ID
: /CreditNote/cac:BillingReference/cac:InvoiceDocumentReference/cbc:ID
: /DebitNote/cac:BillingReference/cac:InvoiceDocumentReference/cbc:ID"
|-
|cufeDocReferenciado
|String
|String
| -
| -
|SI
|SI
|
|
:
: '''PATH''': "/root/cac:AdditionalDocumentReference/cbc:UUID
: '''PATH''': root/cbc:ID
: /root/cac:DespatchDocumentReference/cbc:UUID
: (ver detalle en [["#Class.Autorizado|Class.Autorizado"]])
: /root/cac:ReceiptDocumentReference/cbc:UUID
|-
: /root/cac:DiscrepancyResponse/cbc:UUID
|fechaEmision
: /Invoice/cac:BillingReference/cac:CreditNoteDocumentReference/cbc:UUID
|String
: /CreditNote/cac:BillingReference/cac:InvoiceDocumentReference/cbc:UUID
| -
: /DebitNote/cac:BillingReference/cac:InvoiceDocumentReference/cbc:UUID"
|SI
|
: root/cbc:IssueDate, root/cbc:IssueTime
: root/cbc:IssueDate, root/cbc:IssueTime
: '''PATH''': root/cbc:IssueDate, root/cbc:IssueTime
|-
|moneda
|String
| -
| -
|
:  
: '''PATH''': root/cbc:DocumentCurrencyCode
: (ver detalle en)
|-
|-
|propina
|tipoCUFE
|String
|String
| -
| -
|
: Pendiente por verificar, Sin Uso en XML
:
|-
|cantidadDecimales
|cantidadDecimales
| -
| -
|SI
|SI
|
|
: Revisión
: '''PATH''': "/root/cac:AdditionalDocumentReference/cbc:UUID@schemeName
: Se envía la cantidad de Decimales a usar.
: root/cac:DespatchDocumentReference/cbc:UUID@schemeName
: /root/cac:ReceiptDocumentReference/cbc:UUID@schemeName
: /root/cac:DiscrepancyResponse/cbc:UUID@schemeName
: /Invoice/cac:BillingReference/cac:CreditNoteDocumentReference/cbc:UUID@schemeName
: /CreditNote/cac:BillingReference/cac:InvoiceDocumentReference/cbc:UUID@schemeName
: /DebitNote/cac:BillingReference/cac:InvoiceDocumentReference/cbc:UUID@schemeName"
|-
|-
|totalDescuentos
|fecha
|String
|String
| -
| -
|NO
|NO
|
|
: Descuento Global
: Extensible Duquesa - 140 Pedido
: '''PATH''': root/cac:LegalMonetaryTotal/cbc:AllowanceTotalAmount
: '''PATH''': "/root/cac:AdditionalDocumentReference/cbc:IssueDate
:
: /root/cac:DespatchDocumentReference/cbc:IssueDate
: /root/cac:ReceiptDocumentReference/cbc:IssueDate
:/Invoice/cac:BillingReference/cac:CreditNoteDocumentReference/cbc:IssueDate
:/CreditNote/cac:BillingReference/cac:InvoiceDocumentReference/cbc:IssueDate
:/DebitNote/cac:BillingReference/cac:InvoiceDocumentReference/cbc:IssueDate"
|-
|-
|totalBrutoSinImpuestos
|tipoDocumentoCodigo
|String
|String
| -
| -
|SI
|NO
|
|
: Subtotal sin impuestos
: Ejemplos en XML esta pero en anexo no
: SUMA((Cant*VU)+/- Cargos y Desc de linea)
: '''PATH''': "/root/cac:AdditionalDocumentReference/cbc:DocumentTypeCode
: '''PATH''': root/cac:LegalMonetaryTotal/cbc:LineExtensionAmount
: /root/cac:DespatchDocumentReference/cbc:DocumentTypeCode
: /root/cac:ReceiptDocumentReference/cbc:DocumentTypeCode"
|-
|-
|importeTotal
|tipoDocumento
|String
|String
| -
| -
|SI
|NO
|
|
: Sin uso para darlo de baja
: Ejemplos en XML esta pero en anexo no
:
: '''PATH''': "/root/cac:AdditionalDocumentReference/DocumentType
: '''PATH''':  
: /root/cac:DespatchDocumentReference/DocumentType
: /root/cac:ReceiptDocumentReference/DocumentType"
|-
|-
|redondeoAplicado
|codigoInterno
|String
|String
| -
| -
|SI
|SI
|
|
: Definido
: "Este campo decide si a que nodo XML se va a llenar:
:  
: 1 - AdditionalDocumentReference
: '''PATH''': /root/cac:LegalMonetaryTotal/cbc:PayableRoundingAmount
: 2 - DespatchDocumentReference
: 3 - ReceiptDocumentReference
: 4 - DiscrepancyResponse
: 5 - BillingReference"
: '''PATH''': NODEFINIDO
|-
|-
|totalAnticipos
|codigoEstatusDocumento
|String
|String
| -
| -
|NO
|NO
|
|Código de Estatus del Documento
: Definido
: Código de Estatus del Documento
:
: '''PATH''': "/root/cac:AdditionalDocumentReference/cbc:DocumentStatusCode
: '''PATH''': /root/cac:LegalMonetaryTotal/cbc:PrepaidAmount
: /root/cac:DespatchDocumentReference/cbc:DocumentStatusCode
: /root/cac:ReceiptDocumentReference/cbc:DocumentStatusCode
: /root/cac:DiscrepancyResponse/cbc:ResponseCode"
|-
|-
|ttotalBaseImponible
|descripcion
|String
|List<String>
| -
| -
|NO
|NO
|
|Descripción del Documento
: Definido
: Descripción del Documento
:
: '''PATH''': "/root/cac:AdditionalDocumentReference/cbc:DocumentDescription
: '''PATH''': ChargeTotalAmount
: /root/cac:DespatchDocumentReference/cbc:DocumentDescription
: /root/cac:ReceiptDocumentReference/cbc:DocumentDescription
: /root/cac:DiscrepancyResponse/cbc:Description"
|-
|-
|totalMonto
|fechaInicioValidez
|String
|String
| -
| -
|SI
|NO
|
|Fecha de Inicio de Validez
: Definido
: '''PATH''': "/root/cac:AdditionalDocumentReference/cac:ValidityPeriod/cbc:StartDate
:
: /root/cac:DespatchDocumentReference/cac:ValidityPeriod/cbc:StartDate
: '''PATH''': root/cac:LegalMonetaryTotal/cbc:PayableAmount
: /root/cac:ReceiptDocumentReference/cac:ValidityPeriod/cbc:StartDate"
|-
|-
|totalMonto
|fechaFinValidez
|String
|String
| -
| -
|SI
|NO
|
|Fecha de Fin de Validez
: Definido
: '''PATH''': "/root/cac:AdditionalDocumentReference/cac:ValidityPeriod/cbc:EndDate
:
: /root/cac:DespatchDocumentReference/cac:ValidityPeriod/cbc:EndDate
: '''PATH''': root/cac:LegalMonetaryTotal/cbc:PayableAmount
: /root/cac:ReceiptDocumentReference/cac:ValidityPeriod/cbc:EndDate"
|-
|-
|fechaVencimiento
|fextras
|String
|String
| -
| -
|SI
|NO
|
|Opcional sin uso
: Definido
: '''PATH''': NO DEFINIDO
:
|}
: '''PATH''': root/cbc:DueDate
 
 
<br>
 
====<font color="blue">OrdenDeCompra</font>====
{| class="mw-collapsible mw-collapsed wikitable"
! style="background:#f2f2f2; text-align:center;"|Atributo
! style="background:#f2f2f2; text-align:center;"|Tipo Dato
! style="background:#f2f2f2; text-align:center;"|Formato
! style="background:#f2f2f2; text-align:center;"|Requerido
! style="background:#f2f2f2; text-align:center;"|Descripción
|-
|-
|finformacionAdicional
|numeroDocumento
|String
|String
| -
| -
|SI
|SI
|
|Numero de Orden de Compra
: Definido
: Extensible Duquesa
:
: '''PATH''': /root/cac:OrderReference/cbc:ID
: '''PATH''': root/cbc:Note
|-
|-
|rangoNumeracion
|fecha
|String
|String
| -
|SI
|
: Definido
:
: '''PATH''': "root/ext:UBLExtensions/ext:UBLExtension/ext:ExtensionContent/sts:DianExtensions/sts:InvoiceControl/sts:AuthorizedInvoices/sts:Prefix
root/ext:UBLExtensions/ext:UBLExtension/ext:ExtensionContent/sts:DianExtensions/sts:InvoiceControl/sts:AuthorizedInvoices/sts:From"
|-
|cliente
|Class.Cliente
| -
|SI
|
: Definido
:
: '''PATH''':
|-
|impuestosGenerales
|List<Class.FacturaImpuestos>
| -
|SI
|
: FacturaImpuestos Concluiria en el campo TaxTotal
:
: '''PATH''':
|-
|detalleDeFactura
|List<Class.FacturaDetalle>
| -
|SI
|
:
:
: '''PATH''':
|-
|extras
|List<Class.Extras>
| -
| -
|NO
|NO
|
|Fecha
:  
: Extensible Duquesa
:
: '''PATH''': /root/cac:OrderReference/cbc:IssueDate + /root/cac:OrderReference/cbc:IssueTime
: '''PATH''':
|-
|-
|cargosDescuentos
|numeroPedido
|List<Class.CargosDescuentos>
|String
| -
| -
|NO
|NO
|
|Numero de Pedido
:  
: Extensible Duquesa
:
: '''PATH''': /root/cac:OrderReference/cbc:SalesOrderID
: '''PATH''': /root/AllowanceCharge
|-
|-
|fechaInicioPeriodoFacturacion
|tipoOrden
|String
|String
| -
| -
|NO
|NO
|
|Tipo de Orden de compra
:  
: Extensible Duquesa
:  
: '''PATH''': /root/cac:OrderReference/cbc:OrderTypeCode
: root/cac:InvoicePeriod/cbc:StartDate  +  root/cac:InvoicePeriod/cbc:StartTime
|-
|-
|entregaMercancia
|codigoCliente
|Class.Entrega
|String
| -
|NO
|
:
:
: /root/cac:Delivery
|-
|terminosEntrega
|Class.TerminosEntrega
| -
| -
|NO
|NO
|
|Codigo Cliente
:  
: Extensible Duquesa
:  
: '''PATH''': /root/cac:OrderReference/cbc:CustomerReference
: /root/cac:Delivery
|-
|mediosDePago
|List<Class.MediosDePago>
| -
|SI
|
:
:
: root/cac:PaymentMeans
|-
|anticipos
|List<Class.Anticipos>
| -
|NO
|
:
:
: root/PrepaidPayment
|-
|tasaDeCambio
|Class.TasaDeCambio
| -
|NO
|
:
: Tasa de Cambio
: root/cac:PaymentExchangeRate
|-
|tasaDeCambioAlternativa
|Class.TasaDeCambioAlternativa
| -
|NO
|
:
:
: /root/cac:PaymentAlternativeExchangeRate
|-
|-
|totalProductos
|uuid
|String
|String
| -
|SI
|
:
: Número o cantidad de elementos presentes en InvoiceLine
: /root/cbc:LineCountNumeric
|-
|autorizado
|Class.Autorizado
| -
|NO
|
:
:
: /Invoice/cac:TaxRepresentativeParty/
|-
|documentosReferenciados
|List<Class.DocumentoReferenciado>
| -
|CC
|
:
:
: /root/cac:AdditionalDocumentReference
|-
|ordenDeCompra
|List<Class.OrdenDeCompra>
| -
| -
|NO
|NO
|
|UUID de alguna referencia
:  
: Extensible Duquesa
:  
: '''PATH''': /root/cac:OrderReference/cbc:UUID
: /root/cac:OrderReference
|-
|-
|fechaPagoImpuestos
|tipoCUFE
|String
|String
| -
| -
|NO
|NO
|
|Tipo de CUFE
:  
: Extensible Duquesa
: Fecha de Pago de Impuestos
: '''PATH''': /root/cac:OrderReference/cbc:UUID@schemeName
: root/cbc:TaxPointDate
|-
|-
|tipoOperacion
|documentoReferencia
|String
|Class.DocumentoReferenciado
| -
|SI
|
:
: Tipo de Operacion
: /root/cbc:CustomizationID
|-
|destinatario
|List<Destinatario>
| -
| -
|NO
|NO
|
|Tipo de CUFE
:
: Documento Referencia
: 1 Interoperabilidad, en caso de otros tipos de envios se agregan
: '''PATH''': /root/cac:OrderReference/cac:DocumentReference
: No aplica
|-
|condicionPago
|List<Class.CondicionPago>
| -
|CC
|
:  
: Condiciones de Pago
: /root/cac:PaymentTerms
|-
|codigoCosto
|String
| -
|
|
:
: Codigo de referencia de pago.
: /root/cbc:AccountingCostCode

Revisión actual - 19:36 28 dic 2023

Class.DocumentosReferenciados

Atributo Tipo Dato Formato Requerido Descripción
numeroDocumento String - SI
Numero del documento Referenciado
PATH: "/root/cac:AdditionalDocumentReference/cbc:ID
/root/cac:DespatchDocumentReference/cbc:ID
/root/cac:ReceiptDocumentReference/cbc:ID
/root/cac:DiscrepancyResponse/cbc:ReferenceID
/Invoice/cac:BillingReference/cac:CreditNoteDocumentReference/cbc:ID
/CreditNote/cac:BillingReference/cac:InvoiceDocumentReference/cbc:ID
/DebitNote/cac:BillingReference/cac:InvoiceDocumentReference/cbc:ID"
cufeDocReferenciado String - SI
PATH: "/root/cac:AdditionalDocumentReference/cbc:UUID
/root/cac:DespatchDocumentReference/cbc:UUID
/root/cac:ReceiptDocumentReference/cbc:UUID
/root/cac:DiscrepancyResponse/cbc:UUID
/Invoice/cac:BillingReference/cac:CreditNoteDocumentReference/cbc:UUID
/CreditNote/cac:BillingReference/cac:InvoiceDocumentReference/cbc:UUID
/DebitNote/cac:BillingReference/cac:InvoiceDocumentReference/cbc:UUID"
tipoCUFE String - SI
PATH: "/root/cac:AdditionalDocumentReference/cbc:UUID@schemeName
root/cac:DespatchDocumentReference/cbc:UUID@schemeName
/root/cac:ReceiptDocumentReference/cbc:UUID@schemeName
/root/cac:DiscrepancyResponse/cbc:UUID@schemeName
/Invoice/cac:BillingReference/cac:CreditNoteDocumentReference/cbc:UUID@schemeName
/CreditNote/cac:BillingReference/cac:InvoiceDocumentReference/cbc:UUID@schemeName
/DebitNote/cac:BillingReference/cac:InvoiceDocumentReference/cbc:UUID@schemeName"
fecha String - NO
Extensible Duquesa - 140 Pedido
PATH: "/root/cac:AdditionalDocumentReference/cbc:IssueDate
/root/cac:DespatchDocumentReference/cbc:IssueDate
/root/cac:ReceiptDocumentReference/cbc:IssueDate
/Invoice/cac:BillingReference/cac:CreditNoteDocumentReference/cbc:IssueDate
/CreditNote/cac:BillingReference/cac:InvoiceDocumentReference/cbc:IssueDate
/DebitNote/cac:BillingReference/cac:InvoiceDocumentReference/cbc:IssueDate"
tipoDocumentoCodigo String - NO
Ejemplos en XML esta pero en anexo no
PATH: "/root/cac:AdditionalDocumentReference/cbc:DocumentTypeCode
/root/cac:DespatchDocumentReference/cbc:DocumentTypeCode
/root/cac:ReceiptDocumentReference/cbc:DocumentTypeCode"
tipoDocumento String - NO
Ejemplos en XML esta pero en anexo no
PATH: "/root/cac:AdditionalDocumentReference/DocumentType
/root/cac:DespatchDocumentReference/DocumentType
/root/cac:ReceiptDocumentReference/DocumentType"
codigoInterno String - SI
"Este campo decide si a que nodo XML se va a llenar:
1 - AdditionalDocumentReference
2 - DespatchDocumentReference
3 - ReceiptDocumentReference
4 - DiscrepancyResponse
5 - BillingReference"
PATH: NODEFINIDO
codigoEstatusDocumento String - NO Código de Estatus del Documento
Código de Estatus del Documento
PATH: "/root/cac:AdditionalDocumentReference/cbc:DocumentStatusCode
/root/cac:DespatchDocumentReference/cbc:DocumentStatusCode
/root/cac:ReceiptDocumentReference/cbc:DocumentStatusCode
/root/cac:DiscrepancyResponse/cbc:ResponseCode"
descripcion List<String> - NO Descripción del Documento
Descripción del Documento
PATH: "/root/cac:AdditionalDocumentReference/cbc:DocumentDescription
/root/cac:DespatchDocumentReference/cbc:DocumentDescription
/root/cac:ReceiptDocumentReference/cbc:DocumentDescription
/root/cac:DiscrepancyResponse/cbc:Description"
fechaInicioValidez String - NO Fecha de Inicio de Validez
PATH: "/root/cac:AdditionalDocumentReference/cac:ValidityPeriod/cbc:StartDate
/root/cac:DespatchDocumentReference/cac:ValidityPeriod/cbc:StartDate
/root/cac:ReceiptDocumentReference/cac:ValidityPeriod/cbc:StartDate"
fechaFinValidez String - NO Fecha de Fin de Validez
PATH: "/root/cac:AdditionalDocumentReference/cac:ValidityPeriod/cbc:EndDate
/root/cac:DespatchDocumentReference/cac:ValidityPeriod/cbc:EndDate
/root/cac:ReceiptDocumentReference/cac:ValidityPeriod/cbc:EndDate"
fextras String - NO Opcional sin uso
PATH: NO DEFINIDO



OrdenDeCompra

Atributo Tipo Dato Formato Requerido Descripción
numeroDocumento String - SI Numero de Orden de Compra
Extensible Duquesa
PATH: /root/cac:OrderReference/cbc:ID
fecha String - NO Fecha
Extensible Duquesa
PATH: /root/cac:OrderReference/cbc:IssueDate + /root/cac:OrderReference/cbc:IssueTime
numeroPedido String - NO Numero de Pedido
Extensible Duquesa
PATH: /root/cac:OrderReference/cbc:SalesOrderID
tipoOrden String - NO Tipo de Orden de compra
Extensible Duquesa
PATH: /root/cac:OrderReference/cbc:OrderTypeCode
codigoCliente String - NO Codigo Cliente
Extensible Duquesa
PATH: /root/cac:OrderReference/cbc:CustomerReference
uuid String - NO UUID de alguna referencia
Extensible Duquesa
PATH: /root/cac:OrderReference/cbc:UUID
tipoCUFE String - NO Tipo de CUFE
Extensible Duquesa
PATH: /root/cac:OrderReference/cbc:UUID@schemeName
documentoReferencia Class.DocumentoReferenciado - NO Tipo de CUFE
Documento Referencia
PATH: /root/cac:OrderReference/cac:DocumentReference