Missing net_amounts on some orders

For some reason for some orders, the API is not giving back the net_amounts object.

Here is the payload for the order id cY3IMsJeGXenPjyIKrEy9fx6RIYZY if you guys want to test something. Seems it’s being caused when the source is invoices, but not sure if that’s the only case. We also identified the same issue for this id Mors6jtPHZy07lTEKO97D6IHAXAZY but of course it’s happening to many more.

[
  {
    "id": "cY3IMsJeGXenPjyIKrEy9fx6RIYZY",
    "location_id": "R5DX97SX9VNYK",
    "line_items": [
      {
        "uid": "dc444c94-0691-4d86-9aaf-05fc65010929",
        "name": "Thanksgiving Turkey",
        "quantity": "1",
        "catalog_object_id": "DB4VIYM4S325VUUP76TJ57RM",
        "variation_name": "Regular",
        "taxes": [
          {
            "uid": "4bef6c64-3920-4939-9df1-74dbf8adb7b3",
            "tax_uid": "ee671c69-2de5-43b6-82ac-2574caecda46",
            "applied_money": {
              "amount": 586,
              "currency": "USD"
            },
            "catalog_object_id": "QVI3X7K4EUDJFFL7BDADCJSK",
            "name": "Sales Tax",
            "type": "ADDITIVE",
            "percentage": "8.375"
          }
        ],
        "applied_taxes": [
          {
            "uid": "4bef6c64-3920-4939-9df1-74dbf8adb7b3",
            "tax_uid": "ee671c69-2de5-43b6-82ac-2574caecda46",
            "applied_money": {
              "amount": 586,
              "currency": "USD"
            },
            "catalog_object_id": "QVI3X7K4EUDJFFL7BDADCJSK",
            "name": "Sales Tax",
            "type": "ADDITIVE",
            "percentage": "8.375"
          }
        ],
        "base_price_money": {
          "amount": 6999,
          "currency": "USD"
        },
        "variation_total_price_money": {
          "amount": 6999,
          "currency": "USD"
        },
        "gross_sales_money": {
          "amount": 6999,
          "currency": "USD"
        },
        "total_tax_money": {
          "amount": 586,
          "currency": "USD"
        },
        "total_discount_money": {
          "amount": 0,
          "currency": "USD"
        },
        "total_money": {
          "amount": 7585,
          "currency": "USD"
        },
        "item_variation": {
          "item_id": "PWFFXVG5CYAAGAHKBMCN3ZLX",
          "name": "Regular",
          "ordinal": 0,
          "pricing_type": "FIXED_PRICING",
          "price_money": {
            "amount": 6999,
            "currency": "USD"
          },
          "id": "DB4VIYM4S325VUUP76TJ57RM"
        },
        "item": {
          "name": "Thanksgiving Turkey",
          "category_id": "BUPLX2ZFW3F2TGSKXXVCEXAY",
          "tax_ids": [
            "QVI3X7K4EUDJFFL7BDADCJSK"
          ],
          "variations": [
            {
              "type": "ITEM_VARIATION",
              "id": "DB4VIYM4S325VUUP76TJ57RM",
              "updated_at": "2021-11-12T17:33:19.289Z",
              "version": 1636738399289,
              "is_deleted": false,
              "present_at_all_locations": true,
              "item_variation_data": {
                "item_id": "PWFFXVG5CYAAGAHKBMCN3ZLX",
                "name": "Regular",
                "ordinal": 0,
                "pricing_type": "FIXED_PRICING",
                "price_money": {
                  "amount": 6999,
                  "currency": "USD"
                }
              }
            }
          ],
          "product_type": "REGULAR",
          "skip_modifier_screen": false,
          "id": "PWFFXVG5CYAAGAHKBMCN3ZLX",
          "description": "A whole, 13-15 lbs deep-fried thanksgiving turkey"
        },
        "category": {
          "name": "Catering",
          "id": "BUPLX2ZFW3F2TGSKXXVCEXAY"
        },
        "calculated_gross_money": 6999,
        "calculated_discount_tax_inclusive_money": 0
      }
    ],
    "taxes": [
      {
        "uid": "ee671c69-2de5-43b6-82ac-2574caecda46",
        "catalog_object_id": "QVI3X7K4EUDJFFL7BDADCJSK",
        "name": "Sales Tax",
        "type": "ADDITIVE",
        "percentage": "8.375",
        "applied_money": {
          "amount": 586,
          "currency": "USD"
        },
        "scope": "LINE_ITEM"
      }
    ],
    "return_amounts": {
      "total_money": {
        "amount": 0,
        "currency": "USD"
      },
      "tax_money": {
        "amount": 0,
        "currency": "USD"
      },
      "discount_money": {
        "amount": 0,
        "currency": "USD"
      },
      "tip_money": {
        "amount": 0,
        "currency": "USD"
      },
      "service_charge_money": {
        "amount": 0,
        "currency": "USD"
      }
    },
    "tenders": [
      {
        "id": "teY2wJOtj5LJe5LKslstVVtSuaB",
        "location_id": "R5DX97SX9VNYK",
        "transaction_id": "cY3IMsJeGXenPjyIKrEy9fx6RIYZY",
        "created_at": "2021-11-12T20:49:10Z",
        "amount_money": {
          "amount": 8085,
          "currency": "USD"
        },
        "type": "CARD",
        "card_details": {
          "status": "CAPTURED",
          "card": {
            "card_brand": "DISCOVER",
            "last_4": "4392"
          },
          "entry_method": "KEYED"
        },
        "tip_money": {
          "amount": 500,
          "currency": "USD"
        }
      }
    ],
    "created_at": "2021-11-12T17:42:50.423Z",
    "updated_at": "2021-11-12T20:49:11.000Z",
    "closed_at": "2021-11-12T20:49:12.564Z",
    "state": "COMPLETED",
    "total_money": {
      "amount": 8085,
      "currency": "USD"
    },
    "total_tax_money": {
      "amount": 586,
      "currency": "USD"
    },
    "total_discount_money": {
      "amount": 0,
      "currency": "USD"
    },
    "total_service_charge_money": {
      "amount": 0,
      "currency": "USD"
    },
    "calculated_credit_amount": 0,
    "source": [],
    "customer_id": "P0C8QB8NYH18Q4N3K3WZGNAPGM",
    "version": 4
  }
]

Thank you, please let me know if you guys need any more information.

:wave: Wanted to provide an update on this. The team is looking into why net_amounts aren’t in the order. I’ll be sure to reach out with any updates. :slightly_smiling_face:

1 Like