{
  "items": [
    {
      "qty": 2,
      "variant": {
        "product_id": "6358ec49b06d247992c24b1d",
        "product_name": "iphone 11 pro Max",
        "variant_id": "6358ec4ab06d247992c24b33",
        "variant_name": "iphone 11 pro Max",
        "listed_price": 15000
      },
      "measureunit": {
        "_id": "632c578fc0051c553627e1d8",
        "disabled": false,
        "company_namespace": ["quickbooksintg"],
        "local_name": "",
        "name": "piece",
        "factor": 1,
        "parent": null,
        "createdAt": "2022-09-22T12:39:43.350Z",
        "updatedAt": "2022-09-22T12:39:43.350Z",
        "__v": 0,
        "random": 0.025690494913418682
      },
      "class": "invoice",
      "tax": {
        "type": "N/A",
        "rate": 0,
        "name": "No Tax"
      },
      "promotions": {
        "isGet": false,
        "taken": 0,
        "free": 2,
        "bookings": [],
        "highlight": false
      },
      "base_unit_qty": 2,
      "price": 15000,
      "discounted_price": 12000,
      "discount_value": 3000,
      "taxable_subtotal": 24000,
      "modifiers_total": 0,
      "modifiers_total_before_tax": 0,
      "modifiers_tax_total": 0,
      "tax_amount": 0,
      "gross_value": 12000,
      "tax_total_without_modifiers": 0,
      "line_total_without_modifiers": 24000,
      "total_before_tax_without_modifiers": 24000,
      "line_total": 24000,
      "total_before_tax": 24000,
      "tax_total": 0,
      "dex": 0,
      "deductionRatio_r": 0,
      "deductionRatio": 0,
      "deductedTax": 0,
      "deduction": 0,
      "deductionBeforeTax": 0,
      "lineTotalAfterDeduction": 24000,
      "stocks": 8,
      "notes": [],
      "overwritePrice": 12000
    },
    {
      "qty": 1,
      "variant": {
        "product_id": "6358ec4ab06d247992c24b1f",
        "product_name": "Rock Fountain",
        "variant_id": "6358ec4ab06d247992c24b2f",
        "variant_name": "Rock Fountain",
        "listed_price": 275000
      },
      "measureunit": {
        "_id": "632c578fc0051c553627e1d8",
        "disabled": false,
        "company_namespace": ["quickbooksintg"],
        "local_name": "",
        "name": "piece",
        "factor": 1,
        "parent": null,
        "createdAt": "2022-09-22T12:39:43.350Z",
        "updatedAt": "2022-09-22T12:39:43.350Z",
        "__v": 0,
        "random": 0.025690494913418682
      },
      "class": "invoice",
      "tax": {
        "type": "N/A",
        "rate": 0,
        "name": "No Tax"
      },
      "promotions": {
        "isGet": false,
        "taken": 0,
        "free": 1,
        "bookings": [],
        "highlight": false
      },
      "base_unit_qty": 1,
      "price": 275000,
      "discounted_price": 320000,
      "discount_value": 0,
      "taxable_subtotal": 320000,
      "modifiers_total": 0,
      "modifiers_total_before_tax": 0,
      "modifiers_tax_total": 0,
      "tax_amount": 0,
      "gross_value": 320000,
      "tax_total_without_modifiers": 0,
      "line_total_without_modifiers": 320000,
      "total_before_tax_without_modifiers": 320000,
      "line_total": 320000,
      "total_before_tax": 320000,
      "tax_total": 0,
      "dex": 1,
      "deductionRatio_r": 0,
      "deductionRatio": 0,
      "deductedTax": 0,
      "deduction": 0,
      "deductionBeforeTax": 0,
      "lineTotalAfterDeduction": 320000,
      "stocks": 9,
      "notes": [],
      "overwritePrice": 320000
    }
  ],
  "return_items": [],
  "issue_date": "2022-10-26",
  "due_date": "2022-10-26",
  "client_id": "6358ec252bf5766235dd920c",
  "client_name": "Travis Waldron",
  "origin_warehouse": "633ac85fbe659c511f149e65",
  "creator": {
    "admin": "632058ccdee287551a179994",
    "_id": "632058ccdee287551a179994",
    "type": "admin",
    "name": "Ahmed Khaled"
  },
  "version": 0,
  "company_namespace": ["quickbooksintg"],
  "subtotal": 305000,
  "discount_amount": 6000,
  "tax_amount": 0,
  "total": 344000,
  "promotions": [],
  "priceLists": [],
  "taxable_subtotal": 344000,
  "notes": {},
  "pre_subtotal": 305000,
  "pre_discount_amount": 6000,
  "pre_taxable_subtotal": 344000,
  "pre_tax_amount": 0,
  "pre_total": 344000,
  "return_subtotal": 0,
  "return_discount_amount": 0,
  "return_taxable_subtotal": 0,
  "return_tax_amount": 0,
  "return_total": 0,
  "totalDeductedTax": 0,
  "totalDeduction": 0,
  "totalDeductionBeforeTax": 0,
  "deductionRatio": 0,
  "deductionFixed": 0,
  "sync_id": "fdf7366b-165f-4129-a6b1-88bbece33df3",
  "shipping_price": 0,
  "shipping_tax": 0,
  "shipping_charge": 0,
  "payment_charge": 0,
  "total_with_charges": 344000,
  "taxes": {
    "No Tax": {
      "name": "No Tax",
      "rate": 0,
      "total": 0,
      "type": "N/A"
    }
  },
  "tax_exempt": false,
  "currency": "JOD",
  "type": "invoice",
  "processable": true,
  "failure_reasons": [],
  "note": ""
}
