Product Kardex
The Product Kardex API allows you to track all inventory movements for finished products. It records transactions such as production entries (ESI - Entrada Standard Input), sales, returns, and other product movements.Endpoints
POST /api/pos/kardexprod
Create a new product kardex transaction.Product code
Transaction code (e.g., ‘ESI’ for standard input, ‘VEN’ for sale)
Transaction quantity (must be positive number)
Standard recipe code (required when trn_cod is ‘ESI’)
Observation or notes for the transaction
Response
Generated kardex record ID
Success message
cURL
Example response
Example response
GET /api/pos/kardexprod
Get all product kardex transactions with pagination.Page number for pagination (default: 1)
Response
Current page number
Number of items per page
Total count of kardex records
Array of kardex transaction objects
cURL
Example response
Example response
GET /api/pos/kardexprod/product/:prd_codigo
Get kardex transactions for a specific product.Product code
Page number for pagination (default: 1)
Response
Current page number
Number of items per page
Total count of kardex records for this product
Array of kardex transaction objects for the product
cURL
Example response
Example response
DELETE /api/pos/kardexprod/:id
Delete a kardex transaction by ID.Kardex record ID to delete
Response
Success message
cURL
Example response
Example response
Transaction Types
Common transaction codes used in the Product Kardex:- ESI: Entrada Standard Input - Production entry based on a standard recipe
- VEN: Venta - Sale transaction
- DEV: Devolución - Return transaction
- AJU: Ajuste - Inventory adjustment
est_cod field is mandatory to indicate which standard recipe was used for production.