USD
or KHR
[
{
"refId": "101",
"refNumber": "24062101",
"date": "2024-06-22T02:41:55.350Z",
"dueDate": "2024-06-30T06:50:55.350Z",
"description": "upload bills",
"currency": "USD",
"totalAmount": 10,
"paidAmount": 0,
"customer": {
"code": "00001",
"name": "Nim",
"address": "Phnom Penh",
"phone": "011345789",
"moc": "100014",
"vat": "A102-110003031",
"email": "testing001@gmail.com"
},
"totalTax": 0,
"exchangeRateKhr": 4120.0,
"totalAmountKhr": 41200,
"details": [
{
"itemName": "A001",
"description": "Hello",
"quantity": 2,
"price": 5,
"amount": 10,
"taxAmount": 0
}
]
}
]
curl --location --request POST 'https://merchantapi-demo.bill24.io/billflow/v1/Bill24Operation/Invoice/Import' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer {{access_token}}' \
--header 'Content-Type: application/json' \
--data-raw '[
{
"refId": "101",
"refNumber": "24062101",
"date": "2024-06-22T02:41:55.350Z",
"dueDate": "2024-06-30T06:50:55.350Z",
"description": "upload bills",
"currency": "USD",
"totalAmount": 10,
"paidAmount": 0,
"customer": {
"code": "00001",
"name": "Nim",
"address": "Phnom Penh",
"phone": "011345789",
"moc": "100014",
"vat": "A102-110003031",
"email": "testing001@gmail.com"
},
"totalTax": 0,
"exchangeRateKhr": 4120.0,
"totalAmountKhr": 41200,
"details": [
{
"itemName": "A001",
"description": "Hello",
"quantity": 2,
"price": 5,
"amount": 10,
"taxAmount": 0
}
]
}
]'
{
"id": 70,
"totalRecord": 1,
"status": 1
}