v1

latestOpenAPI 3.1.02026-07-2438302.6 MB

Get a Package

get/invoice_estimate/package/{package_uid}

Path parameters

package_uidstring required

Response

200

typestring

Example response

{
  "type": "success",
  "data": {
    "discount": {
      "type": "FIXED",
      "discount_applicability": "LINE_ITEM",
      "discount_label": "Discount"
    },
    "display_order": 35,
    "package_uid": "48bb52f0-cc0a-11ef-bc7d-cb263e5b22e8",
    "package_name": "Test 6/25",
    "package_description": "Test 6/25",
    "package_remarks": "Test 6/25",
    "line_items": [
      {
        "tax": {
          "tax_name": "custom",
          "tax_rate": 10,
          "tax_amount": 5
        },
        "line_item_uid": "49272be6-1f4e-49a9-acc0-308c52609416",
        "line_item_type": "ITEM",
        "product_ref_id": {
          "tax": {
            "tax_rate": 10,
            "tax_name": "custom"
          },
          "product_name": "NEW PRODUCT WITH SYNC TEST",
          "product_category": {
            "category_name": "Furniture",
            "category_uid": "3e2b4520-81ce-11e9-b902-35bbc7d2063e"
          },
          "product_uid": "9ef2c790-b34f-11e9-9f97-b9b7552ee8ce",
          "updated_at": "2024-12-20T13:00:38.695Z",
          "created_at": "2019-07-31T04:56:56.201Z",
          "meta_data": [
            {
              "label": "Xero Item Account",
              "type": "SINGLE_ITEM",
              "module_name": "PRODUCT",
              "_id": "67656a76166d17eeb85ef5bf"
            }
          ],
          "product_id": "PART TESTING",
          "has_custom_tax": true,
          "product_type": "SERVICE",
          "is_billable": true
        },
        "product_id": "PART TESTING",
        "product_uid": "9ef2c790-b34f-11e9-9f97-b9b7552ee8ce",
        "name": "NEW PRODUCT WITH SYNC TEST",
        "quantity": 1,
        "unit_price": 50,
        "discount_type": "FIXED",
        "total": 55,
        "product_type": "SERVICE",
        "_id": "677b97a92949e3984e0fc2bd"
      }
    ],
    "addons": [
      {
        "tax": {
          "tax_name": "custom",
          "tax_rate": 10,
          "tax_amount": 5
        },
        "line_item_uid": "49272be6-1f4e-49a9-acc0-308c52609416",
        "line_item_type": "ITEM",
        "product_ref_id": {
          "tax": {
            "tax_rate": 10,
            "tax_name": "custom"
          },
          "product_name": "NEW PRODUCT WITH SYNC TEST",
          "product_category": {
            "category_name": "Furniture",
            "category_uid": "3e2b4520-81ce-11e9-b902-35bbc7d2063e"
          },
          "product_uid": "9ef2c790-b34f-11e9-9f97-b9b7552ee8ce",
          "updated_at": "2024-12-20T13:00:38.695Z",
          "created_at": "2019-07-31T04:56:56.201Z",
          "meta_data": [
            {
              "label": "Xero Item Account",
              "type": "SINGLE_ITEM",
              "module_name": "PRODUCT",
              "_id": "67656a76166d17eeb85ef5bf"
            }
          ],
          "product_id": "PART TESTING",
          "has_custom_tax": true,
          "product_type": "SERVICE",
          "is_billable": true
        },
        "product_id": "PART",
        "product_uid": "9ef2c790-b34f-11e9-9f97-b9b7552ee8ce",
        "name": "Addon Shingles",
        "quantity": 1,
        "unit_price": 50,
        "discount_type": "FIXED",
        "total": 55,
        "product_type": "SERVICE",
        "_id": "677b97a92949e3984e0fc2bd"
      }
    ],
    "sub_total": 55,
    "total": 55,
    "is_active": true,
    "created_by": {
      "user_uid": "48625036-fef6-4637-99e7-f09377a4f9ba",
      "first_name": "def",
      "last_name": "M",
      "email": "def.m@def.co",
      "designation": "Tech",
      "emp_code": "1234",
      "prefix": "Z22",
      "profile_picture": "https://s3.ap-south-1.amazonaws.com/prod.app.zuperpro/assets/profile_picture.jpg",
      "hourly_labor_charge": 20,
      "is_active": true,
      "created_at": "2024-07-05T06:42:02.000Z",
      "updated_at": "2024-12-26T12:12:07.000Z"
    },
    "created_at": "2025-01-06T08:43:21.385Z",
    "updated_at": "2025-01-06T08:43:21.385Z"
  }
}