Tourwell Open APIs
  1. v1
Tourwell Open APIs
  • Tổng quan
  • Hướng dẫn xác thực
  • API Beta 1.0
  • API Zalo Mini App (Beta)
  • Khách hàng
    • v1
      • Get by id
      • Get all customer
      • Create customer
      • Update customer
      • Get order history
  • Đơn hàng
    • v1
      • Get by id
      • Get all order
      • Create order tour
      • Create order product
      • Create order hotel
      • Confirm payment order
  • Sản phẩm
    • v1
      • Create product
      • Get by id
      • Calendar pricing
  • Lịch khởi hành
  • Lead (Cơ hội)
    • v1
      • Get all lead
      • Get by id
      • Create lead
      • Update lead
  • Khách sạn
    • v1
      • Get all hotel
      • Get by id
  • Kế toán
    • Phiếu thu
      • v1
        • Get all receipt
          GET
    • Phiếu chi
      • v1
        • Get all payment
        • Confirm Payment
    • Hóa đơn
      • Update invoice
      • Issue Invoice
      • Get by id
      • Cancel invoice
  • Cấu hình
    • Zalo ZNS
      • Danh sách Tag
      • Get token
    • Địa điểm
      • Search
    • Nhân sự nội bộ
      • Search
    • Webhook
      • Hướng dẫn cài đặt
    • Trạng thái khách hàng
      • Get All
    • Loại dịch vụ
  1. v1

Get all receipt

GET
/api/v1/billings/receipts
Danh sách phiếu thu

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
ID
code
string 
optional
Mã phiếu
description
string 
optional
Lý do thu
note
string 
optional
Ghi chú
method
object 
optional
Nguồn thu
approve_status
object 
optional
Thông tin duyệt
currency
object 
optional
total_amount
object 
optional
Số tiền
created_at
string 
optional
creator_info
object 
optional
Người tạo
payment_date
string 
optional
Hạn thanh toán
transaction_type
string 
optional
Loại phiếu
branch_office
array[string]
optional
Chi nhánh
references
array [object {3}] 
optional
Thông tin tham chiếu
payer
array [object {5}] 
optional
Người nộp
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
Previous
Get by id
Next
Get all payment
Built with