Listar tipos de comprobante válidos
Changed onDevuelve candidatos contextuales para una venta o compra. La selección usa la configuración fiscal canónica de la organización y vuelve a validarse al escribir. Para ventas con total_amount, currency es obligatorio; USD también requiere exchange_rate en ARS por USD.
Request
- Base URLhttps://api.lapyme.com.ar
- URLhttps://api.lapyme.com.ar/api/v1/voucher-types
- AuthHTTP bearer
Query parameters
UUID obligatorio cuando operation=sale
UUID obligatorio cuando operation=sale
UUID obligatorio cuando operation=purchase
Total opcional de la venta en unidades menores de currency. Habilita la evaluación de FCE.
Obligatorio cuando se envía total_amount
Pesos argentinos por dólar. Obligatorio solamente para currency=USD.
Valor de next_cursor recibido en la respuesta anterior
Cantidad máxima de resultados por respuesta
Response
Tipos de comprobante obtenidos exitosamente
Changes
- breaking
removed the enum value
DOLfrom thequeryrequest parametercurrency - breaking
removed the enum value
PESfrom thequeryrequest parametercurrency - breaking
the response property
became nullable for the status - info
added the new enum value
ARSto thequeryrequest parametercurrency - info
added the new enum value
USDto thequeryrequest parametercurrency - info
added the non-success response with the status
- info
added the optional property
///to the response with the status - info
added the optional property
///to the response with the status - info
added the optional property
///to the response with the status - info
added the optional property
///to the response with the status - info
added the optional property
///to the response with the status - info
added the optional property
///to the response with the status - info
response property
next_cursorlist-of-types was narrowed by removing typesnullfrom media typeapplication/jsonof response200
- breaking