{
  "_id": "6342aea5ee61fc920c02a89b",
  "processable": true,
  "client_id": "634296daee61fc920c029d1b",
  "client_name": "Shara Barnett",
  "comment": "Created from Dashboard by Ahmed Khaled ",
  "creator": {
    "_id": "632058ccdee287551a179994",
    "type": "admin",
    "admin": "632058ccdee287551a179994",
    "name": "Ahmed Khaled"
  },
  "latest": true,
  "version": 0,
  "business_day": "2022-10-09",
  "issue_date": "2022-10-09",
  "currency": "JOD",
  "serial_number": {
    "identifier": "ADM",
    "formatted": "INV-ADM-4",
    "count": 4,
    "_id": "6342aea5ee61fc920c02a89c"
  },
  "sync_id": "c065d564-584c-46bc-a1bf-666dd7ff2dd5",
  "company_namespace": ["quickbooksintg"],
  "promotions": [],
  "priceLists": [],
  "teams": [],
  "is_void": false,
  "due_date": "2022-10-09",
  "origin_warehouse": "633ac85fbe659c511f149e65",
  "paymentsData": {
    "invoice_value": 70000,
    "paid": 0,
    "balance": 70000,
    "payments": [],
    "_id": "6342aea5ee61fc920c02a89d"
  },
  "consumption": {
    "status": "consumed",
    "remainder": 0,
    "_id": "6342aea5ee61fc920c02a89e"
  },
  "status": "unpaid",
  "subtotal": 70000,
  "discount_amount": 0,
  "taxable_subtotal": 70000,
  "tax_amount": 0,
  "total": 70000,
  "pre_subtotal": 70000,
  "pre_discount_amount": 0,
  "pre_taxable_subtotal": 70000,
  "pre_tax_amount": 0,
  "pre_total": 70000,
  "return_subtotal": 0,
  "return_discount_amount": 0,
  "return_taxable_subtotal": 0,
  "return_tax_amount": 0,
  "return_total": 0,
  "deductionRatio": 0,
  "deductionFixed": 0,
  "totalDeductedTax": 0,
  "totalDeduction": 0,
  "totalDeductionBeforeTax": 0,
  "taxes": {
    "No Tax": {
      "name": "No Tax",
      "rate": 0,
      "total": 0,
      "type": "N/A"
    }
  },
  "overwriteTaxExempt": false,
  "tax_exempt": false,
  "shipping_price": 0,
  "shipping_tax": 0,
  "shipping_charge": 0,
  "payment_charge": 0,
  "total_with_charges": 70000,
  "transaction_processed": true,
  "items": [
    {
      "isAdditional": false,
      "variant": {
        "product_id": "633da4ee9005e552c80d755b",
        "product_name": "Trimming",
        "variant_id": "633da4ee9005e552c80d7566",
        "variant_name": "Trimming",
        "listed_price": 35000,
        "_id": "6342aea5ee61fc920c02a8a0"
      },
      "qty": 2,
      "measureunit": {
        "parent": null,
        "name": "piece",
        "factor": 1,
        "disabled": false,
        "company_namespace": ["quickbooksintg"],
        "_id": "632c578fc0051c553627e1d8"
      },
      "tax": {
        "name": "No Tax",
        "rate": 0,
        "type": "N/A",
        "disabled": false,
        "_id": "6342aea5ee61fc920c02a8a2"
      },
      "base_unit_qty": 2,
      "price": 35000,
      "discounted_price": 35000,
      "tax_amount": 0,
      "tax_total": 0,
      "discount_value": 0,
      "gross_value": 35000,
      "line_total": 70000,
      "total_before_tax": 70000,
      "modifiers_total": 0,
      "modifiers_total_before_tax": 0,
      "modifiers_tax_total": 0,
      "tax_total_without_modifiers": 0,
      "line_total_without_modifiers": 70000,
      "total_before_tax_without_modifiers": 70000,
      "deductionRatio": 0,
      "deductedTax": 0,
      "deduction": 0,
      "deductionBeforeTax": 0,
      "lineTotalAfterDeduction": 70000,
      "promotions": {
        "isGet": false,
        "taken": 0,
        "free": 2,
        "bookings": [],
        "highlight": false
      },
      "used_promotions": [],
      "general_promotions": [],
      "applicable_promotions": [],
      "company_namespace": [],
      "class": "invoice",
      "_id": "6342aea5ee61fc920c02a89f",
      "modifiers_groups": []
    }
  ],
  "return_items": [],
  "time": 1665314469236,
  "createdAt": "2022-10-09T11:21:09.242Z",
  "updatedAt": "2022-10-09T11:21:09.524Z",
  "__v": 0
}
