Bill24 Hosted
Light Mode
Import Invoice
POST
https://merchantapi-demo.bill24.io/billflow/v1/Bill24Operation/Invoice/ImportRequest
Header Params
Content-Type
string
required
Example:
application/json
Accept
string
required
Example:
application/json
Authorization
string
required
Example:
Bearer {{access_token}}
Body Params application/json
array of:
refId
string
optional
Reference ID of bill
refNumber
string
required
Bill number / Invoice number
date
string
required
Bill date
dueDate
string
required
Bill due date
description
string
optional
currency
string
required
Currency code ex: USD
or KHR
totalAmount
integer
required
Total amount
of Bill
paidAmount
integer
optional
Amount to pay
customer
object
required
Customer information
code
string
required
Customer code
name
string
required
Customer name
address
string
optional
phone
string
optional
moc
string
optional
vat
string
optional
email
string
optional
totalTax
integer
optional
exchangeRateKhr
integer
optional
totalAmountKhr
integer
optional
details
array [object {6}]
optional
itemName
string
optional
description
string
optional
quantity
integer
optional
price
integer
optional
amount
integer
optional
taxAmount
integer
optional
Example
[
{
"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,
"totalAmountKhr": 41200,
"details": [
{
"itemName": "A001",
"description": "Hello",
"quantity": 2,
"price": 5,
"amount": 10,
"taxAmount": 0
}
]
}
]
Request samples
Responses
Success(200)
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
object {0}
Example
{}
Last modified: 2 months ago