Receipt details by voucher code
Get detailed information of a receipt by its voucher code.
GET/api/v6.1/fund_sheet_in/code
Query parameters
Fields (fields)
| Field | Type | Description |
|---|---|---|
id | integer | Identifier |
sheet_code | string | Voucher code |
sheet_date | string | Voucher creation date |
pay_date | integer | Payment date |
create_user | integer | Creator |
approval_user | integer | Approver |
request_id | integer | Expense request identifier |
sheet_source | integer | Voucher source |
sheet_payment | string | Payment method |
sheet_amount | float | Amount |
fund_id | integer | Fund identifier |
fund_receive_id | integer | Receiving fund identifier |
sheet_type | integer | Voucher type |
sheet_status | integer | Voucher status |
sheet_title | string | Voucher title |
sheet_description | string | Voucher description |
employee_get_money | integer | Creator |
payment_slip_receiver | string | Payer |
customer_get_money | integer | Paying customer |
account | string | Customer name |
budget_id | integer | Budget identifier |
budget_detail_id | integer | Budget detail identifier |
fund_sheet_sale_orders | array | Order information |
fund_sheet_sale_orders.*.order_id | integer | Order identifier |
fund_sheet_sale_orders.*.account_id | integer | Customer identifier |
fund_sheet_sale_orders.*.order_code | string | Order code |
fund_sheet_sale_orders.*.real_amount | float | Revenue |
fund_sheet_sale_orders.*.f_amount | float | Amount collected |
fund_sheet_sale_orders.*.order_date | string | Order creation date |
Example request
curl --location 'https://example.getflycrm.com/api/v6.1/fund_sheet_in/code?fields=sheet_title&code=PT\/2023-07\/23' \
--header 'Content-Type: application/json' \
--header 'X-API-KEY: <your_api_key>'
Response
200 OK
{
"id": 4,
"sheet_title": "TEST SHEET API"
}