1. Hóa đơn bán ra
Tourwell Open APIs
  • Tổng quan
  • Hướng dẫn xác thực
  • API Zalo Mini App (Beta)
  • API Changelog
  • Error Response
  • Khách hàng
    • v1
      • Get by id
      • Get all customer
      • Create customer
      • Update customer
      • Get order history
      • Get destinations
      • Get guests
      • Get by id care history
      • Create company
      • Get all care history
      • Get all company
  • Đơn hàng
    • v1
      • Get by id
      • Get all order
      • Get Passengers Order
      • Create order tour
      • Create order product
      • Create order hotel
      • Create order flight
      • Confirm payment order
      • Cancel order
      • Import Order Flight
      • Get cost order
      • Create cost order
      • Update cost order
      • Delete cost order
      • Transfer operator
      • Create order multiple services
      • Add services to order.
      • Change order status
      • Add Passengers Order
      • Update Passenger Order
      • Delete Passenger Order
  • Điều hành
    • v1
      • Overview
      • Get row cost
      • Create row cost
      • Update row cost
      • Delete row cost
    • Phiếu đặt dịch vụ NCC
      • Get all
      • Get by id
  • Sản phẩm
    • v1
      • Create product
      • Get by id
      • Calendar pricing
      • Get all product
      • Get schedule by id
      • Update product
  • Chiết tinh giá
    • v1
  • Nhà cung cấp
    • v1
      • Get all suppliers
      • Get suppliers products
      • Get all tour guides
      • Create Supplier & Hotel
      • Create Prices Suppliers products
      • Append Prices Hotel
  • Lịch khởi hành
    • v1
      • Get all tour
      • Create tour
      • Get tour detail
      • Get tour orders
  • Lead (Cơ hội)
    • Overview
    • Update History
    • v1
      • Get all lead
      • Get by id
      • Create lead
      • Update lead
  • Báo giá
    • v1
      • Get all
      • Update schedules
      • Update policy
  • Khách sạn
    • v1
      • Get all hotel
      • Get by id
  • Kế toán
    • Phiếu thu
      • v1
        • Get all receipt
        • Create receipt
        • Cancel receipt
        • Update receipt
        • Confirm Receipt Success
    • Phiếu chi
      • v1
        • Get all payment
        • Confirm Payment
        • Get by id
    • Hóa đơn bán ra
      • Update invoice
        PUT
      • Issue Invoice
        POST
      • Get by id
        GET
      • Cancel invoice
        POST
      • Get all invoice
        GET
    • Hóa đơn mua vào
      • Import
      • Get all
    • Thu hộ/Chi hộ
  • Phê duyệt
    • v1
      • Overview
      • Summary
      • Approvals
  • 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
    • Hạng thành viên
      • Get All
    • Loại dịch vụ
      • Get All
    • Mã sân bay
      • Get All Airport
    • Phương thức thanh toán
      • Get All
    • Nguồn bán hàng
      • Get All
    • Phễu chuyển đổi lead
      • Trạng thái lead
      • Trạng thái báo giá
    • Chi nhánh
      • Get all branch offices
    • Lý do hủy
      • Get all cancel reasons
  • Hướng dẫn tích hợp
    • Hướng dẫn tích hợp thanh toán trực tuyến qua Website và Tourwell
    • Hướng dẫn tích hợp thanh toán trực tuyến qua Website, Cổng thanh toán và Tourwell
    • Kết nối hệ thống báo giá, chốt đơn nội bộ với Tourwell
    • Hướng dẫn đẩy lead và đơn hàng về Tourwell
  • MCP
    • Kết nối Claude với TourWell (dành cho nhân viên)
    • Kết nối Claude với TourWell (dành cho quản trị viên)
  • Schemas
    • ErrorResponse
  1. Hóa đơn bán ra

Get all invoice

GET
/invoices
Danh sách hóa đơn đầu ra kèm từng dòng hàng (thuế suất, tiền thuế).
Sắp xếp mới nhất trước, phân trang theo page và page_size (mặc định 25, tối đa 100).
order_info ở danh sách chỉ gồm id, code, link_erp, customer; cần đủ thông tin đơn thì gọi GET /invoices/{id} hoặc GET /orders/{id}.
statusTrạng thái
0Sale nháp, chưa gửi kế toán
1Hóa đơn đã phát hành
2Đã hủy
3Hóa đơn nháp
4Sale đồng ý phát hành
5Sale gửi yêu cầu xuất hóa đơn

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Query Params

Request Code 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 'https://demo.tourwell.net/invoices?code=HD00122&export_code=undefined&status=undefined&tax_code=undefined&order_id=undefined&order_code=undefined&export_at=undefined&created_at=undefined&updated_at=undefined&page=undefined&page_size=undefined' \
--header 'Authorization: Bearer <token>'

Responses

🟢200
application/json
Bodyapplication/json

Example
{
    "data": [
        {
            "id": 122,
            "code": "HD00122",
            "status_code": 1,
            "status": "Hóa đơn đã phát hành",
            "created_at": "03/08/2026 15:53:22",
            "created_at_iso": "2026-08-03T15:53:22+07:00",
            "updated_at_iso": "2026-08-03T15:54:56+07:00",
            "creator_info": {
                "id": 1,
                "name": "Admin",
                "email": "admin@admin.com"
            },
            "total_amount": {
                "foreign": 0,
                "base": "19000000.00"
            },
            "order_info": {
                "id": 1618,
                "code": "UP1618",
                "link_erp": "https://your-domain.tourwell.vn/admin/order/1618/show",
                "customer": {
                    "id": 2247,
                    "code": "KH2247",
                    "name": "NTH"
                }
            },
            "request_info": {
                "tax_code": "0101234567",
                "company_name": "CÔNG TY TNHH ABC Travel",
                "company_address": "Hà Nội",
                "description": "Dịch vụ đặt Tour liên minh"
            },
            "export_info": {
                "export_code": "HD001",
                "export_date": "03/08/2026",
                "export_note": "",
                "export_by": "Admin"
            },
            "export_at_iso": "2026-08-03T15:54:56+07:00",
            "cancel_at_iso": null,
            "cancel_note": null,
            "lookup_url": null,
            "inv_series": "1C26TTS",
            "currency": {
                "foreign_currency": null,
                "base_currency": "vnd",
                "exchange_rate": 1
            },
            "items": [
                {
                    "id": 190,
                    "line_number": 1,
                    "item_code": "TOUR01",
                    "item_name": "Người lớn",
                    "uom": "Khách",
                    "quantity": 2,
                    "price": 8796296,
                    "amount": 17592593,
                    "tax_rate": 8,
                    "tax_amount": 1407407,
                    "discount_amount": 0,
                    "note": null
                }
            ]
        }
    ],
    "links": {},
    "meta": {
        "current_page": 1,
        "per_page": 25,
        "total": 123
    }
}
Modified at 2026-11-26 03:58:15
Previous
Cancel invoice
Next
Import
Built with