Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- "data": {
- "next_url": "https://api-staging.mokapos.com/v1/outlets/28076/reports/get_latest_transactions?per_page=50&mobile_device=true&until=1517060430.505206&access_token=e9ebff74bf79ac30aaa0f20ae84d8b64b70f3918b85189c4a0e3c24a7b7ffcf7",
- "completed": true,
- "payments": [
- {
- "id": 89722,
- "status": "Done",
- "payment_no": "INV3BO4LP",
- "payment_type": "invoice",
- "amount_pay": 69300,
- "amount_change": 0,
- "total_discount_amount": 0,
- "total_gratuity_amount": 3000,
- "total_item_price_amount": 0,
- "total_tax_amount": 6300,
- "total_checkouts_amount": 60000,
- "is_refunded": false,
- "refunded_reason": null,
- "refunded_date": null,
- "business_id": 18368,
- "customer_id": 163124,
- "discount_id": null,
- "is_deleted": false,
- "created_at": "2018-01-27T20:40:14.872+07:00",
- "updated_at": "2018-01-27T20:40:30.505+07:00",
- "total_custom_price_amount": 0,
- "include_gratuity_tax": false,
- "parent_payment_id": null,
- "refund_amount": 0,
- "refund_type": null,
- "card_no": null,
- "created_by": 31698,
- "note": "",
- "total_collected_amount": 69300,
- "server_id": 31698,
- "server_name": "API Test",
- "server_title": "",
- "auth_code": null,
- "cc_name": null,
- "card_type": null,
- "transaction_number": null,
- "transaction_reference": null,
- "outlet_id": 28076,
- "guid": "e3966080-5b7c-4f6b-8949-a08ded6e7da0",
- "synchronized_at": "2018-01-27T20:40:30.505+07:00",
- "uniq_id": "2",
- "transaction_certificate": null,
- "transaction_status_info": null,
- "merchant_id": null,
- "mpos_device_id": null,
- "pg_mid": null,
- "pg_setting": null,
- "order_info": null,
- "tvr": null,
- "cvm_result": null,
- "aid": null,
- "transaction_date": null,
- "pii": null,
- "collected_by": "API Test",
- "shift_id": 0,
- "invoice_no": "INV3BO4LP",
- "invoice_deposit_amount": 0,
- "invoice_due_date": "2018-01-27",
- "invoice_status": "cancelled",
- "latitude": null,
- "longitude": null,
- "refund_ids": "---\n- 89725\n",
- "total_gross_sales": 60000,
- "total_net_sales": 60000,
- "is_refund_breakdown": true,
- "customer_name": "Renata",
- "customer_email": "renata@mailinator.com",
- "customer_phone": "+62856366952255555",
- "subtotal": 60000,
- "creator_name": "API Test",
- "table_name": null,
- "collector_id": 31698,
- "cashlezz_transaction_id": null,
- "sms_id": null,
- "receipt_count": null,
- "order_id": null,
- "is_loyalty": false,
- "total_redeem_amount": 0,
- "is_offline": false,
- "is_sales_type": true,
- "payment_taxes": [
- {
- "id": 77717,
- "name": "tax",
- "amount": 10,
- "total": 6300,
- "taxable_amount": 63000,
- "payment_id": 89722,
- "created_at": "2018-01-27T20:40:14.872+07:00",
- "updated_at": "2018-01-27T20:40:14.786+07:00",
- "tax_id": 11945
- }
- ],
- "payment_gratuities": [
- {
- "id": 89404,
- "name": "Dine In",
- "amount": 5,
- "total": 3000,
- "payment_id": 89722,
- "created_at": "2018-01-27T20:40:14.872+07:00",
- "updated_at": "2018-01-27T20:40:14.783+07:00",
- "gratuity_id": 5826
- }
- ],
- "payment_discounts": [],
- "payment_refunds": [
- {
- "id": 89725,
- "status": "Done",
- "payment_no": "INV3BO4LP",
- "payment_type": "invoice",
- "amount_pay": 0,
- "amount_change": 0,
- "total_discount_amount": 0,
- "total_gratuity_amount": -3000,
- "total_item_price_amount": 0,
- "total_tax_amount": -6300,
- "total_checkouts_amount": -60000,
- "is_refunded": true,
- "refunded_reason": "Accidental Charge",
- "refunded_date": "2018-01-27T20:40:24.068+07:00",
- "business_id": 18368,
- "customer_id": 163124,
- "discount_id": null,
- "is_deleted": false,
- "created_at": "2018-01-27T20:40:24.068+07:00",
- "updated_at": "2018-01-27T20:40:30.496+07:00",
- "total_custom_price_amount": 0,
- "include_gratuity_tax": false,
- "parent_payment_id": 89722,
- "refund_amount": 60000,
- "refund_type": "full",
- "card_no": null,
- "created_by": 31698,
- "note": "",
- "total_collected_amount": -69300,
- "server_id": 31698,
- "server_name": "API Test",
- "server_title": "",
- "auth_code": null,
- "cc_name": null,
- "card_type": null,
- "transaction_number": null,
- "transaction_reference": null,
- "outlet_id": 28076,
- "guid": "bc82e1cb-67e3-45c8-a0f8-9429e6f56b9c",
- "synchronized_at": "2018-01-27T20:40:30.496+07:00",
- "uniq_id": "0",
- "transaction_certificate": null,
- "transaction_status_info": null,
- "merchant_id": null,
- "mpos_device_id": null,
- "pg_mid": null,
- "pg_setting": null,
- "order_info": null,
- "tvr": null,
- "cvm_result": null,
- "aid": null,
- "transaction_date": null,
- "pii": null,
- "collected_by": "API Test",
- "shift_id": null,
- "invoice_no": "INV3BO4LP",
- "invoice_deposit_amount": 0,
- "invoice_due_date": "2018-01-27",
- "invoice_status": "cancelled",
- "latitude": null,
- "longitude": null,
- "refund_ids": "--- []\n",
- "total_gross_sales": -60000,
- "total_net_sales": -60000,
- "is_refund_breakdown": true,
- "customer_name": "Renata",
- "customer_email": "renata@mailinator.com",
- "customer_phone": "+62856366952255555",
- "subtotal": -60000,
- "creator_name": "API Test",
- "table_name": null,
- "collector_id": null,
- "cashlezz_transaction_id": null,
- "sms_id": null,
- "receipt_count": 0,
- "order_id": null,
- "is_loyalty": false,
- "total_redeem_amount": 0,
- "is_offline": null,
- "is_sales_type": true
- }
- ],
- "checkouts": [
- {
- "id": 142307,
- "custom_amount": 0,
- "item_variant_id": 1865661,
- "quantity": 1,
- "discount_amount": 0,
- "tax_amount": 6300,
- "business_id": 18368,
- "payment_id": 89722,
- "is_deleted": false,
- "created_at": "2018-01-27T20:40:14.872+07:00",
- "updated_at": "2018-01-27T20:40:14.775+07:00",
- "item_id": 3191698,
- "item_discount": 0,
- "item_price_library": 60000,
- "item_price": 60000,
- "item_price_discount": 60000,
- "gratuity_amount": 3000,
- "item_price_discount_gratuity": 0,
- "total_price": 60000,
- "item_price_quantity": 60000,
- "category_name": "Uncategorized",
- "category_id": 100844,
- "item_name": "Custom Amount",
- "item_variant_name": "",
- "sku": "",
- "note": null,
- "cogs": null,
- "gross_sales": 60000,
- "outlet_id": 28076,
- "position": null,
- "net_sales": 60000,
- "track_stock": false,
- "item_image": null,
- "parent_checkout_id": null,
- "is_recipe": false,
- "redeem_amount": 0,
- "sales_type_id": 7177,
- "sales_type_name": "Dine In",
- "checkout_modifiers": [],
- "checkout_discounts": []
- }
- ]
- },
- {
- "id": 89725,
- "status": "Done",
- "payment_no": "INV3BO4LP",
- "payment_type": "invoice",
- "amount_pay": 0,
- "amount_change": 0,
- "total_discount_amount": 0,
- "total_gratuity_amount": -3000,
- "total_item_price_amount": 0,
- "total_tax_amount": -6300,
- "total_checkouts_amount": -60000,
- "is_refunded": true,
- "refunded_reason": "Accidental Charge",
- "refunded_date": "2018-01-27T20:40:24.068+07:00",
- "business_id": 18368,
- "customer_id": 163124,
- "discount_id": null,
- "is_deleted": false,
- "created_at": "2018-01-27T20:40:24.068+07:00",
- "updated_at": "2018-01-27T20:40:30.496+07:00",
- "total_custom_price_amount": 0,
- "include_gratuity_tax": false,
- "parent_payment_id": 89722,
- "refund_amount": 60000,
- "refund_type": "full",
- "card_no": null,
- "created_by": 31698,
- "note": "",
- "total_collected_amount": -69300,
- "server_id": 31698,
- "server_name": "API Test",
- "server_title": "",
- "auth_code": null,
- "cc_name": null,
- "card_type": null,
- "transaction_number": null,
- "transaction_reference": null,
- "outlet_id": 28076,
- "guid": "bc82e1cb-67e3-45c8-a0f8-9429e6f56b9c",
- "synchronized_at": "2018-01-27T20:40:30.496+07:00",
- "uniq_id": "0",
- "transaction_certificate": null,
- "transaction_status_info": null,
- "merchant_id": null,
- "mpos_device_id": null,
- "pg_mid": null,
- "pg_setting": null,
- "order_info": null,
- "tvr": null,
- "cvm_result": null,
- "aid": null,
- "transaction_date": null,
- "pii": null,
- "collected_by": "API Test",
- "shift_id": null,
- "invoice_no": "INV3BO4LP",
- "invoice_deposit_amount": 0,
- "invoice_due_date": "2018-01-27",
- "invoice_status": "cancelled",
- "latitude": null,
- "longitude": null,
- "refund_ids": "--- []\n",
- "total_gross_sales": -60000,
- "total_net_sales": -60000,
- "is_refund_breakdown": true,
- "customer_name": "Renata",
- "customer_email": "renata@mailinator.com",
- "customer_phone": "+62856366952255555",
- "subtotal": -60000,
- "creator_name": "API Test",
- "table_name": null,
- "collector_id": null,
- "cashlezz_transaction_id": null,
- "sms_id": null,
- "receipt_count": 0,
- "order_id": null,
- "is_loyalty": false,
- "total_redeem_amount": 0,
- "is_offline": null,
- "is_sales_type": true,
- "payment_taxes": [
- {
- "id": 77720,
- "name": "tax",
- "amount": 10,
- "total": -6300,
- "taxable_amount": -63000,
- "payment_id": 89725,
- "created_at": "2018-01-27T20:40:30.493+07:00",
- "updated_at": "2018-01-27T20:40:30.493+07:00",
- "tax_id": 11945
- }
- ],
- "payment_gratuities": [
- {
- "id": 89407,
- "name": "Dine In",
- "amount": 5,
- "total": -3000,
- "payment_id": 89725,
- "created_at": "2018-01-27T20:40:30.490+07:00",
- "updated_at": "2018-01-27T20:40:30.490+07:00",
- "gratuity_id": 5826
- }
- ],
- "payment_discounts": [],
- "payment_refunds": [],
- "checkouts": [
- {
- "id": 142310,
- "custom_amount": 0,
- "item_variant_id": 1865661,
- "quantity": -1,
- "discount_amount": 0,
- "tax_amount": -6300,
- "business_id": 18368,
- "payment_id": 89725,
- "is_deleted": false,
- "created_at": "2018-01-27T20:40:24.068+07:00",
- "updated_at": "2018-01-27T20:40:30.481+07:00",
- "item_id": 3191698,
- "item_discount": 0,
- "item_price_library": 60000,
- "item_price": 60000,
- "item_price_discount": -60000,
- "gratuity_amount": -3000,
- "item_price_discount_gratuity": 0,
- "total_price": -60000,
- "item_price_quantity": -60000,
- "category_name": "Uncategorized",
- "category_id": 100844,
- "item_name": "Custom Amount",
- "item_variant_name": "",
- "sku": "",
- "note": null,
- "cogs": null,
- "gross_sales": -60000,
- "outlet_id": 28076,
- "position": null,
- "net_sales": -60000,
- "track_stock": false,
- "item_image": null,
- "parent_checkout_id": 142307,
- "is_recipe": false,
- "redeem_amount": 0,
- "sales_type_id": 7177,
- "sales_type_name": "Dine In",
- "checkout_modifiers": [],
- "checkout_discounts": []
- }
- ]
- },
- {
- "id": 89721,
- "status": "Done",
- "payment_no": "INV3BO4LO",
- "payment_type": "invoice",
- "amount_pay": 2425500,
- "amount_change": 0,
- "total_discount_amount": 0,
- "total_gratuity_amount": 105000,
- "total_item_price_amount": 0,
- "total_tax_amount": 220500,
- "total_checkouts_amount": 2000000,
- "is_refunded": false,
- "refunded_reason": null,
- "refunded_date": null,
- "business_id": 18368,
- "customer_id": 163129,
- "discount_id": null,
- "is_deleted": false,
- "created_at": "2018-01-27T20:39:58.610+07:00",
- "updated_at": "2018-01-27T20:39:58.930+07:00",
- "total_custom_price_amount": 0,
- "include_gratuity_tax": false,
- "parent_payment_id": null,
- "refund_amount": 0,
- "refund_type": null,
- "card_no": null,
- "created_by": 31698,
- "note": "",
- "total_collected_amount": 2425500,
- "server_id": 31698,
- "server_name": "API Test",
- "server_title": "",
- "auth_code": null,
- "cc_name": null,
- "card_type": null,
- "transaction_number": null,
- "transaction_reference": null,
- "outlet_id": 28076,
- "guid": "330647e9-ac87-4214-abbf-3fe72f815015",
- "synchronized_at": "2018-01-27T20:39:58.930+07:00",
- "uniq_id": "2",
- "transaction_certificate": null,
- "transaction_status_info": null,
- "merchant_id": null,
- "mpos_device_id": null,
- "pg_mid": null,
- "pg_setting": null,
- "order_info": null,
- "tvr": null,
- "cvm_result": null,
- "aid": null,
- "transaction_date": null,
- "pii": null,
- "collected_by": "API Test",
- "shift_id": 0,
- "invoice_no": "INV3BO4LO",
- "invoice_deposit_amount": 0,
- "invoice_due_date": "2018-02-03",
- "invoice_status": "unpaid",
- "latitude": null,
- "longitude": null,
- "refund_ids": "--- []\n",
- "total_gross_sales": 2200000,
- "total_net_sales": 2100000,
- "is_refund_breakdown": true,
- "customer_name": "Desy",
- "customer_email": "desy@mokapos.com",
- "customer_phone": "+6281288004402",
- "subtotal": 2100000,
- "creator_name": "API Test",
- "table_name": null,
- "collector_id": 31698,
- "cashlezz_transaction_id": null,
- "sms_id": null,
- "receipt_count": null,
- "order_id": null,
- "is_loyalty": true,
- "total_redeem_amount": 100000,
- "is_offline": false,
- "is_sales_type": true,
- "payment_taxes": [
- {
- "id": 77716,
- "name": "tax",
- "amount": 10,
- "total": 220500,
- "taxable_amount": 2205000,
- "payment_id": 89721,
- "created_at": "2018-01-27T20:39:58.610+07:00",
- "updated_at": "2018-01-27T20:39:58.752+07:00",
- "tax_id": 11945
- }
- ],
- "payment_gratuities": [
- {
- "id": 89403,
- "name": "Dine In",
- "amount": 5,
- "total": 105000,
- "payment_id": 89721,
- "created_at": "2018-01-27T20:39:58.610+07:00",
- "updated_at": "2018-01-27T20:39:58.748+07:00",
- "gratuity_id": 5826
- }
- ],
- "payment_discounts": [],
- "payment_refunds": [],
- "checkouts": [
- {
- "id": 142306,
- "custom_amount": 0,
- "item_variant_id": 1865661,
- "quantity": 1,
- "discount_amount": 0,
- "tax_amount": 70159.091,
- "business_id": 18368,
- "payment_id": 89721,
- "is_deleted": false,
- "created_at": "2018-01-27T20:39:58.610+07:00",
- "updated_at": "2018-01-27T20:39:58.740+07:00",
- "item_id": 3191698,
- "item_discount": 0,
- "item_price_library": 700000,
- "item_price": 700000,
- "item_price_discount": 700000,
- "gratuity_amount": 33409.0909,
- "item_price_discount_gratuity": 0,
- "total_price": 668181.818181818,
- "item_price_quantity": 700000,
- "category_name": "Uncategorized",
- "category_id": 100844,
- "item_name": "Custom Amount",
- "item_variant_name": "",
- "sku": "",
- "note": null,
- "cogs": null,
- "gross_sales": 700000,
- "outlet_id": 28076,
- "position": null,
- "net_sales": 668181.818,
- "track_stock": false,
- "item_image": null,
- "parent_checkout_id": null,
- "is_recipe": false,
- "redeem_amount": 31818.1818181818,
- "sales_type_id": 7177,
- "sales_type_name": "Dine In",
- "checkout_modifiers": [],
- "checkout_discounts": []
- },
- {
- "id": 142305,
- "custom_amount": 0,
- "item_variant_id": 1865661,
- "quantity": 1,
- "discount_amount": 0,
- "tax_amount": 90204.545,
- "business_id": 18368,
- "payment_id": 89721,
- "is_deleted": false,
- "created_at": "2018-01-27T20:39:58.610+07:00",
- "updated_at": "2018-01-27T20:39:58.735+07:00",
- "item_id": 3191698,
- "item_discount": 0,
- "item_price_library": 900000,
- "item_price": 900000,
- "item_price_discount": 900000,
- "gratuity_amount": 42954.54545,
- "item_price_discount_gratuity": 0,
- "total_price": 859090.909090909,
- "item_price_quantity": 900000,
- "category_name": "Uncategorized",
- "category_id": 100844,
- "item_name": "Custom Amount",
- "item_variant_name": "",
- "sku": "",
- "note": null,
- "cogs": null,
- "gross_sales": 900000,
- "outlet_id": 28076,
- "position": null,
- "net_sales": 859090.909,
- "track_stock": false,
- "item_image": null,
- "parent_checkout_id": null,
- "is_recipe": false,
- "redeem_amount": 40909.0909090909,
- "sales_type_id": 7177,
- "sales_type_name": "Dine In",
- "checkout_modifiers": [],
- "checkout_discounts": []
- },
- {
- "id": 142304,
- "custom_amount": 0,
- "item_variant_id": 1865661,
- "quantity": 1,
- "discount_amount": 0,
- "tax_amount": 60136.364,
- "business_id": 18368,
- "payment_id": 89721,
- "is_deleted": false,
- "created_at": "2018-01-27T20:39:58.610+07:00",
- "updated_at": "2018-01-27T20:39:58.729+07:00",
- "item_id": 3191698,
- "item_discount": 0,
- "item_price_library": 600000,
- "item_price": 600000,
- "item_price_discount": 600000,
- "gratuity_amount": 28636.36365,
- "item_price_discount_gratuity": 0,
- "total_price": 572727.272727273,
- "item_price_quantity": 600000,
- "category_name": "Uncategorized",
- "category_id": 100844,
- "item_name": "Custom Amount",
- "item_variant_name": "",
- "sku": "",
- "note": null,
- "cogs": null,
- "gross_sales": 600000,
- "outlet_id": 28076,
- "position": null,
- "net_sales": 572727.273,
- "track_stock": false,
- "item_image": null,
- "parent_checkout_id": null,
- "is_recipe": false,
- "redeem_amount": 27272.7272727273,
- "sales_type_id": 7177,
- "sales_type_name": "Dine In",
- "checkout_modifiers": [],
- "checkout_discounts": []
- }
- ]
- },
- {
- "id": 89720,
- "status": "Done",
- "payment_no": "3BO4LN",
- "payment_type": "other",
- "amount_pay": 79233,
- "amount_change": 0,
- "total_discount_amount": 269400,
- "total_gratuity_amount": 3430,
- "total_item_price_amount": 0,
- "total_tax_amount": 7203,
- "total_checkouts_amount": -200800,
- "is_refunded": false,
- "refunded_reason": null,
- "refunded_date": null,
- "business_id": 18368,
- "customer_id": null,
- "discount_id": null,
- "is_deleted": false,
- "created_at": "2018-01-27T20:39:15.688+07:00",
- "updated_at": "2018-01-27T20:39:15.688+07:00",
- "total_custom_price_amount": 0,
- "include_gratuity_tax": false,
- "parent_payment_id": null,
- "refund_amount": 0,
- "refund_type": null,
- "card_no": null,
- "created_by": 31698,
- "note": "notes other payment",
- "total_collected_amount": 79233,
- "server_id": 31699,
- "server_name": "API Staff",
- "server_title": "",
- "auth_code": null,
- "cc_name": null,
- "card_type": null,
- "transaction_number": null,
- "transaction_reference": null,
- "outlet_id": 28076,
- "guid": "af12302f-f114-42a5-8214-2c12174d7d7c",
- "synchronized_at": "2018-01-27T20:39:16.434+07:00",
- "uniq_id": "2",
- "transaction_certificate": null,
- "transaction_status_info": null,
- "merchant_id": null,
- "mpos_device_id": null,
- "pg_mid": null,
- "pg_setting": null,
- "order_info": null,
- "tvr": null,
- "cvm_result": null,
- "aid": null,
- "transaction_date": null,
- "pii": null,
- "collected_by": "API Test",
- "shift_id": 0,
- "invoice_no": null,
- "invoice_deposit_amount": null,
- "invoice_due_date": null,
- "invoice_status": null,
- "latitude": null,
- "longitude": null,
- "refund_ids": "--- []\n",
- "total_gross_sales": 338000,
- "total_net_sales": 68600,
- "is_refund_breakdown": true,
- "customer_name": null,
- "customer_email": null,
- "customer_phone": null,
- "subtotal": 68600,
- "creator_name": "API Test",
- "table_name": null,
- "collector_id": 31698,
- "cashlezz_transaction_id": null,
- "sms_id": null,
- "receipt_count": null,
- "order_id": null,
- "is_loyalty": false,
- "total_redeem_amount": 0,
- "is_offline": false,
- "is_sales_type": true,
- "payment_taxes": [
- {
- "id": 77715,
- "name": "tax",
- "amount": 10,
- "total": 7203,
- "taxable_amount": 72030,
- "payment_id": 89720,
- "created_at": "2018-01-27T20:39:15.688+07:00",
- "updated_at": "2018-01-27T20:39:16.432+07:00",
- "tax_id": 11945
- }
- ],
- "payment_gratuities": [
- {
- "id": 89402,
- "name": "Dine In",
- "amount": 5,
- "total": 3430,
- "payment_id": 89720,
- "created_at": "2018-01-27T20:39:15.688+07:00",
- "updated_at": "2018-01-27T20:39:16.428+07:00",
- "gratuity_id": 5826
- }
- ],
- "payment_discounts": [
- {
- "id": 7514,
- "payment_id": 89720,
- "discount_id": 17444,
- "discount_amount": 50000,
- "discount_name": "Discount D",
- "discount_type": "cash",
- "is_deleted": false,
- "created_at": "2018-01-27T20:39:15.688+07:00",
- "updated_at": "2018-01-27T20:39:16.424+07:00",
- "discount_cash": 50000
- },
- {
- "id": 7513,
- "payment_id": 89720,
- "discount_id": 17442,
- "discount_amount": 20000,
- "discount_name": "Discount B",
- "discount_type": "cash",
- "is_deleted": false,
- "created_at": "2018-01-27T20:39:15.688+07:00",
- "updated_at": "2018-01-27T20:39:16.422+07:00",
- "discount_cash": 20000
- }
- ],
- "payment_refunds": [],
- "checkouts": [
- {
- "id": 142303,
- "custom_amount": 0,
- "item_variant_id": 1865664,
- "quantity": 4,
- "discount_amount": 140000,
- "tax_amount": 0,
- "business_id": 18368,
- "payment_id": 89720,
- "is_deleted": false,
- "created_at": "2018-01-27T20:39:15.688+07:00",
- "updated_at": "2018-01-27T20:39:16.041+07:00",
- "item_id": 3191701,
- "item_discount": 0,
- "item_price_library": 35000,
- "item_price": 35000,
- "item_price_discount": 0,
- "gratuity_amount": 0,
- "item_price_discount_gratuity": 0,
- "total_price": 0,
- "item_price_quantity": 140000,
- "category_name": "Main Dish",
- "category_id": 100847,
- "item_name": "Meat Soup",
- "item_variant_name": "",
- "sku": "",
- "note": null,
- "cogs": 16000,
- "gross_sales": 140000,
- "outlet_id": 28076,
- "position": null,
- "net_sales": 0,
- "track_stock": false,
- "item_image": null,
- "parent_checkout_id": null,
- "is_recipe": true,
- "redeem_amount": 0,
- "sales_type_id": 7177,
- "sales_type_name": "Dine In",
- "checkout_modifiers": [],
- "checkout_discounts": []
- },
- {
- "id": 142302,
- "custom_amount": 0,
- "item_variant_id": 1865664,
- "quantity": 4,
- "discount_amount": 91494.949,
- "tax_amount": 5093.03,
- "business_id": 18368,
- "payment_id": 89720,
- "is_deleted": false,
- "created_at": "2018-01-27T20:39:15.688+07:00",
- "updated_at": "2018-01-27T20:39:16.031+07:00",
- "item_id": 3191701,
- "item_discount": 0,
- "item_price_library": 35000,
- "item_price": 35000,
- "item_price_discount": 48505.051,
- "gratuity_amount": 2425.25255,
- "item_price_discount_gratuity": 0,
- "total_price": 48505.051,
- "item_price_quantity": 140000,
- "category_name": "Main Dish",
- "category_id": 100847,
- "item_name": "Meat Soup",
- "item_variant_name": "",
- "sku": "",
- "note": null,
- "cogs": 16000,
- "gross_sales": 140000,
- "outlet_id": 28076,
- "position": null,
- "net_sales": 48505.051,
- "track_stock": false,
- "item_image": null,
- "parent_checkout_id": null,
- "is_recipe": true,
- "redeem_amount": 0,
- "sales_type_id": 7177,
- "sales_type_name": "Dine In",
- "checkout_modifiers": [],
- "checkout_discounts": [
- {
- "id": 27339,
- "discount_id": 0,
- "is_deleted": false,
- "created_at": "2018-01-27T20:39:15.688+07:00",
- "updated_at": "2018-01-27T20:39:16.034+07:00",
- "checkout_id": 142302,
- "discount_amount": 91494,
- "discount_name": "All Discount",
- "discount_type": "Rupiah and Percentage",
- "discount_percentage": 0,
- "payment_id": 89720,
- "discount_hash": [
- {
- "discount_id": 17443,
- "discount_type": "percentage",
- "discount_name": "Discount C",
- "discount_percentage": "20",
- "discount_cash": "0.0",
- "discount_amount": "28000.0"
- },
- {
- "discount_id": 17441,
- "discount_type": "percentage",
- "discount_name": "Discount A",
- "discount_percentage": "10",
- "discount_cash": "0.0",
- "discount_amount": "14000.0"
- },
- {
- "discount_id": 17442,
- "discount_type": "cash",
- "discount_name": "Discount B",
- "discount_percentage": "0",
- "discount_cash": "20000.0",
- "discount_amount": "14141.414"
- },
- {
- "discount_id": 17444,
- "discount_type": "cash",
- "discount_name": "Discount D",
- "discount_percentage": "0",
- "discount_cash": "50000.0",
- "discount_amount": "35353.535"
- }
- ]
- }
- ]
- },
- {
- "id": 142301,
- "custom_amount": 0,
- "item_variant_id": 1865661,
- "quantity": 1,
- "discount_amount": 37905.051,
- "tax_amount": 2109.97,
- "business_id": 18368,
- "payment_id": 89720,
- "is_deleted": false,
- "created_at": "2018-01-27T20:39:15.688+07:00",
- "updated_at": "2018-01-27T20:39:16.020+07:00",
- "item_id": 3191698,
- "item_discount": 0,
- "item_price_library": 58000,
- "item_price": 58000,
- "item_price_discount": 20094.949,
- "gratuity_amount": 1004.74745,
- "item_price_discount_gratuity": 0,
- "total_price": 20094.949,
- "item_price_quantity": 58000,
- "category_name": "Uncategorized",
- "category_id": 100844,
- "item_name": "Custom Amount",
- "item_variant_name": "",
- "sku": "",
- "note": null,
- "cogs": null,
- "gross_sales": 58000,
- "outlet_id": 28076,
- "position": null,
- "net_sales": 20094.949,
- "track_stock": false,
- "item_image": null,
- "parent_checkout_id": null,
- "is_recipe": false,
- "redeem_amount": 0,
- "sales_type_id": 7177,
- "sales_type_name": "Dine In",
- "checkout_modifiers": [],
- "checkout_discounts": [
- {
- "id": 27338,
- "discount_id": 0,
- "is_deleted": false,
- "created_at": "2018-01-27T20:39:15.688+07:00",
- "updated_at": "2018-01-27T20:39:16.022+07:00",
- "checkout_id": 142301,
- "discount_amount": 37905,
- "discount_name": "All Discount",
- "discount_type": "Rupiah and Percentage",
- "discount_percentage": 0,
- "payment_id": 89720,
- "discount_hash": [
- {
- "discount_id": 17443,
- "discount_type": "percentage",
- "discount_name": "Discount C",
- "discount_percentage": "20",
- "discount_cash": "0.0",
- "discount_amount": "11600.0"
- },
- {
- "discount_id": 17441,
- "discount_type": "percentage",
- "discount_name": "Discount A",
- "discount_percentage": "10",
- "discount_cash": "0.0",
- "discount_amount": "5800.0"
- },
- {
- "discount_id": 17442,
- "discount_type": "cash",
- "discount_name": "Discount B",
- "discount_percentage": "0",
- "discount_cash": "20000.0",
- "discount_amount": "5858.586"
- },
- {
- "discount_id": 17444,
- "discount_type": "cash",
- "discount_name": "Discount D",
- "discount_percentage": "0",
- "discount_cash": "50000.0",
- "discount_amount": "14646.465"
- }
- ]
- }
- ]
- }
- ]
- },
- {
- "id": 89719,
- "status": "Done",
- "payment_no": "3BO4LM",
- "payment_type": "edc",
- "amount_pay": 649110,
- "amount_change": 0,
- "total_discount_amount": 0,
- "total_gratuity_amount": 28100,
- "total_item_price_amount": 0,
- "total_tax_amount": 59010,
- "total_checkouts_amount": 562000,
- "is_refunded": false,
- "refunded_reason": null,
- "refunded_date": null,
- "business_id": 18368,
- "customer_id": null,
- "discount_id": null,
- "is_deleted": false,
- "created_at": "2018-01-27T20:38:42.630+07:00",
- "updated_at": "2018-01-27T20:38:42.630+07:00",
- "total_custom_price_amount": 0,
- "include_gratuity_tax": false,
- "parent_payment_id": null,
- "refund_amount": 0,
- "refund_type": null,
- "card_no": null,
- "created_by": 31698,
- "note": "",
- "total_collected_amount": 649110,
- "server_id": 31698,
- "server_name": "API Test",
- "server_title": "",
- "auth_code": null,
- "cc_name": null,
- "card_type": null,
- "transaction_number": null,
- "transaction_reference": null,
- "outlet_id": 28076,
- "guid": "4430d40a-6afc-4764-af17-6f2496dc076e",
- "synchronized_at": "2018-01-27T20:38:42.570+07:00",
- "uniq_id": "2",
- "transaction_certificate": null,
- "transaction_status_info": null,
- "merchant_id": null,
- "mpos_device_id": null,
- "pg_mid": null,
- "pg_setting": null,
- "order_info": null,
- "tvr": null,
- "cvm_result": null,
- "aid": null,
- "transaction_date": null,
- "pii": null,
- "collected_by": "API Test",
- "shift_id": 0,
- "invoice_no": null,
- "invoice_deposit_amount": null,
- "invoice_due_date": null,
- "invoice_status": null,
- "latitude": null,
- "longitude": null,
- "refund_ids": "--- []\n",
- "total_gross_sales": 562000,
- "total_net_sales": 562000,
- "is_refund_breakdown": true,
- "customer_name": null,
- "customer_email": null,
- "customer_phone": null,
- "subtotal": 562000,
- "creator_name": "API Test",
- "table_name": null,
- "collector_id": 31698,
- "cashlezz_transaction_id": null,
- "sms_id": null,
- "receipt_count": null,
- "order_id": null,
- "is_loyalty": false,
- "total_redeem_amount": 0,
- "is_offline": false,
- "is_sales_type": true,
- "payment_taxes": [
- {
- "id": 77714,
- "name": "tax",
- "amount": 10,
- "total": 59010,
- "taxable_amount": 590100,
- "payment_id": 89719,
- "created_at": "2018-01-27T20:38:42.630+07:00",
- "updated_at": "2018-01-27T20:38:42.567+07:00",
- "tax_id": 11945
- }
- ],
- "payment_gratuities": [
- {
- "id": 89401,
- "name": "Dine In",
- "amount": 5,
- "total": 28100,
- "payment_id": 89719,
- "created_at": "2018-01-27T20:38:42.630+07:00",
- "updated_at": "2018-01-27T20:38:42.564+07:00",
- "gratuity_id": 5826
- }
- ],
- "payment_discounts": [],
- "payment_refunds": [],
- "checkouts": [
- {
- "id": 142300,
- "custom_amount": 0,
- "item_variant_id": 1865661,
- "quantity": 1,
- "discount_amount": 0,
- "tax_amount": 59010,
- "business_id": 18368,
- "payment_id": 89719,
- "is_deleted": false,
- "created_at": "2018-01-27T20:38:42.630+07:00",
- "updated_at": "2018-01-27T20:38:42.556+07:00",
- "item_id": 3191698,
- "item_discount": 0,
- "item_price_library": 562000,
- "item_price": 562000,
- "item_price_discount": 562000,
- "gratuity_amount": 28100,
- "item_price_discount_gratuity": 0,
- "total_price": 562000,
- "item_price_quantity": 562000,
- "category_name": "Uncategorized",
- "category_id": 100844,
- "item_name": "Custom Amount",
- "item_variant_name": "",
- "sku": "",
- "note": null,
- "cogs": null,
- "gross_sales": 562000,
- "outlet_id": 28076,
- "position": null,
- "net_sales": 562000,
- "track_stock": false,
- "item_image": null,
- "parent_checkout_id": null,
- "is_recipe": false,
- "redeem_amount": 0,
- "sales_type_id": 7177,
- "sales_type_name": "Dine In",
- "checkout_modifiers": [],
- "checkout_discounts": []
- }
- ]
- },
- {
- "id": 89718,
- "status": "Done",
- "payment_no": "3BO4LL",
- "payment_type": "gift_card",
- "amount_pay": 10459680,
- "amount_change": 0,
- "total_discount_amount": 0,
- "total_gratuity_amount": 452800,
- "total_item_price_amount": 0,
- "total_tax_amount": 950880,
- "total_checkouts_amount": 9056000,
- "is_refunded": false,
- "refunded_reason": null,
- "refunded_date": null,
- "business_id": 18368,
- "customer_id": null,
- "discount_id": null,
- "is_deleted": false,
- "created_at": "2018-01-27T20:38:11.447+07:00",
- "updated_at": "2018-01-27T20:38:11.447+07:00",
- "total_custom_price_amount": 0,
- "include_gratuity_tax": false,
- "parent_payment_id": null,
- "refund_amount": 0,
- "refund_type": null,
- "card_no": null,
- "created_by": 31698,
- "note": "",
- "total_collected_amount": 10459680,
- "server_id": 31699,
- "server_name": "API Staff",
- "server_title": "",
- "auth_code": null,
- "cc_name": null,
- "card_type": null,
- "transaction_number": null,
- "transaction_reference": null,
- "outlet_id": 28076,
- "guid": "0a75dd9c-b96e-4c98-9c74-7db7709cd190",
- "synchronized_at": "2018-01-27T20:38:11.723+07:00",
- "uniq_id": "2",
- "transaction_certificate": null,
- "transaction_status_info": null,
- "merchant_id": null,
- "mpos_device_id": null,
- "pg_mid": null,
- "pg_setting": null,
- "order_info": null,
- "tvr": null,
- "cvm_result": null,
- "aid": null,
- "transaction_date": null,
- "pii": null,
- "collected_by": "API Test",
- "shift_id": 0,
- "invoice_no": null,
- "invoice_deposit_amount": null,
- "invoice_due_date": null,
- "invoice_status": null,
- "latitude": null,
- "longitude": null,
- "refund_ids": "--- []\n",
- "total_gross_sales": 9056000,
- "total_net_sales": 9056000,
- "is_refund_breakdown": true,
- "customer_name": null,
- "customer_email": null,
- "customer_phone": null,
- "subtotal": 9056000,
- "creator_name": "API Test",
- "table_name": null,
- "collector_id": 31698,
- "cashlezz_transaction_id": null,
- "sms_id": null,
- "receipt_count": null,
- "order_id": null,
- "is_loyalty": false,
- "total_redeem_amount": 0,
- "is_offline": false,
- "is_sales_type": true,
- "payment_taxes": [
- {
- "id": 77713,
- "name": "tax",
- "amount": 10,
- "total": 950880,
- "taxable_amount": 9508800,
- "payment_id": 89718,
- "created_at": "2018-01-27T20:38:11.447+07:00",
- "updated_at": "2018-01-27T20:38:11.720+07:00",
- "tax_id": 11945
- }
- ],
- "payment_gratuities": [
- {
- "id": 89400,
- "name": "Dine In",
- "amount": 5,
- "total": 452800,
- "payment_id": 89718,
- "created_at": "2018-01-27T20:38:11.447+07:00",
- "updated_at": "2018-01-27T20:38:11.715+07:00",
- "gratuity_id": 5826
- }
- ],
- "payment_discounts": [],
- "payment_refunds": [],
- "checkouts": [
- {
- "id": 142299,
- "custom_amount": 0,
- "item_variant_id": 1865661,
- "quantity": 1,
- "discount_amount": 0,
- "tax_amount": 945000,
- "business_id": 18368,
- "payment_id": 89718,
- "is_deleted": false,
- "created_at": "2018-01-27T20:38:11.447+07:00",
- "updated_at": "2018-01-27T20:38:11.706+07:00",
- "item_id": 3191698,
- "item_discount": 0,
- "item_price_library": 9000000,
- "item_price": 9000000,
- "item_price_discount": 9000000,
- "gratuity_amount": 450000,
- "item_price_discount_gratuity": 0,
- "total_price": 9000000,
- "item_price_quantity": 9000000,
- "category_name": "Uncategorized",
- "category_id": 100844,
- "item_name": "Custom Amount",
- "item_variant_name": "",
- "sku": "",
- "note": null,
- "cogs": null,
- "gross_sales": 9000000,
- "outlet_id": 28076,
- "position": null,
- "net_sales": 9000000,
- "track_stock": false,
- "item_image": null,
- "parent_checkout_id": null,
- "is_recipe": false,
- "redeem_amount": 0,
- "sales_type_id": 7177,
- "sales_type_name": "Dine In",
- "checkout_modifiers": [],
- "checkout_discounts": []
- },
- {
- "id": 142298,
- "custom_amount": 0,
- "item_variant_id": 1865661,
- "quantity": 1,
- "discount_amount": 0,
- "tax_amount": 5880,
- "business_id": 18368,
- "payment_id": 89718,
- "is_deleted": false,
- "created_at": "2018-01-27T20:38:11.447+07:00",
- "updated_at": "2018-01-27T20:38:11.698+07:00",
- "item_id": 3191698,
- "item_discount": 0,
- "item_price_library": 56000,
- "item_price": 56000,
- "item_price_discount": 56000,
- "gratuity_amount": 2800,
- "item_price_discount_gratuity": 0,
- "total_price": 56000,
- "item_price_quantity": 56000,
- "category_name": "Uncategorized",
- "category_id": 100844,
- "item_name": "Custom Amount",
- "item_variant_name": "",
- "sku": "",
- "note": null,
- "cogs": null,
- "gross_sales": 56000,
- "outlet_id": 28076,
- "position": null,
- "net_sales": 56000,
- "track_stock": false,
- "item_image": null,
- "parent_checkout_id": null,
- "is_recipe": false,
- "redeem_amount": 0,
- "sales_type_id": 7177,
- "sales_type_name": "Dine In",
- "checkout_modifiers": [],
- "checkout_discounts": []
- }
- ]
- },
- {
- "id": 89717,
- "status": "Done",
- "payment_no": "3BO4LK",
- "payment_type": "gift_card",
- "amount_pay": 346500,
- "amount_change": 0,
- "total_discount_amount": 348000,
- "total_gratuity_amount": 15000,
- "total_item_price_amount": 0,
- "total_tax_amount": 31500,
- "total_checkouts_amount": -48000,
- "is_refunded": false,
- "refunded_reason": null,
- "refunded_date": null,
- "business_id": 18368,
- "customer_id": null,
- "discount_id": null,
- "is_deleted": false,
- "created_at": "2018-01-27T20:35:09.798+07:00",
- "updated_at": "2018-01-27T20:35:09.798+07:00",
- "total_custom_price_amount": 0,
- "include_gratuity_tax": false,
- "parent_payment_id": null,
- "refund_amount": 0,
- "refund_type": null,
- "card_no": null,
- "created_by": 31699,
- "note": "",
- "total_collected_amount": 346500,
- "server_id": null,
- "server_name": null,
- "server_title": null,
- "auth_code": null,
- "cc_name": null,
- "card_type": null,
- "transaction_number": null,
- "transaction_reference": null,
- "outlet_id": 28076,
- "guid": "43cf4f1d-46ce-459a-b145-26c9bc7df626",
- "synchronized_at": "2018-01-27T20:35:10.634+07:00",
- "uniq_id": "2",
- "transaction_certificate": null,
- "transaction_status_info": null,
- "merchant_id": null,
- "mpos_device_id": null,
- "pg_mid": null,
- "pg_setting": null,
- "order_info": null,
- "tvr": null,
- "cvm_result": null,
- "aid": null,
- "transaction_date": null,
- "pii": null,
- "collected_by": "API Staff",
- "shift_id": 0,
- "invoice_no": null,
- "invoice_deposit_amount": null,
- "invoice_due_date": null,
- "invoice_status": null,
- "latitude": null,
- "longitude": null,
- "refund_ids": "--- []\n",
- "total_gross_sales": 648000,
- "total_net_sales": 300000,
- "is_refund_breakdown": true,
- "customer_name": null,
- "customer_email": null,
- "customer_phone": null,
- "subtotal": 300000,
- "creator_name": "API Staff",
- "table_name": null,
- "collector_id": 31699,
- "cashlezz_transaction_id": null,
- "sms_id": null,
- "receipt_count": null,
- "order_id": null,
- "is_loyalty": false,
- "total_redeem_amount": 0,
- "is_offline": false,
- "is_sales_type": true,
- "payment_taxes": [
- {
- "id": 77712,
- "name": "tax",
- "amount": 10,
- "total": 31500,
- "taxable_amount": 315000,
- "payment_id": 89717,
- "created_at": "2018-01-27T20:35:09.798+07:00",
- "updated_at": "2018-01-27T20:35:10.631+07:00",
- "tax_id": 11945
- }
- ],
- "payment_gratuities": [
- {
- "id": 89399,
- "name": "Dine In",
- "amount": 5,
- "total": 15000,
- "payment_id": 89717,
- "created_at": "2018-01-27T20:35:09.798+07:00",
- "updated_at": "2018-01-27T20:35:10.627+07:00",
- "gratuity_id": 5826
- }
- ],
- "payment_discounts": [],
- "payment_refunds": [],
- "checkouts": [
- {
- "id": 142297,
- "custom_amount": 0,
- "item_variant_id": 1865670,
- "quantity": 4,
- "discount_amount": 200000,
- "tax_amount": 9240,
- "business_id": 18368,
- "payment_id": 89717,
- "is_deleted": false,
- "created_at": "2018-01-27T20:35:09.798+07:00",
- "updated_at": "2018-01-27T20:35:10.327+07:00",
- "item_id": 3191705,
- "item_discount": 0,
- "item_price_library": 72000,
- "item_price": 72000,
- "item_price_discount": 88000,
- "gratuity_amount": 4400,
- "item_price_discount_gratuity": 0,
- "total_price": 88000,
- "item_price_quantity": 288000,
- "category_name": "Uncategorized",
- "category_id": 100844,
- "item_name": "Custom",
- "item_variant_name": "",
- "sku": "",
- "note": null,
- "cogs": null,
- "gross_sales": 288000,
- "outlet_id": 28076,
- "position": null,
- "net_sales": 88000,
- "track_stock": false,
- "item_image": null,
- "parent_checkout_id": null,
- "is_recipe": false,
- "redeem_amount": 0,
- "sales_type_id": 7177,
- "sales_type_name": "Dine In",
- "checkout_modifiers": [
- {
- "id": 35181,
- "checkout_id": 142297,
- "modifier_id": 17984,
- "modifier_option_id": 97444,
- "modifier_name": "Makanan",
- "modifier_option_name": "Rice",
- "price": 5000,
- "created_at": "2018-01-27T20:35:09.798+07:00",
- "updated_at": "2018-01-27T20:35:10.335+07:00",
- "cogs": null,
- "outlet_id": 28076,
- "payment_id": 89717,
- "discount_amount": 13888.889,
- "gross_sales": 20000,
- "net_sales": 6111.111,
- "discount_hash": null,
- "redeem_amount": 0
- },
- {
- "id": 35180,
- "checkout_id": 142297,
- "modifier_id": 17984,
- "modifier_option_id": 97446,
- "modifier_name": "Makanan",
- "modifier_option_name": "Meat",
- "price": 10000,
- "created_at": "2018-01-27T20:35:09.798+07:00",
- "updated_at": "2018-01-27T20:35:10.332+07:00",
- "cogs": null,
- "outlet_id": 28076,
- "payment_id": 89717,
- "discount_amount": 27777.778,
- "gross_sales": 40000,
- "net_sales": 12222.222,
- "discount_hash": null,
- "redeem_amount": 0
- },
- {
- "id": 35179,
- "checkout_id": 142297,
- "modifier_id": 17984,
- "modifier_option_id": 97445,
- "modifier_name": "Makanan",
- "modifier_option_name": "Cheese",
- "price": 7000,
- "created_at": "2018-01-27T20:35:09.798+07:00",
- "updated_at": "2018-01-27T20:35:10.329+07:00",
- "cogs": null,
- "outlet_id": 28076,
- "payment_id": 89717,
- "discount_amount": 19444.444,
- "gross_sales": 28000,
- "net_sales": 8555.556,
- "discount_hash": null,
- "redeem_amount": 0
- }
- ],
- "checkout_discounts": []
- },
- {
- "id": 142296,
- "custom_amount": 0,
- "item_variant_id": 1865666,
- "quantity": 1,
- "discount_amount": 2000,
- "tax_amount": 1890,
- "business_id": 18368,
- "payment_id": 89717,
- "is_deleted": false,
- "created_at": "2018-01-27T20:35:09.798+07:00",
- "updated_at": "2018-01-27T20:35:10.319+07:00",
- "item_id": 3191702,
- "item_discount": 0,
- "item_price_library": 20000,
- "item_price": 20000,
- "item_price_discount": 18000,
- "gratuity_amount": 900,
- "item_price_discount_gratuity": 0,
- "total_price": 18000,
- "item_price_quantity": 20000,
- "category_name": "Main Dish",
- "category_id": 100847,
- "item_name": "Chicken",
- "item_variant_name": "Chiken Paha",
- "sku": "",
- "note": null,
- "cogs": null,
- "gross_sales": 20000,
- "outlet_id": 28076,
- "position": null,
- "net_sales": 18000,
- "track_stock": false,
- "item_image": null,
- "parent_checkout_id": null,
- "is_recipe": false,
- "redeem_amount": 0,
- "sales_type_id": 7177,
- "sales_type_name": "Dine In",
- "checkout_modifiers": [],
- "checkout_discounts": []
- },
- {
- "id": 142295,
- "custom_amount": 0,
- "item_variant_id": 1865665,
- "quantity": 4,
- "discount_amount": 6000,
- "tax_amount": 5670,
- "business_id": 18368,
- "payment_id": 89717,
- "is_deleted": false,
- "created_at": "2018-01-27T20:35:09.798+07:00",
- "updated_at": "2018-01-27T20:35:10.313+07:00",
- "item_id": 3191702,
- "item_discount": 0,
- "item_price_library": 15000,
- "item_price": 15000,
- "item_price_discount": 54000,
- "gratuity_amount": 2700,
- "item_price_discount_gratuity": 0,
- "total_price": 54000,
- "item_price_quantity": 60000,
- "category_name": "Main Dish",
- "category_id": 100847,
- "item_name": "Chicken",
- "item_variant_name": "Chiken Wings",
- "sku": "",
- "note": null,
- "cogs": null,
- "gross_sales": 60000,
- "outlet_id": 28076,
- "position": null,
- "net_sales": 54000,
- "track_stock": false,
- "item_image": null,
- "parent_checkout_id": null,
- "is_recipe": false,
- "redeem_amount": 0,
- "sales_type_id": 7177,
- "sales_type_name": "Dine In",
- "checkout_modifiers": [],
- "checkout_discounts": []
- },
- {
- "id": 142294,
- "custom_amount": 0,
- "item_variant_id": 1865664,
- "quantity": 4,
- "discount_amount": 140000,
- "tax_amount": 0,
- "business_id": 18368,
- "payment_id": 89717,
- "is_deleted": false,
- "created_at": "2018-01-27T20:35:09.798+07:00",
- "updated_at": "2018-01-27T20:35:10.307+07:00",
- "item_id": 3191701,
- "item_discount": 0,
- "item_price_library": 35000,
- "item_price": 35000,
- "item_price_discount": 0,
- "gratuity_amount": 0,
- "item_price_discount_gratuity": 0,
- "total_price": 0,
- "item_price_quantity": 140000,
- "category_name": "Main Dish",
- "category_id": 100847,
- "item_name": "Meat Soup",
- "item_variant_name": "",
- "sku": "",
- "note": null,
- "cogs": 16000,
- "gross_sales": 140000,
- "outlet_id": 28076,
- "position": null,
- "net_sales": 0,
- "track_stock": false,
- "item_image": null,
- "parent_checkout_id": null,
- "is_recipe": true,
- "redeem_amount": 0,
- "sales_type_id": 7177,
- "sales_type_name": "Dine In",
- "checkout_modifiers": [],
- "checkout_discounts": []
- },
- {
- "id": 142293,
- "custom_amount": 0,
- "item_variant_id": 1865664,
- "quantity": 4,
- "discount_amount": 0,
- "tax_amount": 14700,
- "business_id": 18368,
- "payment_id": 89717,
- "is_deleted": false,
- "created_at": "2018-01-27T20:35:09.798+07:00",
- "updated_at": "2018-01-27T20:35:10.301+07:00",
- "item_id": 3191701,
- "item_discount": 0,
- "item_price_library": 35000,
- "item_price": 35000,
- "item_price_discount": 140000,
- "gratuity_amount": 7000,
- "item_price_discount_gratuity": 0,
- "total_price": 140000,
- "item_price_quantity": 140000,
- "category_name": "Main Dish",
- "category_id": 100847,
- "item_name": "Meat Soup",
- "item_variant_name": "",
- "sku": "",
- "note": null,
- "cogs": 16000,
- "gross_sales": 140000,
- "outlet_id": 28076,
- "position": null,
- "net_sales": 140000,
- "track_stock": false,
- "item_image": null,
- "parent_checkout_id": null,
- "is_recipe": true,
- "redeem_amount": 0,
- "sales_type_id": 7177,
- "sales_type_name": "Dine In",
- "checkout_modifiers": [],
- "checkout_discounts": []
- }
- ]
- },
- {
- "id": 89716,
- "status": "Done",
- "payment_no": "3BO4LJ",
- "payment_type": "edc",
- "amount_pay": 161700,
- "amount_change": 0,
- "total_discount_amount": 140000,
- "total_gratuity_amount": 7000,
- "total_item_price_amount": 0,
- "total_tax_amount": 14700,
- "total_checkouts_amount": 0,
- "is_refunded": false,
- "refunded_reason": null,
- "refunded_date": null,
- "business_id": 18368,
- "customer_id": 163124,
- "discount_id": null,
- "is_deleted": false,
- "created_at": "2018-01-27T20:34:33.710+07:00",
- "updated_at": "2018-01-27T20:34:33.710+07:00",
- "total_custom_price_amount": 0,
- "include_gratuity_tax": false,
- "parent_payment_id": null,
- "refund_amount": 0,
- "refund_type": null,
- "card_no": null,
- "created_by": 31699,
- "note": "",
- "total_collected_amount": 161700,
- "server_id": null,
- "server_name": null,
- "server_title": null,
- "auth_code": null,
- "cc_name": null,
- "card_type": null,
- "transaction_number": null,
- "transaction_reference": null,
- "outlet_id": 28076,
- "guid": "002765df-926f-4cb3-aa64-59881805f275",
- "synchronized_at": "2018-01-27T20:34:34.411+07:00",
- "uniq_id": "2",
- "transaction_certificate": null,
- "transaction_status_info": null,
- "merchant_id": null,
- "mpos_device_id": null,
- "pg_mid": null,
- "pg_setting": null,
- "order_info": null,
- "tvr": null,
- "cvm_result": null,
- "aid": null,
- "transaction_date": null,
- "pii": null,
- "collected_by": "API Staff",
- "shift_id": 0,
- "invoice_no": null,
- "invoice_deposit_amount": null,
- "invoice_due_date": null,
- "invoice_status": null,
- "latitude": null,
- "longitude": null,
- "refund_ids": "--- []\n",
- "total_gross_sales": 280000,
- "total_net_sales": 140000,
- "is_refund_breakdown": true,
- "customer_name": "Renata",
- "customer_email": "renata@mailinator.com",
- "customer_phone": "+62856366952255555",
- "subtotal": 140000,
- "creator_name": "API Staff",
- "table_name": null,
- "collector_id": 31699,
- "cashlezz_transaction_id": null,
- "sms_id": null,
- "receipt_count": null,
- "order_id": null,
- "is_loyalty": false,
- "total_redeem_amount": 0,
- "is_offline": false,
- "is_sales_type": true,
- "payment_taxes": [
- {
- "id": 77711,
- "name": "tax",
- "amount": 10,
- "total": 14700,
- "taxable_amount": 147000,
- "payment_id": 89716,
- "created_at": "2018-01-27T20:34:33.710+07:00",
- "updated_at": "2018-01-27T20:34:34.409+07:00",
- "tax_id": 11945
- }
- ],
- "payment_gratuities": [
- {
- "id": 89398,
- "name": "Dine In",
- "amount": 5,
- "total": 7000,
- "payment_id": 89716,
- "created_at": "2018-01-27T20:34:33.710+07:00",
- "updated_at": "2018-01-27T20:34:34.405+07:00",
- "gratuity_id": 5826
- }
- ],
- "payment_discounts": [],
- "payment_refunds": [],
- "checkouts": [
- {
- "id": 142292,
- "custom_amount": 0,
- "item_variant_id": 1865664,
- "quantity": 4,
- "discount_amount": 140000,
- "tax_amount": 0,
- "business_id": 18368,
- "payment_id": 89716,
- "is_deleted": false,
- "created_at": "2018-01-27T20:34:33.710+07:00",
- "updated_at": "2018-01-27T20:34:33.982+07:00",
- "item_id": 3191701,
- "item_discount": 0,
- "item_price_library": 35000,
- "item_price": 35000,
- "item_price_discount": 0,
- "gratuity_amount": 0,
- "item_price_discount_gratuity": 0,
- "total_price": 0,
- "item_price_quantity": 140000,
- "category_name": "Main Dish",
- "category_id": 100847,
- "item_name": "Meat Soup",
- "item_variant_name": "",
- "sku": "",
- "note": null,
- "cogs": 16000,
- "gross_sales": 140000,
- "outlet_id": 28076,
- "position": null,
- "net_sales": 0,
- "track_stock": false,
- "item_image": null,
- "parent_checkout_id": null,
- "is_recipe": true,
- "redeem_amount": 0,
- "sales_type_id": 7177,
- "sales_type_name": "Dine In",
- "checkout_modifiers": [],
- "checkout_discounts": []
- },
- {
- "id": 142291,
- "custom_amount": 0,
- "item_variant_id": 1865664,
- "quantity": 4,
- "discount_amount": 0,
- "tax_amount": 14700,
- "business_id": 18368,
- "payment_id": 89716,
- "is_deleted": false,
- "created_at": "2018-01-27T20:34:33.710+07:00",
- "updated_at": "2018-01-27T20:34:33.972+07:00",
- "item_id": 3191701,
- "item_discount": 0,
- "item_price_library": 35000,
- "item_price": 35000,
- "item_price_discount": 140000,
- "gratuity_amount": 7000,
- "item_price_discount_gratuity": 0,
- "total_price": 140000,
- "item_price_quantity": 140000,
- "category_name": "Main Dish",
- "category_id": 100847,
- "item_name": "Meat Soup",
- "item_variant_name": "",
- "sku": "",
- "note": null,
- "cogs": 16000,
- "gross_sales": 140000,
- "outlet_id": 28076,
- "position": null,
- "net_sales": 140000,
- "track_stock": false,
- "item_image": null,
- "parent_checkout_id": null,
- "is_recipe": true,
- "redeem_amount": 0,
- "sales_type_id": 7177,
- "sales_type_name": "Dine In",
- "checkout_modifiers": [],
- "checkout_discounts": []
- }
- ]
- },
- {
- "id": 89715,
- "status": "Done",
- "payment_no": "3BO4LI",
- "payment_type": "cash",
- "amount_pay": 7935000,
- "amount_change": 4000,
- "total_discount_amount": 0,
- "total_gratuity_amount": 210000,
- "total_item_price_amount": 0,
- "total_tax_amount": 721000,
- "total_checkouts_amount": 7000000,
- "is_refunded": false,
- "refunded_reason": null,
- "refunded_date": null,
- "business_id": 18368,
- "customer_id": null,
- "discount_id": null,
- "is_deleted": false,
- "created_at": "2018-01-27T20:33:00.271+07:00",
- "updated_at": "2018-01-27T20:33:00.271+07:00",
- "total_custom_price_amount": 0,
- "include_gratuity_tax": false,
- "parent_payment_id": null,
- "refund_amount": 0,
- "refund_type": null,
- "card_no": null,
- "created_by": 31698,
- "note": null,
- "total_collected_amount": 7931000,
- "server_id": null,
- "server_name": null,
- "server_title": null,
- "auth_code": null,
- "cc_name": null,
- "card_type": null,
- "transaction_number": null,
- "transaction_reference": null,
- "outlet_id": 28076,
- "guid": "23075d7f-76bf-41c9-8838-5f4431d00a2f",
- "synchronized_at": "2018-01-27T20:33:00.672+07:00",
- "uniq_id": "2",
- "transaction_certificate": null,
- "transaction_status_info": null,
- "merchant_id": null,
- "mpos_device_id": null,
- "pg_mid": null,
- "pg_setting": null,
- "order_info": null,
- "tvr": null,
- "cvm_result": null,
- "aid": null,
- "transaction_date": null,
- "pii": null,
- "collected_by": "API Test",
- "shift_id": 0,
- "invoice_no": null,
- "invoice_deposit_amount": null,
- "invoice_due_date": null,
- "invoice_status": null,
- "latitude": null,
- "longitude": null,
- "refund_ids": "--- []\n",
- "total_gross_sales": 7000000,
- "total_net_sales": 7000000,
- "is_refund_breakdown": true,
- "customer_name": null,
- "customer_email": null,
- "customer_phone": null,
- "subtotal": 7000000,
- "creator_name": "API Test",
- "table_name": null,
- "collector_id": 31698,
- "cashlezz_transaction_id": null,
- "sms_id": null,
- "receipt_count": null,
- "order_id": null,
- "is_loyalty": false,
- "total_redeem_amount": 0,
- "is_offline": false,
- "is_sales_type": true,
- "payment_taxes": [
- {
- "id": 77710,
- "name": "tax",
- "amount": 10,
- "total": 721000,
- "taxable_amount": 7210000,
- "payment_id": 89715,
- "created_at": "2018-01-27T20:33:00.271+07:00",
- "updated_at": "2018-01-27T20:33:00.669+07:00",
- "tax_id": 11945
- }
- ],
- "payment_gratuities": [
- {
- "id": 89397,
- "name": "Take Away",
- "amount": 3,
- "total": 210000,
- "payment_id": 89715,
- "created_at": "2018-01-27T20:33:00.271+07:00",
- "updated_at": "2018-01-27T20:33:00.666+07:00",
- "gratuity_id": 5827
- }
- ],
- "payment_discounts": [],
- "payment_refunds": [],
- "checkouts": [
- {
- "id": 142290,
- "custom_amount": 0,
- "item_variant_id": 1865661,
- "quantity": 1,
- "discount_amount": 0,
- "tax_amount": 669500,
- "business_id": 18368,
- "payment_id": 89715,
- "is_deleted": false,
- "created_at": "2018-01-27T20:33:00.271+07:00",
- "updated_at": "2018-01-27T20:33:00.657+07:00",
- "item_id": 3191698,
- "item_discount": 0,
- "item_price_library": 6500000,
- "item_price": 6500000,
- "item_price_discount": 6500000,
- "gratuity_amount": 195000,
- "item_price_discount_gratuity": 0,
- "total_price": 6500000,
- "item_price_quantity": 6500000,
- "category_name": "Uncategorized",
- "category_id": 100844,
- "item_name": "Custom Amount",
- "item_variant_name": "",
- "sku": "",
- "note": null,
- "cogs": null,
- "gross_sales": 6500000,
- "outlet_id": 28076,
- "position": null,
- "net_sales": 6500000,
- "track_stock": false,
- "item_image": null,
- "parent_checkout_id": null,
- "is_recipe": false,
- "redeem_amount": 0,
- "sales_type_id": 7178,
- "sales_type_name": "Take Away",
- "checkout_modifiers": [],
- "checkout_discounts": []
- },
- {
- "id": 142289,
- "custom_amount": 0,
- "item_variant_id": 1865661,
- "quantity": 1,
- "discount_amount": 0,
- "tax_amount": 51500,
- "business_id": 18368,
- "payment_id": 89715,
- "is_deleted": false,
- "created_at": "2018-01-27T20:33:00.271+07:00",
- "updated_at": "2018-01-27T20:33:00.633+07:00",
- "item_id": 3191698,
- "item_discount": 0,
- "item_price_library": 500000,
- "item_price": 500000,
- "item_price_discount": 500000,
- "gratuity_amount": 15000,
- "item_price_discount_gratuity": 0,
- "total_price": 500000,
- "item_price_quantity": 500000,
- "category_name": "Uncategorized",
- "category_id": 100844,
- "item_name": "Custom Amount",
- "item_variant_name": "",
- "sku": "",
- "note": null,
- "cogs": null,
- "gross_sales": 500000,
- "outlet_id": 28076,
- "position": null,
- "net_sales": 500000,
- "track_stock": false,
- "item_image": null,
- "parent_checkout_id": null,
- "is_recipe": false,
- "redeem_amount": 0,
- "sales_type_id": 7178,
- "sales_type_name": "Take Away",
- "checkout_modifiers": [],
- "checkout_discounts": []
- }
- ]
- },
- {
- "id": 89714,
- "status": "Done",
- "payment_no": "INV3BO4LH",
- "payment_type": "invoice",
- "amount_pay": 1254000,
- "amount_change": 0,
- "total_discount_amount": 0,
- "total_gratuity_amount": 55000,
- "total_item_price_amount": 0,
- "total_tax_amount": 115500,
- "total_checkouts_amount": 783500,
- "is_refunded": false,
- "refunded_reason": null,
- "refunded_date": null,
- "business_id": 18368,
- "customer_id": 163129,
- "discount_id": null,
- "is_deleted": false,
- "created_at": "2018-01-27T20:31:15.692+07:00",
- "updated_at": "2018-01-27T20:31:15.970+07:00",
- "total_custom_price_amount": 0,
- "include_gratuity_tax": false,
- "parent_payment_id": null,
- "refund_amount": 0,
- "refund_type": null,
- "card_no": null,
- "created_by": 31698,
- "note": "",
- "total_collected_amount": 1254000,
- "server_id": null,
- "server_name": null,
- "server_title": null,
- "auth_code": null,
- "cc_name": null,
- "card_type": null,
- "transaction_number": null,
- "transaction_reference": null,
- "outlet_id": 28076,
- "guid": "98e53de5-d281-49bb-a36a-57bdd0e94061",
- "synchronized_at": "2018-01-27T20:31:15.970+07:00",
- "uniq_id": "2",
- "transaction_certificate": null,
- "transaction_status_info": null,
- "merchant_id": null,
- "mpos_device_id": null,
- "pg_mid": null,
- "pg_setting": null,
- "order_info": null,
- "tvr": null,
- "cvm_result": null,
- "aid": null,
- "transaction_date": null,
- "pii": null,
- "collected_by": "API Test",
- "shift_id": 0,
- "invoice_no": "INV3BO4LH",
- "invoice_deposit_amount": 0,
- "invoice_due_date": "2018-02-03",
- "invoice_status": "unpaid",
- "latitude": null,
- "longitude": null,
- "refund_ids": "--- []\n",
- "total_gross_sales": 1400000,
- "total_net_sales": 1100000,
- "is_refund_breakdown": true,
- "customer_name": "Desy",
- "customer_email": "desy@mokapos.com",
- "customer_phone": "+6281288004402",
- "subtotal": 1100000,
- "creator_name": "API Test",
- "table_name": null,
- "collector_id": 31698,
- "cashlezz_transaction_id": null,
- "sms_id": null,
- "receipt_count": null,
- "order_id": null,
- "is_loyalty": true,
- "total_redeem_amount": 300000,
- "is_offline": false,
- "is_sales_type": true,
- "payment_taxes": [
- {
- "id": 77709,
- "name": "tax",
- "amount": 10,
- "total": 115500,
- "taxable_amount": 1155000,
- "payment_id": 89714,
- "created_at": "2018-01-27T20:31:15.692+07:00",
- "updated_at": "2018-01-27T20:31:15.780+07:00",
- "tax_id": 11945
- }
- ],
- "payment_gratuities": [
- {
- "id": 89396,
- "name": "Dine In",
- "amount": 5,
- "total": 55000,
- "payment_id": 89714,
- "created_at": "2018-01-27T20:31:15.692+07:00",
- "updated_at": "2018-01-27T20:31:15.776+07:00",
- "gratuity_id": 5826
- }
- ],
- "payment_discounts": [],
- "payment_refunds": [],
- "checkouts": [
- {
- "id": 142288,
- "custom_amount": 0,
- "item_variant_id": 1865661,
- "quantity": 1,
- "discount_amount": 0,
- "tax_amount": 74250,
- "business_id": 18368,
- "payment_id": 89714,
- "is_deleted": false,
- "created_at": "2018-01-27T20:31:15.692+07:00",
- "updated_at": "2018-01-27T20:31:15.767+07:00",
- "item_id": 3191698,
- "item_discount": 0,
- "item_price_library": 900000,
- "item_price": 900000,
- "item_price_discount": 900000,
- "gratuity_amount": 35357.14285,
- "item_price_discount_gratuity": 0,
- "total_price": 707142.857,
- "item_price_quantity": 900000,
- "category_name": "Uncategorized",
- "category_id": 100844,
- "item_name": "Custom Amount",
- "item_variant_name": "",
- "sku": "",
- "note": null,
- "cogs": null,
- "gross_sales": 900000,
- "outlet_id": 28076,
- "position": null,
- "net_sales": 707142.857,
- "track_stock": false,
- "item_image": null,
- "parent_checkout_id": null,
- "is_recipe": false,
- "redeem_amount": 192857.143,
- "sales_type_id": 7177,
- "sales_type_name": "Dine In",
- "checkout_modifiers": [],
- "checkout_discounts": []
- },
- {
- "id": 142287,
- "custom_amount": 0,
- "item_variant_id": 1865661,
- "quantity": 1,
- "discount_amount": 0,
- "tax_amount": 41250,
- "business_id": 18368,
- "payment_id": 89714,
- "is_deleted": false,
- "created_at": "2018-01-27T20:31:15.692+07:00",
- "updated_at": "2018-01-27T20:31:15.759+07:00",
- "item_id": 3191698,
- "item_discount": 0,
- "item_price_library": 500000,
- "item_price": 500000,
- "item_price_discount": 500000,
- "gratuity_amount": 19642.85715,
- "item_price_discount_gratuity": 0,
- "total_price": 392857.143,
- "item_price_quantity": 500000,
- "category_name": "Uncategorized",
- "category_id": 100844,
- "item_name": "Custom Amount",
- "item_variant_name": "",
- "sku": "",
- "note": null,
- "cogs": null,
- "gross_sales": 500000,
- "outlet_id": 28076,
- "position": null,
- "net_sales": 392857.143,
- "track_stock": false,
- "item_image": null,
- "parent_checkout_id": null,
- "is_recipe": false,
- "redeem_amount": 107142.857,
- "sales_type_id": 7177,
- "sales_type_name": "Dine In",
- "checkout_modifiers": [],
- "checkout_discounts": []
- }
- ]
- },
- {
- "id": 89713,
- "status": "Done",
- "payment_no": "INV3BO4LG",
- "payment_type": "invoice",
- "amount_pay": 9313920,
- "amount_change": 0,
- "total_discount_amount": 0,
- "total_gratuity_amount": 403200,
- "total_item_price_amount": 0,
- "total_tax_amount": 846720,
- "total_checkouts_amount": 8064000,
- "is_refunded": false,
- "refunded_reason": null,
- "refunded_date": null,
- "business_id": 18368,
- "customer_id": 163129,
- "discount_id": null,
- "is_deleted": false,
- "created_at": "2018-01-27T20:20:27.338+07:00",
- "updated_at": "2018-01-27T20:21:25.939+07:00",
- "total_custom_price_amount": 0,
- "include_gratuity_tax": false,
- "parent_payment_id": null,
- "refund_amount": 0,
- "refund_type": null,
- "card_no": null,
- "created_by": 31698,
- "note": "",
- "total_collected_amount": 9313920,
- "server_id": null,
- "server_name": null,
- "server_title": null,
- "auth_code": null,
- "cc_name": null,
- "card_type": null,
- "transaction_number": null,
- "transaction_reference": null,
- "outlet_id": 28076,
- "guid": "abc6ce5b-9750-4a2d-b21d-fed5d7947c14",
- "synchronized_at": "2018-01-27T20:21:25.939+07:00",
- "uniq_id": "2",
- "transaction_certificate": null,
- "transaction_status_info": null,
- "merchant_id": null,
- "mpos_device_id": null,
- "pg_mid": null,
- "pg_setting": null,
- "order_info": null,
- "tvr": null,
- "cvm_result": null,
- "aid": null,
- "transaction_date": null,
- "pii": null,
- "collected_by": "API Test",
- "shift_id": 0,
- "invoice_no": "INV3BO4LG",
- "invoice_deposit_amount": 0,
- "invoice_due_date": "2018-02-26",
- "invoice_status": "paid",
- "latitude": null,
- "longitude": null,
- "refund_ids": "--- []\n",
- "total_gross_sales": 8064000,
- "total_net_sales": 8064000,
- "is_refund_breakdown": true,
- "customer_name": "Desy",
- "customer_email": "desy@mokapos.com",
- "customer_phone": "+6281288004402",
- "subtotal": 8064000,
- "creator_name": "API Test",
- "table_name": null,
- "collector_id": 31698,
- "cashlezz_transaction_id": null,
- "sms_id": null,
- "receipt_count": null,
- "order_id": "6SA0004",
- "is_loyalty": true,
- "total_redeem_amount": 0,
- "is_offline": false,
- "is_sales_type": true,
- "payment_taxes": [
- {
- "id": 77708,
- "name": "tax",
- "amount": 10,
- "total": 846720,
- "taxable_amount": 8467200,
- "payment_id": 89713,
- "created_at": "2018-01-27T20:20:27.338+07:00",
- "updated_at": "2018-01-27T20:20:27.184+07:00",
- "tax_id": 11945
- }
- ],
- "payment_gratuities": [
- {
- "id": 89395,
- "name": "Dine In",
- "amount": 5,
- "total": 403200,
- "payment_id": 89713,
- "created_at": "2018-01-27T20:20:27.338+07:00",
- "updated_at": "2018-01-27T20:20:27.181+07:00",
- "gratuity_id": 5826
- }
- ],
- "payment_discounts": [],
- "payment_refunds": [],
- "checkouts": [
- {
- "id": 142286,
- "custom_amount": 0,
- "item_variant_id": 1865661,
- "quantity": 1,
- "discount_amount": 0,
- "tax_amount": 840000,
- "business_id": 18368,
- "payment_id": 89713,
- "is_deleted": false,
- "created_at": "2018-01-27T20:20:27.338+07:00",
- "updated_at": "2018-01-27T20:20:27.173+07:00",
- "item_id": 3191698,
- "item_discount": 0,
- "item_price_library": 8000000,
- "item_price": 8000000,
- "item_price_discount": 8000000,
- "gratuity_amount": 400000,
- "item_price_discount_gratuity": 0,
- "total_price": 8000000,
- "item_price_quantity": 8000000,
- "category_name": "Uncategorized",
- "category_id": 100844,
- "item_name": "Custom Amount",
- "item_variant_name": "",
- "sku": "",
- "note": null,
- "cogs": null,
- "gross_sales": 8000000,
- "outlet_id": 28076,
- "position": null,
- "net_sales": 8000000,
- "track_stock": false,
- "item_image": null,
- "parent_checkout_id": null,
- "is_recipe": false,
- "redeem_amount": 0,
- "sales_type_id": 7177,
- "sales_type_name": "Dine In",
- "checkout_modifiers": [],
- "checkout_discounts": []
- },
- {
- "id": 142285,
- "custom_amount": 0,
- "item_variant_id": 1865671,
- "quantity": 8,
- "discount_amount": 0,
- "tax_amount": 6720,
- "business_id": 18368,
- "payment_id": 89713,
- "is_deleted": false,
- "created_at": "2018-01-27T20:20:27.338+07:00",
- "updated_at": "2018-01-27T20:20:27.166+07:00",
- "item_id": 3191706,
- "item_discount": 0,
- "item_price_library": 8000,
- "item_price": 8000,
- "item_price_discount": 64000,
- "gratuity_amount": 3200,
- "item_price_discount_gratuity": 0,
- "total_price": 64000,
- "item_price_quantity": 64000,
- "category_name": "Main Dish",
- "category_id": 100847,
- "item_name": "Rice",
- "item_variant_name": "",
- "sku": "",
- "note": null,
- "cogs": null,
- "gross_sales": 64000,
- "outlet_id": 28076,
- "position": null,
- "net_sales": 64000,
- "track_stock": false,
- "item_image": "#f44336",
- "parent_checkout_id": null,
- "is_recipe": false,
- "redeem_amount": 0,
- "sales_type_id": 7177,
- "sales_type_name": "Dine In",
- "checkout_modifiers": [],
- "checkout_discounts": []
- }
- ]
- },
- {
- "id": 89712,
- "status": "Done",
- "payment_no": "3BO4LF",
- "payment_type": "edc",
- "amount_pay": 99907.5,
- "amount_change": 0,
- "total_discount_amount": 201500,
- "total_gratuity_amount": 4325,
- "total_item_price_amount": 0,
- "total_tax_amount": 9082.5,
- "total_checkouts_amount": -152000,
- "is_refunded": false,
- "refunded_reason": null,
- "refunded_date": null,
- "business_id": 18368,
- "customer_id": 163129,
- "discount_id": null,
- "is_deleted": false,
- "created_at": "2018-01-27T20:19:00.366+07:00",
- "updated_at": "2018-01-27T20:19:00.366+07:00",
- "total_custom_price_amount": 0,
- "include_gratuity_tax": false,
- "parent_payment_id": null,
- "refund_amount": 0,
- "refund_type": null,
- "card_no": null,
- "created_by": 31698,
- "note": "",
- "total_collected_amount": 99907.5,
- "server_id": null,
- "server_name": null,
- "server_title": null,
- "auth_code": null,
- "cc_name": null,
- "card_type": null,
- "transaction_number": null,
- "transaction_reference": null,
- "outlet_id": 28076,
- "guid": "482c0a69-d33b-4f4e-ae5f-ef93abf0f971",
- "synchronized_at": "2018-01-27T20:19:30.887+07:00",
- "uniq_id": "2",
- "transaction_certificate": null,
- "transaction_status_info": null,
- "merchant_id": null,
- "mpos_device_id": null,
- "pg_mid": null,
- "pg_setting": null,
- "order_info": null,
- "tvr": null,
- "cvm_result": null,
- "aid": null,
- "transaction_date": null,
- "pii": null,
- "collected_by": "API Test",
- "shift_id": 0,
- "invoice_no": null,
- "invoice_deposit_amount": null,
- "invoice_due_date": null,
- "invoice_status": null,
- "latitude": null,
- "longitude": null,
- "refund_ids": "--- []\n",
- "total_gross_sales": 325000,
- "total_net_sales": 86500,
- "is_refund_breakdown": true,
- "customer_name": "Desy",
- "customer_email": "",
- "customer_phone": "+6281288004402",
- "subtotal": 86500,
- "creator_name": "API Test",
- "table_name": null,
- "collector_id": 31698,
- "cashlezz_transaction_id": null,
- "sms_id": null,
- "receipt_count": null,
- "order_id": null,
- "is_loyalty": true,
- "total_redeem_amount": 37000,
- "is_offline": false,
- "is_sales_type": true,
- "payment_taxes": [
- {
- "id": 77707,
- "name": "tax",
- "amount": 10,
- "total": 9082.5,
- "taxable_amount": 90825,
- "payment_id": 89712,
- "created_at": "2018-01-27T20:19:00.366+07:00",
- "updated_at": "2018-01-27T20:19:30.885+07:00",
- "tax_id": 11945
- }
- ],
- "payment_gratuities": [
- {
- "id": 89394,
- "name": "Dine In",
- "amount": 5,
- "total": 4325,
- "payment_id": 89712,
- "created_at": "2018-01-27T20:19:00.366+07:00",
- "updated_at": "2018-01-27T20:19:30.881+07:00",
- "gratuity_id": 5826
- }
- ],
- "payment_discounts": [
- {
- "id": 7512,
- "payment_id": 89712,
- "discount_id": 17442,
- "discount_amount": 20000,
- "discount_name": "Discount B",
- "discount_type": "cash",
- "is_deleted": false,
- "created_at": "2018-01-27T20:19:00.366+07:00",
- "updated_at": "2018-01-27T20:19:30.877+07:00",
- "discount_cash": 20000
- }
- ],
- "payment_refunds": [],
- "checkouts": [
- {
- "id": 142284,
- "custom_amount": 0,
- "item_variant_id": 1865664,
- "quantity": 4,
- "discount_amount": 140000,
- "tax_amount": 0,
- "business_id": 18368,
- "payment_id": 89712,
- "is_deleted": false,
- "created_at": "2018-01-27T20:19:00.366+07:00",
- "updated_at": "2018-01-27T20:19:30.546+07:00",
- "item_id": 3191701,
- "item_discount": 0,
- "item_price_library": 35000,
- "item_price": 35000,
- "item_price_discount": 0,
- "gratuity_amount": 0,
- "item_price_discount_gratuity": 0,
- "total_price": 0,
- "item_price_quantity": 140000,
- "category_name": "Main Dish",
- "category_id": 100847,
- "item_name": "Meat Soup",
- "item_variant_name": "",
- "sku": "",
- "note": null,
- "cogs": 16000,
- "gross_sales": 140000,
- "outlet_id": 28076,
- "position": null,
- "net_sales": 0,
- "track_stock": false,
- "item_image": null,
- "parent_checkout_id": null,
- "is_recipe": true,
- "redeem_amount": 0,
- "sales_type_id": 7177,
- "sales_type_name": "Dine In",
- "checkout_modifiers": [],
- "checkout_discounts": []
- },
- {
- "id": 142283,
- "custom_amount": 0,
- "item_variant_id": 1865664,
- "quantity": 4,
- "discount_amount": 43774.648,
- "tax_amount": 7163.662,
- "business_id": 18368,
- "payment_id": 89712,
- "is_deleted": false,
- "created_at": "2018-01-27T20:19:00.366+07:00",
- "updated_at": "2018-01-27T20:19:30.537+07:00",
- "item_id": 3191701,
- "item_discount": 0,
- "item_price_library": 35000,
- "item_price": 35000,
- "item_price_discount": 96225.352,
- "gratuity_amount": 3411.2676,
- "item_price_discount_gratuity": 0,
- "total_price": 68225.352,
- "item_price_quantity": 140000,
- "category_name": "Main Dish",
- "category_id": 100847,
- "item_name": "Meat Soup",
- "item_variant_name": "",
- "sku": "",
- "note": null,
- "cogs": 16000,
- "gross_sales": 140000,
- "outlet_id": 28076,
- "position": null,
- "net_sales": 68225.352,
- "track_stock": false,
- "item_image": null,
- "parent_checkout_id": null,
- "is_recipe": true,
- "redeem_amount": 28000,
- "sales_type_id": 7177,
- "sales_type_name": "Dine In",
- "checkout_modifiers": [],
- "checkout_discounts": [
- {
- "id": 27337,
- "discount_id": 0,
- "is_deleted": false,
- "created_at": "2018-01-27T20:19:00.366+07:00",
- "updated_at": "2018-01-27T20:19:30.539+07:00",
- "checkout_id": 142283,
- "discount_amount": 43774,
- "discount_name": "All Discount",
- "discount_type": "Rupiah and Percentage",
- "discount_percentage": 0,
- "payment_id": 89712,
- "discount_hash": [
- {
- "discount_id": 17443,
- "discount_type": "percentage",
- "discount_name": "Discount C",
- "discount_percentage": "20",
- "discount_cash": "0.0",
- "discount_amount": "28000.0"
- },
- {
- "discount_id": 17442,
- "discount_type": "cash",
- "discount_name": "Discount B",
- "discount_percentage": "0",
- "discount_cash": "20000.0",
- "discount_amount": "15774.648"
- }
- ]
- }
- ]
- },
- {
- "id": 142282,
- "custom_amount": 0,
- "item_variant_id": 1865669,
- "quantity": 1,
- "discount_amount": 0,
- "tax_amount": 0,
- "business_id": 18368,
- "payment_id": 89712,
- "is_deleted": false,
- "created_at": "2018-01-27T20:19:00.366+07:00",
- "updated_at": "2018-01-27T20:19:30.527+07:00",
- "item_id": 3191704,
- "item_discount": 0,
- "item_price_library": 0,
- "item_price": 0,
- "item_price_discount": 0,
- "gratuity_amount": 0,
- "item_price_discount_gratuity": 0,
- "total_price": 0,
- "item_price_quantity": 0,
- "category_name": "Uncategorized",
- "category_id": 100844,
- "item_name": "Sumpit",
- "item_variant_name": "",
- "sku": "",
- "note": null,
- "cogs": null,
- "gross_sales": 0,
- "outlet_id": 28076,
- "position": null,
- "net_sales": 0,
- "track_stock": false,
- "item_image": null,
- "parent_checkout_id": null,
- "is_recipe": false,
- "redeem_amount": 0,
- "sales_type_id": 7177,
- "sales_type_name": "Dine In",
- "checkout_modifiers": [],
- "checkout_discounts": [
- {
- "id": 27336,
- "discount_id": 0,
- "is_deleted": false,
- "created_at": "2018-01-27T20:19:00.366+07:00",
- "updated_at": "2018-01-27T20:19:30.529+07:00",
- "checkout_id": 142282,
- "discount_amount": 0,
- "discount_name": "All Discount",
- "discount_type": "Rupiah and Percentage",
- "discount_percentage": 0,
- "payment_id": 89712,
- "discount_hash": [
- {
- "discount_id": 17443,
- "discount_type": "percentage",
- "discount_name": "Discount C",
- "discount_percentage": "20",
- "discount_cash": "0.0",
- "discount_amount": "0.0"
- },
- {
- "discount_id": 17442,
- "discount_type": "cash",
- "discount_name": "Discount B",
- "discount_percentage": "0",
- "discount_cash": "20000.0",
- "discount_amount": "0.0"
- }
- ]
- }
- ]
- },
- {
- "id": 142281,
- "custom_amount": 0,
- "item_variant_id": 1865665,
- "quantity": 3,
- "discount_amount": 17725.352,
- "tax_amount": 1918.838,
- "business_id": 18368,
- "payment_id": 89712,
- "is_deleted": false,
- "created_at": "2018-01-27T20:19:00.366+07:00",
- "updated_at": "2018-01-27T20:19:30.515+07:00",
- "item_id": 3191702,
- "item_discount": 0,
- "item_price_library": 15000,
- "item_price": 15000,
- "item_price_discount": 27274.648,
- "gratuity_amount": 913.7324,
- "item_price_discount_gratuity": 0,
- "total_price": 18274.648,
- "item_price_quantity": 45000,
- "category_name": "Main Dish",
- "category_id": 100847,
- "item_name": "Chicken",
- "item_variant_name": "Chiken Wings",
- "sku": "",
- "note": null,
- "cogs": null,
- "gross_sales": 45000,
- "outlet_id": 28076,
- "position": null,
- "net_sales": 18274.648,
- "track_stock": false,
- "item_image": null,
- "parent_checkout_id": null,
- "is_recipe": false,
- "redeem_amount": 9000,
- "sales_type_id": 7177,
- "sales_type_name": "Dine In",
- "checkout_modifiers": [],
- "checkout_discounts": [
- {
- "id": 27335,
- "discount_id": 0,
- "is_deleted": false,
- "created_at": "2018-01-27T20:19:00.366+07:00",
- "updated_at": "2018-01-27T20:19:30.518+07:00",
- "checkout_id": 142281,
- "discount_amount": 13225,
- "discount_name": "All Discount",
- "discount_type": "Rupiah and Percentage",
- "discount_percentage": 0,
- "payment_id": 89712,
- "discount_hash": [
- {
- "discount_id": 17443,
- "discount_type": "percentage",
- "discount_name": "Discount C",
- "discount_percentage": "20",
- "discount_cash": "0.0",
- "discount_amount": "9000.0"
- },
- {
- "discount_id": 17442,
- "discount_type": "cash",
- "discount_name": "Discount B",
- "discount_percentage": "0",
- "discount_cash": "20000.0",
- "discount_amount": "4225.352"
- }
- ]
- }
- ]
- }
- ]
- },
- {
- "id": 89709,
- "status": "Done",
- "payment_no": "3BO4LE",
- "payment_type": "cash",
- "amount_pay": 50000,
- "amount_change": 4724,
- "total_discount_amount": 298800,
- "total_gratuity_amount": 4962.6556,
- "total_item_price_amount": 0,
- "total_tax_amount": 10421.577,
- "total_checkouts_amount": -268908.2326,
- "is_refunded": false,
- "refunded_reason": null,
- "refunded_date": null,
- "business_id": 18368,
- "customer_id": 163129,
- "discount_id": null,
- "is_deleted": false,
- "created_at": "2018-01-27T20:11:50.768+07:00",
- "updated_at": "2018-01-27T20:11:50.768+07:00",
- "total_custom_price_amount": 0,
- "include_gratuity_tax": false,
- "parent_payment_id": null,
- "refund_amount": 0,
- "refund_type": null,
- "card_no": null,
- "created_by": 31698,
- "note": null,
- "total_collected_amount": 45276,
- "server_id": null,
- "server_name": null,
- "server_title": null,
- "auth_code": null,
- "cc_name": null,
- "card_type": null,
- "transaction_number": null,
- "transaction_reference": null,
- "outlet_id": 28076,
- "guid": "051ec852-df50-4501-ad44-8fd913ec1b8e",
- "synchronized_at": "2018-01-27T20:18:17.476+07:00",
- "uniq_id": "2",
- "transaction_certificate": null,
- "transaction_status_info": null,
- "merchant_id": null,
- "mpos_device_id": null,
- "pg_mid": null,
- "pg_setting": null,
- "order_info": null,
- "tvr": null,
- "cvm_result": null,
- "aid": null,
- "transaction_date": null,
- "pii": null,
- "collected_by": "API Test",
- "shift_id": 0,
- "invoice_no": null,
- "invoice_deposit_amount": null,
- "invoice_due_date": null,
- "invoice_status": null,
- "latitude": null,
- "longitude": null,
- "refund_ids": "--- []\n",
- "total_gross_sales": 338000,
- "total_net_sales": 99253.112,
- "is_refund_breakdown": true,
- "customer_name": "Desy",
- "customer_email": "",
- "customer_phone": "+6281288004402",
- "subtotal": 39200,
- "creator_name": "API Test",
- "table_name": null,
- "collector_id": 31698,
- "cashlezz_transaction_id": null,
- "sms_id": null,
- "receipt_count": null,
- "order_id": null,
- "is_loyalty": true,
- "total_redeem_amount": 0,
- "is_offline": true,
- "is_sales_type": true,
- "payment_taxes": [
- {
- "id": 77704,
- "name": "tax",
- "amount": 10,
- "total": 10421.577,
- "taxable_amount": 104215.7676,
- "payment_id": 89709,
- "created_at": "2018-01-27T20:11:50.768+07:00",
- "updated_at": "2018-01-27T20:18:17.473+07:00",
- "tax_id": 11945
- }
- ],
- "payment_gratuities": [
- {
- "id": 89391,
- "name": "Dine In",
- "amount": 5,
- "total": 4962.6556,
- "payment_id": 89709,
- "created_at": "2018-01-27T20:11:50.768+07:00",
- "updated_at": "2018-01-27T20:18:17.469+07:00",
- "gratuity_id": 5826
- }
- ],
- "payment_discounts": [
- {
- "id": 7509,
- "payment_id": 89709,
- "discount_id": 17444,
- "discount_amount": 50000,
- "discount_name": "Discount D",
- "discount_type": "cash",
- "is_deleted": false,
- "created_at": "2018-01-27T20:11:50.768+07:00",
- "updated_at": "2018-01-27T20:18:17.466+07:00",
- "discount_cash": 50000
- }
- ],
- "payment_refunds": [],
- "checkouts": [
- {
- "id": 142272,
- "custom_amount": 0,
- "item_variant_id": 1865670,
- "quantity": 4,
- "discount_amount": 248053.112,
- "tax_amount": 0,
- "business_id": 18368,
- "payment_id": 89709,
- "is_deleted": false,
- "created_at": "2018-01-27T20:11:50.768+07:00",
- "updated_at": "2018-01-27T20:18:17.443+07:00",
- "item_id": 3191705,
- "item_discount": 0,
- "item_price_library": 47000,
- "item_price": 47000,
- "item_price_discount": -60053.112,
- "gratuity_amount": 0,
- "item_price_discount_gratuity": 0,
- "total_price": -60053.112,
- "item_price_quantity": 188000,
- "category_name": "Uncategorized",
- "category_id": 100844,
- "item_name": "Custom",
- "item_variant_name": "",
- "sku": "",
- "note": null,
- "cogs": null,
- "gross_sales": 188000,
- "outlet_id": 28076,
- "position": null,
- "net_sales": 0,
- "track_stock": false,
- "item_image": null,
- "parent_checkout_id": null,
- "is_recipe": false,
- "redeem_amount": 0,
- "sales_type_id": 7177,
- "sales_type_name": "Dine In",
- "checkout_modifiers": [
- {
- "id": 35178,
- "checkout_id": 142272,
- "modifier_id": 17984,
- "modifier_option_id": 97444,
- "modifier_name": "Makanan",
- "modifier_option_name": "Rice",
- "price": 5000,
- "created_at": "2018-01-27T20:11:50.768+07:00",
- "updated_at": "2018-01-27T20:18:17.456+07:00",
- "cogs": null,
- "outlet_id": 28076,
- "payment_id": 89709,
- "discount_amount": 26388.629,
- "gross_sales": 20000,
- "net_sales": 0,
- "discount_hash": "---\n- !ruby/hash:ActionController::Parameters\n discount_amount: '2000.0'\n discount_cash: '0.0'\n discount_guid: dcf1f419-fef0-4159-a71c-410b28558bf8\n discount_id: 17441\n discount_name: Discount A\n discount_percentage: '10'\n discount_type: percentage\n- !ruby/hash:ActionController::Parameters\n discount_amount: '3112.033'\n discount_cash: '50000.0'\n discount_guid: 6dfb3246-376f-4252-98c9-5d193ad4bd42\n discount_id: 17444\n discount_name: Discount D\n discount_percentage: '0'\n discount_type: cash\n",
- "redeem_amount": 0
- },
- {
- "id": 35177,
- "checkout_id": 142272,
- "modifier_id": 17984,
- "modifier_option_id": 97446,
- "modifier_name": "Makanan",
- "modifier_option_name": "Meat",
- "price": 10000,
- "created_at": "2018-01-27T20:11:50.768+07:00",
- "updated_at": "2018-01-27T20:18:17.453+07:00",
- "cogs": null,
- "outlet_id": 28076,
- "payment_id": 89709,
- "discount_amount": 52777.257,
- "gross_sales": 40000,
- "net_sales": 0,
- "discount_hash": "---\n- !ruby/hash:ActionController::Parameters\n discount_amount: '4000.0'\n discount_cash: '0.0'\n discount_guid: dcf1f419-fef0-4159-a71c-410b28558bf8\n discount_id: 17441\n discount_name: Discount A\n discount_percentage: '10'\n discount_type: percentage\n- !ruby/hash:ActionController::Parameters\n discount_amount: '6224.066'\n discount_cash: '50000.0'\n discount_guid: 6dfb3246-376f-4252-98c9-5d193ad4bd42\n discount_id: 17444\n discount_name: Discount D\n discount_percentage: '0'\n discount_type: cash\n",
- "redeem_amount": 0
- },
- {
- "id": 35176,
- "checkout_id": 142272,
- "modifier_id": 17984,
- "modifier_option_id": 97445,
- "modifier_name": "Makanan",
- "modifier_option_name": "Cheese",
- "price": 7000,
- "created_at": "2018-01-27T20:11:50.768+07:00",
- "updated_at": "2018-01-27T20:18:17.449+07:00",
- "cogs": null,
- "outlet_id": 28076,
- "payment_id": 89709,
- "discount_amount": 36944.08,
- "gross_sales": 28000,
- "net_sales": 0,
- "discount_hash": "---\n- !ruby/hash:ActionController::Parameters\n discount_amount: '2800.0'\n discount_cash: '0.0'\n discount_guid: dcf1f419-fef0-4159-a71c-410b28558bf8\n discount_id: 17441\n discount_name: Discount A\n discount_percentage: '10'\n discount_type: percentage\n- !ruby/hash:ActionController::Parameters\n discount_amount: '4356.846'\n discount_cash: '50000.0'\n discount_guid: 6dfb3246-376f-4252-98c9-5d193ad4bd42\n discount_id: 17444\n discount_name: Discount D\n discount_percentage: '0'\n discount_type: cash\n",
- "redeem_amount": 0
- }
- ],
- "checkout_discounts": [
- {
- "id": 27328,
- "discount_id": 0,
- "is_deleted": false,
- "created_at": "2018-01-27T20:11:50.768+07:00",
- "updated_at": "2018-01-27T20:18:17.446+07:00",
- "checkout_id": 142272,
- "discount_amount": 48053,
- "discount_name": "All Discount",
- "discount_type": "Rupiah and Percentage",
- "discount_percentage": 0,
- "payment_id": 89709,
- "discount_hash": [
- {
- "discount_id": 17441,
- "discount_type": "percentage",
- "discount_name": "Discount A",
- "discount_percentage": "10",
- "discount_cash": "0.0",
- "discount_amount": "18800.0"
- },
- {
- "discount_id": 17444,
- "discount_type": "cash",
- "discount_name": "Discount D",
- "discount_percentage": "0",
- "discount_cash": "50000.0",
- "discount_amount": "29253.112"
- }
- ]
- }
- ]
- },
- {
- "id": 142271,
- "custom_amount": 0,
- "item_variant_id": 1865665,
- "quantity": 10,
- "discount_amount": 50746.888,
- "tax_amount": 10421.577,
- "business_id": 18368,
- "payment_id": 89709,
- "is_deleted": false,
- "created_at": "2018-01-27T20:11:50.768+07:00",
- "updated_at": "2018-01-27T20:18:17.429+07:00",
- "item_id": 3191702,
- "item_discount": 0,
- "item_price_library": 15000,
- "item_price": 15000,
- "item_price_discount": 99253.112,
- "gratuity_amount": 4962.6556,
- "item_price_discount_gratuity": 0,
- "total_price": 99253.112,
- "item_price_quantity": 150000,
- "category_name": "Main Dish",
- "category_id": 100847,
- "item_name": "Chicken",
- "item_variant_name": "Chiken Wings",
- "sku": "",
- "note": null,
- "cogs": null,
- "gross_sales": 150000,
- "outlet_id": 28076,
- "position": null,
- "net_sales": 99253.112,
- "track_stock": false,
- "item_image": null,
- "parent_checkout_id": null,
- "is_recipe": false,
- "redeem_amount": 0,
- "sales_type_id": 7177,
- "sales_type_name": "Dine In",
- "checkout_modifiers": [],
- "checkout_discounts": [
- {
- "id": 27327,
- "discount_id": 0,
- "is_deleted": false,
- "created_at": "2018-01-27T20:11:50.768+07:00",
- "updated_at": "2018-01-27T20:18:17.432+07:00",
- "checkout_id": 142271,
- "discount_amount": 35746,
- "discount_name": "All Discount",
- "discount_type": "Rupiah and Percentage",
- "discount_percentage": 0,
- "payment_id": 89709,
- "discount_hash": [
- {
- "discount_id": 17441,
- "discount_type": "percentage",
- "discount_name": "Discount A",
- "discount_percentage": "10",
- "discount_cash": "0.0",
- "discount_amount": "15000.0"
- },
- {
- "discount_id": 17444,
- "discount_type": "cash",
- "discount_name": "Discount D",
- "discount_percentage": "0",
- "discount_cash": "50000.0",
- "discount_amount": "20746.888"
- }
- ]
- }
- ]
- }
- ]
- },
- {
- "id": 89699,
- "status": "Done",
- "payment_no": "3BO4LD",
- "payment_type": "gift_card",
- "amount_pay": 299145,
- "amount_change": 0,
- "total_discount_amount": 371000,
- "total_gratuity_amount": 12950,
- "total_item_price_amount": 0,
- "total_tax_amount": 27195,
- "total_checkouts_amount": -112000,
- "is_refunded": false,
- "refunded_reason": null,
- "refunded_date": null,
- "business_id": 18368,
- "customer_id": 163129,
- "discount_id": null,
- "is_deleted": false,
- "created_at": "2018-01-27T19:08:03.943+07:00",
- "updated_at": "2018-01-27T19:17:24.539+07:00",
- "total_custom_price_amount": 0,
- "include_gratuity_tax": false,
- "parent_payment_id": null,
- "refund_amount": 0,
- "refund_type": null,
- "card_no": null,
- "created_by": 31698,
- "note": "",
- "total_collected_amount": 299145,
- "server_id": null,
- "server_name": null,
- "server_title": null,
- "auth_code": null,
- "cc_name": null,
- "card_type": null,
- "transaction_number": null,
- "transaction_reference": null,
- "outlet_id": 28076,
- "guid": "0f2ea89c-fc3e-41ef-aef9-ab413fbc74c9",
- "synchronized_at": "2018-01-27T19:17:24.538+07:00",
- "uniq_id": "2",
- "transaction_certificate": null,
- "transaction_status_info": null,
- "merchant_id": null,
- "mpos_device_id": null,
- "pg_mid": null,
- "pg_setting": null,
- "order_info": null,
- "tvr": null,
- "cvm_result": null,
- "aid": null,
- "transaction_date": null,
- "pii": null,
- "collected_by": "API Test",
- "shift_id": 0,
- "invoice_no": null,
- "invoice_deposit_amount": null,
- "invoice_due_date": null,
- "invoice_status": null,
- "latitude": null,
- "longitude": null,
- "refund_ids": "---\n- 89700\n",
- "total_gross_sales": 630000,
- "total_net_sales": 259000,
- "is_refund_breakdown": true,
- "customer_name": "Desy",
- "customer_email": "",
- "customer_phone": "+6281288004402",
- "subtotal": 259000,
- "creator_name": "API Test",
- "table_name": null,
- "collector_id": 31698,
- "cashlezz_transaction_id": null,
- "sms_id": null,
- "receipt_count": null,
- "order_id": null,
- "is_loyalty": true,
- "total_redeem_amount": 0,
- "is_offline": false,
- "is_sales_type": true,
- "payment_taxes": [
- {
- "id": 77694,
- "name": "tax",
- "amount": 10,
- "total": 27195,
- "taxable_amount": 271950,
- "payment_id": 89699,
- "created_at": "2018-01-27T19:08:03.943+07:00",
- "updated_at": "2018-01-27T19:08:16.279+07:00",
- "tax_id": 11945
- }
- ],
- "payment_gratuities": [
- {
- "id": 89381,
- "name": "Dine In",
- "amount": 5,
- "total": 12950,
- "payment_id": 89699,
- "created_at": "2018-01-27T19:08:03.943+07:00",
- "updated_at": "2018-01-27T19:08:16.275+07:00",
- "gratuity_id": 5826
- }
- ],
- "payment_discounts": [],
- "payment_refunds": [
- {
- "id": 89700,
- "status": "Done",
- "payment_no": "3BO4LD",
- "payment_type": "gift_card",
- "amount_pay": 0,
- "amount_change": 0,
- "total_discount_amount": -119000,
- "total_gratuity_amount": -4550,
- "total_item_price_amount": 0,
- "total_tax_amount": -9555,
- "total_checkouts_amount": 28000,
- "is_refunded": true,
- "refunded_reason": "Accidental Charge",
- "refunded_date": "2018-01-27T19:17:16.000+07:00",
- "business_id": 18368,
- "customer_id": 163129,
- "discount_id": null,
- "is_deleted": false,
- "created_at": "2018-01-27T19:17:16.000+07:00",
- "updated_at": "2018-01-27T19:17:16.000+07:00",
- "total_custom_price_amount": 0,
- "include_gratuity_tax": false,
- "parent_payment_id": 89699,
- "refund_amount": 91000,
- "refund_type": "partial",
- "card_no": null,
- "created_by": 31698,
- "note": "",
- "total_collected_amount": -105105,
- "server_id": null,
- "server_name": null,
- "server_title": null,
- "auth_code": null,
- "cc_name": null,
- "card_type": null,
- "transaction_number": null,
- "transaction_reference": null,
- "outlet_id": 28076,
- "guid": "5ff4f3c2-ec64-4f43-a210-d4b5b34c0090",
- "synchronized_at": "2018-01-27T19:17:24.391+07:00",
- "uniq_id": null,
- "transaction_certificate": null,
- "transaction_status_info": null,
- "merchant_id": null,
- "mpos_device_id": null,
- "pg_mid": null,
- "pg_setting": null,
- "order_info": null,
- "tvr": null,
- "cvm_result": null,
- "aid": null,
- "transaction_date": null,
- "pii": null,
- "collected_by": "API Test",
- "shift_id": null,
- "invoice_no": null,
- "invoice_deposit_amount": null,
- "invoice_due_date": null,
- "invoice_status": null,
- "latitude": null,
- "longitude": null,
- "refund_ids": "--- []\n",
- "total_gross_sales": -210000,
- "total_net_sales": -91000,
- "is_refund_breakdown": true,
- "customer_name": "Desy",
- "customer_email": "",
- "customer_phone": "+6281288004402",
- "subtotal": -7000,
- "creator_name": "API Test",
- "table_name": null,
- "collector_id": null,
- "cashlezz_transaction_id": null,
- "sms_id": null,
- "receipt_count": 0,
- "order_id": null,
- "is_loyalty": true,
- "total_redeem_amount": 0,
- "is_offline": null,
- "is_sales_type": true
- }
- ],
- "checkouts": [
- {
- "id": 142241,
- "custom_amount": 0,
- "item_variant_id": 1865664,
- "quantity": 8,
- "discount_amount": 280000,
- "tax_amount": 0,
- "business_id": 18368,
- "payment_id": 89699,
- "is_deleted": false,
- "created_at": "2018-01-27T19:08:03.943+07:00",
- "updated_at": "2018-01-27T19:08:15.564+07:00",
- "item_id": 3191701,
- "item_discount": 0,
- "item_price_library": 35000,
- "item_price": 35000,
- "item_price_discount": 0,
- "gratuity_amount": 0,
- "item_price_discount_gratuity": 0,
- "total_price": 0,
- "item_price_quantity": 280000,
- "category_name": "Main Dish",
- "category_id": 100847,
- "item_name": "Meat Soup",
- "item_variant_name": "",
- "sku": "",
- "note": null,
- "cogs": 16000,
- "gross_sales": 280000,
- "outlet_id": 28076,
- "position": null,
- "net_sales": 0,
- "track_stock": false,
- "item_image": null,
- "parent_checkout_id": null,
- "is_recipe": true,
- "redeem_amount": 0,
- "sales_type_id": 7177,
- "sales_type_name": "Dine In",
- "checkout_modifiers": [],
- "checkout_discounts": []
- },
- {
- "id": 142240,
- "custom_amount": 0,
- "item_variant_id": 1865664,
- "quantity": 8,
- "discount_amount": 56000,
- "tax_amount": 23520,
- "business_id": 18368,
- "payment_id": 89699,
- "is_deleted": false,
- "created_at": "2018-01-27T19:08:03.943+07:00",
- "updated_at": "2018-01-27T19:08:15.554+07:00",
- "item_id": 3191701,
- "item_discount": 0,
- "item_price_library": 35000,
- "item_price": 35000,
- "item_price_discount": 224000,
- "gratuity_amount": 11200,
- "item_price_discount_gratuity": 0,
- "total_price": 224000,
- "item_price_quantity": 280000,
- "category_name": "Main Dish",
- "category_id": 100847,
- "item_name": "Meat Soup",
- "item_variant_name": "",
- "sku": "",
- "note": null,
- "cogs": 16000,
- "gross_sales": 280000,
- "outlet_id": 28076,
- "position": null,
- "net_sales": 224000,
- "track_stock": false,
- "item_image": null,
- "parent_checkout_id": null,
- "is_recipe": true,
- "redeem_amount": 0,
- "sales_type_id": 7177,
- "sales_type_name": "Dine In",
- "checkout_modifiers": [],
- "checkout_discounts": [
- {
- "id": 27315,
- "discount_id": 0,
- "is_deleted": false,
- "created_at": "2018-01-27T19:08:03.943+07:00",
- "updated_at": "2018-01-27T19:08:15.557+07:00",
- "checkout_id": 142240,
- "discount_amount": 56000,
- "discount_name": "All Discount",
- "discount_type": "Rupiah and Percentage",
- "discount_percentage": 0,
- "payment_id": 89699,
- "discount_hash": [
- {
- "discount_id": 17443,
- "discount_type": "percentage",
- "discount_name": "Discount C",
- "discount_percentage": "20",
- "discount_cash": "0.0",
- "discount_amount": "56000.0"
- }
- ]
- }
- ]
- },
- {
- "id": 142239,
- "custom_amount": 0,
- "item_variant_id": 1865664,
- "quantity": 1,
- "discount_amount": 35000,
- "tax_amount": 0,
- "business_id": 18368,
- "payment_id": 89699,
- "is_deleted": false,
- "created_at": "2018-01-27T19:08:03.943+07:00",
- "updated_at": "2018-01-27T19:08:15.547+07:00",
- "item_id": 3191701,
- "item_discount": 0,
- "item_price_library": 35000,
- "item_price": 35000,
- "item_price_discount": 0,
- "gratuity_amount": 0,
- "item_price_discount_gratuity": 0,
- "total_price": 0,
- "item_price_quantity": 35000,
- "category_name": "Main Dish",
- "category_id": 100847,
- "item_name": "Meat Soup",
- "item_variant_name": "",
- "sku": "",
- "note": null,
- "cogs": 16000,
- "gross_sales": 35000,
- "outlet_id": 28076,
- "position": null,
- "net_sales": 0,
- "track_stock": false,
- "item_image": null,
- "parent_checkout_id": null,
- "is_recipe": true,
- "redeem_amount": 0,
- "sales_type_id": 7177,
- "sales_type_name": "Dine In",
- "checkout_modifiers": [],
- "checkout_discounts": []
- },
- {
- "id": 142238,
- "custom_amount": 0,
- "item_variant_id": 1865664,
- "quantity": 1,
- "discount_amount": 0,
- "tax_amount": 3675,
- "business_id": 18368,
- "payment_id": 89699,
- "is_deleted": false,
- "created_at": "2018-01-27T19:08:03.943+07:00",
- "updated_at": "2018-01-27T19:08:15.539+07:00",
- "item_id": 3191701,
- "item_discount": 0,
- "item_price_library": 35000,
- "item_price": 35000,
- "item_price_discount": 35000,
- "gratuity_amount": 1750,
- "item_price_discount_gratuity": 0,
- "total_price": 35000,
- "item_price_quantity": 35000,
- "category_name": "Main Dish",
- "category_id": 100847,
- "item_name": "Meat Soup",
- "item_variant_name": "",
- "sku": "",
- "note": null,
- "cogs": 16000,
- "gross_sales": 35000,
- "outlet_id": 28076,
- "position": null,
- "net_sales": 35000,
- "track_stock": false,
- "item_image": null,
- "parent_checkout_id": null,
- "is_recipe": true,
- "redeem_amount": 0,
- "sales_type_id": 7177,
- "sales_type_name": "Dine In",
- "checkout_modifiers": [],
- "checkout_discounts": []
- }
- ]
- },
- {
- "id": 89700,
- "status": "Done",
- "payment_no": "3BO4LD",
- "payment_type": "gift_card",
- "amount_pay": 0,
- "amount_change": 0,
- "total_discount_amount": -119000,
- "total_gratuity_amount": -4550,
- "total_item_price_amount": 0,
- "total_tax_amount": -9555,
- "total_checkouts_amount": 28000,
- "is_refunded": true,
- "refunded_reason": "Accidental Charge",
- "refunded_date": "2018-01-27T19:17:16.000+07:00",
- "business_id": 18368,
- "customer_id": 163129,
- "discount_id": null,
- "is_deleted": false,
- "created_at": "2018-01-27T19:17:16.000+07:00",
- "updated_at": "2018-01-27T19:17:16.000+07:00",
- "total_custom_price_amount": 0,
- "include_gratuity_tax": false,
- "parent_payment_id": 89699,
- "refund_amount": 91000,
- "refund_type": "partial",
- "card_no": null,
- "created_by": 31698,
- "note": "",
- "total_collected_amount": -105105,
- "server_id": null,
- "server_name": null,
- "server_title": null,
- "auth_code": null,
- "cc_name": null,
- "card_type": null,
- "transaction_number": null,
- "transaction_reference": null,
- "outlet_id": 28076,
- "guid": "5ff4f3c2-ec64-4f43-a210-d4b5b34c0090",
- "synchronized_at": "2018-01-27T19:17:24.391+07:00",
- "uniq_id": null,
- "transaction_certificate": null,
- "transaction_status_info": null,
- "merchant_id": null,
- "mpos_device_id": null,
- "pg_mid": null,
- "pg_setting": null,
- "order_info": null,
- "tvr": null,
- "cvm_result": null,
- "aid": null,
- "transaction_date": null,
- "pii": null,
- "collected_by": "API Test",
- "shift_id": null,
- "invoice_no": null,
- "invoice_deposit_amount": null,
- "invoice_due_date": null,
- "invoice_status": null,
- "latitude": null,
- "longitude": null,
- "refund_ids": "--- []\n",
- "total_gross_sales": -210000,
- "total_net_sales": -91000,
- "is_refund_breakdown": true,
- "customer_name": "Desy",
- "customer_email": "",
- "customer_phone": "+6281288004402",
- "subtotal": -7000,
- "creator_name": "API Test",
- "table_name": null,
- "collector_id": null,
- "cashlezz_transaction_id": null,
- "sms_id": null,
- "receipt_count": 0,
- "order_id": null,
- "is_loyalty": true,
- "total_redeem_amount": 0,
- "is_offline": null,
- "is_sales_type": true,
- "payment_taxes": [
- {
- "id": 77695,
- "name": "tax",
- "amount": 10,
- "total": -9555,
- "taxable_amount": -95550,
- "payment_id": 89700,
- "created_at": "2018-01-27T19:17:24.500+07:00",
- "updated_at": "2018-01-27T19:17:24.500+07:00",
- "tax_id": 11945
- }
- ],
- "payment_gratuities": [
- {
- "id": 89382,
- "name": "Dine In",
- "amount": 5,
- "total": -4550,
- "payment_id": 89700,
- "created_at": "2018-01-27T19:17:24.496+07:00",
- "updated_at": "2018-01-27T19:17:24.496+07:00",
- "gratuity_id": 5826
- }
- ],
- "payment_discounts": [],
- "payment_refunds": [],
- "checkouts": [
- {
- "id": 142245,
- "custom_amount": 0,
- "item_variant_id": 1865664,
- "quantity": -2,
- "discount_amount": -70000,
- "tax_amount": 0,
- "business_id": 18368,
- "payment_id": 89700,
- "is_deleted": false,
- "created_at": "2018-01-27T19:17:16.000+07:00",
- "updated_at": "2018-01-27T19:17:24.489+07:00",
- "item_id": 3191701,
- "item_discount": 0,
- "item_price_library": 35000,
- "item_price": 35000,
- "item_price_discount": 0,
- "gratuity_amount": 0,
- "item_price_discount_gratuity": 0,
- "total_price": 0,
- "item_price_quantity": -70000,
- "category_name": "Main Dish",
- "category_id": 100847,
- "item_name": "Meat Soup",
- "item_variant_name": "",
- "sku": "",
- "note": null,
- "cogs": 0,
- "gross_sales": -70000,
- "outlet_id": 28076,
- "position": null,
- "net_sales": 0,
- "track_stock": false,
- "item_image": null,
- "parent_checkout_id": 142241,
- "is_recipe": true,
- "redeem_amount": 0,
- "sales_type_id": 7177,
- "sales_type_name": "Dine In",
- "checkout_modifiers": [],
- "checkout_discounts": []
- },
- {
- "id": 142244,
- "custom_amount": 0,
- "item_variant_id": 1865664,
- "quantity": -2,
- "discount_amount": -14000,
- "tax_amount": -5880,
- "business_id": 18368,
- "payment_id": 89700,
- "is_deleted": false,
- "created_at": "2018-01-27T19:17:16.000+07:00",
- "updated_at": "2018-01-27T19:17:24.480+07:00",
- "item_id": 3191701,
- "item_discount": 0,
- "item_price_library": 35000,
- "item_price": 35000,
- "item_price_discount": -56000,
- "gratuity_amount": -2800,
- "item_price_discount_gratuity": 0,
- "total_price": -56000,
- "item_price_quantity": -70000,
- "category_name": "Main Dish",
- "category_id": 100847,
- "item_name": "Meat Soup",
- "item_variant_name": "",
- "sku": "",
- "note": null,
- "cogs": 0,
- "gross_sales": -70000,
- "outlet_id": 28076,
- "position": null,
- "net_sales": -56000,
- "track_stock": false,
- "item_image": null,
- "parent_checkout_id": 142240,
- "is_recipe": true,
- "redeem_amount": 0,
- "sales_type_id": 7177,
- "sales_type_name": "Dine In",
- "checkout_modifiers": [],
- "checkout_discounts": [
- {
- "id": 27316,
- "discount_id": 0,
- "is_deleted": false,
- "created_at": "2018-01-27T19:17:16.000+07:00",
- "updated_at": "2018-01-27T19:17:24.482+07:00",
- "checkout_id": 142244,
- "discount_amount": -14000,
- "discount_name": "All Discount",
- "discount_type": "Rupiah and Percentage",
- "discount_percentage": 0,
- "payment_id": 89700,
- "discount_hash": [
- {
- "discount_id": 17443,
- "discount_type": "percentage",
- "discount_name": "Discount C",
- "discount_percentage": "20",
- "discount_cash": "0.0",
- "discount_amount": -14000
- }
- ]
- }
- ]
- },
- {
- "id": 142243,
- "custom_amount": 0,
- "item_variant_id": 1865664,
- "quantity": -1,
- "discount_amount": -35000,
- "tax_amount": 0,
- "business_id": 18368,
- "payment_id": 89700,
- "is_deleted": false,
- "created_at": "2018-01-27T19:17:16.000+07:00",
- "updated_at": "2018-01-27T19:17:24.473+07:00",
- "item_id": 3191701,
- "item_discount": 0,
- "item_price_library": 35000,
- "item_price": 35000,
- "item_price_discount": 0,
- "gratuity_amount": 0,
- "item_price_discount_gratuity": 0,
- "total_price": 0,
- "item_price_quantity": -35000,
- "category_name": "Main Dish",
- "category_id": 100847,
- "item_name": "Meat Soup",
- "item_variant_name": "",
- "sku": "",
- "note": null,
- "cogs": 0,
- "gross_sales": -35000,
- "outlet_id": 28076,
- "position": null,
- "net_sales": 0,
- "track_stock": false,
- "item_image": null,
- "parent_checkout_id": 142239,
- "is_recipe": true,
- "redeem_amount": 0,
- "sales_type_id": 7177,
- "sales_type_name": "Dine In",
- "checkout_modifiers": [],
- "checkout_discounts": []
- },
- {
- "id": 142242,
- "custom_amount": 0,
- "item_variant_id": 1865664,
- "quantity": -1,
- "discount_amount": 0,
- "tax_amount": -3675,
- "business_id": 18368,
- "payment_id": 89700,
- "is_deleted": false,
- "created_at": "2018-01-27T19:17:16.000+07:00",
- "updated_at": "2018-01-27T19:17:24.466+07:00",
- "item_id": 3191701,
- "item_discount": 0,
- "item_price_library": 35000,
- "item_price": 35000,
- "item_price_discount": -35000,
- "gratuity_amount": -1750,
- "item_price_discount_gratuity": 0,
- "total_price": -35000,
- "item_price_quantity": -35000,
- "category_name": "Main Dish",
- "category_id": 100847,
- "item_name": "Meat Soup",
- "item_variant_name": "",
- "sku": "",
- "note": null,
- "cogs": 0,
- "gross_sales": -35000,
- "outlet_id": 28076,
- "position": null,
- "net_sales": -35000,
- "track_stock": false,
- "item_image": null,
- "parent_checkout_id": 142238,
- "is_recipe": true,
- "redeem_amount": 0,
- "sales_type_id": 7177,
- "sales_type_name": "Dine In",
- "checkout_modifiers": [],
- "checkout_discounts": []
- }
- ]
- }
- ]
- },
- "meta": {
- "code": 200,
- "errors": {}
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement