APIs for Businesses
Home
APIs
  • Checkout/ Deeplink
  • Merchant Proxy
  • Bill24 Hosted
  • Auto Direct Debit
  • KHQR Integration Specification for API
  • Notification API
  • On Boarding Sub Biller API
Home
APIs
  • Checkout/ Deeplink
  • Merchant Proxy
  • Bill24 Hosted
  • Auto Direct Debit
  • KHQR Integration Specification for API
  • Notification API
  • On Boarding Sub Biller API
CHECKOUT/ DEEPLINKMerchant ProxyBill24 Hosted
Auto Direct DebitKHQR Integration Specification for APINotification APIPayment Method
CHECKOUT/ DEEPLINKMerchant ProxyBill24 Hosted
Auto Direct DebitKHQR Integration Specification for APINotification APIPayment Method
  1. Bill24 Hosted
  • Bill24 Hosted
    • Overview
    • FAQ
    • Authorization
      POST
    • Import Invoice
      POST
    • Get Transaction
      GET
  1. Bill24 Hosted

Import Invoice

POST
https://merchantapi-demo.bill24.io/billflow/v1/Bill24Operation/Invoice/Import

Request

Header Params

Body Params application/json

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.0,
        "totalAmountKhr": 41200,
        "details": [
            {
                "itemName": "A001",
                "description": "Hello",
                "quantity": 2,
                "price": 5,
                "amount": 10,
                "taxAmount": 0
            }
        ]
    }
]

Request samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
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
            }
        ]
    }
]'

Responses

🟢200Success
application/json
Body

Example
{
    "id": 70,
    "totalRecord": 1,
    "status": 1
}
Modified at 2025-03-04 09:12:24
Previous
Authorization
Next
Get Transaction