curl --request POST \
--url http://localhost:3000/api/v1/imputations/ \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"reference": "<string>",
"account": "<string>",
"amount": 123,
"contractId": "<string>",
"orderId": "<string>",
"currency": "<string>",
"notes": "<string>",
"createdAt": "<unknown>",
"updatedAt": "<unknown>"
}
'{
"id": "imp_01",
"reference": "ORD-2025-0001",
"orderId": "ord_01",
"account": "6001-Gastos Operativos",
"amount": 1500,
"currency": "USD"
}curl --request POST \
--url http://localhost:3000/api/v1/imputations/ \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"reference": "<string>",
"account": "<string>",
"amount": 123,
"contractId": "<string>",
"orderId": "<string>",
"currency": "<string>",
"notes": "<string>",
"createdAt": "<unknown>",
"updatedAt": "<unknown>"
}
'{
"id": "imp_01",
"reference": "ORD-2025-0001",
"orderId": "ord_01",
"account": "6001-Gastos Operativos",
"amount": 1500,
"currency": "USD"
}