[Expense] List view

[ { "id": 34, "revision_display": "B", "revision": -1, "sub_revision": 2, "user_editable": false, "revision_editable": true, "status": 1, "status_name": "Pending Approval", "approval_status": 3, "approval_status_name": "Partially Approved", "approval_flow": [ { "role": 1, "approved_date": "2017-10-08", "approver": 3 }, { "role": 2, "approved_date": "", "approver": 3 } ], "preparer": 3, "preparer_name": "Pawarit Saengpreecharutn", "owner": 3, "owner_name": "Pawarit Saengpreecharutn", "assistant": null, "assistant_name": "-", "numbering_code": 2, "reserved_no": "PVR0139284382829", "approved_no": "PVR0139284382829", // ADDED "company": 1, "company_name": "Bizinterprise Co.,Ltd.", "company_address": "79/182 Life@Ratchadapisek Huaykwang Huaykwang Bangkok 10310", "company_tax_id": "1234567890123", "date": "2017-09-30", "date_display": "30 September 2017", // NOTE: Changed the attr name from "date_long" "sensitivity_level": 1, "sensitivity_level_name": "Confidential", "external_ref_no": "SR0139284382829", "type": 1, "type_name": "Delivery Note | Payment Receipt | Tax invoice", "expense_type": 1, "expense_type_name": "General Expense", "business_unit": "1", "business_unit_name": "ฝ่ายจัดส่ง", "price_inclusive_tax": false, "currency": "THB", "expense_items": [ { "id": 6, "date": "2018-02-12", "expense_category": 1, "expense_category_name": "", "supplier": 1, "supplier_name": "", "tax": 10.00, "amount": 152.00, "payment_method": 1, "payment_method_name": "", "cash_account": 1, "cash_account_name": "", "memo": { "external_ref_no": "", "attachments": [], "note": "" } } ], "sub_total": 1234.00, // ADDED "tax": 12.00, // ADDED "grand_total": 1234.00, // ADDED "grand_total_in_words": "One thousand two hundred and thirty four baht", }, ]
The Sample API Result
Module name: Expense
Sample view: List view

Be the first to comment

You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.