There is another order. It’s line items are being summarised when order is closed but not when it was created. But it’s now showing up as invoice.
{
"id": "OIjIGReER4fOZG3qXRFnnCdp9CJZY",
"locationId": "LC66E87HGF20B",
"source": {},
"customerId": "HB1ZVZ9A795BK4QW3MRW073V18",
"lineItems": [
{
"uid": "5f11aaab-f9fc-4dac-bd97-515d69a21163",
"name": "Bud Light",
"quantity": "3",
"catalogObjectId": "ADNHJX2YKBMOD4ALOVHXDDGW",
"catalogVersion": 1644342821733,
"variationName": "24PK Cans 12oz",
"itemType": "ITEM",
"appliedTaxes": [
{
"uid": "4e932d6e-ee46-4586-89a8-ae59d79def67",
"taxUid": "85f3abf1-76e5-4195-b167-fe1768608d6f",
"appliedMoney": {
"amount": 289,
"currency": "USD"
}
}
],
"appliedDiscounts": [
{
"uid": "6a7a6fd7-a2ee-49dc-abc5-311200ea5ad6",
"discountUid": "6a7a6fd7-a2ee-49dc-abc5-311200ea5ad6",
"appliedMoney": {
"amount": 900,
"currency": "USD"
}
}
],
"basePriceMoney": {
"amount": 2049,
"currency": "USD"
},
"variationTotalPriceMoney": {
"amount": 6147,
"currency": "USD"
},
"grossSalesMoney": {
"amount": 6147,
"currency": "USD"
},
"totalTaxMoney": {
"amount": 289,
"currency": "USD"
},
"totalDiscountMoney": {
"amount": 900,
"currency": "USD"
},
"totalMoney": {
"amount": 5536,
"currency": "USD"
}
},
{
"uid": "29b8094c-8bcf-44dd-b78e-e0fa5354198f",
"name": "Bud Light Flavors",
"quantity": "1",
"catalogObjectId": "VJBWZW73GQ5YVJSZHFQESNU7",
"catalogVersion": 1644342352626,
"variationName": "Lime 6PK Bottles",
"itemType": "ITEM",
"appliedTaxes": [
{
"uid": "9fe79387-f72c-4812-ba15-d50d96b32ed2",
"taxUid": "85f3abf1-76e5-4195-b167-fe1768608d6f",
"appliedMoney": {
"amount": 45,
"currency": "USD"
}
}
],
"basePriceMoney": {
"amount": 819,
"currency": "USD"
},
"variationTotalPriceMoney": {
"amount": 819,
"currency": "USD"
},
"grossSalesMoney": {
"amount": 819,
"currency": "USD"
},
"totalTaxMoney": {
"amount": 45,
"currency": "USD"
},
"totalDiscountMoney": {
"amount": 0,
"currency": "USD"
},
"totalMoney": {
"amount": 864,
"currency": "USD"
}
},
{
"uid": "71c2db4a-19b2-4d2e-8e3a-4da5b2125364",
"name": "Busch Light",
"quantity": "5",
"catalogObjectId": "AU4EDEILCH4QPHVUMGBFGJXB",
"catalogVersion": 1644527980367,
"variationName": "30PK Cans",
"itemType": "ITEM",
"appliedTaxes": [
{
"uid": "4e932d6e-ee46-4586-89a8-ae59d79def67",
"taxUid": "85f3abf1-76e5-4195-b167-fe1768608d6f",
"appliedMoney": {
"amount": 550,
"currency": "USD"
}
}
],
"basePriceMoney": {
"amount": 2000,
"currency": "USD"
},
"variationTotalPriceMoney": {
"amount": 10000,
"currency": "USD"
},
"grossSalesMoney": {
"amount": 10000,
"currency": "USD"
},
"totalTaxMoney": {
"amount": 550,
"currency": "USD"
},
"totalDiscountMoney": {
"amount": 0,
"currency": "USD"
},
"totalMoney": {
"amount": 10550,
"currency": "USD"
}
},
{
"uid": "858fbdd7-d862-4f46-bfae-9c52b01224c9",
"name": "Captain Morgan",
"quantity": "4",
"catalogObjectId": "343KCSEWGXSFVF2ZO3IVWPTA",
"catalogVersion": 1646504181895,
"variationName": "Spiced Plastic 1.75L",
"itemType": "ITEM",
"appliedTaxes": [
{
"uid": "1323ef49-a037-4abe-8192-256a92cfe96e",
"taxUid": "85f3abf1-76e5-4195-b167-fe1768608d6f",
"appliedMoney": {
"amount": 605,
"currency": "USD"
}
}
],
"basePriceMoney": {
"amount": 2749,
"currency": "USD"
},
"variationTotalPriceMoney": {
"amount": 10996,
"currency": "USD"
},
"grossSalesMoney": {
"amount": 10996,
"currency": "USD"
},
"totalTaxMoney": {
"amount": 605,
"currency": "USD"
},
"totalDiscountMoney": {
"amount": 0,
"currency": "USD"
},
"totalMoney": {
"amount": 11601,
"currency": "USD"
}
},
{
"uid": "d7981b5d-a0f8-40fc-b325-d55f23e43dae",
"name": "Coca Cola Soda 2L",
"quantity": "3",
"catalogObjectId": "ZVM4XKEBFNEUOHHZT5U5NLWC",
"catalogVersion": 1643225706362,
"variationName": "Coke Classic",
"itemType": "ITEM",
"appliedTaxes": [
{
"uid": "85f3abf1-76e5-4195-b167-fe1768608d6f",
"taxUid": "85f3abf1-76e5-4195-b167-fe1768608d6f",
"appliedMoney": {
"amount": 44,
"currency": "USD"
}
}
],
"basePriceMoney": {
"amount": 269,
"currency": "USD"
},
"variationTotalPriceMoney": {
"amount": 807,
"currency": "USD"
},
"grossSalesMoney": {
"amount": 807,
"currency": "USD"
},
"totalTaxMoney": {
"amount": 44,
"currency": "USD"
},
"totalDiscountMoney": {
"amount": 0,
"currency": "USD"
},
"totalMoney": {
"amount": 851,
"currency": "USD"
}
},
{
"uid": "2ffd42ae-90b2-4c94-b6dc-ec2d8b761d15",
"name": "Coors Light",
"quantity": "2",
"catalogObjectId": "MOBHEZ2PWYLQQRURN3OU6GB4",
"catalogVersion": 1643729401423,
"variationName": "24PK 12oz Cans",
"itemType": "ITEM",
"appliedTaxes": [
{
"uid": "4e932d6e-ee46-4586-89a8-ae59d79def67",
"taxUid": "85f3abf1-76e5-4195-b167-fe1768608d6f",
"appliedMoney": {
"amount": 225,
"currency": "USD"
}
}
],
"basePriceMoney": {
"amount": 2049,
"currency": "USD"
},
"variationTotalPriceMoney": {
"amount": 4098,
"currency": "USD"
},
"grossSalesMoney": {
"amount": 4098,
"currency": "USD"
},
"totalTaxMoney": {
"amount": 225,
"currency": "USD"
},
"totalDiscountMoney": {
"amount": 0,
"currency": "USD"
},
"totalMoney": {
"amount": 4323,
"currency": "USD"
}
},
{
"uid": "6389b5d8-5044-4278-9528-17f28f5cabd2",
"name": "Dr. Pepper/7UP 2L Bottles",
"quantity": "1",
"catalogObjectId": "YB25GAF7QI25SWAQI4MTI65Q",
"catalogVersion": 1643853105485,
"variationName": "7up",
"itemType": "ITEM",
"appliedTaxes": [
{
"uid": "85f3abf1-76e5-4195-b167-fe1768608d6f",
"taxUid": "85f3abf1-76e5-4195-b167-fe1768608d6f",
"appliedMoney": {
"amount": 11,
"currency": "USD"
}
}
],
"basePriceMoney": {
"amount": 199,
"currency": "USD"
},
"variationTotalPriceMoney": {
"amount": 199,
"currency": "USD"
},
"grossSalesMoney": {
"amount": 199,
"currency": "USD"
},
"totalTaxMoney": {
"amount": 11,
"currency": "USD"
},
"totalDiscountMoney": {
"amount": 0,
"currency": "USD"
},
"totalMoney": {
"amount": 210,
"currency": "USD"
}
},
{
"uid": "e1579016-fdf7-4ee8-b24d-0f202cab62d3",
"name": "Ice",
"quantity": "2",
"catalogObjectId": "52LG5DBZO5TQIR4GB53QUMVM",
"catalogVersion": 1646253877658,
"variationName": "20LB Bag",
"itemType": "ITEM",
"basePriceMoney": {
"amount": 400,
"currency": "USD"
},
"variationTotalPriceMoney": {
"amount": 800,
"currency": "USD"
},
"grossSalesMoney": {
"amount": 800,
"currency": "USD"
},
"totalTaxMoney": {
"amount": 0,
"currency": "USD"
},
"totalDiscountMoney": {
"amount": 0,
"currency": "USD"
},
"totalMoney": {
"amount": 800,
"currency": "USD"
}
},
{
"uid": "c438578f-c576-4e6a-8394-c10dae87c6b6",
"name": "Miller Lite",
"quantity": "1",
"catalogObjectId": "LPZB3JAYNHCRACT44EYNZEHX",
"catalogVersion": 1643729375658,
"variationName": "24PK 16oz Cans",
"itemType": "ITEM",
"appliedTaxes": [
{
"uid": "85f3abf1-76e5-4195-b167-fe1768608d6f",
"taxUid": "85f3abf1-76e5-4195-b167-fe1768608d6f",
"appliedMoney": {
"amount": 108,
"currency": "USD"
}
}
],
"appliedDiscounts": [
{
"uid": "ce4f8078-0805-4781-ac37-2604798cc483",
"discountUid": "ce4f8078-0805-4781-ac37-2604798cc483",
"appliedMoney": {
"amount": 300,
"currency": "USD"
}
}
],
"basePriceMoney": {
"amount": 2259,
"currency": "USD"
},
"variationTotalPriceMoney": {
"amount": 2259,
"currency": "USD"
},
"grossSalesMoney": {
"amount": 2259,
"currency": "USD"
},
"totalTaxMoney": {
"amount": 108,
"currency": "USD"
},
"totalDiscountMoney": {
"amount": 300,
"currency": "USD"
},
"totalMoney": {
"amount": 2067,
"currency": "USD"
}
},
{
"uid": "b5475c4e-b2e9-45e9-bbb9-d2d013aa7b8d",
"name": "Pepsi Cola 12PK",
"quantity": "2",
"catalogObjectId": "OJY6LY4NT7NUKMC4IZNDJQWZ",
"catalogVersion": 1643385098630,
"variationName": "Mountain Dew",
"itemType": "ITEM",
"appliedTaxes": [
{
"uid": "caa3c01a-69e5-4e88-ab8d-de01130c06b6",
"taxUid": "85f3abf1-76e5-4195-b167-fe1768608d6f",
"appliedMoney": {
"amount": 88,
"currency": "USD"
}
}
],
"basePriceMoney": {
"amount": 799,
"currency": "USD"
},
"variationTotalPriceMoney": {
"amount": 1598,
"currency": "USD"
},
"grossSalesMoney": {
"amount": 1598,
"currency": "USD"
},
"totalTaxMoney": {
"amount": 88,
"currency": "USD"
},
"totalDiscountMoney": {
"amount": 0,
"currency": "USD"
},
"totalMoney": {
"amount": 1686,
"currency": "USD"
}
},
{
"uid": "480d7094-9669-4332-b06c-ab96d7109b1b",
"name": "Seagrams 7 Crown 1.75 lt",
"quantity": "1",
"catalogObjectId": "VVEADLURIGIXBETQMJGGTV7Q",
"catalogVersion": 1611681294157,
"variationName": "",
"itemType": "ITEM",
"appliedTaxes": [
{
"uid": "522a98b0-2398-4480-8ee4-3eee0633a693",
"taxUid": "85f3abf1-76e5-4195-b167-fe1768608d6f",
"appliedMoney": {
"amount": 115,
"currency": "USD"
}
}
],
"basePriceMoney": {
"amount": 2099,
"currency": "USD"
},
"variationTotalPriceMoney": {
"amount": 2099,
"currency": "USD"
},
"grossSalesMoney": {
"amount": 2099,
"currency": "USD"
},
"totalTaxMoney": {
"amount": 115,
"currency": "USD"
},
"totalDiscountMoney": {
"amount": 0,
"currency": "USD"
},
"totalMoney": {
"amount": 2214,
"currency": "USD"
}
},
{
"uid": "eabac200-7436-49f7-8e26-1e2c24b6472b",
"name": "Titos Vodka",
"quantity": "1",
"catalogObjectId": "OUO2EFET6KR4LF2QBVNQLM4Z",
"catalogVersion": 1643062313946,
"variationName": "1.75L",
"itemType": "ITEM",
"appliedTaxes": [
{
"uid": "85f3abf1-76e5-4195-b167-fe1768608d6f",
"taxUid": "85f3abf1-76e5-4195-b167-fe1768608d6f",
"appliedMoney": {
"amount": 179,
"currency": "USD"
}
}
],
"basePriceMoney": {
"amount": 3249,
"currency": "USD"
},
"variationTotalPriceMoney": {
"amount": 3249,
"currency": "USD"
},
"grossSalesMoney": {
"amount": 3249,
"currency": "USD"
},
"totalTaxMoney": {
"amount": 179,
"currency": "USD"
},
"totalDiscountMoney": {
"amount": 0,
"currency": "USD"
},
"totalMoney": {
"amount": 3428,
"currency": "USD"
}
},
{
"uid": "98f13390-8ce9-4555-b39b-251bbc19ffaa",
"name": "White Claw",
"quantity": "1",
"catalogObjectId": "WFZ6IREHCGA2MXNM67JVNWOD",
"catalogVersion": 1647441631886,
"variationName": "Variety #3 12PK",
"itemType": "ITEM",
"appliedTaxes": [
{
"uid": "4e932d6e-ee46-4586-89a8-ae59d79def67",
"taxUid": "85f3abf1-76e5-4195-b167-fe1768608d6f",
"appliedMoney": {
"amount": 102,
"currency": "USD"
}
}
],
"basePriceMoney": {
"amount": 1849,
"currency": "USD"
},
"variationTotalPriceMoney": {
"amount": 1849,
"currency": "USD"
},
"grossSalesMoney": {
"amount": 1849,
"currency": "USD"
},
"totalTaxMoney": {
"amount": 102,
"currency": "USD"
},
"totalDiscountMoney": {
"amount": 0,
"currency": "USD"
},
"totalMoney": {
"amount": 1951,
"currency": "USD"
}
},
{
"uid": "51fdae98-f028-47fa-9d37-5a5684ee1c63",
"name": "White Claw",
"quantity": "3",
"catalogObjectId": "PBUMFRVVX6F2SG5CHUZULFIX",
"catalogVersion": 1647441631886,
"variationName": "Variety #1 12PK",
"itemType": "ITEM",
"appliedTaxes": [
{
"uid": "85f3abf1-76e5-4195-b167-fe1768608d6f",
"taxUid": "85f3abf1-76e5-4195-b167-fe1768608d6f",
"appliedMoney": {
"amount": 305,
"currency": "USD"
}
}
],
"basePriceMoney": {
"amount": 1849,
"currency": "USD"
},
"variationTotalPriceMoney": {
"amount": 5547,
"currency": "USD"
},
"grossSalesMoney": {
"amount": 5547,
"currency": "USD"
},
"totalTaxMoney": {
"amount": 305,
"currency": "USD"
},
"totalDiscountMoney": {
"amount": 0,
"currency": "USD"
},
"totalMoney": {
"amount": 5852,
"currency": "USD"
}
}
],
"taxes": [
{
"uid": "85f3abf1-76e5-4195-b167-fe1768608d6f",
"catalogObjectId": "6WGQK4G4PJVW5UILZ33USHGU",
"catalogVersion": 1607272114955,
"name": "WI Tax",
"type": "ADDITIVE",
"percentage": "5.5",
"appliedMoney": {
"amount": 2666,
"currency": "USD"
},
"scope": "LINE_ITEM"
}
],
"discounts": [
{
"uid": "ce4f8078-0805-4781-ac37-2604798cc483",
"catalogObjectId": "35ZSEIFAH5NSAZJJKTVARIQ5",
"catalogVersion": 1652728099150,
"name": "Miller Lite $3 Off 24/30PKS",
"type": "FIXED_AMOUNT",
"amountMoney": {
"amount": 300,
"currency": "USD"
},
"appliedMoney": {
"amount": 300,
"currency": "USD"
},
"scope": "LINE_ITEM"
},
{
"uid": "6a7a6fd7-a2ee-49dc-abc5-311200ea5ad6",
"catalogObjectId": "64IJQCLQUPZLQDHWNGFTKIDV",
"catalogVersion": 1648491390379,
"name": "Bud Family $3 Off 24PKS",
"type": "FIXED_AMOUNT",
"amountMoney": {
"amount": 300,
"currency": "USD"
},
"appliedMoney": {
"amount": 900,
"currency": "USD"
},
"scope": "LINE_ITEM"
}
],
"returnAmounts": {
"totalMoney": {
"amount": 0,
"currency": "USD"
},
"taxMoney": {
"amount": 0,
"currency": "USD"
},
"discountMoney": {
"amount": 0,
"currency": "USD"
},
"tipMoney": {
"amount": 0,
"currency": "USD"
},
"serviceChargeMoney": {
"amount": 0,
"currency": "USD"
}
},
"netAmounts": {
"totalMoney": {
"amount": 51933,
"currency": "USD"
},
"taxMoney": {
"amount": 2666,
"currency": "USD"
},
"discountMoney": {
"amount": 1200,
"currency": "USD"
},
"tipMoney": {
"amount": 0,
"currency": "USD"
},
"serviceChargeMoney": {
"amount": 0,
"currency": "USD"
}
},
"tenders": [
{
"id": "1M5GZRdfyxUjEsu7j0QsHWoGvaB",
"locationId": "LC66E87HGF20B",
"transactionId": "OIjIGReER4fOZG3qXRFnnCdp9CJZY",
"createdAt": "2022-05-20T16:52:53Z",
"amountMoney": {
"amount": 51933,
"currency": "USD"
},
"type": "CASH",
"cashDetails": {
"buyerTenderedMoney": {
"amount": 51933,
"currency": "USD"
},
"changeBackMoney": {
"amount": 0,
"currency": "USD"
}
},
"payment": {
"id": "1M5GZRdfyxUjEsu7j0QsHWoGvaB",
"createdAt": "2022-05-20T16:52:57.088Z",
"amountMoney": {
"amount": 51933,
"currency": "USD"
},
"totalMoney": {
"amount": 51933,
"currency": "USD"
},
"status": "COMPLETED",
"sourceType": "CASH",
"cashDetails": {
"buyerSuppliedMoney": {
"amount": 51933,
"currency": "USD"
},
"changeBackMoney": {
"amount": 0,
"currency": "USD"
}
},
"locationId": "LC66E87HGF20B",
"orderId": "OIjIGReER4fOZG3qXRFnnCdp9CJZY",
"employeeId": "TMLnAbTA4JW0NQqt",
"teamMemberId": "TMLnAbTA4JW0NQqt",
"receiptNumber": "1M5G",
"receiptUrl": "https://squareup.com/receipt/preview/1M5GZRdfyxUjEsu7j0QsHWoGvaB",
"deviceDetails": {
"deviceId": "042CS079A5000483",
"deviceInstallationId": "a3a04777-e6b9-4bdb-adfc-675f31035ab7",
"deviceName": "Register 1"
},
"applicationDetails": {
"squareProduct": "OTHER"
},
"versionToken": "D7xFD5Y5k1krMNMW1EPvyPehPdO5nOnNNGnqJDGxqvj6o"
}
}
],
"createdAt": "2022-05-11T13:14:45.633Z",
"updatedAt": "2022-05-20T16:52:58.000Z",
"closedAt": "2022-05-20T16:53:03.839Z",
"state": "COMPLETED",
"version": 7,
"totalMoney": {
"amount": 51933,
"currency": "USD"
},
"totalTaxMoney": {
"amount": 2666,
"currency": "USD"
},
"totalDiscountMoney": {
"amount": 1200,
"currency": "USD"
},
"totalTipMoney": {
"amount": 0,
"currency": "USD"
},
"totalServiceChargeMoney": {
"amount": 0,
"currency": "USD"
},
"square_product": [
"OTHER"
]
}