- Tổng quan
- Hướng dẫn xác thực
- API Beta 1.0
- API Zalo Mini App (Beta)
- Khách hàng
- Đơn hàng
- Sản phẩm
- Lịch khởi hành
- Lead (Cơ hội)
- Khách sạn
- Kế toán
- Phiếu thu
- Phiếu chi
- Cấu hình
- Zalo ZNS
- Địa điểm
- Nhân sự nội bộ
- Webhook
- Trạng thái khách hàng
- Loại dịch vụ
- Zalo ZNS
Get all receipt
GET
/api/v1/billings/receipts
Request
Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.Example:
Authorization: Bearer ********************
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 GET 'https://demo.tourwell.net/api/v1/billings/receipts'
Responses
🟢200OK
application/json
Body
data
array [object {15}]
required
id
integer
optional
code
string
optional
description
string
optional
note
string
optional
method
object
optional
approve_status
object
optional
currency
object
optional
total_amount
object
optional
created_at
string
optional
creator_info
object
optional
payment_date
string
optional
transaction_type
string
optional
branch_office
array[string]
optional
references
array [object {3}]
optional
payer
array [object {5}]
optional
links
object
required
first
string
required
last
string
required
prev
null
required
next
null
required
meta
object
required
current_page
integer
required
from
integer
required
last_page
integer
required
links
array [object {3}]
required
path
string
required
per_page
integer
required
to
integer
required
total
integer
required
Example
{
"data": [
{
"id": 2920,
"code": "PT2920",
"description": "thanh toán khoản còn lại",
"note": "(Quý khách) Huyền 0900003333 B04253368",
"method": {
"id": 8,
"name": "Ngân hàng VCB"
},
"approve_status": {
"label": "Chưa duyệt",
"date": "",
"by": "",
"note": null
},
"currency": {
"foreign_currency": "vnd",
"base_currency": "vnd",
"exchange_rate": 1
},
"total_amount": {
"foreign": "7570000",
"base": 7570000
},
"created_at": "16/04/2025 10:02",
"creator_info": {
"id": 479,
"name": "Phạm Thanh TW",
"email": "phamthanh17998@gmail.com"
},
"payment_date": "18/04/2025",
"transaction_type": "Khách thanh toán",
"branch_office": [],
"references": [
{
"type": "order",
"order_code": "B04253368",
"sales_person": [
{
"id": 483,
"name": "Tamle TourWel"
}
]
}
],
"payer": [
{
"type": "customer",
"id": 950,
"code": "KL950",
"phone": "0900003333",
"name": "(Quý khách) Huyền"
}
]
}
],
"links": {
"first": "https://demo.tourwell.net/api/v1/billings/receipts?page=1",
"last": "https://demo.tourwell.net/api/v1/billings/receipts?page=1",
"prev": null,
"next": null
},
"meta": {
"current_page": 1,
"from": 1,
"last_page": 1,
"links": [
{
"url": null,
"label": "« Trước",
"active": false
},
{
"url": "https://demo.tourwell.net/api/v1/billings/receipts?page=1",
"label": "1",
"active": true
},
{
"url": null,
"label": "Sau »",
"active": false
}
],
"path": "https://demo.tourwell.net/api/v1/billings/receipts",
"per_page": 25,
"to": 1,
"total": 1
}
}
Modified at 2025-04-24 09:05:07