latestOpenAPI 3.1.02026-08-20397303496.6 KB

d88e14b2de42

Ventas

Store

Guardar de venta

post/documents

Headers

X-Company-Tokenstring required

Request body

seriestring required
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
{"stackTrail":"components:schemas:app__schemas__document__DocumentCreate:properties:body_request:anyOf","oasType":"schema","type":"unknown","title":"Body Request","nullable":true}

Response

Successful Response

exitoboolean
mensajestring