- 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
- 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
Update invoice
PUT
/api/v1/invoices/{id}
Request
Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.Example:
Authorization: Bearer ********************
Path Params
id
integer
required
Example:
25
Body Params application/json
total_amount
string
optional
description
string
optional
note
string
optional
service_summary
string
optional
tax_code
string
optional
company_name
string
optional
company_address
string
optional
forward_email
string
optional
lookup_url
string
optional
Example
{
"total_amount": "195480000",
"description": "Tour Hà Giang",
"note": "Hóa đơn 8%",
"service_summary": "Tour Hà Giang",
"tax_code": "0110114715",
"company_name": "CÔNG TY TNHH GIẢI PHÁP CÔNG NGHỆ UPWELL",
"company_address": "Số nhà 20, Ngõ 66a, Phố Triều Khúc, Xã Tân Triều, Huyện Thanh Trì, Thành phố Hà Nội, Việt Nam",
"forward_email": "kt@upwell.vn",
"lookup_url": "https://app3.meinvoice.vn/login/1?ReturnUrl=%2F"
}
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 PUT 'https://demo.tourwell.net/api/v1/invoices/25' \
--header 'Content-Type: application/json' \
--data-raw '{
"total_amount": "195480000",
"description": "Tour Hà Giang",
"note": "Hóa đơn 8%",
"service_summary": "Tour Hà Giang",
"tax_code": "0110114715",
"company_name": "CÔNG TY TNHH GIẢI PHÁP CÔNG NGHỆ UPWELL",
"company_address": "Số nhà 20, Ngõ 66a, Phố Triều Khúc, Xã Tân Triều, Huyện Thanh Trì, Thành phố Hà Nội, Việt Nam",
"forward_email": "kt@upwell.vn",
"lookup_url": "https://app3.meinvoice.vn/login/1?ReturnUrl=%2F"
}'
Responses
🟢201Created
application/json
Body
success
boolean
required
message
string
required
data
object
required
code
string
required
Example
{"success":true,"message":"Invoice updated successfully","data":{"code":"HD025"}}
Modified at 2025-05-30 10:07:46