Saltar al contenido principal
Version: Pro7

Transportista | Pagador Flete

POST 

/api/dispatch-carrier

Aquí se muestra el proceso para generar Transportista con flete

Ejemplo:

Request

Body

required

  1. JSON A ENVIAR

    datos_del_emisor

    object

    required

    codigo_paisstring
    Example: PE
    ubigeostring
    Example: 150101
    direccionstring
    Example: Av. 2 de Mayo
    correo_electronicostring
    Example: demo@gmail.com
    telefonostring
    Example: 427-1148
    codigo_del_domicilio_fiscalstring
    Example: 0000
    serie_documentostringrequired
    Example: V001
    numero_documentostring
    Example: #
    codigo_tipo_documentostring
    Example: 31
    fecha_de_emisiondate
    Example: 2022-12-14
    hora_de_emisiontime
    Example: 10:11:11
    fecha_de_trasladodate
    Example: 2022-12-02
    unidad_peso_totalstring
    Example: KGM
    peso_totalnumber
    Example: 30
    observacionesstring
    Example: aaaaaaaaaaaaaaa
    indicador_de_transbordoboolean
    Example: false

    datos_remitente

    object

    codigo_tipo_documento_identidadstring
    Example: 6
    descripcion_tipo_documento_identidadstring
    Example: RUC
    numero_documentostring
    Example: 20601274133
    apellidos_y_nombres_o_razon_socialstring
    Example: EMPRESA XYZ S.A.
    nombre_comercialstring
    Example: EMPRESA XYZ

    datos_destinatario

    object

    codigo_tipo_documento_identidadstring
    Example: 6
    descripcion_tipo_documento_identidadstring
    Example: RUC
    numero_documentostring
    Example: 20601274133
    apellidos_y_nombres_o_razon_socialstring
    Example: EMPRESA XYZ S.A.
    nombre_comercialstring
    Example: EMPRESA XYZ

    chofer

    object

    required

    codigo_tipo_documento_identidadstring
    Example: 1
    numero_documentostring
    Example: 41784439
    nombresstring
    Example: JUAN
    apellidosstring
    Example: PEREZ
    numero_licenciastring
    Example: Q41784439
    numero_de_placastring
    Example: A011254

    items

    object[]

  • Array [

  • codigo_internostring
    Example: prueba
    cantidadnumber
    Example: 2
  • ]

  • pagador_flete

    object

    indicador_pagador_fletestring
    Example: Remitente
    codigo_tipo_documento_identidadstring
    Example: 1
    descripcion_tipo_documento_identidadstring
    Example: RUC
    numerostring
    Example: 20810001281
    nombresstring
    Example: EMPRESA DEMO SAC

Responses

JSON RESPUESTA

Schema

    successboolean
    Example: true

    data

    object

    numberstring
    Example: V001-11
    filenamestring
    Example: 11111111111-09-V001-11
    external_idstring
    Example: b8f5e270-f264-4017-a00f-7a3f7cb59862