Chuyển tới nội dung chính

Chi tiết phiếu thu theo ID

Lấy thông tin chi tiết phiếu thu theo ID.

GET/api/v6.1/fund_sheet_in/{id}

Tham số đường dẫn​

Tham sốKiểuBắt buộcMô tả
idintegerCóID phiếu thu

Tham số truy vấn​

Trường lấy về (fields)​

TrườngKiểuMô tả
idintegerĐịnh danh
sheet_codestringMã phiếu
sheet_datestringNgày tạo phiếu
pay_dateintegerNgày thanh toán
create_userintegerNgười tạo
approval_userintegerNgười duyệt
request_idintegerĐịnh danh yêu cầu chi phí
sheet_sourceintegerNguồn phiếu
sheet_paymentstringHình thức thanh toán
sheet_amountfloatSố tiền
fund_idintegerĐịnh danh quỹ
fund_receive_idintegerĐịnh danh quỹ nhận
sheet_typeintegerLoại phiếu
sheet_statusintegerTrạng thái phiếu
sheet_titlestringTên phiếu
sheet_descriptionstringMô tả phiếu
employee_get_moneyintegerNgười tạo
payment_slip_receiverstringNgười nộp tiền
customer_get_moneyintegerKhách hàng nộp tiền
accountstringTên khách hàng
budget_idintegerĐịnh danh ngân sách
budget_detail_idintegerĐịnh danh chi tiết ngân sách
fund_sheet_sale_ordersarrayThông tin đơn hàng
fund_sheet_sale_orders.*.order_idintegerĐịnh danh đơn hàng
fund_sheet_sale_orders.*.account_idintegerĐịnh danh khách hàng
fund_sheet_sale_orders.*.order_codestringMã đơn hàng
fund_sheet_sale_orders.*.real_amountfloatDoanh thu
fund_sheet_sale_orders.*.f_amountfloatSố tiền đã thu
fund_sheet_sale_orders.*.order_datestringNgày tạo đơn hàng

Ví dụ request​

curl --location 'https://example.getflycrm.com/api/v6.1/fund_sheet_in/4?fields=sheet_title' \
--header 'Content-Type: application/json' \
--header 'X-API-KEY: <your_api_key>'

Kết quả trả về​

200 OK

{
"id": 4,
"sheet_title": "TEST SHEET API"
}

API liên quan​