Lista de opciones a seleccionar en el editor para generar los archivos EDI 214 y 210 para el carrier APTIV (APTIV - Global Electronic Invoice Requirements Rev. 1.5).
EDI 214 — Transportation Carrier Shipment Status
Configuración Global
Campo Opción a seleccionar ID Terminador de segmento EDI Tilde (~) tilde
Elemento Descripción Opción ISA05 Interchange ID Qualifier (Sender) qualifier_zz → “ZZ” (Mutually Defined)ISA06 Interchange Sender ID isa06_scac → desde dsSolicitudesEDIDetalle.SCACISA07 Interchange ID Qualifier (Receiver) qualifier_zz → “ZZ” (Mutually Defined)ISA08 Interchange Receiver ID isa08_interchange_receiver → desde InterchangeReceiverID (“APTIV”)ISA15 Test Indicator test_indicator_variable → desde m_sTipoISA16 Component Element Separator pipe → ”|“
Elemento Opción GS02 (Application Sender’s Code) gs02_sgsscac → desde sGSSCACGS03 (Application Receiver’s Code) gs03_interchange_receiver → desde InterchangeReceiverID (“APTIV”)
B10 — Beginning Segment
Elemento Opción B1003 (SCAC) b1003_scac → desde m_sSCACAplicacion
L11 (posición 5) — Load Number
Segmento Opción Descripción L11 l11_ld_load_number (nuevo) L1101 = RunNumber, L1102 = "LD"
N1-SH (posición 6) — Ship From Name (nuevo segmento)
Segmento Opción Descripción N1-SH n1_sh_dynamicN101 = "SH", N102 = ShipFromName dinámico
N3-SH (posición 7) — Ship From Address (nuevo segmento)
Segmento Opción Descripción N3-SH n3_sh_addressN301 = ShipFromAddress1
N4-SH (posición 8) — Ship From Location (nuevo segmento)
Segmento Opción Descripción N4-SH n4_sh_locationN401/402/403/404 = ShipFrom City/State/Zip/Country
N1-CN (posición 9) — Consignee Name (nuevo segmento)
Segmento Opción Descripción N1-CN n1_cn_dynamicN101 = "CN", N102 = ShipToName dinámico
N3-CN (posición 10) — Consignee Address (nuevo segmento)
Segmento Opción Descripción N3-CN n3_cn_addressN301 = ShipToAddress1, N302 = ShipToAddress2
N4-CN (posición 11) — Consignee Location (nuevo segmento)
Segmento Opción Descripción N4-CN n4_cn_locationN401/402/403/404 = ShipTo City/State/Zip/Country
G62-Pickup (posición 12) — Actual Pickup Date (nuevo segmento)
Segmento Opción Descripción G62-Pickup g62_pickup_dateG6201 = "86", G6202 = clViaje.m_dtFechaCarga (YYYYMMDD)
G62-Delivery (posición 13) — Estimated Delivery Date (nuevo segmento)
Segmento Opción Descripción G62-Delivery g62_delivery_dateG6201 = "17", G6202 = clViaje.m_dtFechaEntrega (YYYYMMDD)
LX — Assigned Number
Segmento Opción Descripción LX lx_variable_stopnumLX01 = dsSolicitudesEDIDetalle.StopNum
AT7 — Shipment Status Details
Elemento Opción Descripción AT707 (Time Code) time_code_ct”CT” (Central)
MS1 — Equipment Location
Segmento Opción Descripción MS1 ms1_with_locationCity/State/Country condicional: ShipFrom si carga, ShipTo si descarga
MS2 — Equipment Owner and Type
Segmento Opción Descripción MS2 ms2_variable_codeMS201 = IdentificadorSCAC, MS202 = placa unidad, MS203 = tabla
L11-BM (antes pos 10), L11-QN (antes pos 11), L11-2I (antes pos 12)
Tres segmentos opcionales que APTIV no utiliza:
Segmento Opción Descripción L11-BM omit_bmNo incluir L11-QN omit_qnNo incluir L11-2I omit_2iNo incluir
N1, N3, N4 (segmentos legacy — APTIV no los usa)
Estos segmentos existen para otros carriers (ej. LEAR CORP). APTIV usa los nuevos N1-SH/N3-SH/N4-SH/N1-CN/N3-CN/N4-CN de arriba.
Segmento Opción N1 n1_excludedN3 n3_excludedN4 n4_excluded
MS3 — Interline Service Provider
Segmento Opción Subelementos MS3 ms3_alwaysMS301 → ms301_identificador (IdentificadorSCAC), MS302 = "O", MS304 = "M"
AT8 — Shipment Status / Weight
Segmento Opción Descripción AT8 at8_standardAT801 = WeightQualifier ("G"), AT802 = WeightUnitCode, AT803 = Weight, AT804 = LadingQuantity
⚠️ Nota pendiente: El mapeo APTIV requiere AT804 = Pieces (no LadingQuantity) y AT805 = PalletsShipped. La opción at8_standard actual usa LadingQuantity para AT804 y no incluye AT805. Requiere agregar una opción at8_aptiv en una iteración futura.
Segmento Opción Descripción K1 k1_remarksK101 = dsSolicitudesEDIDetalle.ReportRemarks
K1 es opcional. Si no hay observaciones, seleccionar k1_excluded.
IEA — Interchange Control Trailer
Segmento Opción Descripción IEA iea_standardSin tilde adicional (el ~ ya está incluido por el terminador global)
Orden de segmentos en el documento generado
ISA*ZZ*{SCAC}*ZZ*APTIV*{YYMMDD}*{HHMM}*U*00401*{ID}*0*{P/T}*|~
GS*QM*{SCAC}*APTIV*{YYYYMMDD}*{HHMM}*{ID}*X*004010~
B10*{CarrierPro}*{IdentSolicitud}*{SCACAplicacion}~
N4*{ShipFromCity}*{ShipFromState}*{ShipFromZip}*{ShipFromCountry}~
N3*{ShipToAddress1}*{ShipToAddress2}~
N4*{ShipToCity}*{ShipToState}*{ShipToZip}*{ShipToCountry}~
G62*86*{FechaCarga_YYYYMMDD}~
G62*17*{FechaEntrega_YYYYMMDD}~
AT7*{EstatusAbrev}*{MotivoRetraso}**{FechaEstatus}*{HoraEstatus}*CT~
MS1*{City}*{State}*{Country}~
MS2*{IdentificadorSCAC}*{PlacaUnidad}*{EquivalenciaEDI}~
SE*{ContadorSegmentos}*{Reference}~
Resumen: lo que distingue a APTIV de Penske
Característica APTIV Penske segment_terminator~'' (sin ~ por segmento)ISA05/07 ZZ02 / desde dataISA06 SCACInterchangeReceiverIDISA08 InterchangeReceiverID (“APTIV”)SCACL11 (pos 5) l11_ld_load_number (LD)rn_ma_tn_penske (RN/MA)N1-SH / N3-SH / N4-SH n1_sh_dynamic / n3_sh_address / n4_sh_locationNo usados (excluded) N1-CN / N3-CN / N4-CN n1_cn_dynamic / n3_cn_address / n4_cn_locationNo usados (excluded) G62 Pickup / Delivery g62_pickup_date / g62_delivery_dateNo usados (excluded) LX lx_variable_stopnumlx_fixed_oneAT707 (Time Zone) time_code_ct (CT)time_code_lt (LT)MS1 ms1_with_locationms1_penske_combinedK1 Remarks k1_remarks (opcional)No usado IEA iea_standardiea_with_tilde
Basado en: APTIV - Global Electronic Invoice Requirements Rev. 1.5 (2026-03-25)
Templates: EDI_214_GENERIC_TEMPLATE y EDI_210_GENERIC_TEMPLATE en src/pages/dashboard/edis/edisTemplates.ts
EDI 210 — Motor Carrier Freight Details and Invoice
Configuración Global
Campo Opción a seleccionar ID Terminador de segmento EDI Tilde (~) tilde
Elemento Descripción Opción ISA05 Interchange ID Qualifier (Sender) qualifier_zz → “ZZ” (Mutually Defined)ISA06 Interchange Sender ID isa06_scac_cliente → desde sScacClienteISA07 Interchange ID Qualifier (Receiver) Fijo "ZZ" — no requiere selección ISA08 Interchange Receiver ID isa08_aptiv → “APTIV” (fijo)ISA15 Test Indicator isa15_p → “P” (producción) / isa15_t → “T” (pruebas)ISA16 Component Element Separator isa16_pipe → ”|“
Elemento Opción GS03 (Application Receiver’s Code) gs03_aptiv → “APTIV” (fijo)GS05 (Time format) gs05_hhmm → formato HHMM
B3 — Beginning Segment for Motor Freight Details and Invoice
Elemento Descripción Opción B301 Shipment Qualifier b301_b → “B”B302 Invoice Number b302_folio → clFolio.m_nFolioInicialB303 Shipment ID b303_ident_solicitud → ProSolicitudesEDI.IdentSolicitudB304 Payment Method b304_cc → “CC” (Collect)B305 Weight Unit Code b305_weight_unit → dsEDIDetalle.WeightUnitCodeB306 Invoice Date b306_fecha_factura → clFactura.m_dtFechaFactura (YYYYMMDD)B307 Net Amount Due b307_total → clFactura.m_cyTotalB308 Correction Indicator b308_tipo_factura → ClsProFacturas.TipoFacturaB309 Delivery Date b309_fecha_llegada → ProSolicitudesEDI.FechaHoraLlegada (YYYYMMDD)B310 Date/Time Qualifier Fijo "035" — no requiere selección B311 SCAC Code Fijo sScacCliente — no requiere selección B312 Ship Date b312_fecha_salida → ProSolicitudesEDI.FechaHoraSalida (YYYYMMDD)B313 Service Code b313_dd → “DD” (Door-Door)B314 Dock Number b314_dock_num → ProSolicitudesEDIDetalles.DockNum
C3 — Currency
Segmento Opción Descripción C3 c3_includedC301 = sAbreviacionMoneda (sin C302)
N9 — Reference Identification
Segmento Opción Descripción N9 n9_po_aptivN901 = "PO" (fijo), N902 = dsEDIDetalle.PO
G62 — Date/Time Reference
Segmento Opción Descripción G62 g62_11G6201 = "11" (fijo), G6202 = ProSolicitudesEDI.FechaHoraSalida (YYYYMMDD)
H3 — Hazardous Classification
Segmento Opción Descripción H3 h3_excludedNo incluir
Segmento Opción Descripción R3 r3_aptivR302 = "B", R304 = "M" (Motor), R310 = "ST"
N1-SH / N3-SH / N4-SH — Ship From (clRemitente)
Segmento Opción Descripción N1-SH n1_sh_aptivN101 = "SH", N102 = clRemitente.m_sNombre N3-SH n3_sh_aptivN301 = clRemitente.m_sDireccion N4-SH n4_sh_aptivN401–404 = City/State/ZIP/Country desde clRemitente
N1-CN / N3-CN / N4-CN — Consignee (clDestinatario)
Segmento Opción Descripción N1-CN n1_cn_aptivN101 = "CN", N102 = clDestinatario.m_sNombre N3-CN n3_cn_aptivN301 = clDestinatario.m_sDireccion N4-CN n4_cn_aptivN401–404 = City/State/ZIP/Country desde clDestinatario
N1-BT / N3-BT / N4-BT — Bill To (dsEDIDetalle)
Segmento Opción Descripción N1-BT n1_bt_aptivN101 = "BT", N102 = dsEDIDetalle.BillToName N3-BT n3_bt_aptivN301 = dsEDIDetalle.BillToAddress1 N4-BT n4_bt_aptivN401–404 = dsEDIDetalle.BillToCity/State/Zip/Country
N1 / N3 / N4 legacy (segmentos clCliente — APTIV no los usa)
Existen para otros carriers (AUTOLIV, ADIENT, OOCL). APTIV usa los bloques SH/CN/BT de arriba.
Segmento Opción N1 legacy n1_legacy_excludedN3 legacy n3_legacy_excludedN4 legacy n4_legacy_excluded
N7 — Equipment Details
Segmento Opción Descripción N7 n7_aptivN702 = dsEDIDetalle.EquipmentInitial, N711 = dsEDIDetalle.EquipmentDescription, N715 = dsEDIDetalle.EquipmentLength
LX — Loop de Cargos (L0 / L4 / L5 / L1)
Segmento Opción Descripción LX lx_aptivLoop repetido por cada línea en ProViajesDescripcionesCarga, incluye L0 / L4 / L5 / L1
Elementos incluidos en el loop lx_aptiv:
Segmento EDI Element ID Fuente / Valor LX LX01 Calculado (nRenglon) L0 L001 Calculado (nRenglon) L0 L002 dsEDIDetalle.WeightL0 L004 dsEDIDetalle.WeightL0 L005 Fijo "N" L0 L006 dsEDIDetalle.VolumeL0 L007 Fijo "X" L0 L008 dsEDIDetalle.LadingQuantityL0 L009 dsEDIDetalle.PalletExchangeCodeL0 L011 dsEDIDetalle.WeightUOML0 L013 dsEDIDetalle.PiecesL0 L014 dsEDIDetalle.PalletExchangeCodeL4 L401 Fijo "100" L4 L402 Fijo "100" L4 L403 Fijo "100" L4 L404 Fijo "C" L5 L501 Calculado (nRenglon) L5 L502 dsEDIDetalle.LadingDecriptionL1 L101 Calculado (nRenglon) L1 L104 ProViajesDescripcionesCarga.TarifaL1 L108 ProViajesDescripcionesCarga.ImporteL1 L117 ProViajesDescripcionesCarga.TarifaAplicadaPorL1 L118 ProViajesDescripcionesCarga.IdUnidadMedidadPesoL1 L121 ProViajesDescripcionesCarga.Importe
L3 — Total Weight and Charges
Segmento Opción Descripción L3 l3_aptivL301 = TotalFreightWeight, L302 = "B", L305 = TotalFreightCost, L311 = LadingQuantity, L312 = WeightUOM
Segmento Opción Descripción K1 k1_remarksK101 = dsEDIDetalle.ReportRemarks (opcional)
Si no hay observaciones, seleccionar k1_excluded.
Orden de segmentos en el documento EDI 210 generado
ISA*ZZ*{sScacCliente}*ZZ*APTIV*{YYMMDD}*{HHMM}*U*00401*{gnIdFactura}*0*{P/T}*|~
GS*IM*{sScacCliente}*APTIV*{YYYYMMDD}*{HHMM}*{gnIdFactura}*X*004010~
ST*210*{gnIdFactura_04d}~
B3*B*{InvoiceNum}*{IdentSolicitud}*CC*{WeightUnitCode}*{InvoiceDate}*{Total}*{TipoFactura}*{FechaLlegada}*035*{SCAC}*{FechaSalida}*DD*{DockNum}~
G62*11*{FechaSalida_YYYYMMDD}~
N4*{RemitenteCity}*{RemitenteState}*{RemitenteCP}*{RemitentePais}~
N1*CN*{DestinatarioName}~
N3*{DestinatarioDireccion}~
N4*{DestinatarioCity}*{DestinatarioState}*{DestinatarioCP}*{DestinatarioPais}~
N4*{BillToCity}*{BillToState}*{BillToZip}*{BillToCountry}~
N7*{EquipmentInitial}***...*{EquipDesc}**{Length}~
K1*{ReportRemarks}~ ← opcional
(por cada línea en ProViajesDescripcionesCarga:)
L0*{n}*{Weight}**{Weight}*N*{Volume}*X*{LadingQty}*{PalletCode}**{WeightUOM}*{Pieces}*{PalletCode}~
L5*{n}*{LadingDescription}~
L1*{n}**{Tarifa}***{Importe}****{TarifaAplicadaPor}*{IdUnidadPeso}***{Importe}~
L3*{TotalWeight}*B**{TotalCost}***{LadingQty}*{WeightUOM}~
SE*{ContadorSegmentos}*{gnIdFactura_04d}~
Resumen comparativo EDI 214 vs EDI 210 (APTIV)
Característica EDI 214 (Status) EDI 210 (Invoice) GS01 QMIMISA05/07 ZZ / ZZZZ / ZZ (ISA07 fijo)Segmento inicio B10 B3 Bloques dirección N1-SH/CN (desde dsEDIDetalle) N1-SH/CN/BT (desde clRemitente/clDestinatario/dsEDIDetalle) G62 qualifier 86 (Pickup) + 17 (Delivery) qualifier 11 (ShippedOn) R3 No incluido R302=B, R304=M, R310=ST Loop de cargos No aplica LX + L0 + L4 + L5 + L1 (por ProViajesDescripcionesCarga) Totales AT8 (pesos) L3 (totales de factura) K1 Remarks k1_remarks (opcional)k1_remarks (opcional)