Skip to content

Selecciones del Editor EDI — Carrier APTIV

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

CampoOpción a seleccionarID
Terminador de segmento EDITilde (~)tilde

ISA — Interchange Control Header

ElementoDescripciónOpción
ISA05Interchange ID Qualifier (Sender)qualifier_zz → “ZZ” (Mutually Defined)
ISA06Interchange Sender IDisa06_scac → desde dsSolicitudesEDIDetalle.SCAC
ISA07Interchange ID Qualifier (Receiver)qualifier_zz → “ZZ” (Mutually Defined)
ISA08Interchange Receiver IDisa08_interchange_receiver → desde InterchangeReceiverID (“APTIV”)
ISA15Test Indicatortest_indicator_variable → desde m_sTipo
ISA16Component Element Separatorpipe → ”|“

GS — Functional Group Header

ElementoOpción
GS02 (Application Sender’s Code)gs02_sgsscac → desde sGSSCAC
GS03 (Application Receiver’s Code)gs03_interchange_receiver → desde InterchangeReceiverID (“APTIV”)

B10 — Beginning Segment

ElementoOpción
B1003 (SCAC)b1003_scac → desde m_sSCACAplicacion

L11 (posición 5) — Load Number

SegmentoOpciónDescripción
L11l11_ld_load_number (nuevo)L1101 = RunNumber, L1102 = "LD"

N1-SH (posición 6) — Ship From Name (nuevo segmento)

SegmentoOpciónDescripción
N1-SHn1_sh_dynamicN101 = "SH", N102 = ShipFromName dinámico

N3-SH (posición 7) — Ship From Address (nuevo segmento)

SegmentoOpciónDescripción
N3-SHn3_sh_addressN301 = ShipFromAddress1

N4-SH (posición 8) — Ship From Location (nuevo segmento)

SegmentoOpciónDescripción
N4-SHn4_sh_locationN401/402/403/404 = ShipFrom City/State/Zip/Country

N1-CN (posición 9) — Consignee Name (nuevo segmento)

SegmentoOpciónDescripción
N1-CNn1_cn_dynamicN101 = "CN", N102 = ShipToName dinámico

N3-CN (posición 10) — Consignee Address (nuevo segmento)

SegmentoOpciónDescripción
N3-CNn3_cn_addressN301 = ShipToAddress1, N302 = ShipToAddress2

N4-CN (posición 11) — Consignee Location (nuevo segmento)

SegmentoOpciónDescripción
N4-CNn4_cn_locationN401/402/403/404 = ShipTo City/State/Zip/Country

G62-Pickup (posición 12) — Actual Pickup Date (nuevo segmento)

SegmentoOpciónDescripción
G62-Pickupg62_pickup_dateG6201 = "86", G6202 = clViaje.m_dtFechaCarga (YYYYMMDD)

G62-Delivery (posición 13) — Estimated Delivery Date (nuevo segmento)

SegmentoOpciónDescripción
G62-Deliveryg62_delivery_dateG6201 = "17", G6202 = clViaje.m_dtFechaEntrega (YYYYMMDD)

LX — Assigned Number

SegmentoOpciónDescripción
LXlx_variable_stopnumLX01 = dsSolicitudesEDIDetalle.StopNum

AT7 — Shipment Status Details

ElementoOpciónDescripción
AT707 (Time Code)time_code_ct”CT” (Central)

MS1 — Equipment Location

SegmentoOpciónDescripción
MS1ms1_with_locationCity/State/Country condicional: ShipFrom si carga, ShipTo si descarga

MS2 — Equipment Owner and Type

SegmentoOpciónDescripción
MS2ms2_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:

SegmentoOpciónDescripción
L11-BMomit_bmNo incluir
L11-QNomit_qnNo incluir
L11-2Iomit_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.

SegmentoOpción
N1n1_excluded
N3n3_excluded
N4n4_excluded

MS3 — Interline Service Provider

SegmentoOpciónSubelementos
MS3ms3_alwaysMS301 → ms301_identificador (IdentificadorSCAC), MS302 = "O", MS304 = "M"

AT8 — Shipment Status / Weight

SegmentoOpciónDescripción
AT8at8_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.


K1 — Remarks (nuevo segmento)

SegmentoOpciónDescripción
K1k1_remarksK101 = dsSolicitudesEDIDetalle.ReportRemarks

K1 es opcional. Si no hay observaciones, seleccionar k1_excluded.


IEA — Interchange Control Trailer

SegmentoOpciónDescripción
IEAiea_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~
ST*214*{Reference}~
B10*{CarrierPro}*{IdentSolicitud}*{SCACAplicacion}~
L11*{RunNumber}*LD~
N1*SH*{ShipFromName}~
N3*{ShipFromAddress1}~
N4*{ShipFromCity}*{ShipFromState}*{ShipFromZip}*{ShipFromCountry}~
N1*CN*{ShipToName}~
N3*{ShipToAddress1}*{ShipToAddress2}~
N4*{ShipToCity}*{ShipToState}*{ShipToZip}*{ShipToCountry}~
G62*86*{FechaCarga_YYYYMMDD}~
G62*17*{FechaEntrega_YYYYMMDD}~
LX*{StopNum}~
AT7*{EstatusAbrev}*{MotivoRetraso}**{FechaEstatus}*{HoraEstatus}*CT~
MS1*{City}*{State}*{Country}~
MS2*{IdentificadorSCAC}*{PlacaUnidad}*{EquivalenciaEDI}~
K1*{ReportRemarks}~
SE*{ContadorSegmentos}*{Reference}~
GE*1*{ID}~
IEA*1*{ID_09d}~

Resumen: lo que distingue a APTIV de Penske

CaracterísticaAPTIVPenske
segment_terminator~'' (sin ~ por segmento)
ISA05/07ZZ02 / desde data
ISA06SCACInterchangeReceiverID
ISA08InterchangeReceiverID (“APTIV”)SCAC
L11 (pos 5)l11_ld_load_number (LD)rn_ma_tn_penske (RN/MA)
N1-SH / N3-SH / N4-SHn1_sh_dynamic / n3_sh_address / n4_sh_locationNo usados (excluded)
N1-CN / N3-CN / N4-CNn1_cn_dynamic / n3_cn_address / n4_cn_locationNo usados (excluded)
G62 Pickup / Deliveryg62_pickup_date / g62_delivery_dateNo usados (excluded)
LXlx_variable_stopnumlx_fixed_one
AT707 (Time Zone)time_code_ct (CT)time_code_lt (LT)
MS1ms1_with_locationms1_penske_combined
K1 Remarksk1_remarks (opcional)No usado
IEAiea_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

CampoOpción a seleccionarID
Terminador de segmento EDITilde (~)tilde

ISA — Interchange Control Header

ElementoDescripciónOpción
ISA05Interchange ID Qualifier (Sender)qualifier_zz → “ZZ” (Mutually Defined)
ISA06Interchange Sender IDisa06_scac_cliente → desde sScacCliente
ISA07Interchange ID Qualifier (Receiver)Fijo "ZZ" — no requiere selección
ISA08Interchange Receiver IDisa08_aptiv → “APTIV” (fijo)
ISA15Test Indicatorisa15_p → “P” (producción) / isa15_t → “T” (pruebas)
ISA16Component Element Separatorisa16_pipe → ”|“

GS — Functional Group Header

ElementoOpció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

ElementoDescripciónOpción
B301Shipment Qualifierb301_b → “B”
B302Invoice Numberb302_folioclFolio.m_nFolioInicial
B303Shipment IDb303_ident_solicitudProSolicitudesEDI.IdentSolicitud
B304Payment Methodb304_cc → “CC” (Collect)
B305Weight Unit Codeb305_weight_unitdsEDIDetalle.WeightUnitCode
B306Invoice Dateb306_fecha_facturaclFactura.m_dtFechaFactura (YYYYMMDD)
B307Net Amount Dueb307_totalclFactura.m_cyTotal
B308Correction Indicatorb308_tipo_facturaClsProFacturas.TipoFactura
B309Delivery Dateb309_fecha_llegadaProSolicitudesEDI.FechaHoraLlegada (YYYYMMDD)
B310Date/Time QualifierFijo "035" — no requiere selección
B311SCAC CodeFijo sScacCliente — no requiere selección
B312Ship Dateb312_fecha_salidaProSolicitudesEDI.FechaHoraSalida (YYYYMMDD)
B313Service Codeb313_dd → “DD” (Door-Door)
B314Dock Numberb314_dock_numProSolicitudesEDIDetalles.DockNum

C3 — Currency

SegmentoOpciónDescripción
C3c3_includedC301 = sAbreviacionMoneda (sin C302)

N9 — Reference Identification

SegmentoOpciónDescripción
N9n9_po_aptivN901 = "PO" (fijo), N902 = dsEDIDetalle.PO

G62 — Date/Time Reference

SegmentoOpciónDescripción
G62g62_11G6201 = "11" (fijo), G6202 = ProSolicitudesEDI.FechaHoraSalida (YYYYMMDD)

H3 — Hazardous Classification

SegmentoOpciónDescripción
H3h3_excludedNo incluir

R3 — Route Information

SegmentoOpciónDescripción
R3r3_aptivR302 = "B", R304 = "M" (Motor), R310 = "ST"

N1-SH / N3-SH / N4-SH — Ship From (clRemitente)

SegmentoOpciónDescripción
N1-SHn1_sh_aptivN101 = "SH", N102 = clRemitente.m_sNombre
N3-SHn3_sh_aptivN301 = clRemitente.m_sDireccion
N4-SHn4_sh_aptivN401–404 = City/State/ZIP/Country desde clRemitente

N1-CN / N3-CN / N4-CN — Consignee (clDestinatario)

SegmentoOpciónDescripción
N1-CNn1_cn_aptivN101 = "CN", N102 = clDestinatario.m_sNombre
N3-CNn3_cn_aptivN301 = clDestinatario.m_sDireccion
N4-CNn4_cn_aptivN401–404 = City/State/ZIP/Country desde clDestinatario

N1-BT / N3-BT / N4-BT — Bill To (dsEDIDetalle)

SegmentoOpciónDescripción
N1-BTn1_bt_aptivN101 = "BT", N102 = dsEDIDetalle.BillToName
N3-BTn3_bt_aptivN301 = dsEDIDetalle.BillToAddress1
N4-BTn4_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.

SegmentoOpción
N1 legacyn1_legacy_excluded
N3 legacyn3_legacy_excluded
N4 legacyn4_legacy_excluded

N7 — Equipment Details

SegmentoOpciónDescripción
N7n7_aptivN702 = dsEDIDetalle.EquipmentInitial, N711 = dsEDIDetalle.EquipmentDescription, N715 = dsEDIDetalle.EquipmentLength

LX — Loop de Cargos (L0 / L4 / L5 / L1)

SegmentoOpciónDescripción
LXlx_aptivLoop repetido por cada línea en ProViajesDescripcionesCarga, incluye L0 / L4 / L5 / L1

Elementos incluidos en el loop lx_aptiv:

Segmento EDIElement IDFuente / Valor
LXLX01Calculado (nRenglon)
L0L001Calculado (nRenglon)
L0L002dsEDIDetalle.Weight
L0L004dsEDIDetalle.Weight
L0L005Fijo "N"
L0L006dsEDIDetalle.Volume
L0L007Fijo "X"
L0L008dsEDIDetalle.LadingQuantity
L0L009dsEDIDetalle.PalletExchangeCode
L0L011dsEDIDetalle.WeightUOM
L0L013dsEDIDetalle.Pieces
L0L014dsEDIDetalle.PalletExchangeCode
L4L401Fijo "100"
L4L402Fijo "100"
L4L403Fijo "100"
L4L404Fijo "C"
L5L501Calculado (nRenglon)
L5L502dsEDIDetalle.LadingDecription
L1L101Calculado (nRenglon)
L1L104ProViajesDescripcionesCarga.Tarifa
L1L108ProViajesDescripcionesCarga.Importe
L1L117ProViajesDescripcionesCarga.TarifaAplicadaPor
L1L118ProViajesDescripcionesCarga.IdUnidadMedidadPeso
L1L121ProViajesDescripcionesCarga.Importe

L3 — Total Weight and Charges

SegmentoOpciónDescripción
L3l3_aptivL301 = TotalFreightWeight, L302 = "B", L305 = TotalFreightCost, L311 = LadingQuantity, L312 = WeightUOM

K1 — Remarks

SegmentoOpciónDescripción
K1k1_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}~
C3*{Moneda}~
N9*PO*{PONumber}~
G62*11*{FechaSalida_YYYYMMDD}~
R3*B*M*ST~
N1*SH*{RemitenteName}~
N3*{RemitenteDireccion}~
N4*{RemitenteCity}*{RemitenteState}*{RemitenteCP}*{RemitentePais}~
N1*CN*{DestinatarioName}~
N3*{DestinatarioDireccion}~
N4*{DestinatarioCity}*{DestinatarioState}*{DestinatarioCP}*{DestinatarioPais}~
N1*BT*{BillToName}~
N3*{BillToAddress1}~
N4*{BillToCity}*{BillToState}*{BillToZip}*{BillToCountry}~
N7*{EquipmentInitial}***...*{EquipDesc}**{Length}~
K1*{ReportRemarks}~ ← opcional
(por cada línea en ProViajesDescripcionesCarga:)
LX*{n}~
L0*{n}*{Weight}**{Weight}*N*{Volume}*X*{LadingQty}*{PalletCode}**{WeightUOM}*{Pieces}*{PalletCode}~
L4*100*100*100*C~
L5*{n}*{LadingDescription}~
L1*{n}**{Tarifa}***{Importe}****{TarifaAplicadaPor}*{IdUnidadPeso}***{Importe}~
L3*{TotalWeight}*B**{TotalCost}***{LadingQty}*{WeightUOM}~
SE*{ContadorSegmentos}*{gnIdFactura_04d}~
GE*1*{gnIdFactura}~
IEA*1*{gnIdFactura_09d}~

Resumen comparativo EDI 214 vs EDI 210 (APTIV)

CaracterísticaEDI 214 (Status)EDI 210 (Invoice)
GS01QMIM
ISA05/07ZZ / ZZZZ / ZZ (ISA07 fijo)
Segmento inicioB10B3
Bloques direcciónN1-SH/CN (desde dsEDIDetalle)N1-SH/CN/BT (desde clRemitente/clDestinatario/dsEDIDetalle)
G62qualifier 86 (Pickup) + 17 (Delivery)qualifier 11 (ShippedOn)
R3No incluidoR302=B, R304=M, R310=ST
Loop de cargosNo aplicaLX + L0 + L4 + L5 + L1 (por ProViajesDescripcionesCarga)
TotalesAT8 (pesos)L3 (totales de factura)
K1 Remarksk1_remarks (opcional)k1_remarks (opcional)