Ventas

Guardar de venta

post/documents

Request

Headers

X-Company-Tokenstring required

Request body

seriestring required
external_idstring nullable
fecha_de_vencimientostring nullable
inicio_ciclo_de_facturacionstring nullable
fin_ciclo_de_facturacionstring nullable
tipo_servicio_publicostring nullable
tasa_de_cambionumber nullable
monedastring nullable
establecimiento_idinteger nullable
total_ventanumber nullable
total_exportacionnumber nullable
total_exoneradonumber nullable
total_inafectonumber nullable
total_gratuitonumber nullable
total_gravadonumber nullable
total_igvnumber nullable
total_valornumber nullable
total_pagadonumber nullable
total_descuentonumber nullable
total_cargonumber nullable
total_rcnumber nullable
porcentaje_rcnumber nullable
total_retencionnumber nullable
total_icbpnumber nullable
total_base_iscnumber nullable
total_iscnumber nullable
retencion_idinteger nullable
numero_ordenstring nullable
taxenumber nullable
user_idinteger nullable
company_idinteger nullable
is_demoboolean nullable
canal_interno_de_venta'GRATUITO' | 'API_GLOBAL' | 'OMNICANAL_EMPRESA'
idinteger nullable
cliente_idinteger nullable
codigo_retencionstring nullable
tipo_notastring nullable
motivo_notastring nullable
observacionesstring nullable
formato_pdfstring nullable
enviar_automaticamente_al_clienteboolean nullable
body_requestunknown

Response

Successful Response

exitoboolean
mensajestring nullable

Changes

    • breaking

      response property data/hash list-of-types was widened by adding types null to media type application/json of response 200

    • breaking

      response property data/qr list-of-types was widened by adding types null to media type application/json of response 200

    • info

      the response's property default value was removed for the status

    • info

      the response's property default value was removed for the status

    • info

      added the new optional request property