curl --request POST \
--url https://api.example.com/api/v1/purchase-orders/{po_id}/create-bill \
--header 'Content-Type: application/json' \
--data '
{
"billNumber": "<string>",
"billType": "<string>",
"supplierId": "<string>",
"dueDate": "<string>",
"status": "<string>",
"notes": "<string>",
"subtotal": 123,
"taxRate": 123,
"taxAmount": 123,
"totalAmount": 123,
"paidAmount": 123,
"remainingBalance": 123,
"currency": "<string>",
"managementAccountId": "<string>",
"sourceOfFunds": "<string>"
}
'{
"id": "<string>",
"billNumber": "<string>",
"status": "<string>",
"totalAmount": 123,
"createdAt": "<string>"
}Generate a bill linked to this purchase order.
curl --request POST \
--url https://api.example.com/api/v1/purchase-orders/{po_id}/create-bill \
--header 'Content-Type: application/json' \
--data '
{
"billNumber": "<string>",
"billType": "<string>",
"supplierId": "<string>",
"dueDate": "<string>",
"status": "<string>",
"notes": "<string>",
"subtotal": 123,
"taxRate": 123,
"taxAmount": 123,
"totalAmount": 123,
"paidAmount": 123,
"remainingBalance": 123,
"currency": "<string>",
"managementAccountId": "<string>",
"sourceOfFunds": "<string>"
}
'{
"id": "<string>",
"billNumber": "<string>",
"status": "<string>",
"totalAmount": 123,
"createdAt": "<string>"
}Documentation Index
Fetch the complete documentation index at: https://docs.vinmake.com/llms.txt
Use this file to discover all available pages before exploring further.