Skip to content

Instantly share code, notes, and snippets.

@trungly1
Created October 30, 2024 16:25
Show Gist options
  • Save trungly1/1a43d9e60d7ba3b2fed7e0fc464c80a5 to your computer and use it in GitHub Desktop.
Save trungly1/1a43d9e60d7ba3b2fed7e0fc464c80a5 to your computer and use it in GitHub Desktop.
{
  "accountReference": "DnxmZU38RY28dHgy4W__Qw==",
  "accountFiscId": "A75074.8",
  "receiptId": "R75074.8",
  "source": {
    "initialAccountId": "A75074.8"
  },
  "salesLines": [
    {
      "id": "S75074.15",
      "totalNetAmountWithTax": "11.00",
      "totalNetAmountWithoutTax": "8.33",
      "menuListPrice": "10.00",
      "unitCostPrice": "0.00",
      "serviceCharge": "1.00",
      "serviceChargeRate": "10.00",
      "discountAmount": "0.00",
      "taxAmount": "1.6667",
      "taxCode": "VAT20",
      "taxRatePercentage": "20.00",
      "taxLines": [
        {
          "taxId": "41910290874374",
          "taxCode": "VAT20",
          "taxRate": "1.2",
          "taxAmount": "1.666667",
          "taxIncluded": true
        }
      ],
      "accountDiscountAmount": "0.00",
      "totalDiscountAmount": "0.00",
      "sku": "13",
      "name": "Burger",
      "statisticGroup": "Food",
      "quantity": "1.000",
      "accountingGroup": {
        "accountingGroupId": 41910290874411,
        "name": "Food"
      },
      "currency": "GBP",
      "tags": [],
      "categories": [
        {
          "category": "default",
          "value": "Food"
        }
      ],
      "timeOfSale": "2023-07-07T15:37:52.326Z",
      "deviceId": 75074,
      "deviceName": "iPad1"
    },
    {
      "id": "S75074.16",
      "totalNetAmountWithTax": "5.50",
      "totalNetAmountWithoutTax": "4.17",
      "menuListPrice": "5.00",
      "unitCostPrice": "0.00",
      "serviceCharge": "0.50",
      "serviceChargeRate": "10.00",
      "discountAmount": "0.00",
      "taxAmount": "0.8333",
      "taxCode": "VAT20",
      "taxRatePercentage": "20.00",
      "taxLines": [
        {
          "taxId": "41910290874374",
          "taxCode": "VAT20",
          "taxRate": "1.2",
          "taxAmount": "0.833333",
          "taxIncluded": true
        }
      ],
      "accountDiscountAmount": "0.00",
      "totalDiscountAmount": "0.00",
      "sku": "14",
      "name": "Bagel",
      "statisticGroup": "Food",
      "quantity": "1.000",
      "accountingGroup": {
        "accountingGroupId": 41910290874411,
        "name": "Food"
      },
      "currency": "GBP",
      "tags": [],
      "categories": [
        {
          "category": "default",
          "value": "Food"
        }
      ],
      "timeOfSale": "2023-07-07T15:37:53.464Z",
      "deviceId": 75074,
      "deviceName": "iPad1"
    }
  ],
  "payments": [
    {
      "code": "CASH",
      "description": "Cash",
      "paymentMethodId": 41910290874392,
      "netAmountWithTax": "16.50",
      "currency": "GBP",
      "tip": "0.00",
      "type": "NORMAL",
      "deviceId": 75074,
      "deviceName": "iPad1",
      "fiscId": "T75074.8",
      "uuid": "fryjerL6QAKwrkUcyMenmg==",
      "fiscDate": "2023-07-07T15:38:02.841Z"
    }
  ],
  "timeOfOpening": "2023-07-07T15:37:49.468Z",
  "timeOfCloseAndPaid": "2023-07-07T15:38:02.862Z",
  "tableName": "",
  "type": "SALE",
  "nbCovers": 0.0,
  "dineIn": true,
  "deviceId": 75074,
  "deviceName": "iPad1"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment