{
  "openapi": "3.0.0",
  "info": {
    "version": "2021-11-21",
    "title": "Agave Unified API",
    "termsOfService": "https://agaveapi.com/terms",
    "contact": {
      "name": "API Support",
      "email": "api-support@agaveapi.com"
    },
    "description": "Hello! Welcome to our new API reference site. Here, you can find a complete list of our APIs. <br/> For more general information about how to use them, please refer to [our guides](https://docs.agaveapi.com). <br/>",
    "x-logo": {
      "url": "https://www.agaveapi.com/assets/img/logo.png"
    }
  },
  "servers": [
    {
      "url": "https://api.agaveapi.com",
      "description": "Production server"
    }
  ],
  "security": [
    {
      "Client-Id": [],
      "Client-Secret": [],
      "Account-Token": []
    }
  ],
  "tags": [
    {
      "name": "link-token",
      "x-displayName": "Link Token",
      "description": "These endpoints let you generate a Link Token and exchange a temporary Public Token\nwith a permanent Account Token. To learn more, see [Authentication Flow](/agave-link/authentication-flow).\n"
    },
    {
      "name": "link-debug",
      "x-displayName": "Link Debug",
      "description": "This endpoint lets you generate a Link Debug session and share it with your customers. Link Debug sessions are useful for troubleshooting connectivity issues with DB-backed source system (e.g., Foundation, Spectrum, Vista)\n"
    },
    {
      "name": "link-session",
      "x-displayName": "Link Session",
      "description": "These endpoints let you generate a temporary, limited-in-scope session to be used in your front-end single-page application.\nTo learn more, see [Link Session](/agave-api/link-session).\n"
    },
    {
      "name": "link-metadata",
      "x-displayName": "Link Metadata",
      "description": "These endpoints let you inspect the Linked Account, Linked Company, and Linked Source Systems.\n"
    },
    {
      "name": "link-management",
      "x-displayName": "Link Management",
      "description": "These endpoints let you manage the Linked Account.\n"
    },
    {
      "name": "admin-requests",
      "x-displayName": "Admin Requests",
      "description": "These endpoints let you retrieve info about activity for your Client ID and Client Secret (e.g. authenticated accounts)."
    },
    {
      "name": "async-requests",
      "x-displayName": "Async Requests",
      "description": "This endpoint lets you retrieve the status of [Async Requests](https://docs.agaveapi.com/agave-api/async-requests)."
    },
    {
      "name": "passthrough-json",
      "x-displayName": "JSON",
      "description": "This endpoint lets you make authenticated pass-through JSON requests to the source system. \nFor more information, see [Pass-through Requests: JSON](https://docs.agaveapi.com/agave-api/passthrough-requests#1-json-requests).\n"
    },
    {
      "name": "passthrough-download",
      "x-displayName": "File Download",
      "description": "This endpoint lets you make authenticated pass-through multipart requests to the source system and download the response (such as downloading an invoice PDF).\nFor more information, see [Pass-through Requests: File Download](https://docs.agaveapi.com/agave-api/passthrough-requests#2-file-download-requests).\n"
    },
    {
      "name": "passthrough-multipart",
      "x-displayName": "Multipart Upload",
      "description": "This endpoint lets you make authenticated pass-through multipart requests to the source system (such as uploading a file). \nFor more information, see [Pass-through Requests: Multipart Upload](https://docs.agaveapi.com/agave-api/passthrough-requests#3-multipart-upload-requests).\n"
    },
    {
      "name": "activities",
      "x-displayName": "Activities",
      "description": "An Activity is an event on a calendar that can be associated with an opportunity, a contact, and/or a customer.\n\nSupported Source Systems include:\n- HubSpot (read and write, only \"note\" at the moment)\n- Pipedrive (read, write, and add attachment)\n"
    },
    {
      "name": "appointments",
      "x-displayName": "Appointments",
      "description": "An Appointment is a scheduled visit required to complete a Job.\n\nSupported source systems and fields:\n  \n| Field                    | Salesforce | ServiceTitan |\n|--------------------------|:-------:|:------------:|\n| `actual_duration`        |    🔜    |      ✅      |\n| `actual_end_time`        |    🔜    |      ✅      |\n| `actual_start_time`      |    🔜    |      ✅      |\n| `address`                |    🔜    |      ✅      |\n| `appointment_number`     |    🔜    |      ✅      |\n| `arrival_window_end_time`|    🔜    |      ✅      |\n| `description`            |    🔜    |      ✅      |\n| `status`                 |    🔜    |      ✅      |\n| `source_create_time`     |    🔜    |      ✅      |\n| `source_update_time`     |    🔜    |      ✅      |\n\n✅ Supported and mapped <br/>\n🟡 Partially mapped, not exact match <br/>\n🔜 Launching soon <br/>\n➖ Not supported in source system\n"
    },
    {
      "name": "customers",
      "x-displayName": "Customers",
      "description": "A Customer is a person or organization that buys goods and/or services from a Company.\n  \nSupported Source Systems include:\n- Acumatica (read and write)\n- CMiC (\"AR Customers\"; read only)\n- ComputerEase (read only)\n- Foundation (read and write)\n- Housecall Pro (read only)\n- HubSpot (\"Companies\"; read and write)\n- Pipedrive (\"Organizations\"; read only)\n- QuickBooks Desktop (read and write)\n- QuickBooks Online (read and write)\n- Sage 100 Contractor (\"Clients\"; read and write)\n- Sage 300 CRE (\"AR Customers\"; read and write)\n- Sage Intacct (\"AR Customers\"; read only)\n- ServiceTitan (read only)\n- Viewpoint Spectrum (read and write)\n- Viewpoint Vista (\"AR Customers\"; read and write)\n\nSupported fields in each Source System:\n\n| Field                | Acumatica | CMiC | Foundation | HouseCall Pro | HubSpot | QuickBooks Desktop | QuickBooks Online | Sage 100C | Sage 300CRE | ServiceTitan | Viewpoint Spectrum | Viewpoint Vista |\n|:---------------------|:----------:|:-----:|:-----------:|:--------------:|:--------:|:-------------------:|:------------------:|:----------:|:------------:|:-------------:|:-------------------:|:----------------:|\n| `addresses`          | ✅         | ✅    | ✅          | ✅             | ✅       | ✅                  | ✅                 | ✅         | ✅           | ✅            | ✅                  | ✅               |\n| `balance`            | ➖         | ➖    | ➖          | ➖             | ➖       | ✅                  | ✅                 | ➖         | ✅           | ✅            | ➖                  | ➖               |\n| `currency_code`      | ✅         | ✅    | ➖          | ➖             | ➖       | ✅                  | ✅                 | ➖         | ➖           | ➖            | ➖                  | ➖               |\n| `email`              | ✅         | ✅    | ✅          | ✅             | ✅       | ✅                  | ✅                 | ✅         | ✅           | ➖            | ✅                  | ✅               |\n| `name`               | ✅         | ✅    | ✅          | ✅             | ✅       | ✅                  | ✅                 | ✅         | ✅           | ✅            | ✅                  | ✅               |\n| `parent_id`          | ➖         | ➖    | ✅          | ➖             | ➖       | ✅                  | ✅                 | ✅         | ✅           | ➖            | ➖                  | ➖               |\n| `phone`              | ✅         | ✅    | ✅          | ✅             | ✅       | ✅                  | ✅                 | ✅         | ✅           | ➖            | ✅                  | ✅               |\n| `status`             | ✅         | ✅    | ✅          | ✅             | ✅       | ✅                  | ✅                 | ✅         | ✅           | ✅            | ✅                  | ✅               |\n| `tax_code_id`        | ➖         | ✅    | ✅          | ✅             | ✅       | ➖                  | ➖                 | ✅         | ✅           | ➖            | ✅                  | ✅               |\n| `terms`              | ✅         | ✅    | ✅          | ✅             | ✅       | ➖                  | ➖                 | ✅         | ✅           | ➖            | ✅                  | ✅               |\n| `type`               | ✅         | ✅    | ✅          | 🔜             | 🔜       | ✅                  | ➖                 | ✅         | ✅           | ➖            | ➖                  | ✅               |\n| `website`            | ✅         | ✅    | ➖          | ➖             | ✅       | ➖                  | ✅                 | ➖         | ➖           | ➖            | ➖                  | ✅               |\n| `source_create_time` | ➖         | ✅    | ➖          | ➖             | ✅       | ✅                  | ➖                 | ✅         | ➖           | ✅            | ✅                  | ➖               |\n| `source_update_time` | ✅         | ✅    | ✅          | ➖             | ✅       | ✅                  | ➖                 | ✅         | ✅           | ✅            | ➖                  | ➖               |\n\n✅ Supported and mapped <br/>\n🟡 Partially mapped, not exact match <br/>\n🔜 Launching soon <br/>\n➖ Not supported in source system\n"
    },
    {
      "name": "leads",
      "x-displayName": "Leads",
      "description": "A Lead represents a prospect or sales opportunity.\n\nSupported Source Systems and Fields:\n\n| Field                    | Salesforce | ServiceTitan |\n|--------------------------|:-------:|:------------:|\n| `address`                |    🔜    |      ✅      |\n| `contact`                |    🔜    |      ✅      |\n| `customer`               |    🔜    |      ✅      |\n| `description`            |    🔜    |      ✅      |\n| `industry`               |    🔜    |      ➖      |\n| `status`                 |    🔜    |      ✅      |\n| `type`                   |    🔜    |      ✅      |\n| `source_create_time`     |    🔜    |      ✅      |\n| `source_update_time`     |    🔜    |      ✅      |\n\n✅ Supported and mapped <br/>\n🟡 Partially mapped, not exact match <br/>\n🔜 Launching soon <br/>\n➖ Not supported in source system\n"
    },
    {
      "name": "opportunities",
      "x-displayName": "Opportunities",
      "description": "An Opportunity represents a pending deal. \n\nSupported Source Systems include:\n- HubSpot (\"Deals\", read and write)\n- Pipedrive (\"Deals\", read only)\n- Salesforce (read only)\n\nSupported fields in each Source System:\n\n| Field                    | HubSpot    | Salesforce |\n|--------------------------|:----------:|:----------:|\n| `amount`                 |    ✅      |    ✅      |\n| `close_date`             |    ✅      |    ✅      |\n| `creator_id`             |    ✅      |    ✅      |\n| `customer_id`            |    ✅      |    ✅      |\n| `description`            |    ✅      |    ✅      |\n| `name`                   |    ✅      |    ✅      |\n| `probability`            |    ✅      |    ✅      |\n| `stage`                  |    ✅      |    ✅      |\n| `status`                 |    ✅      |    ✅      |\n| `type`                   |    ✅      |    ✅      |\n| `source_create_time`     |    ✅      |    ✅      |\n| `source_update_time`     |    ✅      |    ✅      |\n\n✅ Supported and mapped <br/>\n🟡 Partially mapped, not exact match <br/>\n🔜 Launching soon <br/>\n➖ Not supported in source system\n"
    },
    {
      "name": "files",
      "x-displayName": "Files",
      "description": "A Files is a document (e.g. PDF, Word Document, image).\n\nSupported Source Systems include:\n  - Aconex (read and write)\n  - Autodesk Build (read and write)\n  - BIM 360 (read and write)\n  - CompanyCam (read only)\n  - Dropbox (read and write)\n  - Egnyte (read only)\n  - Fieldwire (read and write)\n  - HubSpot (read and write)\n  - OneDrive (read and write)\n  - Pipedrive (read and write)\n  - PlanGrid (read only)\n  - Procore (read and write)\n  - Sharepoint Online (read and write)\n\n  Supported fields in each Source System:\n\n  | Field                | Aconex  | Autodesk Build   | BIM 360   | Dropbox  | Egnyte | Fieldwire  | OneDrive   | PlanGrid   | Procore  | Sharepoint Online  |\n  |----------------------|:-------:|:----------------:|:---------:|:--------:|:------:|:----------:|:----------:|:---------:|:---------:|:------------------:|\n  | `creator_id`         |    ✅    |     ✅          |     ✅    |    ➖    |    ✅   |     ✅     |     ✅     |     ✅     |     ✅     |     ✅             |\n  | `file_version_id`    |    ✅    |     ✅          |     ✅    |    ➖    |    ✅   |     ✅     |     ✅     |     ✅     |     ✅     |     ✅             |\n  | `filename`           |    ✅    |     ✅          |     ✅    |    ✅    |    ✅   |     ✅     |     ✅     |     ✅     |     ✅     |     ✅             |\n  | `folder_id`          |    ✅    |     ✅          |     ✅    |    ➖    |    ✅   |     ✅     |     ✅     |     ✅     |     ✅     |     ✅             |\n  | `name`               |    ✅    |     ✅          |     ✅    |    ✅    |    ✅   |     ✅     |     ✅     |     ✅     |     ✅     |     ✅             |\n  | `notes`              |    ✅    |     ➖          |     ➖    |    ➖    |    ✅   |     ➖     |     ✅     |     ➖     |     ✅     |     ✅             |\n  | `preview_url`        |    ✅    |     ✅          |     ✅    |    ✅    |    ✅   |     ✅     |     ✅     |     ✅     |     ✅     |     ✅             |\n  | `project_id`         |    ✅    |     ✅          |     ✅    |    ➖    |    ➖   |     ✅     |     ➖     |     ✅     |     ✅     |     ➖             |\n  | `size`               |    ✅    |     ✅          |     ✅    |    ✅    |    ➖   |     ✅     |     ✅     |     ✅     |     ✅     |     ✅             |\n  | `type`               |    ✅    |     ✅          |     ✅    |    ➖    |    ➖   |     ➖     |     ✅     |     ✅     |     ✅     |     ✅             |\n  | `url`                |    ✅    |     ✅          |     ✅    |    ✅    |    ✅   |     ✅     |     ✅     |     ✅     |     ✅     |     ✅             |\n  | `version`            |    ✅    |     ✅          |     ✅    |    ➖    |    ✅   |     ✅     |     ➖     |     ➖     |     ✅     |     ➖             |\n  | `source_create_time` |    ✅    |     ✅          |     ✅    |    ➖    |    ✅   |     ✅     |     ✅     |     ✅     |     ✅     |     ✅             |\n  | `source_update_time` |    ✅    |     ✅          |     ✅    |    ✅    |    ✅   |     ✅     |     ✅     |     ✅     |     ✅     |     ✅             |\n\n  ✅ Supported and mapped <br/>\n  🟡 Partially mapped, not exact match <br/>\n  🔜 Launching soon <br/>\n  ➖ Not supported in source system\n"
    },
    {
      "name": "file-transfers",
      "x-displayName": "File Transfers",
      "description": "A File Transfer is a large file (i.e. >100MB) being transferred between a Source System and a Target System.\n\nSupported Source Systems include:\n  - Aconex\n  - Autodesk Build\n  - BIM 360\n  - HubSpot\n  - OneDrive\n  - Procore\n  - Sharepoint Online\n"
    },
    {
      "name": "file-versions",
      "x-displayName": "File Versions",
      "description": "A File Version is a current and past version of a File (e.g. PDF, Word Document, image).\n\nSupported Source Systems include:\n  - Aconex \n  - Autodesk Build\n  - BIM 360\n  - Procore\n\nSupported fields in each Source System:\n\n| Field                | Aconex  | Autodesk Build   | BIM 360   |\n|----------------------|:-------:|:----------------:|:---------:|\n| `creator_id`         |    ✅    |     ✅          |     ✅    |\n| `file_version_id`    |    ✅    |     ✅          |     ✅    |\n| `file_id`            |    ✅    |     ✅          |     ✅    |\n| `filename`           |    ✅    |     ✅          |     ✅    |\n| `name`               |    ✅    |     ✅          |     ✅    |\n| `preview_url`        |    ✅    |     ✅          |     ✅    |\n| `url`                |    ✅    |     ✅          |     ✅    |\n| `version`            |    ✅    |     ✅          |     ✅    |\n| `source_create_time` |    ✅    |     ✅          |     ✅    |\n| `source_update_time` |    ✅    |     ✅          |     ✅    |\n\n✅ Supported and mapped <br/>\n🟡 Partially mapped, not exact match <br/>\n🔜 Launching soon <br/>\n➖ Not supported in source system\n"
    },
    {
      "name": "folders",
      "x-displayName": "Folders",
      "description": "A Folder is a repository for storing Files.\n\nSupported Source Systems include:\n- Aconex (read only; **note**: Aconex doesn't have the concept of `Folder`. Agave API uses the field `DocumentType` instead).\n- Autodesk Build (read and write)\n- BIM 360 (read and write)\n- CompanyCam (read only)\n- Dropbox (read only)\n- Egnyte (read only)\n- Fieldwire (read and write)\n- HubSpot (read and write)\n- OneDrive (read only)\n- PlanGrid (read only)\n- Procore (read and write)\n- Sharepoint Online (read and write)\n\nSupported fields in each Source System:\n\n| Field                | Aconex* | Autodesk Build | BIM 360 |  Dropbox |  Egnyte  |  Fieldwire|OneDrive |PlanGrid | Procore | Sharepoint Online |\n|----------------------|:-------:|:--------------:|:--------:|:-------:|:--------:|:---------:|:-------:|:-------:|:-------:|:-----------------:|\n| `files`              | ✅       | ✅            | ✅       | ✅       | ✅       | ✅       | ✅       | ✅       | ✅       |         ✅        |\n| `folders`            | ✅       | ✅            | ✅       | ✅       | ✅       | ✅       | ✅       | ✅       | ✅       |         ✅        |\n| `name`               | ✅       | ✅            | ✅       | ✅       | ✅       | ✅       | ✅       | ✅       | ✅       |         ✅        |\n| `parent_id`          | ✅       | ✅            | ✅       | ✅       | ✅       | ✅       | ✅       | ✅       | ✅       |         ✅        |\n| `project_id`         | ✅       | ✅            | ✅       | ➖       | ➖       | ✅       | ➖       | ✅       | ✅       |         ➖        |\n| `source_create_time` | ➖       | ✅            | ✅       | ➖       | ✅       | ✅       | ✅       | ✅       | ✅       |         ✅        |\n| `source_update_time` | ➖       | ✅            | ✅       | ➖       | ✅       | ✅       | ✅       | ✅       | ✅       |         ✅        |\n\n*Aconex doesn't have the concept of `Folders`. Agave's API uses the field `DocumentType` instead.\n\n✅ Supported and mapped <br/>\n🟡 Partially mapped, not exact match <br/>\n🔜 Launching soon <br/>\n➖ Not supported in source system\n"
    },
    {
      "name": "photos",
      "x-displayName": "Photos",
      "description": "A Photo is an image taken by a camera, digital camera, or photocopier.\n\nSupported Source Systems include:\n- CompanyCam (read only)\n- Procore (read and write)\n\nSupported fields in each Source System:\n\n| Field                | Autodesk Build   | PlanGrid   | Procore |\n|----------------------|:----------------:|:---------:|:--------:|\n| `capture_time`       |    🔜            |     🔜    |     ✅    |\n| `creator_id`         |    🔜            |     🔜    |     ✅    |\n| `description`        |    🔜            |     ➖    |     ✅    |\n| `file_url`           |    🔜            |     🔜    |     ✅    |\n| `latitude`           |    🔜            |     ➖    |     ✅    |\n| `longitude`          |    🔜            |     ➖    |     ✅    |\n| `name`               |    🔜            |     🔜    |     ✅    |\n| `preview_url`        |    🔜            |     ➖    |     ✅    |\n| `size`               |    🔜            |     ➖    |     ✅    |\n| `source_create_time` |    🔜            |     🔜    |     ✅    |\n| `source_update_time` |    🔜            |     ➖    |     ✅    |\n\n✅ Supported and mapped <br/>\n🟡 Partially mapped, not exact match <br/>\n🔜 Launching soon <br/>\n➖ Not supported in source system\n"
    },
    {
      "name": "actual-production-quantities",
      "x-displayName": "Actual Production Quantities",
      "description": "An Actual Production Quantity is a measurable quantity that a team has produced/installed/etc as the output of work on a construction Project. These are commonly used for tracking output on unit price contracts.\n\nCurrently supported by:\n  - Procore (read and write)\n  - Viewpoint Spectrum (read and write)\n\nSupported fields in each source system:\n| Field                        | Procore          |  Viewpoint Spectrum    |\n|------------------------------|:----------------:|:----------------------:|\n| `cost_code_id`               |    ✅             |                  ✅    |\n| `cost_type_id`               |    ➖             |                  ✅    |\n| `date`                       |    ✅             |                  ✅    |\n| `project_id`                 |    ✅             |                  ✅    |\n| `quantity`                   |    ✅             |                  ✅    |\n| `status`                     |    ➖             |                  ✅    |\n| `sub_job_id`                 |    ➖             |                  ➖    |\n| `wbs_id`                     |    ✅             |                  ➖    |\n| `source_create_time`         |    ✅             |                  ➖    |\n| `source_update_time`         |    ✅             |                  ➖    |\n\n✅ Supported and mapped <br/>\n🟡 Partially mapped, not exact match <br/>\n🔜 Launching soon <br/>\n➖ Not supported in source system   \n"
    },
    {
      "name": "ap-invoices",
      "x-displayName": "AP Invoices",
      "description": "AP Invoice (aka Bill) is an Accounts Payable transactions representing a request-for-payment from a third party for goods/services rendered, received, or both.\n\nCurrently supported by:\n  - Acumatica (read and write; \"Bills\")\n  - Autodesk Build (read only; \"Cost Payment Applications\")\n  - CMiC (read and create; \"AP Vouchers\")\n  - COINS (read and write)\n  - Foundation (read and create)\n  - Jonas Premier (create only; note, operations involving Line Items are not yet supported)\n  - Procore (\"Subcontractor Invoice\"; read and write)\n  - QuickBooks Desktop (\"Bill\"; read and write)\n  - QuickBooks Online (\"Bill\"; read and write)\n  - Sage 100 Contractor (\"Payable Invoices\"; read and create; note, you cannot create Line Items after the initial create request)\n  - Sage 300 CRE (read, write, and bulk create; note, you cannot create Line Items after the initial create request)\n  - Sage Intacct (read only; \"Bills\" and \"Purchasing Transactions\")\n  - ServiceTitan (read only)\n  - Viewpoint Spectrum (\"Vendor Invoice\"; read and write)\n  - Viewpoint Vista (read and write)\n\nSupported fields in each Source System:\n\n| Field                         | Acumatica   |Autodesk Build | CMiC     |    COINS  |    Foundation |  Jonas Premier     | Procore     | QuickBooks Desktop| QuickBooks Online | Sage 100 C | Sage 300 CRE | ServiceTitan | Viewpoint Spectrum | Viewpoint Vista |\n|-------------------------------|------------:|:-------------:|:--------:|:---------:|:-------------:|:-----------------:|:------------|:-----------------:|:-----------------:|:----------:|:------------:|:-------------:|:------------------:|:---------------:|\n| `amount_due`                  |      ✅     |    ➖          |    ✅    |    ✅     |    ➖          |    ✅             |    ✅        |    ✅             |    ✅             |    ✅       |    ➖         |      ✅      |         ✅         |    ➖            | \n| `ap_payment_ids`              |      ➖     |    ➖          |    ➖    |    ➖     |    ➖          |    ➖             |    ➖        |    ✅             |    ✅             |    ➖       |    ➖         |      ➖      |         ➖         |    ➖            |\n| `attachments`                 |      ➖     |    ➖          |    ➖    |    ➖     |    ➖          |    ✅             |    ➖        |    ➖             |    ➖             |    ➖       |    ➖         |      ➖      |         ✅         |    ➖            |\n| `creator_id`                  |      ➖     |    ✅          |    ✅    |    ➖     |    ➖          |    ➖             |    ✅        |    ➖             |    ➖             |    ➖       |    ✅         |      ➖      |         ➖         |    ➖            |\n| `currency_code`               |      ✅     |    ➖          |    ✅    |    ✅     |    ➖          |    ➖             |    ➖        |    ✅             |    ✅             |    ➖       |    ➖         |      ➖      |         ➖         |    ➖            |\n| `description`                 |      ✅     |    ✅          |    ✅    |    ✅     |    ✅          |    ✅             |    ✅        |    ✅             |    ✅             |    ✅       |    ✅         |      ✅      |         ✅         |    ✅            |\n| `discount_amount`             |      ➖     |    ➖          |    ✅    |    ✅     |    ✅          |    ✅             |    ➖        |    ➖             |    ➖             |    ✅       |    ✅         |      ➖      |         ✅         |    ✅            |\n| `discount_date`               |      ➖     |    ➖          |    ✅    |    ✅     |    ✅          |    ✅             |    ➖        |    ➖             |    ➖             |    ✅       |    ✅         |      ➖      |         ✅         |    ✅            |\n| `due_date`                    |      ✅     |    ✅          |    ✅    |    ✅     |    ✅          |    ✅             |    ➖        |    ✅             |    ✅             |    ✅       |    ✅         |      ✅      |         ✅         |    ✅            |\n| `issue_date`                  |      ✅     |    ✅          |    ✅    |    ✅     |    ✅          |    ✅             |    ✅        |    ✅             |    ✅             |    ✅       |    ✅         |      ✅      |         ✅         |    ✅            |\n| `line_items.amount`           |      ✅     |    ✅          |    ✅    |    ✅     |    ✅          |    ✅             |    ✅        |    ✅             |    ✅             |    ✅       |    ✅         |      ✅      |         ✅         |    ✅            |\n| `line_items.change_order`     |      ➖     |    ✅          |    ✅    |    ➖     |    ✅          |    ✅             |    ➖        |    ➖             |    ➖             |    ✅       |    ➖         |      ➖      |         ➖         |    ➖            |\n| `line_items.contract`         |      ➖     |    ✅          |    ✅    |    ✅     |    ✅          |    ✅             |    ✅        |    ➖             |    ➖             |    ✅       |    ✅         |      ✅      |         ✅         |    ✅            |\n| `line_items.cost_code_id`     |      ✅     |    ✅          |    ✅    |    ✅     |    ✅          |    ✅             |    ✅        |    ➖             |    ➖             |    ✅       |    ✅         |      ➖      |         ✅         |    ✅            |\n| `line_items.cost_type_id`     |      ✅     |    ✅          |    ✅    |    ✅     |    ✅          |    ✅             |    ✅        |    ➖             |    ➖             |    ✅       |    ✅         |      ➖      |         ✅         |    ✅            |\n| `line_items.customer_id`      |      ➖     |    ➖          |    ➖    |    ➖     |    ➖          |    ➖             |    ➖        |    ✅             |    ✅             |    ➖       |    ➖         |      ➖      |         ✅         |    ➖            |\n| `line_items.description`      |      ✅     |    ✅          |    ✅    |    ✅     |    ✅          |    ✅             |    ✅        |    ✅             |    ✅             |    ✅       |    ✅         |      ✅      |         ✅         |    ✅            |\n| `line_items.item_id`          |      ➖     |    ➖          |    ➖    |    ➖     |    ➖          |    ✅             |    ✅        |    ✅             |    ✅             |    ✅       |    ✅         |      ✅      |         ✅         |    ✅            |\n| `line_items.ledger_account_id`|      ✅     |    ➖          |    ➖    |    ➖     |    ✅          |    ✅             |    ✅        |    ✅             |    ✅             |    ✅       |    ✅         |      ✅      |         ✅         |    ✅            |\n| `line_items.project_id`       |      ✅     |    ✅          |    ✅    |    ✅     |    ✅          |    ✅             |    ➖        |    ➖             |    ➖             |    ✅       |    ✅         |      ➖      |         ✅         |    ✅            |\n| `line_items.quantity`         |      ✅     |    ✅          |    ✅    |    ✅     |    ✅          |    ✅             |    ➖        |    ✅             |    ✅             |    ✅       |    ✅         |      ✅      |         ✅         |    ✅            |\n| `line_items.status`           |      ➖     |    ✅          |    ➖    |    ➖     |    ➖          |    ➖             |    ➖        |    ✅             |    ✅             |    ✅       |    ✅         |      ➖      |         ➖         |    ➖            |\n| `line_items.tax_amount`       |      ✅     |    ➖          |    ➖    |    ✅     |    ✅          |    ✅             |    ➖        |    ➖             |    ➖             |    ✅       |    ✅         |      ➖      |         ➖         |    ✅            |\n| `line_items.tax_code_id`      |      ✅     |    ➖          |    ➖    |    ➖     |    ✅          |    🔜             |    🔜        |    🔜             |    🔜             |    ➖       |    ✅         |      ➖      |         🔜         |    ✅            |\n| `line_items.type`             |      ✅     |    ➖          |    ✅    |    ➖     |    ✅          |    ➖             |    ✅        |    ✅             |    ✅             |    ✅       |    ➖         |      ➖      |         ➖         |    ✅            |\n| `line_items.unit_cost`        |      ✅     |    ➖          |    ✅    |    ✅     |    ✅          |    ✅             |    ➖        |    ✅             |    ✅             |    ✅       |    ✅         |      ✅      |         ✅         |    ✅            |\n| `line_items.unit_of_measure`  |      ✅     |    ✅          |    ✅    |    ✅     |    ✅          |    ✅             |    ➖        |    ✅             |    ✅             |    ✅       |    ➖         |      ➖      |         ✅         |    ✅            |\n| `line_items.vendor_id`        |      ➖     |    ➖          |    ➖    |    ✅     |    ➖          |    ➖             |    ➖        |    ➖             |    ➖             |    ➖       |    ✅         |      ➖      |         ➖         |    ✅            |\n| `misc_amount`                 |      ➖     |    ➖          |    ✅    |    ➖     |    ➖          |    ✅             |    ➖        |    ➖             |    ➖             |    ✅       |    ✅         |      ✅      |         ➖         |    ✅            |\n| `net_amount`                  |      ➖     |    ✅          |    ✅    |    ✅     |    ✅          |    ✅             |    ➖        |    ➖             |    ➖             |    ✅       |    ✅         |      ➖      |         ✅         |    ✅            |\n| `number`                      |      ✅     |    ✅          |    ✅    |    ✅     |    ✅          |    ✅             |    ✅        |    ✅             |    ✅             |    ✅       |    ✅         |      ✅      |         ✅         |    ✅            |\n| `project_id`                  |      ✅     |    ➖          |    ➖    |    ✅     |    ✅          |    ➖             |    ➖        |    ➖             |    ➖             |    ➖       |    ➖         |      ✅      |         ➖         |    ➖            |\n| `retention_amount`            |      ➖     |    ✅          |    ✅    |    ✅     |    ✅          |    ✅             |    ✅        |    ➖             |    ➖             |    ✅       |    ✅         |      ➖      |         ✅         |    ✅            |\n| `retention_percent`           |      ➖     |    ✅          |    ✅    |    ✅     |    ✅          |    ✅             |    ➖        |    ➖             |    ➖             |    ➖       |    ➖         |      ➖      |         ➖         |    ➖            |\n| `status`                      |      ✅     |    ✅          |    ✅    |    ✅     |    ✅          |    ✅             |    ✅        |    ➖             |    ➖             |    ✅       |    ✅         |      ✅      |         ✅         |    ✅            |\n| `subtotal_amount`             |      ✅     |    ✅          |    ✅    |    ➖     |    ✅          |    ✅             |    ➖        |    ➖             |    ➖             |    ✅       |    ✅         |      ✅      |         ✅         |    ✅            |\n| `tax_amount`                  |      ✅     |    ➖          |    ✅    |    ✅     |    ✅          |    ✅             |    ✅        |    ➖             |    ➖             |    ✅       |    ✅         |      ✅      |         ✅         |    ✅            |\n| `total_amount`                |      ✅     |    ✅          |    ✅    |    ✅     |    ✅          |    ✅             |    ✅        |    ✅             |    ✅             |    ✅       |    ✅         |      ✅      |         ✅         |    ✅            |\n| `vendor_id`                   |      ✅     |    ✅          |    ✅    |    ✅     |    ✅          |    ✅             |    ➖        |    ✅             |    ✅             |    ✅       |    ✅         |      ✅      |         ✅         |    ✅            |\n| `source_create_time`          |      ➖     |    ✅          |    ✅    |    ✅     |    ➖          |    ➖             |    ✅        |    ✅             |    ✅             |    ✅       |    ➖         |      ✅      |         ➖         |    ➖            |\n| `source_update_time`          |      ✅     |    ✅          |    ✅    |    ✅     |    ✅          |    ➖             |    ✅        |    ✅             |    ✅             |    ✅       |    ✅         |      ✅      |         ➖         |    ➖            |\n✅ Supported and mapped <br/>\n🟡 Partially mapped, not exact match <br/>\n🔜 Launching soon <br/>\n➖ Not supported in source system\n"
    },
    {
      "name": "ap-payments",
      "x-displayName": "AP Payments",
      "description": "An Accounts Payable (AP) Payment refers to a payment made by a Company to its Vendors for goods or services received. From the standpoint of the end-user of Agave API, it represents money going out to a Vendor or Supplier.\n\nCurrently supported by:\n- Autodesk Build (\"Payments\"; read and write)\n- BIM 360 (\"Payments\"; read and write)\n- CMiC (\"AP Vouchers\"; read only)\n- Foundation (read only)\n- Procore (\"Payments\"; read and write)\n- QuickBooks Desktop (\"Check\" and \"Credit Card\" Bill Payments; read and write)\n- QuickBooks Online (\"Bill Payments\"; read and write)\n- Sage 100 Contractor (\"AP Invoice Payments\"; create and write)\n- Sage 300 CRE (read only)\n- Sage Intacct (read only)\n- Viewpoint Spectrum (\"Payments\"; read only)\n- Viewpoint Vista (\"Initialized\" and \"Posted\"; read and create)\n\nSupported fields in each source system:\n\n| Field                                   | Autodesk Build    | BIM 360    | CMiC   | Foundation   | Procore   | QuickBooks Desktop | QuickBooks Online | Sage 100C  | Sage 300CRE  | Sage Intacct  | Viewpoint Spectrum | Viewpoint Vista |\n|-----------------------------------------|:------------------:|:---------:|:------:|:------------:|:---------:|:------------------:|:-----------------:|:----------:|:------------:|:-------------:|:-----------------:|:---------------:|\n| `bank_account_id`                       |    ➖              |    ➖     |    ➖   |    ➖        |     ➖     |    ✅              |    ✅             |    ✅       |    ➖        |    ✅        |         ✅          |    ✅           |\n| `description`                           |    ✅              |    ✅     |    ✅   |    ✅        |    ✅     |    ✅              |    ✅              |    ✅       |    ✅        |    ✅         |         ✅          |    ➖           |\n| `contract`                              |    🔜              |    🔜     |    ➖   |    ➖        |    ✅     |    ➖              |    ➖              |    ➖       |    ➖        |    ➖         |         ✅          |    ➖           |\n| `ledger_account_id`                     |    ➖              |    ➖     |    ➖   |    ➖        |    ➖     |    ➖              |    ➖              |    ➖       |    ✅        |    ➖         |         ✅          |    ➖           |\n| `line_items.ap_invoice_id`              |    ➖              |    ➖     |    ✅   |    ✅        |    ✅     |    ✅              |    ✅              |    ✅       |    ✅        |    ✅         |         ✅          |    ✅           |\n| `line_items.ap_invoice_line_item_id`    |    ➖              |    ➖     |    ✅   |    ✅        |    ➖     |    ➖              |    ➖              |    ➖       |    ➖        |    ✅         |         ➖          |    ✅           |\n| `line_items.description`                |    ✅              |    ✅     |    ✅   |    ➖        |    ✅     |    ➖              |    ➖              |    ➖       |    ✅        |    ➖         |         ➖          |    ✅           |\n| `line_items.discount_taken_amount`      |    ➖              |    ➖     |    ✅   |    ✅        |    ➖     |    ✅              |    ➖              |    ✅       |    ✅        |    ➖         |         ✅          |    ✅           |\n| `line_items.retention_amount`           |    ✅              |    ✅     |    ✅   |    ✅        |    ➖     |    ➖              |    ➖              |    ➖       |    ✅        |    ➖         |         ✅          |    ✅           |\n| `line_items.total_amount`               |    ✅              |    ✅     |    ✅   |    ✅        |    ✅     |    ✅              |    ✅              |    ✅       |    ✅        |    ✅         |         ✅          |    ✅           |\n| `line_items.type`                       |    ➖              |    ➖     |    ➖   |    ➖        |    ➖     |    ➖              |    ✅              |    ➖       |    ✅        |    ✅         |         ➖          |    ✅           |\n| `number`                                |    ✅              |    ✅     |    ✅   |    ✅        |    ✅     |    ✅              |    ✅              |    ✅       |    ✅        |    ✅         |         ✅          |    ✅           |\n| `payment_date`                          |    ➖              |    ➖     |    ✅   |    ✅        |    ✅     |    ✅              |    ✅              |    ✅       |    ✅        |    ✅         |         ✅          |    ✅           |\n| `payment_method`                        |    ➖              |    ➖     |    ➖   |    ✅        |    ✅     |    ✅              |    ✅              |    ✅       |    ✅        |    ✅         |         ✅          |    ✅           |\n| `status`                                |    ✅              |    ✅     |    ✅   |    ✅        |    ✅     |    ✅              |    ➖              |    ➖       |    ➖        |    ✅         |         ✅          |    ✅           |\n| `tax_amount`                            |    ➖              |    ➖     |    ✅   |    ➖        |    ➖     |    ➖              |    ➖              |    ➖       |    ✅        |    ➖         |         ➖          |    ✅           |\n| `total_amount`                          |    ✅              |    ✅     |    ✅   |    ✅        |    ✅     |    ✅              |    ✅              |    ✅       |    ✅        |    ✅         |         ✅          |    ✅           |\n| `vendor_id`                             |    ➖              |    ➖     |    ✅   |    ✅        |    ➖     |    ✅              |    ✅              |    ✅       |    ✅        |    ✅         |         ✅          |    ✅           |\n| `source_create_time`                    |    ✅              |    ✅     |    ✅   |    ➖        |    ✅     |    ✅              |    ✅              |    ✅       |    ✅        |    ✅         |         ✅          |    ➖           |\n| `source_update_time`                    |    ✅              |    ✅     |    ✅   |    ✅        |    ➖     |    ✅              |    ✅              |    ✅       |    ✅        |    ✅         |         ✅          |    ➖           |\n\n✅ Supported and mapped <br/>\n🟡 Partially mapped, not exact match <br/>\n🔜 Launching soon <br/>\n➖ Not supported in source system\n"
    },
    {
      "name": "ar-invoices",
      "x-displayName": "AR Invoices",
      "description": "An AR Invoice is a record of goods and/or services that a Customer purchased from a Company. \nAR Invoices represent a request for payment, typically sent after a Customer receives a good or service. \n\nCurrently supported by:\n- Acumatica (\"Invoice\"; read and write)\n- Autodesk Build (\"Budget Payment Application\"; read and write)\n- ComputerEase (\"Invoice\"; read and create)\n- Foundation (\"Invoice\" and \"AIA Billing\"; read only for AIA Billings; read and create for Invoices)\n- Procore (\"Owner Invoice\"; read and write)\n- QuickBooks Desktop (\"Invoice\"; read and write)\n- QuickBooks Online (\"Invoice\"; read and write)\n- Sage 100C (\"Contract\" (Receivable Invoice), \"Memo\" (Receivable Invoice), \"Progress Billings\", and \"Service Invoices\"; read only for Progress Billings; read and write for Receivable Invoices and Service Invoices)\n- Sage 300 CRE (read and create Regular Invoices)\n- Sage Intacct (\"Project Contract\" and \"Regular\" AR Invoices; read and write Project Contract AR Invoices; read Regular AR Invoices)\n- ServiceTitan (\"Invoice\")\n- Viewpoint Spectrum (\"Customer Invoice\")\n- Viewpoint Vista (\"AR Unposted Invoice\"; read and write)\n\nSupported fields in each source system:\n\n| Field                                      |  Acumatica  |  Autodesk Build  | Foundation | Procore |QuickBooks Desktop |QuickBooks Online | Sage 100C | Sage 300 CRE | Sage Intacct | Viewpoint Spectrum | Viewpoint Vista |\n|--------------------------------------------|:-----------:|:----------------:|:----------:|:-------:|:-----------------:|:-----------------:|:---------:|:-----------:|:-----------:|:------------------:|:---------------:|\n| `amount_due`                               |      ✅      |      ➖          |      ✅    |     ✅  |    ✅             |    ✅             |    ✅     |    ➖        |    ✅        |    ➖             |    ➖             |\n| `attachments`                              |      ➖      |      ➖          |      ➖    |     ➖  |    ➖             |    ➖             |    ➖     |    ➖        |    ✅        |    ✅             |    ✅             |\n| `creator_id`                               |      ➖      |      ➖          |      ➖    |     ➖  |    ➖             |    ➖             |    ➖     |    ➖        |    ✅        |    ➖             |    ➖             |\n| `currency_code`                            |      ➖      |      ➖          |      ➖    |     ➖  |    ✅             |    ✅             |    ➖     |    ➖        |    ✅        |    ➖             |    ➖             |\n| `customer_id`                              |      ✅      |      ✅          |      ✅    |     ✅  |    ✅             |    ✅             |    ➖     |    ✅        |    ✅        |    ✅             |    ➖             |\n| `description`                              |      ✅      |      ✅          |      ✅    |     ✅  |    ✅             |    ✅             |    ✅     |    ✅        |    ✅        |    ✅             |    ✅             |\n| `discount_amount`                          |      ✅      |      ➖          |      ✅    |     ➖  |    ➖             |    ✅             |    ✅     |    ➖        |    ✅        |    ➖             |    🔜             |\n| `discount_date`                            |      ➖      |      ➖          |      🔜    |     ➖  |    🔜             |    ➖             |    ✅     |    ➖        |    ➖        |    ➖             |    🔜             |  \n| `due_date`                                 |      ✅      |      ✅          |      ✅    |     ✅  |    ✅             |    ✅             |    ✅     |    ✅        |    ✅        |    ✅             |    ✅             |\n| `issue_date`                               |      ✅      |      ✅          |      ✅    |     ✅  |    ✅             |    ✅             |    ✅     |    ✅        |    ✅        |    ✅             |    ✅             |\n| `line_items.amount`                        |      ✅      |      ✅          |      ✅    |     ✅  |    ✅             |    ✅             |    ✅     |    ✅        |    ✅        |    ✅             |    ✅             |\n| `line_items.cost_code_id`                  |      ✅      |      ➖          |      ✅    |     ✅  |    ➖             |    ➖             |    ✅     |    ✅        |    ✅        |    ✅             |    ✅             |\n| `line_items.cost_type_id`                  |      ➖      |      ➖          |      ✅    |     ✅  |    ➖             |    ➖             |    ➖     |    ✅        |    ✅        |    ✅             |    ✅             |\n| `line_items.customer_id`                   |      ➖      |      ➖          |      ✅    |     ✅  |    ✅             |    ✅             |    ➖     |    ➖        |    ✅        |    ✅             |    ➖             |\n| `line_items.item_id`                       |      ➖      |      ➖          |      ➖    |     ➖  |    ✅             |    ✅             |    ✅     |    ➖        |    ✅        |    ✅             |    ✅             |\n| `line_items.ledger_account_id`             |      ✅      |      ➖          |      ✅    |     ➖  |    ✅             |    ✅             |    ✅     |    ✅        |    ✅        |    ✅             |    ✅             |\n| `line_items.project_id`                    |      ➖      |      ✅          |      ✅    |     ✅  |    ➖             |    ➖             |    ➖     |    ✅        |    ✅        |    ✅             |    ✅             |\n| `line_items.prime_contract_line_item_id`   |      ✅      |      ✅          |      ✅    |     ✅  |    ➖             |    ➖             |    ➖     |    ✅        |    ✅        |    ➖             |    ✅             |\n| `line_items.quantity`                      |      ✅      |      ✅          |      ➖    |     ✅  |    ✅             |    ✅             |    ✅     |    ✅        |    ➖        |    ✅             |    ✅             |\n| `line_items.retention_amount`              |      ✅      |      ✅          |      ➖    |     ✅  |    ➖             |    ➖             |    ✅     |    ✅        |    ✅        |    ➖             |    ➖             |\n| `line_items.retention_percent`             |      ✅      |      ✅          |      ➖    |     ✅  |    ➖             |    ➖             |    ✅     |    ➖        |    ✅        |    ➖             |    ➖             |\n| `line_items.sub_job_id`                    |      ✅      |      ✅          |      ✅    |     ✅  |    ➖             |    ➖             |    ✅     |    ✅        |    ➖        |    ➖             |    ➖             |\n| `line_items.status`                        |      ✅      |      ➖          |      ✅    |     ✅  |    ✅             |    ✅             |    ➖     |    ✅        |    ✅        |    ➖             |    ➖             |\n| `line_items.type`                          |      ✅      |      ➖          |      ✅    |     ✅  |    ✅             |    ✅             |    ➖     |    ✅        |    ➖        |    ➖             |    ✅             |\n| `line_items.unit_price`                    |      ✅      |      ✅          |      ➖    |     ✅  |    ✅             |    ✅             |    ✅     |    ➖        |    ➖        |    ✅             |    ✅             |\n| `line_items.unit_of_measure`               |      ✅      |      ✅          |      ✅    |     ➖  |    ➖             |    ➖             |    ✅     |    ➖        |    ➖        |    ✅             |    ✅             |\n| `line_items.vendor_id`                     |      ➖      |      ✅          |      ✅    |     ✅  |    ➖             |    ➖             |    ➖     |    ➖        |    ✅        |    ➖             |    ✅             |\n| `project_id`                               |      ✅      |      ✅          |      ✅    |     ✅  |    ➖             |    ➖             |    ✅     |    ✅        |    ➖        |    ➖             |    ➖             |\n| `number`                                   |      ✅      |      ✅          |      ✅    |     ✅  |    ✅             |    ✅             |    ✅     |    ✅        |    ✅        |    ✅             |    ✅             |\n| `retention_amount`                         |      ✅      |      ✅          |      ✅    |     ✅  |    ➖             |    ➖             |    ✅     |    ✅        |    ✅        |    ➖             |    ➖             |\n| `status`                                   |      ✅      |      ✅          |      ✅    |     ✅  |    ➖             |    ➖             |    ✅     |    ✅        |    ✅        |    ✅             |    ✅             |\n| `subtotal_amount`                          |      ✅      |      ✅          |      ✅    |     ✅  |    ✅             |    ✅             |    ✅     |    ✅        |    ✅        |    ✅             |    ✅             | \n| `tax_amount`                               |      ✅      |      ➖          |      ✅    |     ✅  |    ➖             |    ➖             |    ✅     |    ✅        |    ➖        |    ➖             |    ➖             | \n| `total_amount`                             |      ✅      |      ✅          |      ✅    |     ✅  |    ✅             |    ✅             |    ✅     |    ✅        |    ✅        |    ✅             |    ✅             |     \n| `type`                                     |      ✅      |      ✅          |      ✅    |     ➖  |    ➖             |    ➖             |    ✅     |    ✅        |    ✅        |    ➖             |    ➖             |     \n| `work_order_id`                            |      ➖      |      ➖          |      ➖    |     ➖  |    ➖             |    ➖             |    ✅     |    ➖        |    ➖        |    ➖             |    ➖             |                                     \n| `source_create_time`                       |      ✅      |      ✅          |      ➖    |     ✅  |    ✅             |    ✅             |    ✅     |    ➖        |    ✅        |    ➖             |    ➖             |\n| `source_update_time`                       |      ✅      |      ✅          |      ✅    |     ✅  |    ✅             |    ✅             |    ✅     |    ✅        |    ✅        |    ➖             |    ➖             |\n\n✅ Supported and mapped <br/>\n🟡 Partially mapped, not exact match <br/>\n🔜 Launching soon <br/>\n➖ Not supported in source system\n"
    },
    {
      "name": "ar-payments",
      "x-displayName": "AR Payments",
      "description": "An Accounts Receivable (AR) Payment is money that's sent by a business (i.e. a Customer) to a Vendor to pay for products or services that it has received. From the standpoint of the end-user of Agave API, it represents money coming in from a Customer.\n\nCurrently supported by:\n- Acumatica (\"AR Payments and Applications\"; read and write)\n- Foundation (\"Cash Receipt\"; read only)\n- Procore (\"Owner Payments\"; read and write)\n- QuickBooks Desktop (\"Invoice Payments\"; read and write)\n- QuickBooks Online (\"Invoice Payments\"; read and write)\n- Sage 100 Contractor (\"Cash & Electronic Receipts\"; read only)\n- Sage 300 CRE (\"Cash Receipts\"; read only)\n- Sage Intacct (read only)\n- ServiceTitan (\"Payments\"; read only)\n- Viewpoint Spectrum (\"AR Cash Receipts\"; read and create only)\n- Viewpoint Vista (\"AR Cash Receipts\"; read and create only)\n\nSupported fields in each source system:\n\n| Field                             |  Acumatica  | Foundation | Procore |QuickBooks Desktop |QuickBooks Online | Sage 100C | Sage 300 CRE | Sage Intacct | ServiceTitan | Viewpoint Spectrum | Viewpoint Vista |\n|-----------------------------------|:-----------:|:----------:|:-------:|:-----------------:|:----------------:|:---------:|:------------:|:------------:|:------------:|:------------------:|:---------------:|\n| `batch`                           |      ➖      |      ➖    |     ➖  |    ➖             |    ➖             |    ➖     |      ➖      |      ✅      |    ✅         |    ✅               |    ✅          |\n| `amount`                          |      ✅      |      ✅    |     ✅  |    ✅             |    ✅             |    ✅     |      ✅      |      ✅      |    ✅         |    ✅               |    ✅          |\n| `currency_code`                   |      ✅      |      ➖    |     ➖  |    ✅             |    ✅             |    ➖     |      ➖      |      ✅      |    ➖         |    ✅               |    ➖          |\n| `customer_id`                     |      ✅      |      ✅    |     ➖  |    ✅             |    ✅             |    ➖     |      ✅      |      ✅      |    ✅         |    ✅               |    ✅          |\n| `description`                     |      ✅      |      ➖    |     ✅  |    ✅             |    ✅             |    ➖     |      ✅      |      ✅      |    ✅         |    ✅               |    ✅          |\n| `ledger_account_id`               |      ➖      |      ✅    |     ➖  |    ✅             |    ✅             |    ➖     |      ✅      |      ➖      |    ➖         |    ➖               |    ➖          |\n| `line_items.amount`               |      ✅      |      ✅    |     ✅  |    ✅             |    ✅             |    ✅     |      ✅      |      ✅      |    ✅         |    ✅               |    ✅          |\n| `line_items.invoice_id`           |      ✅      |      ✅    |     ➖  |    ✅             |    ✅             |    ✅     |      ✅      |      ✅      |    ✅         |    ✅               |    ✅          |\n| `line_items.invoice_line_item_id` |      ✅      |      ➖    |     ➖  |    ✅             |    ✅             |    ➖     |      ➖      |      ✅      |    ➖         |    ✅               |    ✅          |\n| `line_items.description`          |      ✅      |      ➖    |     ✅  |    ➖             |    ➖             |    ➖     |      ➖      |      ✅      |    ➖         |    ➖               |    ➖          |\n| `line_items.discount_taken_amount`|      ✅      |      ✅    |     ➖  |    ➖             |    ➖             |    ➖     |      ➖      |      ➖      |    ➖         |    ➖               |    ➖          |\n| `line_items.ledger_account_id`    |      ➖      |      ✅    |     ➖  |    ➖             |    ✅             |    ➖     |      ➖      |      ➖      |    ➖         |    ✅               |    ✅          |\n| `line_items.type`                 |      ✅      |      ✅    |     ➖  |    ✅             |    ✅             |    ➖     |      ➖      |      ✅      |    ➖         |    ✅               |    ✅          |\n| `payment_method`                  |      ✅      |      ✅    |     ➖  |    ✅             |    ➖             |    ✅     |      ✅      |      ✅      |    ✅         |    ➖               |    ➖          |\n| `prime_contract_id`               |      ➖      |      ➖    |     ✅  |    ➖             |    ➖             |    ✅     |      ✅      |      ➖      |    ➖         |    ➖               |    ➖          |                   \n| `project_id`                      |      ➖      |      ➖    |     ✅  |    ➖             |    ➖             |    ✅     |      ✅      |      ➖      |    ➖         |    ➖               |    ➖          |                   \n| `number`                          |      ✅      |      ✅    |     ✅  |    ✅             |    ✅             |    ✅     |      ✅      |      ✅      |    ✅         |    ✅               |    ✅          |\n| `status`                          |      ✅      |      ✅    |     ✅  |    ✅             |    ✅             |    ➖     |      ✅      |      ✅      |    ✅         |    ✅               |    ✅          |\n| `transaction_date`                |      ✅      |      ✅    |     ✅  |    ✅             |    ✅             |    ✅     |      ✅      |      ✅      |    ✅         |    ✅               |    ✅          |\n| `type`                            |      ✅      |      ✅    |     ➖  |    ✅             |    ✅             |    ➖     |      ✅      |      ➖      |    ➖         |    ✅               |    ✅          |\n| `source_create_time`              |      ➖      |      ➖    |     ✅  |    ✅             |    ✅             |    ✅     |      ➖      |      ✅      |    ✅         |    ➖               |    ➖          |\n| `source_update_time`              |      ✅      |      ✅    |     ✅  |    ✅             |    ✅             |    ✅     |      ✅      |      ✅      |    ✅         |    ➖               |    ➖          |\n\n✅ Supported and mapped <br/>\n🟡 Partially mapped, not exact match <br/>\n🔜 Launching soon <br/>\n➖ Not supported in source system\n"
    },
    {
      "name": "assets",
      "x-displayName": "Assets",
      "description": "An Asset is seen as anything of monetary value owned by a business or an individual. In the construction industry, assets encompass – but are not limited to – machinery and equipment.\n  \nCurrently supported by:\n  - Autodesk Build (read only)\n  - BIM 360 (read only)\n  - CMiC (\"Equipment\"; read and write)\n  - Foundation (\"Equipment\"; read only)\n  - Procore (\"Equipment\"; read and write)\n  - Viewpoint Spectrum (\"Equipment\"; read only)\n  - Viewpoint Vista (\"Equipment\"; read only)\n\nSupported fields in each source system:\n\n| Field                     | Autodesk Build   | BIM 360   | CMiC   | Foundation | Procore | Viewpoint Spectrum | Viewpoint Vista   |\n|---------------------------|:----------------:|:---------:|:------:|:----------:|:-------:|:------------------:|:-----------------:|\n| `category`                |    ✅            |    ✅      |    ✅  |    ✅      |    ✅    |    ➖              |    ✅             |\n| `current_location_id`     |    ✅            |    ✅      |    ✅  |    ➖      |    ➖    |    ➖              |    ➖             |\n| `default_location_id`     |    ➖            |    ➖      |    ✅  |    ➖      |    ➖    |    ➖              |    ➖             |\n| `description`             |    ✅            |    ✅      |    ✅  |    ➖      |    ✅    |    ➖              |    ✅             |\n| `make`                    |    ✅            |    ✅      |    ✅  |    ✅      |    ✅    |    ✅              |    ✅             |\n| `manufacturer`            |    ✅            |    ✅      |    ➖  |    ➖      |    ✅    |    ✅              |    ✅             |\n| `model`                   |    ➖            |    ➖      |    ✅  |    ✅      |    ✅    |    ✅              |    ✅             |\n| `name`                    |    ➖            |    ➖      |    ✅  |    ✅      |    ✅    |    ✅              |    ✅             |\n| `number`                  |    ✅            |    ✅      |    ✅  |    ✅      |    ✅    |    ✅              |    ✅             |\n| `ownership_type`          |    ✅            |    ✅      |    ➖  |    ✅      |    ✅    |    ✅              |    ✅             |\n| `quantity`                |    ✅            |    ✅      |    ✅  |    ➖      |    ➖    |    ➖              |    ➖             |\n| `serial_number`           |    ➖            |    ➖      |    ✅  |    ✅      |    ✅    |    ✅              |    ✅             |\n| `status`                  |    ✅            |    ✅      |    ✅  |    ✅      |    ✅    |    ✅              |    ✅             |\n| `type`                    |    ➖            |    ➖      |    ✅  |    ✅      |    ✅    |    ✅              |    ✅             |\n| `vendor_id`               |    ✅            |    ✅      |    ✅  |    ➖      |    ➖    |    ➖              |    ✅             |\n| `source_create_time`      |    ✅            |    ✅      |    ✅  |    ➖      |    ✅    |    ➖              |    ➖             |\n| `source_update_time`      |    ✅            |    ✅      |    ✅  |    ✅      |    ✅    |    ➖              |    ➖             |\n"
    },
    {
      "name": "batches",
      "x-displayName": "Batches",
      "description": "A Batch is a group of financial transactions, typically processed as group at the end of some cycle (e.g. end of month ledger account rollovers, bi-weekly payrolls). \n\nCurrently supported by:\n  - Viewpoint Vista\n\nSupported source systems and fields:\n  \n| Field                    | Vista    |\n|--------------------------|:--------:|\n| `batch`                  |    ✅    |\n| `status`                 |    ✅    |\n| `type`                   |    ✅    |\n| `source_create_time`     |    ✅    |\n| `source_update_time`     |    ✅    |\n\n✅ Supported and mapped <br/>\n🟡 Partially mapped, not exact match <br/>\n🔜 Launching soon <br/>\n➖ Not supported in source system\n"
    },
    {
      "name": "bank-accounts",
      "x-displayName": "Bank Accounts",
      "description": "A Bank Account (aka Cash Account) is typically a Checking, Savings, or Credit Card account that has been linked to an ERP for purposes of tracking cash flow.\n\nCurrently supported by:\n  - QuickBooks Desktop (\"Bank or Credit Card Ledger Account\")\n  - QuickBooks Online (\"Bank or Credit Card Ledger Account\")\n  - Sage 100 Contractor (\"Cash Account\" or \"Credit Card\")\n  - Viewpoint Spectrum (\"Bank Account\")\n  - Viewpoint Vista (\"Cash Management Account\")\n\nSupported source systems and fields:\n  \n| Field                    | QuickBooks Desktop | QuickBooks Online | Sage 100C | Spectrum |  Vista    |\n|--------------------------|:-----------------:|:------------------:|:---------:|:---------:|:--------:|\n| `currency_code`          |    ➖             |    ➖              |     ➖     |     ✅     |    ➖    |\n| `current_balance`        |    ➖             |    ➖              |     ✅     |     ✅     |    ➖    |\n| `description`            |    ✅             |    ✅              |     ✅     |     ✅     |    ✅    |\n| `ledger_account_id`      |    ✅             |    ✅              |     ✅     |     ✅     |    ✅    |\n| `name`                   |    ✅             |    ✅              |     ✅     |     ✅     |    ✅    |\n| `number`                 |    ✅             |    ✅              |     ✅     |     ✅     |    ✅    |\n| `type`                   |    ✅             |    ✅              |     ✅     |     ✅     |    ✅    |\n| `source_create_time`     |    ✅             |    ✅              |     ✅     |     ➖     |    ✅    |\n| `source_update_time`     |    ✅             |    ✅              |     ✅     |     ➖     |    ✅    |\n\n✅ Supported and mapped <br/>\n🟡 Partially mapped, not exact match <br/>\n🔜 Launching soon <br/>\n➖ Not supported in source system\n"
    },
    {
      "name": "budget-line-items",
      "x-displayName": "Budget Line Items",
      "description": "A Budget Line Item is an individual expenditure on a construction Project by Cost Code and Cost Type, or a Work Breakdown Structure (WBS).\n\nCurrently supported by:\n  - Acumatica (\"Revenue and Cost Budget\"; read and write)\n  - Autodesk Build (read and write)\n  - BIM 360 (read and write)\n  - CMiC (\"Job Category / Costing\"; read and write)\n  - COINS (read only)\n  - ComputerEase (\"Categories\"; read only)\n  - Foundation (\"Job Budgets\"; read only)\n  - Procore (read and write)\n  - Sage 100 Contractor (\"Budget Lines\"; read and write)\n  - Sage 300 CRE (\"Job Category\"; read and write)\n  - Sage Intacct (\"Estimates\"; read only)\n  - Viewpoint Jobpac (\"Cost Centres\"; read only)\n  - Viewpoint Spectrum (\"Phases\"; read and write)\n  - Viewpoint Vista (\"Original Estimates\"; read and write)\n\nSupported fields in each source system:\n\n| Field                     |  Acumatica  | Autodesk Build | BIM 360 |  COINS  | CMiC     | Foundation |Procore | Sage 100C | Sage 300CRE | Sage Intacct | Viewpoint Jobpac | Viewpoint Spectrum  | Viewpoint Vista |\n|---------------------------|:-----------:|:--------------:|:-------:|:-------:|:--------:|:----------:|:-------:|:---------:|:-----------:|:-----------:|:----------------:|:-------------------:|:---------------:|\n| `cost_code_id`            |      ✅     |    ➖          |    ➖    |    ✅    |    ✅    |    ✅      |    ✅    |    ✅     |    ✅       |    ✅       |    ✅            |    ✅               |    ✅           |\n| `cost_type_id`            |      ✅     |    ➖          |    ➖    |    ✅    |    ✅    |    ✅      |    ✅    |    ✅     |    ✅       |    ✅       |    ✅            |    ✅               |    ✅           |\n| `current_amount`          |      ✅     |    ✅          |    ✅    |    ✅    |    ✅    |    ✅      |    ✅    |    ✅     |    ✅       |    ✅       |    ✅            |    ✅               |    ➖           |\n| `description`             |      ✅     |    ✅          |    ✅    |    ✅    |    ➖    |    ➖      |    ➖    |    ✅     |    ✅       |    ✅       |    ✅            |    ✅               |    ➖           |\n| `original_amount`         |      ✅     |    ✅          |    ✅    |    🔜    |    ✅    |    ✅      |    ✅    |    ✅     |    ✅       |    ✅       |    ✅            |    ➖               |    ✅           |\n| `quantity`                |      ✅     |    ✅          |    ✅    |    ➖    |    ✅    |    ✅      |    ✅    |    ➖     |    ✅       |    ✅       |    ✅            |    ✅               |    ✅           |\n| `sub_job_id`              |      ✅     |    ✅          |    ✅    |    ➖    |    ✅    |    ✅      |    ✅    |    ✅     |    ✅       |    ➖       |    ➖            |    ➖               |    ➖           |\n| `unit_cost`               |      ✅     |    ✅          |    ✅    |    ➖    |    ✅    |    ✅      |    ✅    |    ➖     |    ✅       |    ✅       |    ✅            |    ➖               |    ✅           |\n| `unit_of_measure`         |      ✅     |    ✅          |    ✅    |    ➖    |    ✅    |    ✅      |    ✅    |    ➖     |    ✅       |    ✅       |    ✅            |    ✅               |    ✅           |\n| `wbs_id`                  |      ➖     |    ✅          |    ✅    |    🔜    |    ➖    |    ➖      |    ✅    |    ➖     |    ➖       |    ➖       |    ➖            |    ➖               |    ➖           |\n\n✅ Supported and mapped <br/>\n🟡 Partially mapped, not exact match <br/>\n🔜 Launching soon <br/>\n➖ Not supported in source system\n"
    },
    {
      "name": "budget-production-quantities",
      "x-displayName": "Budget Production Quantities",
      "description": "A Budget Production Quantity is a measurable quantity that a team plans to produce/install/etc as the output of work on a construction Project.\n\nCurrently supported by:\n  - Foundation (read only)\n  - Procore (read and write)\n  - Viewpoint Spectrum (read and write)\n\nSupported fields in each source system:\n| Field                        | Foundation       | Procore          |  Viewpoint Spectrum    |\n|------------------------------|:----------------:|:----------------:|:----------------------:|\n| `cost_code_id`               |    ✅             |    ✅             |                  ✅    |\n| `cost_type_id`               |    ➖             |    ➖             |                  ✅    |\n| `current_amount`             |    ➖             |    ➖             |                  ✅    |\n| `description`                |    ✅             |    ✅             |                  ✅    |\n| `original_amount`            |    ➖             |    ➖             |                  ✅    |\n| `project_id                  |    ✅             |    ✅             |                  ✅    |\n| `quantity`                   |    ✅             |    ✅             |                  ✅    |\n| `sub_job_id`                 |    ✅             |    ➖             |                  ➖    |\n| `unit_cost`                  |    ➖             |    ➖             |                  ✅    |\n| `unit_of_measure`            |    ✅             |    ✅             |                  ✅    |\n| `wbs_id`                     |    ➖             |    ✅             |                  ➖    |\n| `source_create_time`         |    ➖             |    ✅             |                  ➖    |\n| `source_update_time`         |    ✅             |    ✅             |                  ➖    |\n\n✅ Supported and mapped <br/>\n🟡 Partially mapped, not exact match <br/>\n🔜 Launching soon <br/>\n➖ Not supported in source system   \n"
    },
    {
      "name": "budget-transfers",
      "x-displayName": "Budget Transfers",
      "description": "A Budget Transfer moves a budget's funds from a specific cost or revenue area to another cost or revenue area. \n\nCurrently supported by:\n  - Autodesk Build (read only)\n  - Foundation (read only; \"Estimate or Internal J/C Change Orders\")\n  - Sage 300 CRE (read and write; \"Approved Job Estimate Changes\")\n  - Viewpoint Vista (read and write; \"Internal PM Approved Change Orders\")\n\nSupported source systems and fields:\n  \n| Field                                          | Autodesk Build   |  Foundation    |  Sage 300 CRE    |  Vista    |\n|------------------------------------------------|:----------------:|:--------------:|:----------------:|:---------:|\n| `description`                                  |    ✅             |    ✅          |    ✅           |    ✅     |\n| `line_items.origin_budget_line_item.id`        |    ✅             |    ✅          |    ✅           |    ✅     |\n| `line_items.origin_budget_line_item.amount`    |    ✅             |    ✅          |    ✅           |    ✅     |\n| `line_items.origin_budget_line_item.quantity`  |    ✅             |    ✅          |    ✅           |    ✅     |\n| `line_items.origin_budget_line_item.unit_cost` |    ✅             |    ✅          |    ✅           |    ✅     |\n| `line_items.target_budget_line_item.id`        |    ✅             |    ✅          |    ✅           |    ✅     |\n| `line_items.target_budget_line_item.amount`    |    ✅             |    ✅          |    ✅           |    ✅     |\n| `line_items.target_budget_line_item.quantity`  |    ✅             |    ✅          |    ✅           |    ✅     |\n| `line_items.target_budget_line_item.unit_cost` |    ✅             |    ✅          |    ✅           |    ✅     |\n| `status`                                       |    ➖             |    ✅          |    ✅           |    ➖     |\n| `source_create_time`                           |    ✅             |    ➖          |    ➖           |    ➖     |\n| `source_update_time`                           |    ✅             |    ✅          |    ➖           |    ➖     |\n\n✅ Supported and mapped <br/>\n🟡 Partially mapped, not exact match <br/>\n🔜 Launching soon <br/>\n➖ Not supported in source system        \n"
    },
    {
      "name": "change-events",
      "x-displayName": "Change Events",
      "description": "A Change Event is any issue that determines a change of scope, time, specification, document, etc. on a construction Project.\n  \nCurrently supported by:\n  - Procore\n"
    },
    {
      "name": "change-orders",
      "x-displayName": "Change Orders",
      "description": "A Change Order is a written record of a contract modification that details any amendment(s) to the original agreement's scope of work.\n  \nCurrently supported by:\n- Acumatica (read only)\n- Autodesk Build (read and write)\n- BIM 360 (read and write)\n- Foundation (J/C Change Orders are read only; Subcontract and PO Change orders are read and write)\n- Jonas Premier (read only)\n- Procore (read and write)\n- Sage 100 Contractor (read and write \"Prime Changes\" and \"Budget and Sub Change Details\")\n- Sage 300 CRE (read, write, and bulk create Commitment Change Orders; read Contract Change Orders)\n- Sage Intacct (read only for Prime Contract \"Change Requests\"; read only for Purchasing Transaction Change Orders)\n- Viewpoint Jobpac (Variations; read and create)\n- Viewpoint Spectrum (AR Change Requests; read and write)\n- Viewpoint Vista (read and write JC and PM Approved Change Orders; read and write PM and SL Subcontract Change Orders; read and write PO Purchase Order Change Orders)\n\nSupported fields in each source system:\n  \n| Field                     |  Acumatica  | Autodesk Build  | BIM 360  | Foundation |Jonas Premier   | Procore  | Sage 100C | Sage 300 CRE| Sage Intacct | Viewpoint Jobpac   | Viewpoint Spectrum   | Viewpoint Vista   |\n|---------------------------|:-----------:|:---------------:|:-------:|:-----------:|:--------------:|:--------:|:--------:|:------------:|:------------:|:------------------:|:--------------------:|:-----------------:|\n| `approval_amount`          |     ✅      |    ✅          |    ✅    |    ✅        |    ➖          |    ✅    |    ✅     |    ➖        |    ✅        |    ➖               |    ✅                |    ✅             |\n| `approval_date`            |     ➖      |    ✅          |    ✅    |    ✅        |    ✅          |    ✅    |    ✅     |    ✅        |    ✅        |    ➖               |    ✅                |    ✅             |\n| `contract`                 |     ➖      |    ➖          |    ➖    |    ➖        |    ✅          |    ✅    |    ➖     |    ✅        |    ✅        |    ➖               |    ✅                |    ✅             |\n| `cost_amount`              |     ✅      |    ✅          |    ✅    |    ✅        |    ✅          |    ✅    |    ✅     |    ✅        |    ✅        |    ➖               |    ✅                |    ✅             |\n| `creator_id`               |     ➖      |    ✅          |    ✅    |    ➖        |    ➖          |    ✅    |    ➖     |    ➖        |    ✅        |    ➖               |    ➖                |    ➖             |\n| `description`              |     ✅      |    ✅          |    ✅    |    ➖        |    ➖          |    ➖    |    ✅     |    ➖        |    ➖        |    ➖               |    ➖                |    ✅             |\n| `due_date`                 |     ✅      |    ✅          |    ✅    |    ➖        |    ✅          |    ✅    |    ➖     |    ➖        |    ✅        |    ➖               |    ➖                |    ✅             |\n| `estimate_amount`          |     ➖      |    ✅          |    ✅    |    ✅        |    ✅          |    ✅    |    ✅     |    ➖        |    ➖        |    ➖               |    ✅                |    ✅             |\n| `issue_amount`             |     ➖      |    ✅          |    ✅    |    ✅        |    ✅          |    ✅    |    ➖     |    ✅        |    ✅        |    ➖               |    ✅                |    ✅             |\n| `line_item.amount`         |     ✅      |    ✅          |    ✅    |    ✅        |    ✅          |    ✅    |    ✅     |    ✅        |    ✅        |    ✅               |    ✅                |    ✅             |\n| `line_item.cost_code_id`   |     ✅      |    ➖          |    ➖    |    ✅        |    ✅          |    ✅    |    ✅     |    ✅        |    ✅        |    ✅               |    ✅                |    ✅             |\n| `line_item.cost_type_id`   |     ✅      |    ➖          |    ➖    |    ✅        |    ✅          |    ✅    |    ✅     |    ✅        |    ✅        |    ✅               |    ✅                |    ✅             |\n| `line_item.description`    |     ✅      |    ✅          |    ✅    |    ➖        |    ✅          |    ✅    |    ✅     |    ✅        |    ✅        |    ✅               |    ✅                |    ✅             |\n| `line_item.quantity`       |     ✅      |    ✅          |    ✅    |    ✅        |    ✅          |    ✅    |    ✅     |    ✅        |    ✅        |    ✅               |    ✅                |    ✅             |\n| `line_item.unit_cost`      |     ✅      |    ➖          |    ➖    |    ✅        |    ✅          |    ✅    |    ✅     |    ✅        |    ✅        |    ✅               |    ✅                |    ✅             |\n| `line_item.unit_of_measure`|     ✅      |    ✅          |    ✅    |    ➖        |    ✅          |    ✅    |    ✅     |    ✅        |    ✅        |    ✅               |    ✅                |    ✅             |\n| `line_item.type`           |     ✅      |    ✅          |    ✅    |    ✅        |    ➖          |    ✅    |    ✅     |    ✅        |    ➖        |    ✅               |    ✅                |    ✅             |\n| `number`                   |     ✅      |    ✅          |    ✅    |    ✅        |    ✅          |    ✅    |    ✅     |    ✅        |    ✅        |    ✅               |    ✅                |    ✅             |\n| `profit_amount`            |     ✅      |    ✅          |    ✅    |    ✅        |    ➖          |    ✅    |    ✅     |    ➖        |    ✅        |    ➖               |    ✅                |    ✅             |\n| `revenue_amount`           |     ✅      |    ✅          |    ✅    |    ✅        |    ➖          |    ✅    |    ✅     |    ➖        |    ✅        |    ➖               |    ✅                |    ✅             |\n| `status`                   |     ✅      |    ✅          |    ✅    |    ✅        |    ✅          |    ✅    |    ✅     |    ✅        |    ✅        |    ✅               |    ✅                |    ✅             |\n| `type`                     |     ➖      |    ✅          |    ✅    |    ✅        |    ✅          |    ✅    |    ✅     |    ✅        |    ✅        |    ✅               |    ➖                |    ➖             |\n\n✅ Supported and mapped <br/>\n🟡 Partially mapped, not exact match <br/>\n🔜 Launching soon <br/>\n➖ Not supported in source system\n"
    },
    {
      "name": "cost-codes",
      "x-displayName": "Cost Codes",
      "description": "A Cost Code is a standardized value - typically numerical — that helps professionals organize a Construction Project expense into common categories.\n\nCurrently supported by:\n- Acumatica (\"Project Budget\"; read only)\n- Cheops (\"Project Cost\"; read only)\n- CMiC (\"Phase Code\"; read and write)\n- COINS (\"Cost Head\"; read only)\n- ComputerEase (\"Category Codes\"; read only)\n- Foundation (read only)\n- Jonas Premier (read only)\n- Procore (read and write)\n- Sage 100 Contractor (read only)\n- Sage 300 CRE (read only)\n- Sage Intacct (read only)\n- Viewpoint Jobpac (read only)\n- Viewpoint Spectrum (\"Phase Code\"; read only)\n- Viewpoint Vista (\"Phase Code\"; read and write)\n\nSupported fields in each source system:\n\n| Field                       |  Acumatica  | Cheops   |  CMiC   |   COINS       | Foundation    |Jonas Premier | Procore | Sage 100C | Sage 300CRE | Sage Intacct | Viewpoint Jobpac | Viewpoint Spectrum | Viewpoint Vista |\n|-----------------------------|:-----------:|:--------:|:-------:|:-------------:|:-------------:|:-------------:|:-------:|:---------:|:------------:|:------------:|:----------------:|:------------------:|:---------------:|\n| `code`                      |      ✅     |    ✅    |    ✅    |       ✅       |    ✅         |    ✅         |    ✅   |    ✅      |    ✅        |    ✅        |    ✅            |    ✅              |    ✅             |\n| `full_code`                 |      ➖     |    ✅    |    ✅    |       ➖       |    ➖         |    ➖         |    ✅   |    ➖      |    ➖        |    ✅        |    ✅            |    ✅              |    ✅             |\n| `name`                      |      ✅     |    ✅    |    ✅    |       ✅       |    ✅         |    ✅         |    ✅   |    ✅      |    ✅        |    ✅        |    ✅            |    ✅              |    ✅             |\n| `parent_id`                 |      ✅     |    ✅    |    ✅    |       ➖       |    ➖         |    ➖         |    ✅   |    ➖      |    ➖        |    ✅        |    ✅            |    ➖              |    ➖             |\n| `source_create_time`        |      ➖     |    ➖    |    ✅    |       ✅       |    ➖         |    ➖         |    ✅   |    ✅      |    ➖        |    ✅        |    ✅            |    ➖              |    ➖             |\n| `source_update_time`        |      ✅     |    ➖    |    ✅    |       ✅       |    ✅         |    ➖         |    ✅   |    ➖      |    ✅        |    ✅        |    ✅            |    ➖              |    ➖             |\n\n✅ Supported and mapped <br/>\n🟡 Partially mapped, not exact match <br/>\n🔜 Launching soon <br/>\n➖ Not supported in source system\n"
    },
    {
      "name": "cost-types",
      "x-displayName": "Cost Types",
      "description": "A Cost Type is a standard, unique abbreviation or label used to record expenses in Construction Projects (e.g. \"M\" for materials).\n\nCurrently supported by:\n- Acumatica (\"Account Group\"; read only)\n- Cheops (\"Resource Category\"; read only)\n- CMiC (\"Category\"; read only)\n- COINS (\"Cost Category\"; read only)\n- ComputerEase (read only)\n- Foundation (\"Cost Class\"; read only)\n- Jonas Premier (read only)\n- Procore (read and write)\n- Sage 100 Contractor (read only)\n- Sage 300 CRE (\"Category\"; read only)\n- Sage Intacct (read only)\n- Viewpoint Jobpac (read only)\n- Viewpoint Spectrum (read only)\n- Viewpoint Vista (read only)\n\nSupported fields in each source system:\n\n| Field                       |  Acumatica  | Cheops   |CMiC      |   COINS    |Foundation |Jonas Premier | Procore  | Sage 100C  | Sage 300 CRE  | Sage Intacct  | Viewpoint Jobpac | Viewpoint Spectrum | Viewpoint Vista |\n|-----------------------------|:-----------:|:--------:|:--------:|:----------:|:----------:|:-------------:|:-------:|:----------:|:-------------:|:-------------:|:----------------:|:------------------:|:---------------:|\n| `name`                      |      ✅      |    ✅    |    ✅    |     ✅      |    ✅       |    ✅         |    ✅    |    ✅      |    ✅         |    ✅         |    ✅           |    ✅               |    ✅           |\n| `code`                      |      ✅      |    ✅    |    ✅    |     ✅      |    ✅       |    ✅         |    ✅    |    ✅      |    ✅         |    ✅         |    ✅           |    ✅               |    ✅           |\n| `source_create_time`        |      ➖      |    ➖    |    ✅    |     ✅      |    ➖       |    ➖         |    ✅    |    ✅      |    ➖         |    ✅         |    ✅           |    ➖               |    ➖           |\n| `source_update_time`        |      ➖      |    ➖    |    ✅    |     ✅      |    ✅       |    ➖         |    ✅    |    ➖      |    ✅         |    ✅         |    ✅           |    ➖               |    ➖           |\n\n✅ Supported and mapped <br/>\n🟡 Partially mapped, not exact match <br/>\n🔜 Launching soon <br/>\n➖ Not supported in source system\n"
    },
    {
      "name": "departments",
      "x-displayName": "Departments",
      "description": "\nDepartments are subsets or units of a Company. They are used to more granularly evaluate the profit and loss of a company or categorize its employees.\n\nA Department will typically proxy a business line, geographical or physical location, category of employees, or more. They will also typically be associated with specific General Ledger accounts for reporting purposes.\n\n\nCurrently supported by:\n- Acumatica (\"Branches\")\n- Deltek ComputerEase (\"Departments\")\n- Procore (\"Departments\")\n- Sage 100 Contractor (\"Departments\")\n- ServiceTitan (\"Business Units\")\n- Viewpoint Spectrum (\"Cost Centers\")\n- Viewpoint Vista (\"Equipment Management\", \"Job Cost\", \"Payroll\", \"Service Management\")\n\n| Field                                    |  Acumatica |  ComputerEase    |  Procore    |ServiceTitan | Viewpoint Spectrum | Sage 100C |\n|------------------------------------------|:----------:|:------------:|:------------:|:------------:|:------------------:|:---------:|\n| `code`                                   |    ✅       |      ✅      |      ➖      |      ➖      |      ✅             |     ✅     |\n| `name`                                   |    ✅       |      ✅      |      ✅      |      ✅      |      ✅             |     ✅     |\n| `status`                                 |    ✅       |      ✅      |      ➖      |      ✅      |      ✅             |     ➖     |\n| `type`                                   |    ✅       |      ✅      |      ➖      |      ➖      |      ✅             |     ➖     |\n| `source_create_time`                     |    ➖       |      ➖      |      ➖      |      ✅      |      ➖             |     ✅     |\n| `source_update_time`                     |    ➖       |      ➖      |      ➖      |      ✅      |      ➖             |     ✅     |\n\n✅ Supported and mapped <br/>\n🟡 Partially mapped, not exact match <br/>\n🔜 Launching soon <br/>\n➖ Not supported in source system\n"
    },
    {
      "name": "employees",
      "x-displayName": "Employees",
      "description": "An Employee is a person employed for wages or salary within a Company.\n\nCurrently supported by:\n- Acumatica (read only)\n- CMiC (read only)\n- Deltek ComputerEase\n- Foundation (read and write)\n- HCSS HeavyJob (read and write)\n- InEight (read and write)\n- Procore (read \"Employees\"; write \"Users\")\n- QuickBooks Desktop (read and write)\n- QuickBooks Online (read only)\n- Sage 100 Contractor (read and write)\n- Sage 300 CRE (read and write)\n- Sage Intacct (read only)\n- ServiceTitan (read and write \"Technicians\")\n- UKG (read only)\n- Viewpoint Spectrum (read only)\n- Viewpoint Vista (read only)\n\nSupported fields in each source system:\n\n| Field                | Acumatica | CMiC | Foundation | HCSS HeavyJob | InEight | Procore | QuickBooks Desktop | QuickBooks Online | Sage 100 Contractor | Sage 300 CRE | Sage Intacct | ServiceTitan | UKG | Viewpoint Spectrum | Viewpoint Vista |\n|----------------------|:---------:|:----:|:----------:|:-------------:|:-------:|:-------:|:------------------:|:-----------------:|:-------------------:|:------------:|:------------:|:------------:|:---:|:------------------:|:---------------:|\n| `address`            |     ✅     |   ✅  |      ✅     |       ✅       |    ✅    |    ✅    |          ✅         |         ✅         |          ✅          |       ✅      |       ✅      |       ✅      |  ✅  |          ➖         |        ✅        |\n| `company`            |     ✅     |   ✅  |      ✅     |       ➖       |    ✅    |    ➖    |          ➖         |         ➖         |          ➖          |       ➖      |       ✅      |       ➖      |  ✅  |          ✅         |        ➖        |\n| `email`              |     ✅     |   ✅  |      ✅     |       ✅       |    ➖    |    ✅    |          ✅         |         ✅         |          ✅          |       ✅      |       ✅      |       ✅      |  ✅  |          ✅         |        ✅        |\n| `first_name`         |     ✅     |   ✅  |      ✅     |       ✅       |    ✅    |    ✅    |          ✅         |         ✅         |          ✅          |       ➖      |       ✅      |       ➖      |  ✅  |          ✅         |        ✅        |\n| `full_name`          |     ✅     |   ✅  |      ✅     |       ✅       |    ✅    |    ✅    |          ✅         |         ✅         |          ✅          |       ✅      |       ✅      |       ✅      |  ➖  |          ✅         |        ✅        |\n| `gender`             |     ➖     |   ✅  |      ✅     |       ➖       |    ➖    |    ➖    |          ✅         |         ✅         |          ✅          |       ✅      |       ✅      |       ➖      |  ✅  |          ➖         |        ✅        |\n| `hire_date`          |     ➖     |   ✅  |      ✅     |       ➖       |    ✅    |    ➖    |          ✅         |         ✅         |          ✅          |       ✅      |       ✅      |       ➖      |  ✅  |          ➖         |        ✅        |\n| `industry`           |     ➖     |   ✅  |      ➖     |       ➖       |    ➖    |    ➖    |          ➖         |         ➖         |          ➖          |       ✅      |       ➖      |       ➖      |  ✅  |          ✅         |        ➖        |\n| `job_title`          |     ➖     |   ✅  |      ➖     |       ➖       |    ✅    |    ✅    |          ➖         |         ➖         |          ✅          |       ✅      |       ✅      |       ➖      |  ✅  |          ✅         |        ✅        |\n| `last_name`          |     ✅     |   ✅  |      ✅     |       ✅       |    ✅    |    ✅    |          ✅         |         ✅         |          ✅          |       ➖      |       ✅      |       ➖      |  ✅  |          ✅         |        ✅        |\n| `mobile_phone`       |     ➖     |   ✅  |      ✅     |       ✅       |    ➖    |    ✅    |          ✅         |         ✅         |          ✅          |       ✅      |       ✅      |       ➖      |  ➖  |          ✅         |        ✅        |\n| `phone`              |     ✅     |   ✅  |      ✅     |       ✅       |    ➖    |    ✅    |          ✅         |         ✅         |          ✅          |       ✅      |       ✅      |       ✅      |  ✅  |          ✅         |        ✅        |\n| `status`             |     ✅     |   ✅  |      ✅     |       ✅       |    ✅    |    ✅    |          ✅         |         ✅         |          ✅          |       ➖      |       ✅      |       ✅      |  ✅  |          ✅         |        ✅        |\n| `termination_date`   |     ➖     |   ✅  |      ✅     |       ➖       |    ➖    |    ➖    |          ➖         |         ➖         |          ✅          |       ➖      |       ➖      |       ➖      |  ✅  |          ➖         |        ➖        |\n| `type`               |     ➖     |   ✅  |      ✅     |       ✅       |    ➖    |    ➖    |          ✅         |         ➖         |          ✅          |       ➖      |       ➖      |       ➖      |  ✅  |          ➖         |        ➖        |\n| `source_create_time` |     ➖     |   ✅  |      ➖     |       ➖       |    ➖    |    ✅    |          ✅         |         ✅         |          ✅          |       ➖      |       ✅      |       ✅      |  ✅  |          ➖         |        ➖        |\n| `source_update_time` |     ✅     |   ✅  |      ✅     |       ➖       |    ➖    |    ✅    |          ✅         |         ✅         |          ✅          |       ✅      |       ✅      |       ✅      |  ✅  |          ➖         |        ➖        |\n\n✅ Supported and mapped <br/>\n🟡 Partially mapped, not exact match <br/>\n🔜 Launching soon <br/>\n➖ Not supported in source system\n"
    },
    {
      "name": "estimates",
      "x-displayName": "Estimates",
      "description": "An Estimate (aka a Bid or Proposal) is a forecast for a Customer of the costs and work required to complete a Project. An Estimate is a non-posting transaction, so it does not affect a company’s balance sheet or income statement.\n\nCurrently supported by:\n- Housecall Pro (read only; note, operations involving Line Items are not yet supported)\n- QuickBooks Desktop (read and write)\n- QuickBooks Online (read and write)\n\nSupported fields in each source system:\n\n| Field                       | Housecall Pro  | QuickBooks Desktop  | QuickBooks Online    | Sage Intacct |\n|-----------------------------|:--------------:|:-------------------:|:--------------------:|:------------:|\n| `address.street_1`          |    ✅          |          ✅          |          ✅          |     🔜        |\n| `address.street_2`          |    ✅          |          ✅          |          ✅          |     🔜        |\n| `address.city`              |    ✅          |          ✅          |          ✅          |     🔜        |\n| `address.country`           |    ✅          |          ✅          |          ✅          |     🔜        |\n| `address.postal_code`       |    ✅          |          ✅          |          ✅          |     🔜        |\n| `address.state`             |    ✅          |          ✅          |          ✅          |     🔜        |\n| `amount`                    |    ➖          |          ✅          |          ✅          |     🔜        |\n| `customer_id`               |    ✅          |          ✅          |          ✅          |     🔜        |\n| `due_date`                  |    ✅          |          ✅          |          ✅          |     ➖        |\n| `issue_date`                |    ✅          |          ✅          |          ✅          |     🔜        |\n| `line_items.amount`         |    ➖          |          ✅          |          ✅          |     🔜        |\n| `line_items.description`    |    ➖          |          ✅          |          ✅          |     🔜        |\n| `line_items.item_id`        |    ➖          |          ✅          |          ✅          |     🔜        |\n| `line_items.quantity`       |    ➖          |          ✅          |          ✅          |     🔜        |\n| `line_items.type`           |    ➖          |          ✅          |          ✅          |     🔜        |\n| `line_items.unit_of_measure`|    ➖          |          ✅          |          ✅          |     🔜        |\n| `line_items.unit_price`     |    ➖          |          ✅          |          ✅          |     🔜        |\n| `name`                      |    ➖          |          ✅          |          ✅          |     🔜        |\n| `number`                    |    ✅          |          ✅          |          ✅          |     🔜        |\n| `status`                    |    ✅          |          ✅          |          ✅          |     🔜        |\n| `source_create_time`        |    ➖          |          ➖          |          ➖          |     🔜        |\n| `source_create_time`        |    ➖          |          ➖          |          ➖          |     🔜        |\n\n✅ Supported and mapped <br/>\n🟡 Partially mapped, not exact match <br/>\n🔜 Launching soon <br/>\n➖ Not supported in source system  \n"
    },
    {
      "name": "expenses",
      "x-displayName": "Expenses",
      "description": "An Expense is money that a business spends at the time of purchase. Examples of Expenses include purchases made by a business entity via prepaid card, credit card, bank, or other asset.\n\nCurrently supported by:\n- Autodesk Build (read and write)\n- BIM 360 (read and write)\n- Procore (\"Direct Costs\"; read and write)\n- QuickBooks Desktop (\"Check\", \"Credit Card Charge\", and \"Credit Card Credit\"; read and write)\n- QuickBooks Online (\"Purchases\"; read and write)  \n- Viewpoint Vista (\"Prepaid Transactions\"; read and write)\n\n\nSupported fields in each source system:\n\n| Field                             | Autodesk Build  | BIM 360   | Procore   | QuickBooks Desktop   | QuickBooks Online  | Viewpoint Vista  |\n|-----------------------------------|:---------------:|:---------:|:---------:|:--------------------:|:------------------:|:----------------:|\n| `description`                     |    ✅           |    ✅      |    ✅     |    ✅                |    ✅              |    ✅             |\n| `ledger_account_id`               |    ➖           |    ➖      |    ➖     |    ✅                |    ✅              |    ➖             |\n| `line_items.amount`               |    ✅           |    ✅      |    ✅     |    ✅                |    ✅              |    ✅             |\n| `line_items.cost_code_id`         |    ✅           |    ✅      |    ✅     |    ➖                |    ➖              |    ✅             |\n| `line_items.cost_type_id`         |    ✅           |    ✅      |    ✅     |    ➖                |    ➖              |    ✅             |\n| `line_items.customer_id`          |    ➖           |    ➖      |    ➖     |    ✅                |    ✅              |    ✅             |\n| `line_items.description`          |    ✅           |    ✅      |    ✅     |    ✅                |    ✅              |    ✅             |\n| `line_items.ledger_account_id`    |    ➖           |    ➖      |    ➖     |    ✅                |    ✅              |    ✅             |\n| `line_items.project_id`           |    ✅           |    ✅      |    ✅     |    ➖                |    ➖              |    ✅             |\n| `line_items.quantity`             |    ✅           |    ✅      |    ✅     |    ✅                |    ✅              |    ✅             |\n| `line_items.tax_amount`           |    ➖           |    ➖      |    ✅     |    ➖                |    ➖              |    ✅             |\n| `line_items.type`                 |    ➖           |    ➖      |    ➖     |    ✅                |    ✅              |    ✅             |\n| `number`                          |    ✅           |    ✅      |    ✅     |    ✅                |    ✅              |    ✅             |\n| `payment_date`                    |    ✅           |    ✅      |    ✅     |    ✅                |    ✅              |    ✅             |\n| `payment_type`                    |    ✅           |    ✅      |    ✅     |    ✅                |    ✅              |    ✅             |\n| `status`                          |    ✅           |    ✅      |    ✅     |    ✅                |    ✅              |    ✅             |\n| `total_amount`                    |    ✅           |    ✅      |    ✅     |    ✅                |    ✅              |    ✅             |\n| `vendor_id`                       |    ✅           |    ✅      |    ✅     |    ✅                |    ✅              |    ✅             |\n| `source_create_time`              |    ✅           |    ✅      |    ✅     |    ✅                |    ✅              |    ➖             |\n| `source_create_time`              |    ✅           |    ✅      |    ✅     |    ✅                |    ✅              |    ➖             |\n\n✅ Supported and mapped <br/>\n🟡 Partially mapped, not exact match <br/>\n🔜 Launching soon <br/>\n➖ Not supported in source system\n"
    },
    {
      "name": "inventory-locations",
      "x-displayName": "Inventory Locations",
      "description": "An Inventory Location is a place (e.g. a warehouse, truck) where inventory items are stored, retrieved from, or transferred to. \n\nCurrently supported by:\n- Acumatica (\"Warehouses\")\n- ServiceTitan (\"Trucks\" and \"Warehouses\")\n- Viewpoint Spectrum (\"Warehouses\")\n\n| Field                     | Acumatica  | ServiceTitan |Viewpoint Spectrum |\n|---------------------------|:----------:|:------------:|:-----------------:|\n| `address`                 |    ➖      |    ✅        |    ✅              |\n| `name`                    |    ✅      |    ✅        |    ✅              | \n| `number`                  |    ✅      |    ➖        |    ✅              | \n| `status`                  |    ✅      |    ✅        |    ✅              | \n| `source_create_time`      |    ➖      |    ✅        |    ➖              |\n| `source_update_time`      |    ✅      |    ✅        |    ➖              | \n\n✅ Supported and mapped <br/>\n🟡 Partially mapped, not exact match <br/>\n🔜 Launching soon <br/>\n➖ Not supported in source system\n"
    },
    {
      "name": "items",
      "x-displayName": "Items",
      "description": "An Item is a thing that a company buys, sells, or re-sells (e.g. an item or product, service).\n\nCurrently supported by:\n- Acumatica (read only; \"Stock Items\")\n- ComputerEase (read only; \"Inventory Items\")\n- Foundation (read only)\n- QuickBooks Desktop (read and write)\n- QuickBooks Online (read and write)\n- ServiceTitan (read only; \"Materials\", \"Equipment\")\n- Viewpoint Spectrum (read and write)\n- Viewpoint Vista (read only)\n\n| Field                     | Acumatica     | Foundation        |QuickBooks Desktop |QuickBooks Online | ServiceTitan |Viewpoint Spectrum | Viewpoint Vista |\n|---------------------------|:-------------:|:-----------------:|:-----------------:|:-----------------:|:-----------:|:-----------------:|:---------------:|\n| `asset_account_id`        |     ✅        |    ➖             |     ✅             |     ➖            |    ➖        |    ➖             |    ➖            |\n| `code`                    |     ✅        |    ➖             |     ➖             |     ➖            |    ✅        |    ✅             |    ➖            | \n| `cost_unit_of_measure`    |     ✅        |    ➖             |     ➖             |     ➖            |    ✅        |    ✅             |    ➖            | \n| `description`             |     ✅        |    ➖             |     ✅             |     ✅            |    ✅        |    ➖             |    ✅            | \n| `expense_account_id`      |     ✅        |    ➖             |     ✅             |     ✅            |    ➖        |    ➖             |    ✅            | \n| `income_account_id`       |     ✅        |    ✅             |     ✅             |     ✅            |    ➖        |    ➖             |    ✅            |\n| `name`                    |     ✅        |    ✅             |     ✅             |     ✅            |    ✅        |    ✅             |    ✅            |\n| `price_unit_of_measure`   |     ✅        |    ➖             |     ➖             |     ➖            |    ✅        |    ✅             |    ➖            |\n| `status`                  |     ✅        |    ✅             |     ✅             |     ✅            |    ✅        |    ✅             |    ✅            | \n| `type`                    |     ✅        |    ✅             |     ✅             |     ✅            |    ✅        |    ✅             |    ✅            | \n| `unit_cost`               |     ✅        |    ✅             |     ✅             |     ✅            |    ✅        |    ✅             |    ✅            | \n| `unit_price`              |     ✅        |    ✅             |     ✅             |     ✅            |    ✅        |    ✅             |    ✅            |\n| `source_create_time`      |     ➖        |    ➖             |     ✅             |     ✅            |    ➖        |    ➖             |    ✅            |\n| `source_update_time`      |     ✅        |    ✅             |     ✅             |     ✅            |    ✅        |    ➖             |    ✅            | \n\n✅ Supported and mapped <br/>\n🟡 Partially mapped, not exact match <br/>\n🔜 Launching soon <br/>\n➖ Not supported in source system\n"
    },
    {
      "name": "item-receipts",
      "x-displayName": "Item Receipts",
      "description": "An Item Receipt, also known as a PO receipt, is a record used to verify the receipt of items to inventory, usually from a purchase order.\n\nCurrently supported by:\n- ServiceTitan (read and write; \"Receipts\")\n- Viewpoint Spectrum (read and write; \"Packing Lists\")\n\n| Field                             | ServiceTitan | Viewpoint Spectrum |\n|-----------------------------------|:------------:|:------------------:|\n| `contract.id`                     |      ✅      |         ✅         |\n| `contract.type`                   |      ✅      |         ✅         |\n| `delivery_date`                   |      ✅      |         ✅         |\n| `number`                          |      ✅      |         ✅         |\n| `status`                          |      ✅      |         ✅         |\n| `description`                     |      ✅      |         ✅         |\n| `source_create_time`              |      ✅      |         ➖         |\n| `source_update_time`              |      ✅      |         ➖         |\n| `vendor_id`                       |      ✅      |         ➖         |\n| `line_items.contract.line_item_id`|      ✅      |         ✅         |\n| `line_items.item_id`              |      ✅      |         ✅         |\n| `line_items.quantity`             |      ✅      |         ✅         |\n| `line_items.unit_cost`            |      ✅      |         ✅         |\n| `line_items.description`          |      ✅      |         ➖         |\n\n✅ Supported and mapped <br/>\n🟡 Partially mapped, not exact match <br/>\n🔜 Launching soon <br/>\n➖ Not supported in source system\n"
    },
    {
      "name": "job-costs",
      "x-displayName": "Job Costs",
      "description": "Job Costs include all costs associated with a project. They are the output of cost-generating activities (labor, materials, equipment, commitments, etc) and adjustments, and can include Actual Costs (costs already incurred), in addition to Committed and Forecasted costs.\n\nCurrently supported by:\n- Deltek ComputerEase (read)\n- Foundation\n- QuickBooks Desktop\n- Sage 100 Contractor\n- Sage 300 CRE (Read: \"Current\" Job Costs only; Write: \"New\" Job Costs only)\n- Sage Intacct (\"Ledger Entries\")\n- Viewpoint Spectrum\n- Viewpoint Vista (read and create)\n\n| Field                    | Foundation | QuickBooks Desktop | Sage 100 C | Sage 300 CRE | Sage Intacct | Viewpoint Spectrum | Viewpoint Vista |\n|--------------------------|:----------:|:-------------------:|:-----------:|:------------:|:----------:|:------------------:|:---------------:|\n| `accounting_date`        | ➖          | ➖                  | ✅          | ✅            | ➖         | ✅                  | ✅               |\n| `actual_amount`          | ✅          | ✅                  | ✅          | ✅            | ✅         | ✅                  | ✅               |\n| `actual_quantity`        | ✅          | ✅                  | ✅          | ✅            | ➖         | ✅                  | ✅               |\n| `actual_unit_cost`       | ✅          | ✅                  | ➖          | ✅            | ➖         | ➖                  | ✅               |\n| `actual_unit_of_measure` | ✅          | ➖                  | ➖          | ➖            | ➖         | ✅                  | ✅               |\n| `cost_code_id`           | ✅          | ✅                  | ✅          | ✅            | ✅         | ✅                  | ✅               |\n| `cost_type_id`           | ✅          | ✅                  | ✅          | ✅            | ✅         | ✅                  | ✅               |\n| `description`            | ✅          | ✅                  | ➖          | ➖            | ✅         | ➖                  | ➖               |\n| `ledger_account_id`      | ➖          | ✅                  | ✅          | ➖            | ✅         | ➖                  | ✅               |\n| `name`                   | ✅          | ✅                  | ✅          | ✅            | ✅         | ✅                  | ✅               |\n| `number`                 | ✅          | ✅                  | ✅          | ✅            | ✅         | ➖                  | ✅               |\n| `posted_date`            | ✅          | ➖                  | ✅          | ✅            | ✅         | ➖                  | ✅               |\n| `prime_contract_id`      | ➖          | ➖                  | ➖          | ✅            | ➖         | ➖                  | ➖               |\n| `project_id`             | ✅          | ✅                  | ✅          | ✅            | ✅         | ✅                  | ✅               |\n| `reference_id`           | ✅          | ✅                  | ✅          | ✅            | ✅         | ✅                  | ✅               |\n| `reference_type`         | ✅          | ✅                  | ✅          | ✅            | ✅         | ✅                  | ✅               |\n| `status`                 | ✅          | ✅                  | ✅          | ✅            | ➖         | ➖                  | ➖               |\n| `sub_job_id`             | ✅          | ➖                  | ✅          | ✅            | ✅         | ➖                  | ➖               |\n| `transaction_date`       | ✅          | ✅                  | ✅          | ✅            | ✅         | ✅                  | ✅               |\n| `type`                   | ✅          | ✅                  | ✅          | ✅            | ✅         | ✅                  | ✅               |\n| `vendor_id`              | ✅          | ✅                  | ✅          | ✅            | ✅         | ✅                  | ✅               |\n| `source_create_time`     | ➖          | ➖                  | ✅          | ➖            | ✅         | ➖                  | ➖               |\n| `source_update_time`     | ✅          | ✅                  | ✅          | ✅            | ✅         | ➖                  | ➖               |\n\n✅ Supported and mapped <br/>\n🟡 Partially mapped, not exact match <br/>\n🔜 Launching soon <br/>\n➖ Not supported in source system\n"
    },
    {
      "name": "ledger-accounts",
      "x-displayName": "Ledger Accounts",
      "description": "A Ledger Account (e.g. GL Account) is used to track transactions. \nLedger Accounts can track money coming in (i.e. income or revenue) and going out (e.g. expenses, assets, and equity).\n\nCurrently supported by:\n- Deltek ComputerEase (\"General Accounts\"; read only)\n- Foundation (\"Accounts\"; read only)\n- InEight (\"General Ledger Accounts\"; write only)\n- QuickBooks Desktop (\"Accounts\"; read only)\n- QuickBooks Online (\"Accounts\"; read only)\n- Sage 100 Contractor (read only)\n- Sage 300 CRE (\"Accounts\"; read only)\n- Sage Intacct (\"Accounts'; read only)\n- ServiceTitan (\"GL Accounts\"; read only)\n- Viewpoint Jobpac (\"GL Accounts\"; read only)\n- Viewpoint Spectrum (\"G/L Codes\"; read only)\n- Viewpoint Vista (\"GL Chart of Accounts\"; read only)\n\n| Field                     | ComputerEase |Foundation | InEight    |QuickBooks Desktop |QuickBooks Online | Sage 100C | Sage Intacct | ServiceTitan | Viewpoint Jobpac  | Viewpoint Spectrum |  Viewpoint Vista  |\n|---------------------------|:----------:|:----------:|:----------:|:-----------------:|:----------------:|:----------:|:-----------:|:------------:|:--------------:|:-----------------:|:-----------------:|\n| `classification`          |    ✅      |    ✅      |    ➖      |    ✅             |    ✅             |    ✅      |    ✅        |     ✅        |    ✅          |    ✅             |    ✅             |\n| `currency_code`           |    ✅      |    ➖      |    ➖      |    ✅             |    ✅             |    ➖      |    ➖        |     ➖        |    ➖          |    ➖             |    ➖             |\n| `current_balance`         |    ➖      |    ➖      |    ➖      |    ✅             |    ✅             |    ✅      |    ➖        |     ➖        |    ➖          |    ➖             |    ➖             |\n| `description`             |    ➖      |    ➖      |    ➖      |    ✅             |    ✅             |    ✅      |    ➖        |     ➖        |    ➖          |    ✅             |    ➖             |\n| `name`                    |    ✅      |    ✅      |    ✅      |    ✅             |    ✅             |    ✅      |    ✅        |     ✅        |    ✅          |    ✅             |    ✅             |\n| `number`                  |    ✅      |    ✅      |    ✅      |    ✅             |    ✅             |    ✅      |    ✅        |     ✅        |    ✅          |    ✅             |    ✅             |\n| `status`                  |    ✅      |    ✅      |    ✅      |    ✅             |    ✅             |    ✅      |    ✅        |     ✅        |    ✅          |    ✅             |    ✅             |\n| `type`                    |    ➖      |    ✅      |    ➖      |    ✅             |    ✅             |    ➖      |    ✅        |     ✅        |    ➖          |    ✅             |    ✅             |\n| `source_create_time`      |    ➖      |    ✅      |    ➖      |    ➖             |    ➖             |    ✅      |    ✅        |     ✅        |    ➖          |    ➖             |    ➖             |\n| `source_update_time`      |    ➖      |    ✅      |    ➖      |    ➖             |    ➖             |    ➖      |    ✅        |     ✅        |    ➖          |    ➖             |    ➖             |\n\n✅ Supported and mapped <br/>\n🟡 Partially mapped, not exact match <br/>\n🔜 Launching soon <br/>\n➖ Not supported in source system\n"
    },
    {
      "name": "ledger-journals",
      "x-displayName": "Ledger Journals",
      "description": "Ledger Journals categorize transactions by the ledger they are posted to.\n\nSource systems often have a General Ledger that summarizes all transactions in the business, and subledgers (eg. an Equipment Ledger) with more detailed records for each transaction category. Equipment-related transactions reference the Equipment Journal, while general entries reference the General Journal. Financial reports for each ledger are then aggregated from the transactions in the relevant journal.\n\nCurrently supported by:\n- Viewpoint Vista (Read only)\n\n| Field                     | Viewpoint Vista |\n|---------------------------|:---------------:|\n| `code`                    |         ✅      |\n| `name`                    |         ✅      |\n| `type`                    |         ✅      |\n| `source_create_time`      |         ➖      |\n| `source_update_time`      |         ➖      |\n\n✅ Supported and mapped <br/>\n🟡 Partially mapped, not exact match <br/>\n🔜 Launching soon <br/>\n➖ Not supported in source system\n"
    },
    {
      "name": "ledger-journal-entries",
      "x-displayName": "Ledger Journal Entries",
      "description": "A Ledger Journal Entry is a business transaction recorded in the General Ledger or a Subledger. \n\nLedger Journal Entries usually consist of two or more line items with balancing credit and debit amounts. Each Line Item credits or debits a single Ledger Account.\n\nCurrently supported by:\n- Viewpoint Vista (Read only)\n\n| Field                                    | Viewpoint Vista |\n|------------------------------------------|:---------------:|\n| `batch_id`                               |         ✅      |\n| `credit_amount`                          |         ✅      |\n| `debit_amount`                           |         ✅      |\n| `line_items.cost_code_id`                |         ➖      |\n| `line_items.credit_amount`               |         ✅      |\n| `line_items.debit_amount`                |         ✅      |\n| `line_items.description`                 |         ✅      |\n| `line_items.ledger_account_id`           |         ✅      |\n| `line_items.ledger_journal_entry_id`     |         ✅      |\n| `line_items.ledger_journal_id`           |         ✅      |\n| `line_items.project_id`                  |         ➖      |\n| `line_items.reference`                   |         ✅      |\n| `post_date`                              |         ✅      |\n| `status`                                 |         ✅      |\n| `source_create_time`                     |         ✅      |\n| `source_update_time`                     |         ➖      |\n\n✅ Supported and mapped <br/>\n🟡 Partially mapped, not exact match <br/>\n🔜 Launching soon <br/>\n➖ Not supported in source system\n"
    },
    {
      "name": "prime-contracts",
      "x-displayName": "Prime Contracts",
      "description": "A Prime Contract (aka Head Contract, Job Contract, Main Contract) is a legal agreement between contracted parties on a Construction Project. Prime Contracts are typically between an Owner and General Contractor (client or principal).\n\nFor other contracts in Construction, see [Purchase Orders](#tag--purchase-orders) or [Subcontracts](#tag--subcontracts).\n\nCurrently supported by:\n- Acumatica (read and write; Project Contract; **Note**: Prime Contract data is pulled from the Project record in Acumatica)\n- Autodesk Build (read and write; Main Contract)\n- BIM 360 (read and write; Main Contract)\n- Deltek ComputerEase (read only; AIA Schedules)\n- Foundation (read only; AIA Billing Section)\n- Procore (read and write)\n- Sage 100 Contractor (read and write; Proposal)\n- Sage 300 CRE (read only; Contract)\n- Sage Intacct (read only; Project Contract)\n- Viewpoint Spectrum (read only; Contract)\n- Viewpoint Vista (read only; Job Contract)\n\n| Field                          |  Acumatica  | Autodesk Build  | BIM 360  |  Foundation| Procore  |  Sage 100 C  |  Sage 300 CRE  |  Sage Intacct  | Viewpoint Spectrum  | Viewpoint Vista  |\n|--------------------------------|:------------:|:--------------:|:--------:|:----------:|:---------:|:-----------:|:--------------:|:--------------:|:------------------:|:----------------:|\n| `actual_completion_date`       |       ➖      |    ✅          |    ✅    |    ➖      |    ✅    |       ✅       |       ✅       |       ✅       |    ➖              |    ✅            |\n| `amount`                       |       ✅      |    ✅          |    ✅    |    ✅      |    ✅    |       ✅       |       ➖       |       ✅       |    ✅              |    ✅            |\n| `approved_change_order_amount` |       ➖      |    ✅          |    ✅    |    ✅      |    ✅    |       ➖       |       ➖       |       ✅       |    ✅              |    ➖            |\n| `balance`                      |       ✅      |    ✅          |    ✅    |    ➖      |    ✅    |       ➖       |       ➖       |       ✅       |    ✅              |    ➖            |\n| `contact_id`                   |       ➖      |    ✅          |    ✅    |    ➖      |    ✅    |       ➖       |       ➖       |       ➖       |    ➖              |    ➖            |\n| `customer_id`                  |       ✅      |    🔜          |    🔜    |    ✅      |    🔜    |       ➖       |       ➖       |       ✅       |    ✅              |    ✅            |\n| `description`                  |       ➖      |    ✅          |    ✅    |    ✅      |    ✅    |       ✅       |       ✅       |       ✅       |    ✅              |    ➖            |\n| `estimated_completion_date`    |       ✅      |    ✅          |    ✅    |    ➖      |    ✅    |       ➖       |       ➖       |       ✅       |    ➖              |    ✅            |\n| `execution_date`               |       ➖      |    ✅          |    ✅    |    ✅      |    ✅    |       ✅       |       ✅       |       ✅       |    ✅              |    ➖            |\n| `line_items.amount`            |       ✅      |    ✅          |    ✅    |    ✅      |    ✅    |       ✅       |       ✅       |       ✅       |    ✅              |    ✅            |\n| `line_items.cost_code_id`      |       ✅      |    ✅          |    ✅    |    ✅      |    ✅    |       ✅       |       ➖       |       ✅       |    ➖              |    ➖            |\n| `line_items.cost_type_id`      |       ✅      |    ✅          |    ✅    |    ✅      |    ✅    |       ✅       |       ➖       |       ✅       |    ➖              |    ➖            |\n| `line_items.description`       |       ✅      |    ✅          |    ✅    |    ✅      |    ✅    |       ✅       |       ✅       |       ✅       |    ✅              |    ✅            |\n| `line_items.quantity`          |       ✅      |    ✅          |    ✅    |    ✅      |    ✅    |       ➖       |       ✅       |       ✅       |    ✅              |    ✅            |\n| `line_items.retention_amount`  |       ➖      |    ➖          |    ➖    |    ✅      |    ➖    |       ➖       |       ➖       |       ✅       |    ➖              |    ✅            |\n| `line_items.retention_percent` |       ✅      |    ➖          |    ➖    |    ✅      |    ➖    |       ➖       |       ✅       |       ✅       |    ➖              |    ✅            |\n| `line_items.unit_cost`         |       ✅      |    ✅          |    ✅    |    ✅      |    ✅    |       ➖       |       ✅       |       ✅       |    ✅              |    ✅            |\n| `line_items.unit_of_measure`   |       ✅      |    ✅          |    ✅    |    ✅      |    ✅    |       ➖       |       ✅       |       ✅       |    ✅              |    ✅            |\n| `line_items.wbs_id`            |       ➖      |    ✅          |    ✅    |    ✅      |    ✅    |       ➖       |       ➖       |       ➖       |    ✅              |    ➖            |\n| `line_items.source_create_time`|       ➖      |    ✅          |    ✅    |    ✅      |    ✅    |       ✅       |       ➖       |       ✅       |    ➖              |    ➖            |\n| `line_items.source_update_time`|       ✅      |    ✅          |    ✅    |    ✅      |    ✅    |       ✅       |       ✅       |       ✅       |    ➖              |    ➖            |\n| `name`                         |       ✅      |    ✅          |    ✅    |    ✅      |    ✅    |       ✅       |       ✅       |       ✅       |    ✅              |    ✅            |\n| `number`                       |       ✅      |    ✅          |    ✅    |    ✅      |    ✅    |       ✅       |       ✅       |       ✅       |    ✅              |    ✅            |\n| `original_amount`              |       ➖      |    ➖          |    ➖    |    ✅      |    ➖    |       ✅       |       ✅       |       ✅       |    ✅              |    ✅            |\n| `paid_amount`                  |       ✅      |    ✅          |    ✅    |    ➖      |    ✅    |       ➖       |       ➖       |       ➖       |    ✅              |    ✅            |\n| `start_date`                   |       ✅      |    ✅          |    ✅    |    ➖      |    ✅    |       ✅       |       ✅       |       ✅       |    ➖              |    ✅            |\n| `status`                       |       ✅      |    ✅          |    ✅    |    ✅      |    ✅    |       ✅       |       ✅       |       ✅       |    ✅              |    ✅            |\n| `type`                         |       ✅      |    ✅          |    ✅    |    ✅      |    ✅    |       ✅       |       ✅       |       ✅       |    ✅              |    ✅            |\n| `source_create_time`           |       ➖      |    ✅          |    ✅    |    ➖      |    ✅    |       ✅       |       ✅       |       ✅       |    ➖              |    ➖            |\n| `source_update_time`           |       ✅      |    ✅          |    ✅    |    ✅      |    ✅    |       ✅       |       ✅       |       ✅       |    ➖              |    ➖            |\n\n✅ Supported and mapped <br/>\n🟡 Partially mapped, not exact match <br/>\n🔜 Launching soon <br/>\n➖ Not supported in source system\n"
    },
    {
      "name": "purchase-orders",
      "x-displayName": "Purchase Orders",
      "description": "A Purchase Order is a documented financial commitment that details the types, quantities, and agreed-upon prices for products or services.\n\nCurrently supported by:\n- Acumatica (read and write)\n- Autodesk Build (\"Contracts'; read and write)\n- CMiC (read and write)\n- COINS (\"Materials Orders\"; read only)\n- Foundation (read and write)\n- Procore (read and write)\n- QuickBooks Desktop (read and write)\n- QuickBooks Online (read and write)\n- Sage 100 Contractor (read and write)\n- Sage 300 CRE (\"Commitments\"; read, write, and bulk create)\n- Sage Intacct (read and write)\n- ServiceTitan (read only)\n- Viewpoint Jobpac (read and write)\n- Viewpoint Spectrum (read and write)\n- Viewpoint Vista (\"PM Purchase Order\" and \"PO Purchase Order Entry\"; and read and write)\n\n| Field                         |Acumatica|Autodesk Build | CMiC   |   COINS   | Foundation   | Procore   | QuickBooks Desktop | QuickBooks Online | Sage 100 Contractor | Sage 300 CRE | Sage Intacct | ServiceTitan | Viewpoint Jobpac | Viewpoint Spectrum | Viewpoint Vista |\n|-------------------------------|:-------:|:-------------:|:------:|:--------:|:-----------:|:--------:|:-----------------:|:----------------:|:------------------:|:-----------:|:-----------:|:-----------:|:---------------:|:-----------------:|:---------------:|\n| `approval_date`               |    ➖   |      ✅       |   ✅   |    ✅    |     ✅      |    ➖     |        ✅        |       ✅        |        ✅         |     ✅      |     ✅      |     ✅      |       ✅       |        ➖        |       ➖       |\n| `batch_id`                    |    ➖   |      ➖       |   ➖   |    ➖    |     ➖      |    ➖     |        ➖        |       ➖        |        ➖         |     ✅      |     ➖      |     ➖      |       ➖       |        ➖        |       ✅       |\n| `creator_id`                  |    ➖   |   ✅          |   ✅    |     ➖    |     ➖       |     ✅    |      ➖            |      ➖            |      ✅             |      ➖       |      ➖      |    ✅              |    ➖              |    ➖             |\n| `delivery_address`            |    ✅   |   ➖          |   ➖    |     ✅    |     ✅       |     ✅    |      ✅            |      ✅            |      ✅             |      ✅       |      ✅      |    ✅              |    ✅              |    ✅             |\n| `delivery_date`               |    ✅   |   ✅          |   ✅    |     ➖    |     ✅       |     ✅    |      ➖            |      ➖            |      ✅             |      ✅       |      ✅      |    ✅              |    ✅              |    ✅             |\n| `description`                 |    ✅   |   ✅          |   ✅    |     ➖    |     ➖       |     ✅    |      ➖            |      ➖            |      ✅             |      ✅       |      ➖      |    ➖              |    ✅              |    ➖             |\n| `issue_date`                  |    ✅   |   ✅          |   ✅    |     ➖    |     ✅       |     ✅    |      ➖            |      ➖            |      ✅             |      ✅       |      ✅      |    ➖              |    ➖              |    ➖             |\n| `ledger_account_id`           |    ➖   |   ➖          |   ➖    |     ➖    |     ➖       |     ➖    |      ➖            |      ➖            |      ➖             |      ➖       |      ➖      |    ➖              |    ➖              |    ➖             |\n| `line_items.amount`           |    ✅   |   ✅          |   ✅    |     ✅    |     ✅       |     ✅    |      ✅            |      ✅            |      ✅             |      ✅       |      ✅      |    ✅              |    ✅              |    ✅             |\n| `line_items.cost_code_id`     |    ✅   |   ➖          |   ✅    |     ✅    |     ✅       |     ✅    |      ✅            |      ✅            |      ✅             |      ✅       |      ✅      |    ✅              |    ✅              |    ✅             |\n| `line_items.cost_type_id`     |    ✅   |   ➖          |   ➖    |     ✅    |     ➖       |     ➖    |      ➖            |      ➖            |      ➖             |      ✅       |      ➖      |    ➖              |    ➖              |    ➖             |\n| `line_items.customer_id`      |    ➖   |   ➖          |   ➖    |     ➖    |     ➖       |     ✅    |      ✅            |      ✅            |      ➖             |      ✅       |      ✅      |    ✅              |    ➖              |    ✅             |\n| `line_items.description`      |    ✅   |   ✅          |   ✅    |     ✅    |     ✅       |     ✅    |      ✅            |      ✅            |      ✅             |      ✅       |      ✅      |    ✅              |    ✅              |    ✅             |\n| `line_items.item_id`          |    ✅   |   ➖          |   ➖    |     ➖    |     ✅       |     ➖    |      ✅            |      ✅            |      ✅             |      ➖       |      ✅      |    ✅              |    ✅              |    ✅             |\n| `line_items.ledger_account_id`|    ✅   |   ➖          |   ➖    |     ✅    |     ✅       |     ➖    |      ✅            |      ✅            |      ✅             |      ➖       |      ✅      |    ✅              |    ✅              |    ✅             |\n| `line_items.quantity`         |    ✅   |   ✅          |   ✅    |     ✅    |     ✅       |     ✅    |      ✅            |      ✅            |      ✅             |      ✅       |      ✅      |    ✅              |    ✅              |    ✅             |\n| `line_items.status`           |    ➖   |   ➖          |   ✅    |     ➖    |     ✅       |     ✅    |      ✅            |      ✅            |      ✅             |      ✅       |      ➖      |    ✅              |    ✅              |    ✅             |\n| `line_items.sub_job_id`       |    ➖   |   ➖          |   ✅    |     ➖    |     ✅       |     ✅    |      ✅            |      ✅            |      ✅             |      ✅       |      ➖      |    ✅              |    ✅              |    ✅             |\n| `line_items.tax_amount`       |    ➖   |   ➖          |   ➖    |     ✅    |     ✅       |     ✅    |      ✅            |      ✅            |      ➖             |      ✅       |      ➖      |    ➖              |    ✅              |    ✅             |\n| `line_items.tax_code_id`      |    ✅   |   ➖          |   ✅    |     ➖    |     ➖       |     ✅    |      ✅            |      ✅            |      ➖             |      ✅       |      ➖      |    ➖              |    ✅              |    ✅             |\n| `line_items.type`             |    ✅   |   ➖          |   ➖    |     ✅    |     ➖       |     ➖    |      ✅            |      ✅            |      ✅             |      ➖       |      ✅      |    ➖              |    ✅              |    ✅             |\n| `line_items.unit_cost`        |    ✅   |   ✅          |   ✅    |     ✅    |     ✅       |     ✅    |      ✅            |      ✅            |      ✅             |      ✅       |      ✅      |    ✅              |    ✅              |    ✅             |\n| `line_items.unit_of_measure`  |    ✅   |   ✅          |   ✅    |     ✅    |     ✅       |     ✅    |      ✅            |      ✅            |      ✅             |      ✅       |      ✅      |    ✅              |    ✅              |    ✅             |\n| `line_items.vendor_id`        |    ✅   |   ➖          |   ➖    |     ➖    |     ➖       |     ➖    |      ➖            |      ➖            |      ➖             |      ➖       |      ➖      |    ➖              |    ➖              |    ➖             |\n| `line_items.wbs_id`           |    ➖   |   ➖          |   ➖    |     ➖    |     ➖       |     ➖    |      ➖            |      ➖            |      ➖             |      ➖       |      ➖      |    ➖              |    ➖              |    ➖             |\n| `name`                        |    ➖   |   ✅          |   ✅    |     ✅    |     ✅       |     ✅    |      ✅            |      ✅            |      ✅             |      ✅       |      ✅      |    ✅              |    ✅              |    ✅             |\n| `number`                      |    ✅   |   ✅          |   ✅    |     ✅    |     ✅       |     ✅    |      ✅            |      ✅            |      ✅             |      ✅       |      ✅      |    ✅              |    ✅              |    ✅             |\n| `order_date`                  |    ✅   |   ✅          |   ✅    |     ✅    |     ➖       |     ✅    |      ✅            |      ✅            |      ✅             |      ✅       |      ✅      |    ✅              |    ✅              |    ✅             |\n| `project_id`                  |    ✅   |   ✅          |   ✅    |     ✅    |     ✅       |     ✅    |      ➖            |      ➖            |      ✅             |      ✅       |      ✅      |    ✅              |    ✅              |    ✅             |\n| `ship_via`                    |    ➖   |   ➖          |   ➖    |     ✅    |     ✅       |     ✅    |      ➖            |      ➖            |      ✅             |      ✅       |      ➖      |    ➖              |    ✅              |    ➖             |\n| `status`                      |    ✅   |   ✅          |   ✅    |     ✅    |     ✅       |     ✅    |      ✅            |      ✅            |      ✅             |      ✅       |      ✅      |    ➖              |    ✅              |    ✅             |\n| `subtotal_amount`             |    ✅   |   ✅          |   ✅    |     ✅    |     ✅       |     ✅    |      ✅            |      ✅            |      ✅             |      ✅       |      ✅      |    ✅              |    ✅              |    ✅             |\n| `tax_amount`                  |    ✅   |   ➖          |   ✅    |     ✅    |     ✅       |     ✅    |      ✅            |      ✅            |      ✅             |      ✅       |      ✅      |    ✅              |    ✅              |    ✅             |\n| `terms`                       |    ✅   |   ➖          |   ✅    |     ✅    |     ✅       |     ✅    |      ➖            |      ➖            |      ✅             |      ✅       |      ➖      |    ➖              |    ✅              |    ✅             |\n| `total_amount`                |    ✅   |   ✅          |   ✅    |     ✅    |     ✅       |     ✅    |      ✅            |      ✅            |      ✅             |      ✅       |      ✅      |    ✅              |    ✅              |    ✅             |\n| `type`                        |    ✅   |   ✅          |   ✅    |     ✅    |     ✅       |     ➖    |      ✅            |      ✅            |      ✅             |      ✅       |      ✅      |    ✅              |    ✅              |    ✅             |\n| `vendor_id`                   |    ✅   |   ✅          |   ✅    |     ➖    |     ✅       |     ✅    |      ✅            |      ✅            |      ✅             |      ✅       |      ✅      |    ✅              |    ✅              |    ✅             |\n| `source_create_time`          |    ➖   |   ✅          |   ✅    |     ✅    |     ✅       |     ✅    |      ➖            |      ➖            |      ✅             |      ➖       |      ✅      |    ➖              |    ➖              |    ➖             |\n| `source_update_time`          |    ✅   |   ✅          |   ✅    |     ✅    |     ✅       |     ✅    |      ➖            |     ➖             |      ✅             |      ✅       |      ✅      |    ✅              |    ➖              |    ➖             |\n\n✅ Supported and mapped <br/>\n🟡 Partially mapped, not exact match <br/>\n🔜 Launching soon <br/>\n➖ Not supported in source system\n"
    },
    {
      "name": "purchase-order-compliances",
      "x-displayName": "Purchase Order Compliances",
      "description": "A Purchase Order Compliance is a requirement that a construction firm must follow when making a payment to a Vendor associated with a Purchase Order.\n\nCurrently supported by:\n- Viewpoint Vista\n\n| Field                       | Viewpoint Vista    |\n|-----------------------------|:------------------:|\n| `amount`                    |    ➖              |\n| `contract`                  |    ✅              |\n| `description`               |    ✅              |\n| `effective_date`            |    ➖              |\n| `expiration_date`           |    ✅              |\n| `policy_number`             |    ➖              |\n| `provider_name`             |    ➖              |\n| `vendor_id`                 |    ✅              |\n| `source_create_time`        |    ➖              |\n| `source_update_time`        |    ➖              |\n\n✅ Supported and mapped <br/>\n🟡 Partially mapped, not exact match <br/>\n🔜 Launching soon <br/>\n➖ Not supported in source system\n"
    },
    {
      "name": "service-sites",
      "x-displayName": "Service Sites",
      "description": "A Service Site is the vicinity or place a Work Order is performed at.\n\nCurrently supported by:\n- Acumatica (\"Customer Locations\"; read and write)\n- Sage 100 Contractor (\"Service Locations\"; read and write)\n- ServiceTitan (\"Customer Locations\"; read only)\n- Viewpoint Spectrum (\"Sites\"; read and write)\n\n\n| Field                | Acumatica | ServiceTitan | Viewpoint Spectrum | Sage 100 Contractor |\n|----------------------|:---------:|:------------:|:------------------:|:-------------------:|\n| `address`            |     ✅     |      ✅       |         ✅          |          ✅          |\n| `code`               |     ✅     |      ➖       |         ✅          |          ✅          |\n| `customer_id`        |     ✅     |      ✅       |         ✅          |          ✅          |\n| `name`               |     ✅     |      ✅       |         ✅          |          ✅          |\n| `status`             |     ✅     |      ✅       |         ✅          |          ➖          |\n| `tax_code_id`        |     🟡     |      ✅       |         ✅          |          ✅          |\n| `source_create_time` |     ✅     |      ✅       |         ➖          |          ✅          |\n| `source_update_time` |     ✅     |      ✅       |         ➖          |          ✅          |\n\n✅ Supported and mapped  \n🟡 Partially mapped, not exact match  \n🔜 Launching soon  \n➖ Not supported in source system\n"
    },
    {
      "name": "subcontracts",
      "x-displayName": "Subcontracts",
      "description": "A Subcontract is a legal agreement where a party on a Prime Contract engages a third-party (i.e. a Subcontractor) to perform all or part of the work defined in the Prime Contract.\n    \nCurrently supported by:\n- Autodesk Build (read only)\n- BIM 360 (read only)\n- Cheops (read only)\n- CMiC (read only)\n- COINS (read only)\n- Foundation (read and write)\n- Jonas Premier (read only)\n- Procore (read and write)\n- Sage 100 Contractor (read and write)\n- Sage 300 CRE (\"Commitments\"; read, write, and bulk create)\n- Sage Intacct (\"Purchasing Transactions\"; read and write)\n- Viewpoint Jobpac (read and write)\n- Viewpoint Spectrum (read and write)\n- Viewpoint Vista (read and write)\n\n| Field                           | Autodesk Build    | BIM 360  | CMiC    |  COINS  | Foundation  | Jonas Premier  | Procore  | Sage 100C  | Sage 300 CRE  | Sage Intacct  | Viewpoint Jobpac  | Viewpoint Spectrum  | Viewpoint Vista  |\n|---------------------------------|:-----------------:|:--------:|:-------:|:-------:|:-----------:|:--------------:|:--------:|:----------:|:-------------:|:-------------:|:-----------------:|:-------------------:|:----------------:|\n| `actual_completion_date`        |    ✅             |    ✅     |    ✅    |    ➖   |    ➖       |    ➖         |    ✅     |    ✅       |    ✅         |    ✅         |    ✅             |    ➖                 |    ➖            |\n| `amount`                        |    ➖             |    ➖     |    ➖    |    ✅   |    ➖       |    ➖         |    ➖     |    ➖       |    ➖         |    ✅         |    ➖             |    ➖                 |    ➖            |\n| `approved_change_orders_amount` |    ✅             |    ✅     |    ➖    |    ➖   |    ➖       |    ➖         |    ✅     |    ✅       |    ✅         |    ✅         |    ✅             |    ✅                 |    ✅            |\n| `defects_period`                |    ➖             |    ➖     |    ➖    |    ➖   |    ➖       |    ➖         |    ➖     |    ➖       |    ➖         |    ➖         |    ✅             |    ➖                 |    ➖            |\n| `defects_expiry_date`           |    ➖             |    ➖     |    ➖    |    ➖   |    ➖       |    ➖         |    ➖     |    ➖       |    ➖         |    ➖         |    ✅             |    ➖                 |    ➖            |\n| `description`                   |    ✅             |    ✅     |    ✅    |    ✅   |    ➖       |    ➖         |    ✅     |    ✅       |    ✅         |    ✅         |    ➖             |    ✅                 |    ✅            |\n| `estimated_completion_date`     |    ➖             |    ➖     |    ➖    |    ✅   |    ➖       |    ➖         |    ✅     |    ✅       |    ✅         |    ➖         |    ✅             |    ➖                 |    ➖            |\n| `execution_date`                |    ✅             |    ✅     |    ✅    |    ✅   |    ➖       |    ➖         |    ✅     |    ✅       |    ✅         |    ✅         |    ✅             |    ➖                 |    ➖            |\n| `full_release_date`             |    ➖             |    ➖     |    ➖    |    ➖   |    ➖       |    ➖         |    ➖     |    ➖       |    ➖         |    ➖         |    ✅             |    ➖                 |    ➖            |\n| `half_release_date`             |    ➖             |    ➖     |    ➖    |    ➖   |    ➖       |    ➖         |    ➖     |    ➖       |    ➖         |    ➖         |    ✅             |    ➖                 |    ➖            |\n| `invoiced_amount`               |    ✅             |    ✅     |    ➖    |    ✅   |    ➖       |    ➖         |    ➖     |    ✅       |    ✅         |    ➖         |    ✅             |    ✅                 |    ➖            |\n| `is_executed`                   |    ✅             |    ✅     |    ➖    |    ➖   |    ➖       |    ➖         |    ✅     |    ➖       |    ➖         |    ➖         |    ✅             |    ➖                 |    ➖            |\n| `line_items.amount`             |    ✅             |    ✅     |    ✅    |    ✅   |    ✅       |    ✅         |    ✅     |    ✅       |    ✅         |    ✅         |    ✅             |    ✅                 |    ✅            |\n| `line_items.cost_code_id`       |    ✅             |    ✅     |    ✅    |    ✅   |    ✅       |    ✅         |    ✅     |    ✅       |    ✅         |    ✅         |    ✅             |    ✅                 |    ✅            |\n| `line_items.cost_type_id`       |    ✅             |    ✅     |    ✅    |    ✅   |    ✅       |    ✅         |    ✅     |    ✅       |    ✅         |    ✅         |    ✅             |    ✅                 |    ✅            |\n| `line_items.description`        |    ✅             |    ✅     |    ✅    |    ✅   |    ✅       |    ✅         |    ✅     |    ✅       |    ✅         |    ✅         |    ✅             |    ✅                 |    ✅            |      \n| `line_items.quantity`           |    ✅             |    ✅     |    ✅    |    ✅   |    ✅       |    ✅         |    ✅     |    ➖       |    ✅         |    ✅         |    ✅             |    ✅                 |    ✅            |\n| `line_items.tax_amount`         |    ✅             |    ✅     |    ✅    |    ✅   |    ✅       |    ✅         |    ✅     |    ✅       |    ✅         |    ✅         |    ✅             |    ➖                 |    ✅            |\n| `line_items.type`               |    ✅             |    ✅     |    ✅    |    ✅   |    ➖       |    ➖         |    ✅     |    ➖       |    ➖         |    ✅         |    ✅             |    ➖                 |    ✅            |\n| `line_items.unit_cost`          |    ✅             |    ✅     |    ✅    |    ✅   |    ✅       |    ✅         |    ✅     |    ➖       |    ✅         |    ✅         |    ✅             |    ✅                 |    ✅            |\n| `line_items.unit_of_measure`    |    ✅             |    ✅     |    ✅    |    ✅   |    ✅       |    ✅         |    ✅     |    ➖       |    ✅         |    ✅         |    ✅             |    ✅                 |    ✅            |\n| `maximum_retention_percent`     |    ➖             |    ➖     |    ➖    |    ✅   |    ➖       |    ➖         |    ➖     |    ➖       |    ➖         |    ➖         |    🔜             |    ➖                 |    ✅            |\n| `name`                          |    ✅             |    ✅     |    ✅    |    ✅   |    ✅       |    ✅         |    ✅     |    ✅       |    ✅         |    ✅         |    ✅             |    ✅                 |    ✅            |\n| `number`                        |    ✅             |    ✅     |    ✅    |    ✅   |    ✅       |    ✅         |    ✅     |    ✅       |    ✅         |    ✅         |    ✅             |    ✅                 |    ➖            |\n| `original_amount`               |    ✅             |    ✅     |    ✅    |    ✅   |    ➖       |    ✅         |    ✅     |    ✅       |    ✅         |    ✅         |    ✅             |    ✅                 |    ✅            |\n| `retention_amount`              |    ➖             |    ➖     |    ➖    |    ➖   |    ➖       |    ➖         |    ➖     |    ➖       |    ✅         |    ✅         |    ✅             |    ✅                 |    ✅            |\n| `retention_percent`             |    ➖             |    ➖     |    ➖    |    ✅   |    ✅       |    ✅         |    ✅     |    ✅       |    ✅         |    ✅         |    ✅             |    ✅                 |    ➖            |\n| `retention_type`                |    ➖             |    ➖     |    ➖    |    ➖   |    ➖       |    ➖         |    ➖     |    ➖       |    ➖         |    ➖         |    ✅             |    ➖                 |    ✅            |\n| `sent_date`                     |    ✅             |    ✅     |    ✅    |    ✅   |    ➖       |    ➖         |    ✅     |    ➖       |    ✅         |    ➖         |    ✅             |    ✅                 |    ✅            |\n| `start_date`                    |    ✅             |    ✅     |    ✅    |    ✅   |    ➖       |    ➖         |    ✅     |    ✅       |    ✅         |    ✅         |    ✅             |    ✅                 |    ✅            |\n| `status`                        |    ✅             |    ✅     |    ✅    |    ✅   |    ✅       |    ➖         |    ✅     |    ✅       |    ✅         |    ✅         |    ✅             |    ✅                 |    ✅            |\n| `tax_amount`                    |    ➖             |    ➖     |    ✅    |    ✅   |    ✅       |    ➖         |    ➖     |    ✅       |    ✅         |    ➖         |    ✅             |    ➖                 |    ✅            |\n| `type`                          |    ✅             |    ✅     |    ✅    |    ✅   |    ✅       |    ➖         |    ➖     |    ✅       |    ✅         |    ✅         |    ✅             |    ✅                 |    ✅            |\n| `vendor_id`                     |    ✅             |    ✅     |    ✅    |    ➖   |    ✅       |    ✅         |    ✅     |    ✅       |    ✅         |    ✅         |    ✅             |    ✅                 |    ✅            |\n| `source_create_time`            |    ✅             |    ✅     |    ✅    |    ✅   |    ➖       |    ➖         |    ✅     |    ✅       |    ➖         |    ✅         |    ✅             |    ➖                 |    ➖            |\n| `source_update_time`            |    ✅             |    ✅     |    ✅    |    ✅   |    ✅       |    ➖         |    ✅     |    ✅       |    ✅         |    ✅         |    ✅             |    ➖                 |    ➖            |\n\n✅ Supported and mapped <br/>\n🟡 Partially mapped, not exact match <br/>\n🔜 Launching soon <br/>\n➖ Not supported in source system\n"
    },
    {
      "name": "subcontract-claims",
      "x-displayName": "Subcontract Claims",
      "description": "A Subcontract Claim (aka Subcontractor Progress Claim, Subcontractor Claim, or Payable Progress Claim) is a request for partial or complete payment submitted by a business or individual who has entered into a binding agreement with another contracting party. \n\nCurrently supported by:\n- Procore (Subcontractor SOV)\n- Viewpoint Vista          \n\n\n| Field                                 | Procore         | Viewpoint Vista |\n|---------------------------------------|:---------------:|:---------------:|\n| `ap_invoice_number`                   |    ➖           |    ✅           |\n| `approval_amount`                     |    ✅           |    ✅           |\n| `approval_date`                       |    ✅           |    ✅           |\n| `approval_retention_amount`           |    ➖           |    ✅           |\n| `claim_amount`                        |    ✅           |    ✅           |\n| `claim_date`                          |    ➖           |    ✅           |\n| `claim_number`                        |    ➖           |    ✅           |\n| `contract`                            |    ✅           |    ✅           |\n| `description`                         |    ✅           |    ✅           |\n| `due_date`                            |    ➖           |    ✅           |\n| `line_items.approval_amount`          |    ✅           |    ✅           |\n| `line_items.approval_quantity`        |    ➖           |    ✅           |\n| `line_items.claim_amount`             |    ✅           |    ✅           |\n| `line_items.claim_quantity`           |    ➖           |    ✅           |\n| `line_items.change_order`             |    ➖           |    ✅           |\n| `line_items.contract`                 |    ✅           |    ✅           |\n| `line_items.description`              |    ✅           |    ✅           |\n| `line_items.subcontract_line_item_id` |    ✅           |    ✅           |\n| `line_items.tax_code_id`              |    ➖           |    ✅           |\n| `line_items.unit_cost`                |    ➖           |    ✅           |\n| `line_items.unit_of_measure`          |    ➖           |    ✅           |\n| `project_id`                          |    ✅           |    ✅           |\n| `status`                              |    ✅           |    ✅           |\n| `vendor_id`                           |    ✅           |    ✅           |\n| `source_create_time`                  |    ✅           |    ✅           |\n| `source_update_time`                  |    ✅           |    ✅           |\n"
    },
    {
      "name": "subcontract-compliances",
      "x-displayName": "Subcontract Compliances",
      "description": "A Subcontract Compliance is a requirement that a construction firm must follow when making a payment to a Vendor associated with a Subcontract.\n\nCurrently supported by:\n- CMiC\n- Viewpoint Spectrum (\"Document Tracking Items\")\n- Viewpoint Vista\n\n| Field                       | CMiC    | Viewpoint Spectrum | Viewpoint Vista    |\n|-----------------------------|:-------:|:------------------:|:------------------:|\n| `amount`                    |    ✅    |    ➖              |    ✅              |\n| `contract`                  |    ✅    |    ✅              |    ✅              |\n| `description`               |    ✅    |    ✅              |    ✅              |\n| `effective_date`            |    ✅    |    ✅              |    ➖              |\n| `expiration_date`           |    ✅    |    ✅              |    ✅              |\n| `policy_number`             |    ✅    |    ➖              |    ➖              |\n| `provider_name`             |    ✅    |    ➖              |    ➖              |\n| `vendor_id`                 |    ✅    |    ✅              |    ✅              |\n| `source_create_time`        |    ➖    |    ➖              |    ➖              |\n| `source_update_time`        |    ✅    |    ➖              |    ➖              |\n\n✅ Supported and mapped <br/>\n🟡 Partially mapped, not exact match <br/>\n🔜 Launching soon <br/>\n➖ Not supported in source system\n"
    },
    {
      "name": "sub-jobs",
      "x-displayName": "Sub Jobs",
      "description": "A Sub Job is used to compartmentalize job costs within a Project. \n\nCurrently supported by:\n- Acumatica (\"Project Tasks\")\n- ComputerEase (\"Phases\"; read only)\n- Foundation (\"Phases\")\n- Procore\n- Sage 100 Contractor (\"Phases\")\n- Sage 300 CRE (\"Extras\")\n\n| Field                      |   Acumatica    | Foundation    | Procore        | Sage 100 Contractor  | Sage 300 CRE  |\n|----------------------------|:--------------:|:-------------:|:--------------:|:--------------------:|:-------------:|\n| `code`                     |       ✅       |    ✅          |    ✅          |    ✅                |    ✅         |\n| `name`                     |       ✅       |    ✅          |    ✅          |    ✅                |    ✅         |\n| `project_id`               |       ✅       |    ✅          |    ✅          |    ✅                |    ✅         |\n| `source_create_time`       |       ➖       |    ➖          |    ✅          |    ➖                |    ➖         |\n| `source_update_time`       |       ➖       |    ✅          |    ✅          |    ✅                |    ✅         |\n\n✅ Supported and mapped <br/>\n🟡 Partially mapped, not exact match <br/>\n🔜 Launching soon <br/>\n➖ Not supported in source system\n"
    },
    {
      "name": "tax-codes",
      "x-displayName": "Tax Codes",
      "description": "A Tax Code indicates what jurisdiction a transaction is taxable by.\n\nCurrently supported by:\n- Acumatica (\"Taxes\")\n- CMiC\n- ComputerEase\n- Foundation\n- Procore\n- Sage 100 Contractor (\"Tax Districts\")\n- Sage 300 CRE (\"Tax Groups\")\n- Sage Intacct (\"Tax Details\")\n- ServiceTitan (\"Tax Zones\")\n- Viewpoint Spectrum\n- Viewpoint Vista\n\n| Field                       | Acumatica | CMiC |Foundation       | Procore   | Sage 100 C   | Sage 300 CRE | Sage Intacct| ServiceTitan | Viewpoint Spectrum | Viewpoint Vista |\n|-----------------------------|:---------:|:----:|:---------------:|:---------:|:------------:|:------------:|:------------:|:------------:|:------------------:|:---------------:|\n| `code`                      |      ✅    | ✅   |    ✅           |    ✅      |    ✅         |    ✅         |    ✅        |    ➖        |    ✅              |    ✅           |\n| `description`               |      ✅    | ✅   |    ✅           |    ✅      |    ✅         |    ✅         |    ✅        |    ✅        |    ✅              |    ✅           |\n| `total_rate`                |      ➖    | ✅   |    ✅           |    ✅      |    ✅         |    ✅         |    ✅        |    ✅        |    ✅              |    ✅           |\n| `type`                      |      ✅    | ➖   |    ✅           |    ➖      |    ➖         |    ➖         |    ✅        |    ✅        |    ✅              |    ➖           |\n| `source_create_time`        |      ✅    | ➖   |    ➖           |    ➖      |    ✅         |    ➖         |    ✅        |    ✅        |    ➖              |    ➖           |\n| `source_update_time`        |      ✅    | ➖   |    ✅           |    ➖      |    ✅         |    ✅         |    ✅        |    ✅        |    ➖              |    ➖           |\n\n✅ Supported and mapped <br/>\n🟡 Partially mapped, not exact match <br/>\n🔜 Launching soon <br/>\n➖ Not supported in source system\n"
    },
    {
      "name": "timecard-entries",
      "x-displayName": "Timecard Entries",
      "description": "A Timecard Entry is used to track employee or equipment hours on a Project site. \n    \nCurrently supported by:\n- CMiC (\"Timesheets\"; read only)\n- Foundation (read and write)\n- Procore (read only)\n- Quickbooks Desktop\n- QuickBooks Online\n- Sage 100 Contractor (\"Daily Payroll\"; read and write)\n- Sage Intacct (\"Timesheet Entries\")\n- ServiceTitan (\"Gross Pay Items\"; read only)\n- Viewpoint Spectrum\n- Viewpoint Vista\n    \n\n| Field                 | CMiC   | Foundation   | Procore   | QuickBooks Desktop | QuickBooks Online   | Sage 100 C   | Sage Intacct     |  ServiceTitan   | Viewpoint Spectrum   | Viewpoint Vista   |\n|-----------------------|:------:|:------------:|:----------:|:-----------------:|:-------------------:|:------------:|:------------------:|:---------------:|:---------------:|:-----------------------|\n| `asset_hours`         | ➖      | ➖          | ➖         | ➖                  | ➖                   | ➖            | ➖              | ➖              | ✅                    | ➖                 |\n| `asset_id`            | ➖      | ✅          | ➖         | ➖                  | ➖                   | ➖            | ➖              | ➖              | ✅                    | ✅                 |\n| `batch`               | ✅      | ➖          | ➖         | ➖                  | ➖                   | ➖            | ✅              | ➖              | ✅                    | ✅                 |\n| `cost_code_id`        | ✅      | ✅          | ✅         | ➖                  | ➖                   | ✅            | ✅              | ➖              | ✅                    | ✅                 |\n| `cost_type_id`        | ✅      | ✅          | ✅         | ➖                  | ➖                   | ✅            | ✅              | ➖              | ✅                    | ✅                 |\n| `date`                | ✅      | ✅          | ✅         | ✅                  | ✅                   | ✅            | ✅              | ✅              | ✅                    | ✅                 |\n| `description`         | ➖      | ✅          | ✅         | ✅                  | ✅                   | ✅            | ✅              | ➖              | ✅                    | ✅                 |\n| `earnings_type`       | ➖      | ✅          | ✅         | ➖                  | ➖                   | ✅            | ✅              | ✅              | ➖                    | ✅                 |\n| `hours`               | ✅      | ✅          | ✅         | ✅                  | ✅                   | ✅            | ✅              | ✅              | ✅                    | ✅                 |\n| `employee_id`         | ✅      | ✅          | ✅         | ✅                  | ✅                   | ✅            | ✅              | ✅              | ✅                    | ✅                 |\n| `end_time_of_day`     | ➖      | ✅          | ➖         | ➖                  | ✅                   | ➖            | ➖              | ✅              | ➖                    | ✅                 |\n| `payment_rate`        | ➖      | ✅          | ➖         | ➖                  | ➖                   | ✅            | ✅              | ➖              | ✅                    | ✅                 |\n| `project_id`          | ✅      | ✅          | ✅         | ✅                  | ➖                   | ✅            | ✅              | ➖              | ✅                    | ✅                 |\n| `start_time_of_day`   | ➖      | ✅          | ➖         | ➖                  | ✅                   | ➖            | ➖              | ✅              | ➖                    | ✅                 |\n| `status`              | ➖      | ✅          | ✅         | ✅                  | ➖                   | ✅            | ✅              | ✅              | ✅                    | ✅                 |\n| `type`                | ✅      | ✅          | ➖         | ➖                  | ➖                   | ➖            | ➖              | ✅              | ✅                    | ✅                 |\n\n✅ Supported and mapped <br/>\n🟡 Partially mapped, not exact match <br/>\n🔜 Launching soon <br/>\n➖ Not supported in source system\n"
    },
    {
      "name": "wbs",
      "x-displayName": "WBS",
      "description": "A Work Breakdown Structure (WBS) is a combination of multiple classifications (i.e. WBS Segments; e.g. Cost Codes, Cost Types) to inform what task is being done on a Project in a predictable manner. \n\nA WBS generally answers the following: \n  1) What is the category for the work? \n  2) To what is the work being done?, \n  3) Where is the work being done?, and \n  4) Who is the work being done by?\n\nCurrently supported by:\n- Autodesk Build (read only)\n- BIM 360 (read only)\n- Procore (read and write)\n\n| Field                       | Autodesk Build  | BIM 360  | Procore  |\n|-----------------------------|:---------------:|:-------:|:--------:|\n| `code`                      |    ✅           |    ✅    |    ✅    |\n| `name`                      |    ✅           |    ✅    |    ✅    |\n| `source_create_time`        |    ➖           |    ➖    |    ✅    |\n| `source_update_time`        |    ➖           |    ➖    |    ✅    |\n\n✅ Supported and mapped <br/>\n🟡 Partially mapped, not exact match <br/>\n🔜 Launching soon <br/>\n➖ Not supported in source system\n"
    },
    {
      "name": "wbs-segments",
      "x-displayName": "WBS Segments",
      "description": "A WBS Segment is a type of classification (e.g. Cost Code, Cost Type, Project). One or more WBS Segments form a WBS.\n\nCurrently supported by:\n- Autodesk Build\n- BIM 360\n- Procore\n\n| Field                       | Autodesk Build  | BIM 360  | Procore  |\n|-----------------------------|:---------------:|:-------:|:--------:|\n| `delimiter`                 |    ✅           |    ✅    |    🔜    |\n| `name`                      |    ✅           |    ✅    |    🔜    |\n| `position`                  |    ✅           |    ✅    |    🔜    |\n| `type`                      |    ✅           |    ✅    |    🔜    |\n| `source_create_time`        |    ✅           |    ✅    |    🔜    |\n| `source_update_time`        |    ✅           |    ✅    |    🔜    |\n\n✅ Supported and mapped <br/>\n🟡 Partially mapped, not exact match <br/>\n🔜 Launching soon <br/>\n➖ Not supported in source system\n"
    },
    {
      "name": "wbs-segment-items",
      "x-displayName": "WBS Segment Items",
      "description": "A WBS Segment Item is a value for a Segment (e.g. \"00.30.00\" for a Cost Code, \"L\" for a Cost Type). \n\nCurrently supported by:\n- Autodesk Build\n- BIM 360\n- Procore\n\n| Field                       | Autodesk Build  | BIM 360  | Procore  |\n|-----------------------------|:---------------:|:-------:|:--------:|\n| `code`                      |    ✅           |    ✅    |    🔜    |\n| `name`                      |    ✅           |    ✅    |    🔜    |\n| `parent_id`                 |    ✅           |    ✅    |    🔜    |\n| `segment_id`                |    ✅           |    ✅    |    🔜    |\n| `source_create_time`        |    ✅           |    ✅    |    🔜    |\n| `source_update_time`        |    ✅           |    ✅    |    🔜    |\n\n✅ Supported and mapped <br/>\n🟡 Partially mapped, not exact match <br/>\n🔜 Launching soon <br/>\n➖ Not supported in source system\n"
    },
    {
      "name": "work-orders",
      "x-displayName": "Work Orders",
      "description": "A Work Order is a document that describes how maintenance work will be performed.      \n\nCurrently supported by:\n- Sage 100 Contractor (read and write)\n- Viewpoint Spectrum (read and write)\n- Viewpoint Vista (read and write)\n\n| Field                       | Sage 100C | Viewpoint Spectrum | Viewpoint Vista |\n|-----------------------------|:---------:|:------------------:|:---------------:|\n| `contact_name`              |     ✅     |        ➖           |        ✅       |\n| `contact_phone`             |     ✅     |        ✅           |        ✅       |\n| `customer_id`               |     ✅     |        ✅           |        ✅       |\n| `description`               |     ✅     |        ✅           |        ✅       |\n| `order_date`                |     ✅     |        ✅           |        ✅       |\n| `project_id`                |     ✅     |        ✅           |        ✅       |\n| `request_date`              |     ➖     |        ✅           |        ✅       |\n| `request_time_of_day`       |     ➖     |        ✅           |        ✅       |\n| `scheduled_date`            |     ✅     |        🔜           |        🔜       |\n| `service_area_id`           |     ✅     |        ✅           |        🔜       |\n| `service_site_id`           |     ✅     |        ✅           |        🔜       |\n| `status`                    |     ✅     |        ✅           |        ✅       |\n| `technician_employee_id`    |     ✅     |        ✅           |        ✅       |\n| `type`                      |     ✅     |        ✅           |        ✅       |\n| `source_create_time`        |     ✅     |        ➖           |        ➖       |\n| `source_update_time`        |     ✅     |        ➖           |        ➖       |\n\n✅ Supported and mapped <br/>\n🟡 Partially mapped, not exact match <br/>\n🔜 Launching soon <br/>\n➖ Not supported in source system\n"
    },
    {
      "name": "checklists",
      "x-displayName": "Checklists",
      "description": "A Checklist is a list of items that a site in-charge must verify, check, and inspect to ensure the systematic progress of a project. They are typically based on templates.\n\nCurrently supported by:\n- BIM 360 (read only)\n\n| Field Name           | BIM 360 |\n|----------------------|:-------:|\n| `assignee_ids`       |    ✅    |\n| `complete_date`      |    ✅    |\n| `creator_id`         |    ✅    |\n| `due_date`           |    ✅    |\n| `location_id`        |    ✅    |\n| `name`               |    ✅    |\n| `number`             |    ✅    |\n| `status`             |    ✅    |\n| `template_id`        |    ✅    |\n| `updater_id`         |    ✅    |\n| `source_create_time` |    ✅    |\n| `source_update_time` |    ✅    |\n\n✅ Supported and mapped <br/>\n🟡 Partially mapped, not exact match <br/>\n🔜 Launching soon <br/>\n➖ Not supported in source system\n"
    },
    {
      "name": "checklist-templates",
      "x-displayName": "Checklist Templates",
      "description": "A Checklist Template is a pre-defined list of items that need to be completed.\n\nCurrently supported by:\n- BIM 360 (read only)\n\n| Field                 | BIM 360 |\n|-----------------------|:-------:|\n| `title`               |    ✅    |\n| `type`                |    ✅    |\n| `source_create_time`  |    ✅    |\n| `source_update_time`  |    ✅    |\n\n✅ Supported and mapped <br/>\n🟡 Partially mapped, not exact match <br/>\n🔜 Launching soon <br/>\n➖ Not supported in source system\n"
    },
    {
      "name": "contacts",
      "x-displayName": "Contacts",
      "description": "A Contact is a person (e.g. a user) in a Vendor, Company, or Organization's directory. A Contact can include users within and outside a directory.\n\nCurrently supported by:\n- Aconex (read only)\n- Autodesk Build (read only)\n- BIM 360 (read only)\n- BIM Track (read only)\n- CMiC (read only)\n- CompanyCam (read only)\n- HubSpot (read and write)\n- Pipedrive (\"Persons\"; read only)\n- Procore (read only)\n- Sage 100C (\"Customer Contacts\" only; read and write)\n- Sage 300 CRE (read Company, Project, and Customer Contacts; write Customer Contacts)\n- Viewpoint Spectrum (read only)\n- Viewpoint Vista (\"HQ Contacts\"; read only)\n\n| Field                       | Aconex | Autodesk Build | BIM 360 | BIM Track | CMiC    | CompanyCam | Procore | Sage 100C    | Sage 300 CRE | Viewpoint Spectrum | Viewpoint Vista |\n|-----------------------------|:-------:|:-------------:|:-------:|:--------:|:-------:|:----------:|:--------:|:------------:|:------------:|:------------------:|:---------------:|\n| `address`                   |    ✅    |    ✅        |    ✅    |    ➖   |    ✅    |    ➖       |    ✅    |    ✅         |    ✅        |    ✅               |    ✅           |\n| `email`                     |    ✅    |    ✅        |    ✅    |    ✅   |    ✅    |    ✅       |    ✅    |    ✅         |    ✅        |    ✅               |    ✅           |\n| `first_name`                |    ➖    |    ✅        |    ✅    |    ✅   |    ✅    |    ✅       |    ✅    |    ✅         |    ➖        |    ✅               |    ✅           |\n| `full_name`                 |    ✅    |    ✅        |    ✅    |    ✅   |    ✅    |    ✅       |    ✅    |    ✅         |    ✅        |    ✅               |    ✅           |\n| `image_url`                 |    ➖    |    ✅        |    ✅    |    ✅   |    ➖    |    ✅       |    ✅    |    ✅         |    ➖        |    ✅               |    ✅           |\n| `job_title`                 |    ✅    |    ✅        |    ✅    |    ➖   |    ✅    |    ➖       |    ✅    |    ✅         |    ✅        |    ✅               |    ✅           |\n| `last_name`                 |    ➖    |    ✅        |    ✅    |    ✅   |    ✅    |    ✅       |    ✅    |    ✅         |    ➖        |    ✅               |    ✅           |\n| 'mobile_phone_number'       |    ✅    |    ✅        |    ✅    |    ➖   |    ✅    |    ➖       |    ✅    |    ✅         |    ✅        |    ✅               |    ✅           |\n| `phone_number`              |    ➖    |    ✅        |    ✅    |    ✅   |    ✅    |    ✅       |    ✅    |    ✅         |    ✅        |    ✅               |    ✅           |\n| `vendor_id`                 |    ✅    |    ✅        |    ✅    |    ➖   |    ✅    |    ➖       |    ✅    |    ✅         |    ➖        |    ➖               |    ✅           |\n| `source_create_time`        |    ✅    |    ➖        |    ➖    |    ➖   |    ➖    |    ✅       |    ✅    |    ✅         |    ➖        |    ➖               |    ➖           |\n| `source_update_time`        |    ✅    |    ➖        |    ➖    |    ➖   |    ➖    |    ✅       |    ✅    |    ✅         |    ✅        |    ➖               |    ➖           |\n\n✅ Supported and mapped <br/>\n🟡 Partially mapped, not exact match <br/>\n🔜 Launching soon <br/>\n➖ Not supported in source system\n"
    },
    {
      "name": "coordination-issues",
      "x-displayName": "Coordination Issues",
      "description": "A Coordination Issue is used for tracking potential questions or problems related to design coordination. \nCoordination Issues are typically used for communicating a snapshot of a problem related to a design model for others that may not have access to the model itself.\n\nCurrently supported by:\n- BIM 360 Field (read and write)\n- BIM Track (read and write)\n- Procore (read and write)\n\n| Field                       |BIM 360 Field | BIM Track| Procore|\n|-----------------------------|:--------:|:--------:|:---------:|\n| `assignee_id`               |    ➖    |    ✅    |    ✅    |\n| `attachments`               |    ➖    |    ✅    |    ✅    |\n| `creator_id`                |    ➖    |    ✅    |    ✅    |\n| `description`               |    ✅    |    ✅    |    ✅    |\n| `due_date`                  |    ✅    |    ✅    |    ✅    |\n| `status`                    |    ✅    |    ✅    |    ✅    |\n| `title`                     |    ➖    |    ✅    |    ✅    |\n| `type`                      |    ✅    |    ✅    |    ✅    |\n| `viewpoints`                |    ➖    |    ✅    |    ✅    |\n| `source_create_time`        |    ✅    |    ✅    |    ✅    |\n| `source_update_time`        |    ✅    |    ✅    |    ✅    |\n\n✅ Supported and mapped <br/>\n🟡 Partially mapped, not exact match <br/>\n🔜 Launching soon <br/>\n➖ Not supported in source system\n"
    },
    {
      "name": "drawings",
      "x-displayName": "Drawings",
      "description": "A Drawing is a graphical and technical representations of work to perform on a Construction Project.\nDrawings can also be referred to as Sheets (e.g. in PlanGrid, Fieldwire, BIM Track).\n  \nCurrently supported by:\n- Aconex (A type of Documents, read only)\n- Autodesk Build (Sheets; read only)\n- BIM 360 (Sheets; read only)\n- PlanGrid (Sheets; read only)\n- Procore (read only)\n  \n| Field                | Aconex | BIM 360 | PlanGrid | Procore |\n|----------------------|:------:|:--------:|:--------:|:---------:|\n| `creator_id`         |    ✅   |    ✅    |    ✅    |    ➖     |\n| `discipline`         |    ✅   |    ✅    |    ✅    |    ✅     |\n| `drawing_area`       |    ➖   |    ➖    |    ➖    |    ✅     |\n| `drawing_version_id` |    ➖   |    ✅    |    ✅    |    ✅     |\n| `filename`           |    ✅   |    ✅    |    ✅    |    ➖     |\n| `file_url`           |    ✅   |    ✅    |    ✅    |    ✅     |\n| `name`               |    ✅   |    ✅    |    ✅    |    ✅     |\n| `number`             |    ✅   |    ➖    |    ➖    |    ✅     |\n| `url`                |    ✅   |    ✅    |    ✅    |    ✅     |\n| `version`            |    ✅   |    ✅    |    ✅    |    ✅     |\n| `source_create_time` |    ✅   |    ✅    |    ✅    |    ➖     |\n| `source_update_time` |    ✅   |    ✅    |    ➖    |    ➖     |\n\n✅ Supported and mapped <br/>\n🟡 Partially mapped, not exact match <br/>\n🔜 Launching soon <br/>\n➖ Not supported in source system\n"
    },
    {
      "name": "drawing-versions",
      "x-displayName": "Drawing Versions",
      "description": "A Drawing Version is a current or past version of a Drawing.\nA Drawing Version can also referred be to as a Sheet Version, Upload, or Revision (e.g. in PlanGrid, Fieldwire, BIM Track).\n  \nCurrently supported by:\n- Aconex\n- PlanGrid\n- Procore\n\n| Field                | Aconex  | PlanGrid | Procore |\n|----------------------|:-------:|:--------:|:--------:|\n| `creator_id`         |    ✅    |    ✅    |     ➖   |\n| `drawing_id`         |    ✅    |    ✅    |     ✅   |\n| `drawing_name`       |    ✅    |    ✅    |     ✅   |\n| `file_url`           |    ✅    |    ✅    |     ✅   |\n| `filename`           |    ➖    |    ✅    |     ➖   |\n| `name`               |    ✅    |    ✅    |     ✅   |\n| `file_url`           |    ✅    |    ✅    |     ✅   |\n| `source_create_time` |    ✅    |    ✅    |     ✅   |\n| `source_update_time` |    ➖    |    ➖    |     ✅   |\n\n✅ Supported and mapped <br/>\n🟡 Partially mapped, not exact match <br/>\n🔜 Launching soon <br/>\n➖ Not supported in source system\n"
    },
    {
      "name": "issues",
      "x-displayName": "Issues",
      "description": "An Issue is used by teams to identify and communicate areas of concern or improvement with project documents or models.\n\nCurrently supported by:\n- BIM 360 (read)\n\n| Field                 | BIM 360 |\n|-----------------------|:-------:|\n| `assignee_ids`        |    ✅    |\n| `closer_id`           |    ✅    |\n| `close_time`          |    ✅    |\n| `creator_id`          |    ✅    |\n| `description`         |    ✅    |\n| `due_date`            |    ✅    |\n| `location`            |    ✅    |\n| `name`                |    ✅    |\n| `number`              |    ✅    |\n| `priority`            |    ➖    |\n| `root_cause`          |    ✅    |\n| `root_cause_category` |    ✅    |\n| `status`              |    ✅    |\n| `subtype`             |    ✅    |\n| `type`                |    ✅    |\n| `updater_id`          |    ✅    |\n| `source_create_time`  |    ✅    |\n| `source_update_time`  |    ✅    |\n\n✅ Supported and mapped <br/>\n🟡 Partially mapped, not exact match <br/>\n🔜 Launching soon <br/>\n➖ Not supported in source system\n"
    },
    {
      "name": "locations",
      "x-displayName": "Locations",
      "description": "A Location represents the structure or layout of a Construction Project. Locations are formatted in a hierarchical data structure known as the Location Breakdown Structure (LBS).\n\nCurrently supported by:\n- Autodesk Build\n- BIM 360\n- Procore\n\n| Field                | BIM 360 | Procore |\n|----------------------|:-------:|:--------:|\n| `name`               |    ✅    |     ✅    |\n| `parent_id`          |    ✅    |     ✅    |\n| `path`               |    ✅    |     ✅    |\n| `source_create_time` |    ➖    |     ✅    |\n| `source_update_time` |    ➖    |     ✅    |\n\n✅ Supported and mapped <br/>\n🟡 Partially mapped, not exact match <br/>\n🔜 Launching soon <br/>\n➖ Not supported in source system\n"
    },
    {
      "name": "observations",
      "x-displayName": "Observations",
      "description": "An Observation is an area of concern relating to safety, quality, work to complete, commissioning, or warranty identified on a Construction Project site.  \n\nCurrently supported by:\n- Procore\n\n| Field                 | Procore |\n|-----------------------|:--------:|\n| `assignee_ids`        |     ✅    |\n| `attachments`         |     ✅    |\n| `creator_id`          |     ✅    |\n| `description`         |     ✅    |\n| `due_date`            |     ✅    |\n| `location_description |     ➖    |\n| `location_id`         |     ✅    |\n| `name`                |     ✅    |\n| `number`              |     ✅    |\n| `root_cause`          |     ✅    |\n| `status`              |     ✅    |\n| `type`                |     ✅    |\n| `source_close_time`   |     ✅    |\n| `source_create_time`  |     ✅    |\n| `source_update_time`  |     ✅    |\n\n✅ Supported and mapped <br/>\n🟡 Partially mapped, not exact match <br/>\n🔜 Launching soon <br/>\n➖ Not supported in source system\n"
    },
    {
      "name": "projects",
      "x-displayName": "Projects",
      "description": "A Construction Project is the organized process of constructing or renovating a building, structure, or infrastructure.\n\nCurrently supported by:\n- Aconex (read only)\n- Acumatica (read and write)\n- Autodesk Build (read and create)\n- BIM 360 (read only)\n- BIM 360 Field (read only)\n- BIM Track (read only)\n- COINS (read only)\n- ComputerEase (\"Jobs\"; read only)\n- CSSP Cheops (read only)\n- CMiC (\"JC Jobs\"; read and write)\n- CompanyCam (read only)\n- Fieldwire (read only)\n- Foundation (read and write)\n- HCSS HeavyJob (read and write)\n- InEight (read and write)\n- Jonas Premier (\"Jobs\"; read only)\n- PlanGrid (read only)\n- Primavera Cloud (read only)\n- Procore (read and write)\n- Sage 100 Contractor (\"Jobs\"; read and write)\n- Sage 300 CRE (\"Jobs\"; read and write)\n- Sage Intacct (read only)\n- Viewpoint Jobpac (\"Jobs\"; read and create)\n- Viewpoint Spectrum (\"Jobs\"; read and write)\n- Viewpoint Vista (\"Jobs\"; read and write)\n\n| Field                | Aconex  |   Acumatica  | Autodesk Build | BIM 360 |BIM 360 Field| BIM Track|  COINS   |CompanyCam | Fieldwire|  HCSS HeavyJob  |  InEight |PlanGrid | Procore | Sage Intacct | Viewpoint Jobpac | Viewpoint Spectrum | Viewpoint Vista |\n|----------------------|:-------:|:------------:|:-------------:|:-------:|:-----------:|:--------:|:---------:|:---------:|:---------:|:--------------:|:---------:|:---------:|:-------:|:------------:|:----------------:|:------------------:|:---------------:|\n| `address`            |    ✅    |      ✅       |   ✅         |   ✅    |     ➖     |    ➖    |      ✅    |     ✅    |     ✅  |       ✅      |   ✅        |   ✅        |    ✅    |    ✅       |    ✅             |    ✅              |    ✅          |\n| `amount`             |    ✅    |      ✅       |   ✅         |   ✅    |     ✅     |    ➖    |      ➖    |     ➖    |     ➖  |       ➖      |   ➖        |   ➖        |    ✅    |    ✅       |    ✅             |    ✅              |    ➖          |\n| `completion_date`    |    ✅    |      ✅       |   ✅         |   ✅    |     ➖     |    ➖    |      ✅    |     ➖    |     ➖  |       ➖      |   ✅        |   ✅        |    ✅    |    ✅       |    ➖             |    ✅              |    ➖          |\n| `description`        |    ✅    |      ✅       |   ➖         |   ➖    |     ➖     |    ➖    |      ✅    |     ➖    |     ➖  |       ✅      |   ✅        |   ✅        |    ✅    |    ✅       |    ➖             |    ✅              |    ➖          |\n| `logo_url`           |    ✅    |      ➖       |   ➖         |   ➖    |     ➖     |    ➖    |      ➖    |     ✅    |     ✅  |       ➖      |   ➖        |   ➖        |    ✅    |    ➖       |    ➖             |    ✅              |    ➖          |\n| `name`               |    ✅    |      ✅       |   ✅         |   ✅    |     ✅     |    ✅    |      ✅    |     ➖    |     ✅  |       ✅      |   ✅        |   ✅        |    ✅    |    ✅       |    ✅             |    ✅              |    ✅          |\n| `number`             |    ✅    |      ✅       |   ✅         |   ✅    |     ➖     |    ➖    |      ✅    |     ✅    |     ✅  |       ✅      |   ✅        |   ✅        |    ✅    |    ✅       |    ➖             |    ✅              |    ✅          |\n| `start_date`         |    ✅    |      ✅       |   ✅         |   ✅    |     ➖     |    ➖    |      ✅    |     ➖    |     ➖  |       ➖      |   ✅        |   ✅        |    ✅    |    ✅       |    ✅             |    ✅              |    ➖          |\n| `status`             |    ➖    |      ✅       |   ✅         |   ✅    |     ✅     |    ➖    |      ✅    |     ✅    |     ➖  |       ✅      |   ✅        |   ✅        |    ✅    |    ✅       |    ✅             |    ✅              |    ✅          |\n| `type`               |    ➖    |      ➖       |   ✅         |   ✅    |     ➖     |    ➖    |      ✅    |     ✅    |     ➖  |       ➖      |   ➖        |   ✅        |    ✅    |    ✅       |    ✅             |    ➖              |    ➖          |\n| `source_create_time` |    ✅    |      ➖       |   ✅         |   ✅    |     ➖     |    ✅    |      ✅    |     ✅    |     ✅  |       ➖      |   ➖        |   ➖        |    ✅    |    ✅       |    ➖             |    ✅              |    ➖          |\n| `source_update_time` |    ➖    |      ✅       |   ✅         |   ✅    |     ➖     |    ➖    |      ✅    |     ✅    |     ✅  |       ➖      |   ➖        |   ➖        |    ✅    |    ✅       |    ➖             |    ➖              |    ➖          |\n    \n✅ Supported and mapped <br/>\n🟡 Partially mapped, not exact match <br/>\n🔜 Launching soon <br/>\n➖ Not supported in source system\n"
    },
    {
      "name": "rfis",
      "x-displayName": "RFIs",
      "description": "A Request for Information (RFI) is a business process initiated by a Contractor (for example a General Contractor, Subcontractor, or Supplier) \nto request information or raise concerns that must be formally answered by that Contractor's Client or the Project's Architect. \n\nCurrently supported by:\n- Autodesk Build (read only)\n- BIM 360 (read only)\n- Procore (read and write)\n\n| Field                | Autodesk Build | BIM 360 | Procore |\n|----------------------|:--------------:|:---------:|:------------:|\n| `assignee_id`        |    ✅          |    ✅    |      ✅      |\n| `cost_impact`        |    ✅          |    ✅    |      ✅      |\n| `creator_id`         |    ✅          |    ✅    |      ✅      |\n| `due_date`           |    ✅          |    ✅    |      ✅      |\n| `number`             |    ✅          |    ✅    |      ✅      |\n| `project_id`         |    ✅          |    ✅    |      ✅      |\n| `question`           |    ✅          |    ✅    |      ✅      |\n| `status`             |    ✅          |    ✅    |      ✅      |\n| `title`              |    ✅          |    ✅    |      ✅      |\n| `source_create_time` |    ✅          |   ✅     |      ✅      |\n| `source_update_time` |    ✅          |    ✅    |      ✅      |\n\n✅ Supported and mapped <br/>\n🟡 Partially mapped, not exact match <br/>\n🔜 Launching soon <br/>\n➖ Not supported in source system\n"
    },
    {
      "name": "specification-sections",
      "x-displayName": "Specification Sections",
      "description": "A Specification Section is a document written by a Design team or Architect that provides a detailed description and standards of workmanship for a specific contractual requirement. \n\nCurrently supported by:\n  - Procore\n  \n| Field                | Aconex | Procore |\n|----------------------|:-------:|:--------:|\n| `name`               |    🔜    |     ✅    |\n| `number`             |    🔜    |     ✅    |\n| `url`                |    🔜    |     ✅    |\n| `source_create_time` |    🔜    |     ✅    |\n| `source_update_time` |    🔜    |     ✅    |\n\n✅ Supported and mapped <br/>\n🟡 Partially mapped, not exact match <br/>\n🔜 Launching soon <br/>\n➖ Not supported in source system\n"
    },
    {
      "name": "specification-section-versions",
      "x-displayName": "Specification Section Versions",
      "description": "A Specification Section Version is a current or past version of a Specification Section.\n\nCurrently supported by:\n  - Procore\n  \n| Field                | Aconex | Procore |\n|----------------------|:-------:|:--------:|\n| `name`               |    🔜    |     ✅    |\n| `number`             |    🔜    |     ✅    |\n| `section_id`         |    🔜    |     ✅    |\n| `section_name`       |    🔜    |     ✅    |\n| `url`                |    🔜    |     ✅    |\n| `source_create_time` |    🔜    |     ✅    |\n| `source_update_time` |    🔜    |     ✅    |\n\n✅ Supported and mapped <br/>\n🟡 Partially mapped, not exact match <br/>\n🔜 Launching soon <br/>\n➖ Not supported in source system\n"
    },
    {
      "name": "submittals",
      "x-displayName": "Submittals",
      "description": "A Submittal is a document, sample, or other info that must be delivered to the Design team \n(e.g. Architects, Engineers) before work starts on a Construction Project. Submittals are required primarily for the Design team to verify that the correct \nproducts and quantities will be installed on the project in compliance with \ndesign and contract documents.\n\nCurrently supported by:\n- Procore\n\nSupported fields in each Source System:\n\n| Field                      | Fieldwire| PlanGrid | Procore    |\n|----------------------------|:--------:|:--------:|:----------:|\n| `attachments`              |    🔜    |     🔜    |     ✅     |\n| `creator_id`               |    🔜    |     🔜    |     ✅     |\n| `description`              |    🔜    |     🔜    |     ✅     |\n| `name`                     |    🔜    |     🔜    |     ✅     |\n| `number`                   |    🔜    |     🔜    |     ✅     |\n| `package_id`               |    🔜    |     🔜    |     ✅     |\n| `reviewers`                |    🔜    |     🔜    |     ✅     |\n| `reviewers.due_date`       |    🔜    |     🔜    |     ✅     |\n| `reviewers.review_status`  |    🔜    |     🔜    |     ✅     |\n| `reviewers.role`           |    🔜    |     🔜    |     ✅     |\n| `specification_section_id` |    🔜    |     🔜    |     ✅     |\n| `status`                   |    🔜    |     🔜    |     ✅     |\n| `submitter_id`             |    🔜    |     🔜    |     ✅     |\n| `type`                     |    🔜    |     🔜    |     ✅     |\n| `watchers`                 |    🔜    |     🔜    |     ✅     |\n| `source_create_time`       |    🔜    |     🔜    |     ✅     |\n| `source_update_time`       |    🔜    |     🔜    |     ✅     |\n\n✅ Supported and mapped <br/>\n🟡 Partially mapped, not exact match <br/>\n🔜 Launching soon <br/>\n➖ Not supported in source system\n"
    },
    {
      "name": "submittal-packages",
      "x-displayName": "Submittal Packages",
      "description": "A Submittal Package is a container that stores one or more Submittals. \nTypically, a Submittal Manager (e.g. a Project Manager at General Contractor) \ncreates Submittal Packages that list all of the individual Submittals specific \nto a particular Trade or Subcontractor.   \n\nCurrently supported by:\n- Procore\n\n| Field                      | Fieldwire| PlanGrid | Procore    |\n|----------------------------|:--------:|:--------:|:----------:|\n| `creator_id`               |    🔜    |     🔜    |     ✅     |\n| `description`              |    🔜    |     🔜    |     ✅     |\n| `name`                     |    🔜    |     🔜    |     ✅     |\n| `number`                   |    🔜    |     🔜    |     ✅     |\n| `submittal_ids`            |    🔜    |     🔜    |     ✅     |\n| `source_create_time`       |    🔜    |     🔜    |     ➖     |\n| `source_update_time`       |    🔜    |     🔜    |     ➖     |\n\n✅ Supported and mapped <br/>\n🟡 Partially mapped, not exact match <br/>\n🔜 Launching soon <br/>\n➖ Not supported in source system\n"
    },
    {
      "name": "transmittals",
      "x-displayName": "Transmittals",
      "description": "A transmittal (aka “letter of transmittal”) is a document that shows when items (e.g. files, documents, samples) were sent and provides proof that they were sent.\n\nCurrently supported by:\n- Aconex\n\n| Field                      | Aconex   | Procore |\n|----------------------------|:--------:|:--------:|\n| `creator_id`               |    ✅    |     🔜    |\n| `drawing_ids`              |    ✅    |     🔜    |\n| `due_date`                 |    ✅    |     🔜    |\n| `file_ids`                 |    ✅    |     🔜    |\n| `issue_reasons`            |    ✅    |     🔜    |\n| `number`                   |    ✅    |     🔜    |\n| `recipients`               |    ✅    |     🔜    |\n| `required_actions`         |    ✅    |     🔜    |\n| `sent_date`                |    ✅    |     🔜    |\n| `status`                   |    ✅    |     🔜    |\n| `subject`                  |    ✅    |     🔜    |\n| `source_create_time`       |    ✅    |     🔜    |\n| `source_update_time`       |    ✅    |     🔜    |\n\n✅ Supported and mapped <br/>\n🟡 Partially mapped, not exact match <br/>\n🔜 Launching soon <br/>\n➖ Not supported in source system\n"
    },
    {
      "name": "vendors",
      "x-displayName": "Vendors",
      "description": "A Vendor is a person or organization that sells goods and/or services to a Company.\nA Vendor can also be referred to as a Company (e.g. in BIM 360), Organization (e.g. in Aconex), or Creditor (e.g. in Viewpoint Jobpac).\n\nCurrently supported by:\n  - Autodesk Build (Companies; read and write)\n  - Acumatica (read only)\n  - BIM 360 (Companies; read and write)\n  - CMiC (AP Vendors; read and write)\n  - COINS (Suppliers; read only)     \n  - ComputerEase (read only)   \n  - CSSP Cheops (read only)\n  - Foundation (read only)\n  - InEight (read and write)\n  - Jonas Premier (read only)\n  - Procore (read and write)\n  - QuickBooks Desktop (read and write)\n  - QuickBooks Online (read and write)\n  - Sage 100 Contractor (read only)\n  - Sage 300 CRE (read and write)\n  - Sage Intacct (read only)\n  - ServiceTitan (read and write)\n  - Viewpoint Jobpac (Creditors; read only)\n  - Viewpoint Spectrum (AP Vendors; read and write)\n  - Viewpoint Vista (AP Vendors; read and write)\n\n| Field                   | Aconex  | Acumatica  | Autodesk Build    | BIM 360    | COINS     |   CMiC     | Jonas Premier  | Procore    | QuickBooks Desktop   |QuickBooks Online | Sage 100 C   | Sage Intacct   | ServiceTitan  | Viewpoint Jobpac  | Viewpoint Spectrum  | Viewpoint Vista |\n|-------------------------|:-------:|:----------:|:-----------------:|:---------:|:----------:|:----------:|:--------------:|:----------:|:-------------------:|:-----------------:|:------------:|:-------------:|:-------------:|:----------------:|:------------------:|:---------------:|\n| `address`               |    ✅    |     ✅     |     ✅           |     ✅     |      ✅     |     ✅     |     ✅          |     ✅     |     ✅               |     ✅            |     ✅       |     ✅         |     ✅         |     ✅            |     ✅              |     ✅          |\n| `alternate_name`        |    ✅    |     ➖     |     ➖           |     ➖     |      ✅     |     ✅     |     ✅          |     ✅     |     ✅               |     ✅            |     ✅       |     ✅         |     ➖         |     ✅            |     ✅              |     ➖          |\n| `code`                  |    ➖    |     ➖     |     ➖           |     ➖     |      ✅     |     ➖     |     ➖          |     ➖     |     ➖               |     ➖            |     ➖       |     ➖         |     ➖         |     ➖            |     ➖              |     ➖          |\n| `email`                 |    ✅    |     ✅     |     ➖           |     ➖     |      ✅     |     ✅     |     ✅          |     ✅     |     ✅               |     ✅            |     ✅       |     ✅         |     ✅         |     ✅            |     ✅              |     ✅          |\n| `fax`                   |    ✅    |     ✅     |     ➖           |     ➖     |      ✅     |     ✅     |     ➖          |     ✅     |     ✅               |     ✅            |     ✅       |     ✅         |     ✅         |     ✅            |     ✅              |     ✅          |\n| `name`                  |    ✅    |     ✅     |     ✅           |     ✅     |      ✅     |     ✅     |     ✅          |     ✅     |     ✅               |     ✅            |     ✅       |     ✅         |     ✅         |     ✅            |     ✅              |     ✅          |\n| `phone`                 |    ✅    |     ✅     |     ✅           |     ✅     |      ✅     |     ✅     |     ✅          |     ✅     |     ✅               |     ✅            |     ✅       |     ✅         |     ✅         |     ✅            |     ✅              |     ✅          |\n| `status`                |    ➖    |     ✅     |     ✅           |     ✅     |      ✅     |     ✅     |     ➖          |     ✅     |     ✅               |     ✅            |     ✅       |     ✅         |     ✅         |     ✅            |     ➖              |     ✅          |\n| `tax_number`            |    ✅    |     ➖     |     ✅           |     ✅     |      ➖     |     ✅     |     ✅          |     ✅     |     ✅               |     ✅            |     ✅       |     ✅         |     ➖         |     ✅            |     ✅              |     ✅          |\n| `terms`                 |    ➖    |     ➖     |     ➖           |     ➖     |      ✅     |     ➖     |     ➖          |     ➖     |     ➖               |     ➖            |     ➖       |     ➖         |     ➖         |     ➖            |     ➖              |     ➖          |\n| `website`               |    ✅    |     ✅     |     ✅           |     ✅     |      ➖     |     ✅     |     ➖          |     ✅     |     ➖               |     ✅            |     ➖       |     ✅         |     ➖         |     ➖            |     ✅              |     ✅          |\n| `source_create_time`    |    ➖    |     ✅     |     ✅           |     ✅     |      ✅     |     ✅     |     ✅          |     ✅     |     ✅               |     ➖            |     ✅       |     ✅         |     ✅         |     ➖            |     ➖              |     ➖          |\n| `source_update_time`    |    ➖    |     ✅     |     ✅           |     ✅     |      ✅     |     ✅     |     ✅          |     ✅     |     ✅               |     ➖            |     ➖       |     ✅         |     ✅         |     ✅            |     ➖              |     ➖          |\n\n✅ Supported and mapped <br/>\n🟡 Partially mapped, not exact match <br/>\n🔜 Launching soon <br/>\n➖ Not supported in source system\n"
    },
    {
      "name": "vendor-compliances",
      "x-displayName": "Vendor Compliances",
      "description": "A Vendor Compliance is a requirement that a construction firm must follow when making a payment to a Vendor.\n\nCurrently supported by:\n- CMiC\n- Procore (\"Insurances\"; Company and Project-Level)\n- Viewpoint Spectrum (\"Document Tracking Items\")\n- Viewpoint Vista\n\n| Field                       | CMiC    |  Procore  | Viewpoint Spectrum | Viewpoint Vista    |\n|-----------------------------|:-------:|:---------:|:------------------:|:------------------:|\n| `amount`                    |    ✅   |      ✅    |    ➖              |    ➖              |\n| `description`               |    ✅   |      ✅    |    ✅              |    ✅              |\n| `effective_date`            |    ✅   |      ✅    |    ✅              |    ➖              |\n| `expiration_date`           |    ✅   |      ✅    |    ✅              |    ✅              |\n| `policy_number`             |    ✅   |      ✅    |    ➖              |    ➖              |\n| `provider_name`             |    ✅   |      ✅    |    ➖              |    ➖              |\n| `status`                    |    ✅   |      ✅    |    ✅              |    ➖              |\n| `type`                      |    ➖   |      ✅    |    ✅              |    ➖              |\n| `vendor_id`                 |    ✅   |      ✅    |    ✅              |    ✅              |\n| `source_create_time`        |    ➖   |      ➖    |    ➖              |    ➖              |\n| `source_update_time`        |    ✅   |      ➖    |    ➖              |    ➖              |\n\n✅ Supported and mapped <br/>\n🟡 Partially mapped, not exact match <br/>\n🔜 Launching soon <br/>\n➖ Not supported in source system\n"
    },
    {
      "name": "webhooks",
      "x-displayName": "Webhooks",
      "description": "These endpoints let you Create, Update, and Delete webhooks. To learn more, see [Webhooks](/agave-api/webhooks).\n\nThis endpoint is currently available for the following data types for **Autodesk Build**:\n  - Files\n  - Folders\n\nThis endpoint is currently available for the following data types for **BIM 360**:\n  - Files\n  - Folders \n\nThis endpoint is currently available for the following data types for **HubSpot**:\n  - Contacts\n  - Customers\n  - Opportunities\n\nThis endpoint is currently available for the following data types for **Pipedrive**:\n  - Activites\n  - Contacts\n  - Customers\n  - Opportunities\n\nThis endpoint is currently available for the following data types for **Procore**:\n  - AP Invoices\n  - AR Invoices\n  - Budget Line Items\n  - Change Events\n  - Change Orders\n  - Coordination Issues\n  - Cost Codes\n  - Cost Types\n  - Drawings\n  - Expenses\n  - Files\n  - File Versions\n  - Folders\n  - Observations\n  - Photos\n  - Prime Contracts\n  - Purchase Orders\n  - RFIs\n  - Specification Sections\n  - Subcontracts\n  - Submittals\n  - Vendors (at the Company and Project-level)\n\nThis endpoint is currently available for the following data types for **QuickBooks Online**:\n  - AP Invoices\n  - AP Payments\n  - AR Invoices\n  - AR Payments\n  - Customers\n  - Estimates\n  - Expenses\n  - Items\n  - Ledger Accounts\n  - Purchase Orders\n  - Vendors \n\nThis endpoint is currently available for the following data types for **SharePoint Online**:\n  - Files\n  - Folders\n"
    }
  ],
  "paths": {
    "/link/token/create": {
      "post": {
        "operationId": "createLinkToken",
        "parameters": [
          {
            "$ref": "#/components/parameters/AgaveApiVersion"
          }
        ],
        "tags": [
          "link-token"
        ],
        "security": [
          {
            "Client-Id": [],
            "Client-Secret": []
          }
        ],
        "summary": "Create Link Token",
        "description": "This endpoint allows you to generate a new link token and use that to initialize the Agave Link frontend component. To learn more, see [Link Component](/agave-link/component).\n",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateTokenRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CreateTokenResponse"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/400"
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      }
    },
    "/link/token/exchange": {
      "post": {
        "operationId": "exchangeLinkToken",
        "parameters": [
          {
            "$ref": "#/components/parameters/AgaveApiVersion"
          }
        ],
        "tags": [
          "link-token"
        ],
        "security": [
          {
            "Client-Id": [],
            "Client-Secret": []
          }
        ],
        "summary": "Exchange Link Token",
        "description": "This endpoint allows you to exchange a short-lived `public_token` for a permanent  `account_token`. You can use this `account_token` to make requests on behalf of a user indefinitely.\n",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PublicToken"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AccountToken"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/400"
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      }
    },
    "/link/debug/session": {
      "post": {
        "operationId": "createLinkDebugSession",
        "parameters": [
          {
            "$ref": "#/components/parameters/AgaveApiVersion"
          }
        ],
        "tags": [
          "link-debug"
        ],
        "security": [
          {
            "Client-Id": [],
            "Client-Secret": []
          }
        ],
        "summary": "Create Link Debug Session",
        "description": "This endpoint allows you to generate a new Debug Session for troubleshooting DB-backed systems.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateDebugSessionRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CreateDebugSessionResponse"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/400"
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      }
    },
    "/link/account": {
      "get": {
        "operationId": "getLinkedAccount",
        "parameters": [
          {
            "$ref": "#/components/parameters/AgaveApiVersion"
          },
          {
            "$ref": "#/components/parameters/AgaveIncludeSourceData"
          }
        ],
        "tags": [
          "link-metadata"
        ],
        "summary": "Linked Account",
        "description": "This endpoint allows you to retrieve the Linked Account associated with an `account_token`.\n\nThe email address returned from the Linked User endpoint can be used to map to\ncontent stored in your application to this Linked Account.\n",
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LinkedAccount"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/400"
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      }
    },
    "/link/company": {
      "get": {
        "operationId": "getLinkedCompany",
        "parameters": [
          {
            "$ref": "#/components/parameters/AgaveApiVersion"
          },
          {
            "$ref": "#/components/parameters/AgaveIncludeSourceData"
          }
        ],
        "tags": [
          "link-metadata"
        ],
        "summary": "Linked Company",
        "description": "Get the company information associated with the provided account token.\n\nNote that in some integrations (such as Procore), an end user could belong to\nmultiple companies. In such cases, each connected company is a separate linked account.\n",
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LinkedCompany"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/400"
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      }
    },
    "/link/companies": {
      "get": {
        "operationId": "getAllCompanies",
        "parameters": [
          {
            "$ref": "#/components/parameters/AgaveApiVersion"
          },
          {
            "$ref": "#/components/parameters/AgaveIncludeSourceData"
          }
        ],
        "tags": [
          "link-metadata"
        ],
        "summary": "All Companies",
        "description": "Get the list of all Companies associated with the provided account token.\n\nIf the user has granted you cross-company access, you would need to use the `id` field returned from this endpoint as the `Company-Id` header when making \nany other API call. For more information, see [Headers](/agave-api/headers#request-headers).\n",
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": [
                    {
                      "$ref": "#/components/schemas/LinkedCompany"
                    }
                  ]
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/400"
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      }
    },
    "/link/connection": {
      "get": {
        "operationId": "getLinkedConnection",
        "parameters": [
          {
            "$ref": "#/components/parameters/AgaveApiVersion"
          },
          {
            "$ref": "#/components/parameters/AgaveIncludeSourceData"
          }
        ],
        "tags": [
          "link-metadata"
        ],
        "summary": "Linked Connection",
        "description": "This endpoint allows you to retrieve properties associated with each Connection (e.g. oauth2, basic auth) \nassociated with an `account_token`.\n\nThe properties returned from the Linked User endpoint can be used to map to\ncontent stored in your application to this Connection.\n",
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Connection"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/400"
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      }
    },
    "/link/user": {
      "get": {
        "operationId": "getLinkedUser",
        "parameters": [
          {
            "$ref": "#/components/parameters/AgaveApiVersion"
          },
          {
            "$ref": "#/components/parameters/AgaveIncludeSourceData"
          }
        ],
        "tags": [
          "link-metadata"
        ],
        "summary": "Linked User",
        "description": "This endpoint allows you to retrieve information on a Linked User associated with an `account_token`.\n",
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LinkedUser"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/400"
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      }
    },
    "/link/source-system": {
      "get": {
        "operationId": "getLinkedSourceSystem",
        "parameters": [
          {
            "$ref": "#/components/parameters/AgaveApiVersion"
          }
        ],
        "tags": [
          "link-metadata"
        ],
        "summary": "Linked Source System",
        "description": "This endpoint gives you a list of features supported by the Linked Source System. It also returns components (e.g. image,  theme color) that you can use to customize your application's interface.\n",
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SourceSystem"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/400"
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      }
    },
    "/link/source-systems": {
      "get": {
        "operationId": "getAvailableSourceSystems",
        "parameters": [
          {
            "$ref": "#/components/parameters/AgaveApiVersion"
          }
        ],
        "tags": [
          "link-metadata"
        ],
        "security": [
          {
            "Client-Id": [],
            "Client-Secret": []
          }
        ],
        "summary": "Available Source Systems",
        "description": "This endpoint returns a list of features supported by the Source Systems available to your user, as well as components (e.g. image, theme color) that you can use to customize your application's interface.\n",
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/SourceSystem"
                  }
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/400"
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      }
    },
    "/link/rate-limits": {
      "get": {
        "operationId": "getRateLimits",
        "parameters": [
          {
            "$ref": "#/components/parameters/AgaveApiVersion"
          },
          {
            "$ref": "#/components/parameters/AgaveIncludeSourceData"
          }
        ],
        "tags": [
          "link-metadata"
        ],
        "summary": "Rate Limits",
        "description": "This endpoint returns information about Rate Limits for a Linked Source System, including the interval, rate limit per interval, and number of requests you have remaining before hitting the rate limit in the current interval.\n\n\nTo see a list of published Rate Limits for Source Systems that Agave supports, see [link](https://docs.agaveapi.com/agave-api/rate-limits).\n\nCurrently supported for:\n  - Aconex\n  - BIM Track\n  - CompanyCam\n  - Egnyte\n  - Fieldwire\n  - PlanGrid\n  - Procore\n  - Salesforce\n  - ServiceTitan\n  \n",
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RateLimit"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/400"
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      }
    },
    "/link/sessions": {
      "post": {
        "operationId": "createLinkSession",
        "parameters": [
          {
            "$ref": "#/components/parameters/AgaveApiVersion"
          }
        ],
        "tags": [
          "link-session"
        ],
        "security": [
          {
            "Client-Id": [],
            "Client-Secret": []
          }
        ],
        "summary": "Create Link Session",
        "description": "You can generate a Link Session with either a \"mode\" (e.g. `'file-picker'`) or a list of scopes  (e.g. `['link:read', 'projects:read', 'projects:write']`).\nWhen possible, we recommend passing a \"mode\" to ensures maximum compatibility with future Agave API changes.\n",
        "requestBody": {
          "content": {
            "application/json (Mode)": {
              "schema": {
                "$ref": "#/components/schemas/CreateSessionRequestWithMode"
              }
            },
            "application/json (Scopes)": {
              "schema": {
                "$ref": "#/components/schemas/CreateSessionRequestWithScopes"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CreateSessionResponse"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/400"
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      }
    },
    "/link/revoke-tokens": {
      "post": {
        "operationId": "revokeAllTokens",
        "parameters": [
          {
            "$ref": "#/components/parameters/AgaveApiVersion"
          }
        ],
        "tags": [
          "link-management"
        ],
        "summary": "Revoke All Tokens by Account Token",
        "description": "This endpoint revokes all tokens for the Account associated with the provided Account Token. Agave will revoke the Account Token, delete all credentials, and revoke all underlying OAuth access and refresh tokens (if supported for the source system). \n\n🚨 Note: After calling this endpoint, you will never be able to access this account again, as all credentials have been removed from Agave's systems. If you need to link this account in the future, you must instruct your users to re-authenticate via Agave Link. \n\nIf you do not have the account token, see [Revoke Tokens by Account Id](#post-/admin/accounts/-id-/revoke-tokens).",
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "description": "Whether we the token revokation succeeded",
                      "example": true
                    },
                    "tokens_revoked": {
                      "type": "integer",
                      "description": "How many tokens were revoked",
                      "example": 1
                    }
                  }
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/400"
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      }
    },
    "/link/account/create": {
      "post": {
        "operationId": "newLinkedAccount",
        "parameters": [
          {
            "$ref": "#/components/parameters/AgaveApiVersion"
          },
          {
            "$ref": "#/components/parameters/AgaveIncludeSourceData"
          }
        ],
        "tags": [
          "link-management"
        ],
        "summary": "New Linked Account",
        "description": "This endpoint allows you to create a new Linked Account without going through Agave Link.\n\nThis endpoint is useful for situations where you need to onboard a user out-of-band, for example when \na user installs your Branded Marketplace App from the Pipedrive or QuickBooks Online Marketplaces.\n\nThis endpoint is currently supported for the following Source Systems:\n- Pipedrive\n- QuickBooks Online ([step-by-step guide](https://agave.quip.com/k3lVA43Sakt6))\n",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateAccount"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AccountToken"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/400"
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      }
    },
    "/link/on-prem/generate-token": {
      "post": {
        "operationId": "generateOnPremToken",
        "parameters": [
          {
            "$ref": "#/components/parameters/AgaveApiVersion"
          }
        ],
        "tags": [
          "link-management"
        ],
        "summary": "Re-generate On-Prem Token",
        "description": "This endpoint allows you to re-generate the On-Prem Token for the current account.\n🚨 Note: Calling this endpoint will revoke all existing On-Prem Tokens.\nSupported Source Systems: - Foundation (FSI Importer) - Sage 100 Contractor - Sage 300 CRE - QuickBooks Desktop",
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "on_prem_token": {
                      "type": "integer",
                      "description": "The new On-Prem Token.",
                      "example": "YmwmJ9IzrQCBwVX9EeZ6sBpOTuA4Pm9px34YlFBe"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/400"
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      }
    },
    "/admin/accounts": {
      "get": {
        "operationId": "getAdminAccounts",
        "parameters": [
          {
            "$ref": "#/components/parameters/AgaveApiVersion"
          }
        ],
        "tags": [
          "admin-requests"
        ],
        "security": [
          {
            "Client-Id": [],
            "Client-Secret": []
          }
        ],
        "summary": "List Linked Accounts",
        "description": "This endpoint allows you to retrieve a list of Linked Accounts that authenticated with Agave using your Client Id and Client Secret.\n",
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Account"
                  }
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/400"
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      }
    },
    "/admin/accounts/{id}": {
      "get": {
        "operationId": "showAdminAccount",
        "parameters": [
          {
            "$ref": "#/components/parameters/AgaveApiVersion"
          },
          {
            "name": "id",
            "in": "path",
            "description": "The Account UUID.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "tags": [
          "admin-requests"
        ],
        "security": [
          {
            "Client-Id": [],
            "Client-Secret": []
          }
        ],
        "summary": "Revoke All Tokens",
        "description": "This endpoint allows you to show a Linked Account that authenticated with Agave using your Client Id and Client Secret.\n",
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Account"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/400"
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      }
    },
    "/admin/accounts/{id}/revoke-tokens": {
      "post": {
        "operationId": "revokeAllTokensForAccount",
        "parameters": [
          {
            "$ref": "#/components/parameters/AgaveApiVersion"
          },
          {
            "name": "id",
            "in": "path",
            "description": "The Account UUID.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "tags": [
          "admin-requests"
        ],
        "security": [
          {
            "Client-Id": [],
            "Client-Secret": []
          }
        ],
        "summary": "Revoke All Tokens by Account Id",
        "description": "This endpoint allows you to revoke all tokens generated for a single account by providing the Account Id. Agave will revoke the Account Token, delete all credentials, and revoke all underlying OAuth access and refresh tokens (if supported for the source system). \n\n🚨 Note: After calling this endpoint, you will never be able to access this account again, as all credentials have been removed from Agave's systems. If you need to link this account in the future, you must instruct your users to re-authenticate via Agave Link. \n\nIf you do not have the Account Id, see [Revoke Tokens by Account Token](#post-/link/revoke-tokens)",
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "description": "Whether we the token revokation succeeded",
                      "example": true
                    },
                    "tokens_revoked": {
                      "type": "integer",
                      "description": "How many tokens were revoked",
                      "example": 1
                    }
                  }
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/400"
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      }
    },
    "/async-requests/{id}": {
      "parameters": [
        {
          "$ref": "#/components/parameters/AgaveApiVersion"
        },
        {
          "name": "id",
          "in": "path",
          "description": "The UUID of the Async Request assigned by Agave.",
          "required": true,
          "schema": {
            "type": "string",
            "format": "uuid"
          }
        }
      ],
      "get": {
        "operationId": "getAsyncRequest",
        "tags": [
          "async-requests"
        ],
        "summary": "Async Request Results",
        "description": "This endpoint lets you retrieve the results of an Async Request. \n\nIf the results are ready, the JSON response is returned in the body. Otherwise, the `Agave-Async-Request-State` header will show you the status of the Request.\n\nSee the Response Headers for the full list of headers returned for this endpoint.\n",
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              },
              "Agave-Async-Request-Id": {
                "schema": {
                  "type": "string",
                  "format": "uuid",
                  "description": "The Async Request ID",
                  "example": "0187c4e9-04be-72d4-94dd-35b4a88cd81d"
                }
              },
              "Agave-Async-Request-State": {
                "schema": {
                  "type": "string",
                  "description": "The state of the Async Request.",
                  "enum": [
                    "pending",
                    "running",
                    "executed",
                    "failure"
                  ]
                }
              },
              "Agave-Async-Request-Started-At": {
                "schema": {
                  "type": "string",
                  "format": "date-time",
                  "description": "The timestamp showing when the Async Request was started.",
                  "example": "2021-11-20T09:12:28Z"
                }
              },
              "Agave-Async-Request-Finished-At": {
                "schema": {
                  "type": "string",
                  "format": "date-time",
                  "description": "The timestamp showing when the Async Request finished executing.",
                  "example": "2021-11-20T09:12:28Z"
                }
              },
              "Agave-Async-Request-Expires-At": {
                "schema": {
                  "type": "string",
                  "format": "date-time",
                  "description": "The timestamp showing when the Async Request will expire. You will not be able to retrieve the results of this Request after this time.",
                  "example": "2021-11-20T09:12:28Z"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "example": {
                    "data": "can be any JSON response, or an error"
                  }
                }
              }
            }
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "404": {
            "$ref": "#/components/responses/404"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      }
    },
    "/passthrough": {
      "post": {
        "operationId": "passthroughJson",
        "parameters": [
          {
            "$ref": "#/components/parameters/AgaveApiVersion"
          }
        ],
        "tags": [
          "passthrough-json"
        ],
        "summary": "Pass-through (JSON)",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PassthroughJsonRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PassthroughJsonResponse"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/400"
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      }
    },
    "/passthrough-multipart": {
      "post": {
        "operationId": "passthroughMultipart",
        "parameters": [
          {
            "$ref": "#/components/parameters/AgaveApiVersion"
          },
          {
            "name": "Passthrough-Method",
            "in": "header",
            "description": "The method for the request to the source system.\n",
            "required": true,
            "schema": {
              "type": "string"
            },
            "example": "POST"
          },
          {
            "name": "Passthrough-Path",
            "in": "header",
            "description": "The path for the request to the source system with query parameters\n",
            "required": true,
            "schema": {
              "type": "string"
            },
            "example": "rest/v1.0/images?project_id=66738"
          }
        ],
        "tags": [
          "passthrough-multipart"
        ],
        "summary": "Pass-through (Multipart)",
        "description": "⚠️ **Note**: You must use the `multipart/form-data` Content-Type when making the request. \nThe Content-Type is used to specify the media type of the resource.\n",
        "requestBody": {
          "content": {
            "multipart/form-data": {
              "schema": {
                "$ref": "#/components/schemas/PassthroughMultipartRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PassthroughMultipartResponse"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/400"
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      }
    },
    "/passthrough-upload": {
      "post": {
        "operationId": "passthroughUpload",
        "parameters": [
          {
            "$ref": "#/components/parameters/AgaveApiVersion"
          },
          {
            "name": "Passthrough-Method",
            "in": "header",
            "description": "The method for the request to the source system.\n",
            "required": true,
            "schema": {
              "type": "string"
            },
            "example": "POST"
          },
          {
            "name": "Passthrough-Path",
            "in": "header",
            "description": "The path for the request to the source system with query parameters\n",
            "required": true,
            "schema": {
              "type": "string"
            },
            "example": "/AcumaticaERP/entity/Default/23.200.001/files/PX.Objects.AP.APInvoiceEntry/Document/52d8ebb7-aaf3-ec11-b87f-00155d408a02/test.pdf"
          }
        ],
        "tags": [
          "passthrough-upload"
        ],
        "summary": "Pass-through (Upload)",
        "description": "⚠️ **Note**: You must use the `application/octet-stream` Content-Type when making the request, and only include the file data in the body of the request.\n",
        "requestBody": {
          "content": {
            "application/octet-stream": {
              "schema": {
                "$ref": "#/components/schemas/PassthroughUploadRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PassthroughUploadResponse"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/400"
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      }
    },
    "/passthrough-download": {
      "post": {
        "operationId": "passthroughDownload",
        "parameters": [
          {
            "$ref": "#/components/parameters/AgaveApiVersion"
          }
        ],
        "tags": [
          "passthrough-download"
        ],
        "summary": "Pass-through (Download)",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PassthroughJsonRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              }
            },
            "content": {
              "application/octet-stream": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/400"
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      }
    },
    "/actual-production-quantities": {
      "parameters": [
        {
          "$ref": "#/components/parameters/AgaveApiVersion"
        },
        {
          "$ref": "#/components/parameters/AgaveIncludeSourceData"
        },
        {
          "$ref": "#/components/parameters/ProjectId"
        }
      ],
      "get": {
        "operationId": "listActualProductionQuantities",
        "tags": [
          "actual-production-quantities"
        ],
        "summary": "All Actual Production Quantities",
        "description": "This endpoint retrieves a list of Actual Production Quantities a Linked User can access.\n",
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (Procore)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "The list of Actual Production Quantities a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/ActualProductionQuantity-2"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Viewpoint Spectrum)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "The list of Actual Production Quantities a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/ActualProductionQuantity-3"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              }
            }
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "404": {
            "$ref": "#/components/responses/404"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      },
      "post": {
        "operationId": "newActualProductionQuantities",
        "tags": [
          "actual-production-quantities"
        ],
        "summary": "Actual Production Quantity",
        "description": "This endpoint creates Actual Production Quantities.\n",
        "requestBody": {
          "content": {
            "application/json (Procore)": {
              "schema": {
                "type": "object",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewActualProductionQuantity"
                  }
                ]
              }
            },
            "application/json (Viewpoint Spectrum)": {
              "schema": {
                "type": "object",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewActualProductionQuantity-2"
                  }
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (Procore)": {
                "schema": {
                  "$ref": "#/components/schemas/ActualProductionQuantity-2"
                }
              },
              "application/json (Viewpoint Spectrum)": {
                "schema": {
                  "$ref": "#/components/schemas/ActualProductionQuantity-3"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/400"
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      }
    },
    "/actual-production-quantities/{id}": {
      "parameters": [
        {
          "$ref": "#/components/parameters/AgaveApiVersion"
        },
        {
          "$ref": "#/components/parameters/AgaveIncludeSourceData"
        },
        {
          "$ref": "#/components/parameters/ProjectId"
        },
        {
          "name": "id",
          "in": "path",
          "description": "The UUID of the Actual Production Quantity assigned by Agave.",
          "required": true,
          "schema": {
            "type": "string",
            "format": "uuid"
          }
        }
      ],
      "get": {
        "operationId": "getActualProductionQuantity",
        "tags": [
          "actual-production-quantities"
        ],
        "summary": "One Actual Production Quantity",
        "description": "This endpoint retrieves a Actual Production Quantity by the Agave UUID.",
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (Procore)": {
                "schema": {
                  "$ref": "#/components/schemas/ActualProductionQuantity-2"
                }
              },
              "application/json (Viewpoint Spectrum)": {
                "schema": {
                  "$ref": "#/components/schemas/ActualProductionQuantity-3"
                }
              }
            }
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "404": {
            "$ref": "#/components/responses/404"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      },
      "put": {
        "operationId": "updateActualProductionQuantity",
        "tags": [
          "actual-production-quantities"
        ],
        "summary": "One Actual Production Quantity",
        "description": "This endpoint updates a Actual Production Quantity by its Agave UUID.",
        "requestBody": {
          "content": {
            "application/json (Procore)": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewActualProductionQuantity"
                  },
                  {
                    "required": [
                      "id"
                    ]
                  }
                ]
              }
            },
            "application/json (Viewpoint Spectrum)": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewActualProductionQuantity-2"
                  },
                  {
                    "required": [
                      "id"
                    ]
                  }
                ]
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (Procore)": {
                "schema": {
                  "$ref": "#/components/schemas/ActualProductionQuantity-2"
                }
              },
              "application/json (Viewpoint Spectrum)": {
                "schema": {
                  "$ref": "#/components/schemas/ActualProductionQuantity-3"
                }
              }
            }
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "404": {
            "$ref": "#/components/responses/404"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      }
    },
    "/ap-invoices": {
      "parameters": [
        {
          "$ref": "#/components/parameters/AgaveApiVersion"
        },
        {
          "$ref": "#/components/parameters/AgaveIncludeSourceData"
        },
        {
          "$ref": "#/components/parameters/ProjectId"
        },
        {
          "$ref": "#/components/parameters/Expand"
        }
      ],
      "get": {
        "operationId": "listApInvoices",
        "tags": [
          "ap-invoices"
        ],
        "summary": "All AP Invoices",
        "description": "This endpoint returns a list of AP Invoices a Linked User can access.\n\n**Note for Autodesk Build and Procore**: the `Project-ID` header is required.\n",
        "parameters": [
          {
            "name": "status",
            "in": "query",
            "description": "This is an optional query parameter to filter the AP Invoices by their status.\n**Note:** for Sage 300 CRE, Viewpoint Spectrum, and Viewpoint Vista, this query parameter is required.\n\n**Note for Sage 300 CRE**: only \"Pending\", \"Open\", and \"Paid\" statuses are supported. \n",
            "required": false,
            "schema": {
              "type": "string",
              "enum": [
                "Unapproved",
                "Pending",
                "Posted",
                "Open",
                "Paid"
              ],
              "example": "Posted"
            }
          },
          {
            "name": "type",
            "in": "query",
            "description": "This is an optional query parameter to filter the AP Invoices by their type. \n\n**Note for CMiC, QuickBooks Desktop, and Sage Intacct**: this query parameter is required. \n\n**Note for Sage Intacct**: valid values include \"Bill\" and types of Purchasing Transactions (e.g. Subcontract Invoices). Purchasing Transaction types can be customized, so ask your customer which ones they would like to use.\n",
            "required": false,
            "schema": {
              "type": "string",
              "enum": [
                "Voucher",
                "Bill",
                "Vendor Credit"
              ],
              "example": "Bill"
            }
          },
          {
            "name": "vendor_id",
            "in": "query",
            "description": "This is an optional query parameter to filter the AP Invoices by their Vendor ID.\n**Note:** for Jonas Premier, this query parameter is required.\n",
            "required": false,
            "schema": {
              "type": "string",
              "example": "ee9b53e7-f982-4be6-bc12-75f716d3ee94"
            }
          },
          {
            "name": "contract_id",
            "in": "query",
            "description": "This is an optional query parameter to filter the AP Invoices by their associated Contract UUID.\n\n**Note for Procore:** this query parameter is required.\n",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "contract_type",
            "in": "query",
            "description": "This is an optional query parameter to filter the AP Invoices by their associated Contract Type. \n\n**Note for Procore:** this query parameter is required.\n",
            "required": false,
            "schema": {
              "type": "string",
              "enum": [
                "prime_contract",
                "purchase_order",
                "subcontract"
              ],
              "example": "purchase_order"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (Acumatica)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of AP Invoices the Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/ApInvoice-2"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Autodesk Build)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of AP Invoices the Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/ApInvoice-3"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (COINS)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of AP Invoices the Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/ApInvoice-4"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Foundation)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of AP Invoices the Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/ApInvoice-5"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Procore)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of AP Invoices the Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/ApInvoice-6"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (QuickBooks Desktop)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of AP Invoices the Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/ApInvoice-7"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (QuickBooks Online)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of AP Invoices the Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/ApInvoice-8"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Sage 100 Contractor)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of AP Invoices the Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/ApInvoice-9"
                      }
                    }
                  }
                }
              },
              "application/json (Sage 300 CRE)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of AP Invoices the Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/ApInvoice-10"
                      }
                    }
                  }
                }
              },
              "application/json (Sage Intacct)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of AP Invoices the Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/ApInvoice-11"
                      }
                    }
                  }
                }
              },
              "application/json (ServiceTitan)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of AP Invoices the Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/ApInvoice-12"
                      }
                    }
                  }
                }
              },
              "application/json (Viewpoint Spectrum)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of AP Invoices the Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/ApInvoice-13"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Viewpoint Vista)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of AP Invoices the Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/ApInvoice-14"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/400"
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      },
      "post": {
        "operationId": "newApInvoices",
        "tags": [
          "ap-invoices"
        ],
        "summary": "AP Invoice",
        "description": "This endpoint creates AP Invoices.\n\n**Note**: In order to create a AP Invoice with an Attachment, you must use the `multipart/form-data` Content-Type when making the request. \nThe Content-Type is used to specify the media type of the resource.\n\n**Note for CMiC**: AP Invoice Line Items cannot be created since they are associated with Purchase Orders or Subcontracts. They can only be updated in the initial POST /ap-invoices request. Also, status can't be created or updated to \"posted\" via the API.\n",
        "requestBody": {
          "content": {
            "application/json (Acumatica)": {
              "schema": {
                "type": "object",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewApInvoice"
                  }
                ]
              }
            },
            "application/json (CMiC)": {
              "schema": {
                "type": "object",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewApInvoice-2"
                  }
                ]
              }
            },
            "application/json (COINS)": {
              "schema": {
                "type": "object",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewApInvoice-3"
                  }
                ]
              }
            },
            "application/json (Foundation)": {
              "schema": {
                "type": "object",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewApInvoice-4"
                  }
                ]
              }
            },
            "application/json (Jonas Premier)": {
              "schema": {
                "type": "object",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewApInvoice-5"
                  }
                ]
              }
            },
            "application/json (Procore)": {
              "schema": {
                "type": "object",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewApInvoice-6"
                  }
                ]
              }
            },
            "application/json (QuickBooks Desktop)": {
              "schema": {
                "type": "object",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewApInvoice-7"
                  }
                ]
              }
            },
            "application/json (QuickBooks Online)": {
              "schema": {
                "type": "object",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewApInvoice-8"
                  }
                ]
              }
            },
            "application/json (Sage 100 Contractor)": {
              "schema": {
                "type": "object",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewApInvoice-9"
                  }
                ]
              }
            },
            "application/json (Sage 300 CRE)": {
              "schema": {
                "type": "object",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewApInvoice-10"
                  }
                ]
              }
            },
            "application/json (Viewpoint Spectrum)": {
              "schema": {
                "type": "object",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewApInvoice-11"
                  }
                ]
              }
            },
            "application/json (Viewpoint Vista)": {
              "schema": {
                "type": "object",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewApInvoice-12"
                  }
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (Acumatica)": {
                "schema": {
                  "$ref": "#/components/schemas/ApInvoice-2"
                }
              },
              "application/json (Autodesk Build)": {
                "schema": {
                  "$ref": "#/components/schemas/ApInvoice-3"
                }
              },
              "application/json (COINS)": {
                "schema": {
                  "$ref": "#/components/schemas/ApInvoice-4"
                }
              },
              "application/json (Foundation)": {
                "schema": {
                  "$ref": "#/components/schemas/ApInvoice-5"
                }
              },
              "application/json (Procore)": {
                "schema": {
                  "$ref": "#/components/schemas/ApInvoice-6"
                }
              },
              "application/json (QuickBooks Desktop)": {
                "schema": {
                  "$ref": "#/components/schemas/ApInvoice-7"
                }
              },
              "application/json (QuickBooks Online)": {
                "schema": {
                  "$ref": "#/components/schemas/ApInvoice-8"
                }
              },
              "application/json (Sage 100 Contractor)": {
                "schema": {
                  "$ref": "#/components/schemas/ApInvoice-9"
                }
              },
              "application/json (Sage 300 CRE)": {
                "schema": {
                  "$ref": "#/components/schemas/ApInvoice-10"
                }
              },
              "application/json (Sage Intacct)": {
                "schema": {
                  "$ref": "#/components/schemas/ApInvoice-11"
                }
              },
              "application/json (ServiceTitan)": {
                "schema": {
                  "$ref": "#/components/schemas/ApInvoice-12"
                }
              },
              "application/json (Viewpoint Spectrum)": {
                "schema": {
                  "$ref": "#/components/schemas/ApInvoice-13"
                }
              },
              "application/json (Viewpoint Vista)": {
                "schema": {
                  "$ref": "#/components/schemas/ApInvoice-14"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/400"
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      },
      "patch": {
        "operationId": "newBulkAPInvoices",
        "tags": [
          "ap-invoices"
        ],
        "summary": "AP Invoices",
        "description": "This endpoint creates AP Invoices in bulk.\n",
        "requestBody": {
          "content": {
            "application/json (Sage 300 CRE)": {
              "schema": {
                "type": "object",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/BulkNewAPInvoice"
                  }
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (Acumatica)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of AP Invoices the Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/ApInvoice-2"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Autodesk Build)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of AP Invoices the Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/ApInvoice-3"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (COINS)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of AP Invoices the Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/ApInvoice-4"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Foundation)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of AP Invoices the Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/ApInvoice-5"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Procore)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of AP Invoices the Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/ApInvoice-6"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (QuickBooks Desktop)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of AP Invoices the Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/ApInvoice-7"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (QuickBooks Online)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of AP Invoices the Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/ApInvoice-8"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Sage 100 Contractor)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of AP Invoices the Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/ApInvoice-9"
                      }
                    }
                  }
                }
              },
              "application/json (Sage 300 CRE)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of AP Invoices the Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/ApInvoice-10"
                      }
                    }
                  }
                }
              },
              "application/json (Sage Intacct)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of AP Invoices the Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/ApInvoice-11"
                      }
                    }
                  }
                }
              },
              "application/json (ServiceTitan)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of AP Invoices the Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/ApInvoice-12"
                      }
                    }
                  }
                }
              },
              "application/json (Viewpoint Spectrum)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of AP Invoices the Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/ApInvoice-13"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Viewpoint Vista)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of AP Invoices the Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/ApInvoice-14"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/400"
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      }
    },
    "/ap-invoices/{ap_invoice_id}/line-items": {
      "parameters": [
        {
          "$ref": "#/components/parameters/AgaveApiVersion"
        },
        {
          "$ref": "#/components/parameters/AgaveIncludeSourceData"
        },
        {
          "$ref": "#/components/parameters/RequiredProjectId"
        },
        {
          "$ref": "#/components/parameters/ap_invoice_id"
        }
      ],
      "get": {
        "operationId": "listApInvoiceLineItems",
        "tags": [
          "ap-invoices"
        ],
        "summary": "All AP Invoice Line Items",
        "description": "This endpoint retrieves a list of AP Invoice Line Items a Linked User can access.\n",
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (Acumatica)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of AP Invoices the Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/ApInvoiceLineItem-3"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Autodesk Build)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of AP Invoices the Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/ApInvoiceLineItem-4"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (COINS)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of AP Invoices the Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/ApInvoiceLineItem-5"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Foundation)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of AP Invoices the Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/ApInvoiceLineItem-6"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Procore)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of AP Invoices the Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/ApInvoiceLineItem-7"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (QuickBooks Desktop)": {
                "schema": {
                  "type": "object",
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/ApInvoiceLineItem-8"
                    }
                  ]
                }
              },
              "application/json (QuickBooks Online)": {
                "schema": {
                  "type": "object",
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/ApInvoiceLineItem-9"
                    }
                  ]
                }
              },
              "application/json (Sage 100 Contractor)": {
                "schema": {
                  "type": "object",
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/ApInvoiceLineItem-10"
                    }
                  ]
                }
              },
              "application/json (Sage 300 CRE)": {
                "schema": {
                  "type": "object",
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/ApInvoiceLineItem-11"
                    }
                  ]
                }
              },
              "application/json (Sage Intacct)": {
                "schema": {
                  "type": "object",
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/ApInvoiceLineItem-12"
                    }
                  ]
                }
              },
              "application/json (ServiceTitan)": {
                "schema": {
                  "type": "object",
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/ApInvoiceLineItem-2"
                    }
                  ]
                }
              },
              "application/json (Viewpoint Spectrum)": {
                "schema": {
                  "type": "object",
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/ApInvoiceLineItem-13"
                    }
                  ]
                }
              },
              "application/json (Viewpoint Vista)": {
                "schema": {
                  "type": "object",
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/ApInvoiceLineItem-10"
                    }
                  ]
                }
              }
            }
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "404": {
            "$ref": "#/components/responses/404"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      },
      "post": {
        "operationId": "newApInvoiceLineItem",
        "tags": [
          "ap-invoices"
        ],
        "summary": "AP Invoice Line Item",
        "description": "This endpoint creates AP Invoice Line Items.\n\n**Note for Procore**: AP Invoice Line Items cannot be created since they are associated with Change Order, Purchase Order, or Subcontract Line Items. They can only be updated.\n",
        "requestBody": {
          "content": {
            "application/json (Acumatica)": {
              "schema": {
                "type": "object",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewApInvoiceLineItem"
                  }
                ]
              }
            },
            "application/json (QuickBooks Desktop)": {
              "schema": {
                "type": "object",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewApInvoiceLineItem-6"
                  }
                ]
              }
            },
            "application/json (QuickBooks Online)": {
              "schema": {
                "type": "object",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewApInvoiceLineItem-7"
                  }
                ]
              }
            },
            "application/json (Viewpoint Spectrum)": {
              "schema": {
                "type": "object",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewApInvoiceLineItem-10"
                  }
                ]
              }
            },
            "application/json (Viewpoint Vista)": {
              "schema": {
                "type": "object",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewApInvoiceLineItem-11"
                  }
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (Acumatica)": {
                "schema": {
                  "$ref": "#/components/schemas/ApInvoiceLineItem-3"
                }
              },
              "application/json (Autodesk Build)": {
                "schema": {
                  "$ref": "#/components/schemas/ApInvoiceLineItem-4"
                }
              },
              "application/json (Foundation)": {
                "schema": {
                  "$ref": "#/components/schemas/ApInvoiceLineItem-6"
                }
              },
              "application/json (Procore)": {
                "schema": {
                  "$ref": "#/components/schemas/ApInvoiceLineItem-7"
                }
              },
              "application/json (QuickBooks Desktop)": {
                "schema": {
                  "$ref": "#/components/schemas/ApInvoiceLineItem-8"
                }
              },
              "application/json (QuickBooks Online)": {
                "schema": {
                  "$ref": "#/components/schemas/ApInvoiceLineItem-9"
                }
              },
              "application/json (Sage 100 Contractor)": {
                "schema": {
                  "$ref": "#/components/schemas/ApInvoiceLineItem-10"
                }
              },
              "application/json (Sage 300 CRE)": {
                "schema": {
                  "$ref": "#/components/schemas/ApInvoiceLineItem-11"
                }
              },
              "application/json (Sage Intacct)": {
                "schema": {
                  "$ref": "#/components/schemas/ApInvoiceLineItem-12"
                }
              },
              "application/json (ServiceTitan)": {
                "schema": {
                  "$ref": "#/components/schemas/ApInvoiceLineItem-2"
                }
              },
              "application/json (Viewpoint Spectrum)": {
                "schema": {
                  "$ref": "#/components/schemas/ApInvoiceLineItem-13"
                }
              },
              "application/json (Viewpoint Vista)": {
                "schema": {
                  "$ref": "#/components/schemas/ApInvoiceLineItem-10"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/400"
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      }
    },
    "/ap-invoices/{id}": {
      "parameters": [
        {
          "$ref": "#/components/parameters/AgaveApiVersion"
        },
        {
          "$ref": "#/components/parameters/AgaveIncludeSourceData"
        },
        {
          "name": "id",
          "in": "path",
          "description": "The UUID of the AP Invoice assigned by Agave.",
          "required": true,
          "schema": {
            "type": "string",
            "format": "uuid"
          }
        }
      ],
      "get": {
        "operationId": "getApInvoice",
        "tags": [
          "ap-invoices"
        ],
        "summary": "One AP Invoice",
        "description": "This endpoint returns a AP Invoice with the Agave UUID provided.",
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (Acumatica)": {
                "schema": {
                  "$ref": "#/components/schemas/ApInvoice-2"
                }
              },
              "application/json (Autodesk Build)": {
                "schema": {
                  "$ref": "#/components/schemas/ApInvoice-3"
                }
              },
              "application/json (COINS)": {
                "schema": {
                  "$ref": "#/components/schemas/ApInvoice-4"
                }
              },
              "application/json (Foundation)": {
                "schema": {
                  "$ref": "#/components/schemas/ApInvoice-5"
                }
              },
              "application/json (Procore)": {
                "schema": {
                  "$ref": "#/components/schemas/ApInvoice-6"
                }
              },
              "application/json (QuickBooks Desktop)": {
                "schema": {
                  "$ref": "#/components/schemas/ApInvoice-7"
                }
              },
              "application/json (QuickBooks Online)": {
                "schema": {
                  "$ref": "#/components/schemas/ApInvoice-8"
                }
              },
              "application/json (Sage 100 Contractor)": {
                "schema": {
                  "$ref": "#/components/schemas/ApInvoice-9"
                }
              },
              "application/json (Sage 300 CRE)": {
                "schema": {
                  "$ref": "#/components/schemas/ApInvoice-10"
                }
              },
              "application/json (Sage Intacct)": {
                "schema": {
                  "$ref": "#/components/schemas/ApInvoice-11"
                }
              },
              "application/json (ServiceTitan)": {
                "schema": {
                  "$ref": "#/components/schemas/ApInvoice-12"
                }
              },
              "application/json (Viewpoint Spectrum)": {
                "schema": {
                  "$ref": "#/components/schemas/ApInvoice-13"
                }
              },
              "application/json (Viewpoint Vista)": {
                "schema": {
                  "$ref": "#/components/schemas/ApInvoice-14"
                }
              }
            }
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "404": {
            "$ref": "#/components/responses/404"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      },
      "put": {
        "operationId": "updateApInvoice",
        "tags": [
          "ap-invoices"
        ],
        "summary": "One AP Invoice",
        "description": "This endpoint updates an AP Invoice by its Agave UUID.",
        "requestBody": {
          "content": {
            "application/json (Acumatica)": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewApInvoice"
                  },
                  {
                    "required": [
                      "id"
                    ]
                  }
                ]
              }
            },
            "application/json (COINS)": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewApInvoice-3"
                  },
                  {
                    "required": [
                      "id"
                    ]
                  }
                ]
              }
            },
            "application/json (Procore)": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewApInvoice-6"
                  },
                  {
                    "required": [
                      "id"
                    ]
                  }
                ]
              }
            },
            "application/json (QuickBooks Desktop)": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewApInvoice-7"
                  },
                  {
                    "required": [
                      "id"
                    ]
                  }
                ]
              }
            },
            "application/json (QuickBooks Online)": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewApInvoice-8"
                  },
                  {
                    "required": [
                      "id"
                    ]
                  }
                ]
              }
            },
            "application/json (Sage 300 CRE)": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewApInvoice-10"
                  },
                  {
                    "required": [
                      "id"
                    ]
                  }
                ]
              }
            },
            "application/json (Viewpoint Spectrum)": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewApInvoice-11"
                  },
                  {
                    "required": [
                      "id"
                    ]
                  }
                ]
              }
            },
            "application/json (Viewpoint Vista)": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewApInvoice-12"
                  },
                  {
                    "required": [
                      "id"
                    ]
                  }
                ]
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (Acumatica)": {
                "schema": {
                  "$ref": "#/components/schemas/ApInvoice-2"
                }
              },
              "application/json (Autodesk Build)": {
                "schema": {
                  "$ref": "#/components/schemas/ApInvoice-3"
                }
              },
              "application/json (COINS)": {
                "schema": {
                  "$ref": "#/components/schemas/ApInvoice-4"
                }
              },
              "application/json (Foundation)": {
                "schema": {
                  "$ref": "#/components/schemas/ApInvoice-5"
                }
              },
              "application/json (Procore)": {
                "schema": {
                  "$ref": "#/components/schemas/ApInvoice-6"
                }
              },
              "application/json (QuickBooks Desktop)": {
                "schema": {
                  "$ref": "#/components/schemas/ApInvoice-7"
                }
              },
              "application/json (QuickBooks Online)": {
                "schema": {
                  "$ref": "#/components/schemas/ApInvoice-8"
                }
              },
              "application/json (Sage 100 Contractor)": {
                "schema": {
                  "$ref": "#/components/schemas/ApInvoice-9"
                }
              },
              "application/json (Sage 300 CRE)": {
                "schema": {
                  "$ref": "#/components/schemas/ApInvoice-10"
                }
              },
              "application/json (Sage Intacct)": {
                "schema": {
                  "$ref": "#/components/schemas/ApInvoice-11"
                }
              },
              "application/json (ServiceTitan)": {
                "schema": {
                  "$ref": "#/components/schemas/ApInvoice-12"
                }
              },
              "application/json (Viewpoint Spectrum)": {
                "schema": {
                  "$ref": "#/components/schemas/ApInvoice-13"
                }
              },
              "application/json (Viewpoint Vista)": {
                "schema": {
                  "$ref": "#/components/schemas/ApInvoice-14"
                }
              }
            }
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "404": {
            "$ref": "#/components/responses/404"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      }
    },
    "/ap-invoices/{ap_invoice_id}/line-items/{id}": {
      "parameters": [
        {
          "$ref": "#/components/parameters/AgaveApiVersion"
        },
        {
          "$ref": "#/components/parameters/AgaveIncludeSourceData"
        },
        {
          "$ref": "#/components/parameters/ProjectId"
        },
        {
          "$ref": "#/components/parameters/ap_invoice_id"
        },
        {
          "name": "id",
          "in": "path",
          "description": "The UUID of the AP Invoice Line Item assigned by Agave.",
          "required": true,
          "schema": {
            "type": "string",
            "format": "uuid"
          }
        }
      ],
      "get": {
        "operationId": "getApInvoiceLineItem",
        "tags": [
          "ap-invoices"
        ],
        "summary": "One AP Invoice Line Item",
        "description": "This endpoint retrieves a AP Invoice Line Item by its Agave UUID.\n",
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (Acumatica)": {
                "schema": {
                  "$ref": "#/components/schemas/ApInvoiceLineItem-3"
                }
              },
              "application/json (Autodesk Build)": {
                "schema": {
                  "$ref": "#/components/schemas/ApInvoiceLineItem-4"
                }
              },
              "application/json (Foundation)": {
                "schema": {
                  "$ref": "#/components/schemas/ApInvoiceLineItem-6"
                }
              },
              "application/json (Procore)": {
                "schema": {
                  "$ref": "#/components/schemas/ApInvoiceLineItem-7"
                }
              },
              "application/json (QuickBooks Desktop)": {
                "schema": {
                  "$ref": "#/components/schemas/ApInvoiceLineItem-8"
                }
              },
              "application/json (QuickBooks Online)": {
                "schema": {
                  "$ref": "#/components/schemas/ApInvoiceLineItem-9"
                }
              },
              "application/json (Sage 100 Contractor)": {
                "schema": {
                  "$ref": "#/components/schemas/ApInvoiceLineItem-10"
                }
              },
              "application/json (Sage 300 CRE)": {
                "schema": {
                  "$ref": "#/components/schemas/ApInvoiceLineItem-11"
                }
              },
              "application/json (Sage Intacct)": {
                "schema": {
                  "$ref": "#/components/schemas/ApInvoiceLineItem-12"
                }
              },
              "application/json (ServiceTitan)": {
                "schema": {
                  "$ref": "#/components/schemas/ApInvoiceLineItem-2"
                }
              },
              "application/json (Viewpoint Spectrum)": {
                "schema": {
                  "$ref": "#/components/schemas/ApInvoiceLineItem-13"
                }
              },
              "application/json (Viewpoint Vista)": {
                "schema": {
                  "$ref": "#/components/schemas/ApInvoiceLineItem-10"
                }
              }
            }
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "404": {
            "$ref": "#/components/responses/404"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      },
      "put": {
        "operationId": "updateApInvoiceLineItem",
        "tags": [
          "ap-invoices"
        ],
        "summary": "One AP Invoice Line Item",
        "description": "This endpoint updates an AP Invoice Line Item by its Agave UUID.",
        "requestBody": {
          "content": {
            "application/json (Acumatica)": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewApInvoiceLineItem"
                  },
                  {
                    "required": [
                      "id"
                    ]
                  }
                ]
              }
            },
            "application/json (QuickBooks Desktop)": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewApInvoiceLineItem-6"
                  },
                  {
                    "required": [
                      "id"
                    ]
                  }
                ]
              }
            },
            "application/json (QuickBooks Online)": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewApInvoiceLineItem-7"
                  },
                  {
                    "required": [
                      "id"
                    ]
                  }
                ]
              }
            },
            "application/json (Sage 300 CRE)": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewApInvoiceLineItem-9"
                  },
                  {
                    "required": [
                      "id"
                    ]
                  }
                ]
              }
            },
            "application/json (Viewpoint Spectrum)": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewApInvoiceLineItem-10"
                  },
                  {
                    "required": [
                      "id"
                    ]
                  }
                ]
              }
            },
            "application/json (Viewpoint Vista)": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewApInvoiceLineItem-11"
                  },
                  {
                    "required": [
                      "id"
                    ]
                  }
                ]
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (Acumatica)": {
                "schema": {
                  "$ref": "#/components/schemas/ApInvoice-2"
                }
              },
              "application/json (Autodesk Build)": {
                "schema": {
                  "$ref": "#/components/schemas/ApInvoice-3"
                }
              },
              "application/json (COINS)": {
                "schema": {
                  "$ref": "#/components/schemas/ApInvoice-4"
                }
              },
              "application/json (Foundation)": {
                "schema": {
                  "$ref": "#/components/schemas/ApInvoice-5"
                }
              },
              "application/json (Procore)": {
                "schema": {
                  "$ref": "#/components/schemas/ApInvoice-6"
                }
              },
              "application/json (QuickBooks Desktop)": {
                "schema": {
                  "$ref": "#/components/schemas/ApInvoice-7"
                }
              },
              "application/json (QuickBooks Online)": {
                "schema": {
                  "$ref": "#/components/schemas/ApInvoice-8"
                }
              },
              "application/json (Sage 100 Contractor)": {
                "schema": {
                  "$ref": "#/components/schemas/ApInvoice-9"
                }
              },
              "application/json (Sage 300 CRE)": {
                "schema": {
                  "$ref": "#/components/schemas/ApInvoice-10"
                }
              },
              "application/json (Sage Intacct)": {
                "schema": {
                  "$ref": "#/components/schemas/ApInvoice-11"
                }
              },
              "application/json (ServiceTitan)": {
                "schema": {
                  "$ref": "#/components/schemas/ApInvoice-12"
                }
              },
              "application/json (Viewpoint Spectrum)": {
                "schema": {
                  "$ref": "#/components/schemas/ApInvoice-13"
                }
              },
              "application/json (Viewpoint Vista)": {
                "schema": {
                  "$ref": "#/components/schemas/ApInvoice-14"
                }
              }
            }
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "404": {
            "$ref": "#/components/responses/404"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      }
    },
    "/ap-payments": {
      "parameters": [
        {
          "$ref": "#/components/parameters/AgaveApiVersion"
        },
        {
          "$ref": "#/components/parameters/AgaveIncludeSourceData"
        },
        {
          "$ref": "#/components/parameters/ProjectId"
        },
        {
          "$ref": "#/components/parameters/Expand"
        },
        {
          "name": "status",
          "in": "query",
          "description": "This is an optional query parameter to filter the AP Payments by their `status`.\n\n**Note for Viewpoint Vista:** this query parameter is required.\n",
          "required": false,
          "schema": {
            "type": "string",
            "enum": [
              "Initialized",
              "Posted"
            ],
            "example": "Posted"
          }
        },
        {
          "name": "payment_method",
          "in": "query",
          "description": "This is an optional query parameter to filter the AP Payments by their `payment_method`.\n\n**Note for Foundation and QuickBooks Desktop:** this query parameter is required.\n",
          "required": false,
          "schema": {
            "type": "string",
            "enum": [
              "Check",
              "CreditCard"
            ],
            "example": "Check"
          }
        },
        {
          "name": "contract_id",
          "in": "query",
          "description": "This is an optional query parameter to filter the AP Payments by their associated Contract UUID.\n\n**Note for Procore:** this query parameter is required.\n",
          "required": false,
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "contract_type",
          "in": "query",
          "description": "This is an optional query parameter to filter the AP Payments by their associated Contract Type. \n\n**Note for Procore:** this query parameter is required.\n",
          "required": false,
          "schema": {
            "type": "string",
            "enum": [
              "purchase_order",
              "subcontract"
            ],
            "example": "purchase_order"
          }
        }
      ],
      "get": {
        "operationId": "listApPayments",
        "tags": [
          "ap-payments"
        ],
        "summary": "All AP Payments",
        "description": "This endpoint retrieves a list of Accounts Payable Payments a Linked User can access.\n\n**Note for Autodesk Build, BIM 360, and Procore:** the `Project-ID` header is required.\n",
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (Autodesk Build)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of AP Payments a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/ApPayment-2"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (BIM 360)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of AP Payments a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/ApPayment-2"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (CMiC)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of AP Payments a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/ApPayment-3"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Foundation)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of AP Payments a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/ApPayment-4"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Procore)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of AP Payments a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/ApPayment-5"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (QuickBooks Desktop)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of AP Payments a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/ApPayment-6"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (QuickBooks Online)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of AP Payments a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/ApPayment-7"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Sage 100 Contractor)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of AP Payments a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/ApPayment-8"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Sage 300 CRE)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of AP Payments a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/ApPayment-9"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Sage Intacct)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of AP Payments a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/ApPayment-10"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Viewpoint Spectrum)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of AP Payments a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/ApPayment-11"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Viewpoint Vista)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of AP Payments a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/ApPayment-12"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/400"
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      },
      "post": {
        "operationId": "newApPayments",
        "tags": [
          "ap-payments"
        ],
        "summary": "AP Payment",
        "description": "This endpoint creates AP Payments.\n\n**Notes for Autodesk Build, BIM 360, and Procore:** \n- The `Project-ID` header is required.\n- Autodesk Build, BIM 360, and Procore will default to including the Line Items from the associated Contract when creating an AP Payment.\n\n**Note for Sage 100 Contractor:** an AP Payment can only be created.\n\n**Note for Viewpoint Vista:** an AP Payment can only be created (\"Initialized\"). It cannot be updated unless it is voided in the UI or deleted using the API.\n",
        "requestBody": {
          "content": {
            "application/json (Autodesk Build)": {
              "schema": {
                "type": "object",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewApPayment"
                  }
                ]
              }
            },
            "application/json (BIM 360)": {
              "schema": {
                "type": "object",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewApPayment"
                  }
                ]
              }
            },
            "application/json (Procore)": {
              "schema": {
                "type": "object",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewApPayment-2"
                  }
                ]
              }
            },
            "application/json (QuickBooks Desktop)": {
              "schema": {
                "type": "object",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewApPayment-3"
                  }
                ]
              }
            },
            "application/json (QuickBooks Online)": {
              "schema": {
                "type": "object",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewApPayment-4"
                  }
                ]
              }
            },
            "application/json (Sage 100 Contractor)": {
              "schema": {
                "type": "object",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewApPayment-5"
                  }
                ]
              }
            },
            "application/json (Viewpoint Vista)": {
              "schema": {
                "type": "object",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewApPayment-6"
                  }
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (Autodesk Build)": {
                "schema": {
                  "$ref": "#/components/schemas/ApPayment-2"
                }
              },
              "application/json (BIM 360)": {
                "schema": {
                  "$ref": "#/components/schemas/ApPayment-2"
                }
              },
              "application/json (CMiC)": {
                "schema": {
                  "$ref": "#/components/schemas/ApPayment-3"
                }
              },
              "application/json (Foundation)": {
                "schema": {
                  "$ref": "#/components/schemas/ApPayment-4"
                }
              },
              "application/json (Procore)": {
                "schema": {
                  "$ref": "#/components/schemas/ApPayment-5"
                }
              },
              "application/json (QuickBooks Desktop)": {
                "schema": {
                  "$ref": "#/components/schemas/ApPayment-6"
                }
              },
              "application/json (QuickBooks Online)": {
                "schema": {
                  "$ref": "#/components/schemas/ApPayment-7"
                }
              },
              "application/json (Sage 100 Contractor)": {
                "schema": {
                  "$ref": "#/components/schemas/ApPayment-8"
                }
              },
              "application/json (Sage 300 CRE)": {
                "schema": {
                  "$ref": "#/components/schemas/ApPayment-9"
                }
              },
              "application/json (Sage Intacct)": {
                "schema": {
                  "$ref": "#/components/schemas/ApPayment-10"
                }
              },
              "application/json (Viewpoint Spectrum)": {
                "schema": {
                  "$ref": "#/components/schemas/ApPayment-11"
                }
              },
              "application/json (Viewpoint Vista)": {
                "schema": {
                  "$ref": "#/components/schemas/ApPayment-12"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/400"
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      }
    },
    "/ap-payments/{ap_payment_id}/line-items": {
      "parameters": [
        {
          "$ref": "#/components/parameters/AgaveApiVersion"
        },
        {
          "$ref": "#/components/parameters/AgaveIncludeSourceData"
        },
        {
          "$ref": "#/components/parameters/ProjectId"
        },
        {
          "$ref": "#/components/parameters/ap_payment_id"
        }
      ],
      "get": {
        "operationId": "listApPaymentLineItems",
        "tags": [
          "ap-payments"
        ],
        "summary": "All AP Payment Line Items",
        "description": "This endpoint retrieves a list of AP Payment Line Items a Linked User can access.\n",
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (Autodesk Build)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of AR Payment Line Items a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/ApPaymentLineItem-2"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (BIM 360)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of AR Payment Line Items a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/ApPaymentLineItem-2"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (CMiC)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of AR Payment Line Items a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/ApPaymentLineItem-3"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Foundation))": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of AR Payment Line Items a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/ApPaymentLineItem-4"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Procore)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of AR Payment Line Items a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/ApPaymentLineItem-5"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (QuickBooks Desktop)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of AR Payment Line Items a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/ApPaymentLineItem-6"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (QuickBooks Online)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of AR Payment Line Items a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/ApPaymentLineItem-7"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Sage 100 Contractor)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of AR Payment Line Items a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/ApPaymentLineItem-8"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Sage 300 CRE)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of AR Payment Line Items a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/ApPaymentLineItem-9"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Sage Intacct)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of AR Payment Line Items a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/ApPaymentLineItem-10"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Viewpoint Vista)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of AR Payment Line Items a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/ApPaymentLineItem-11"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              }
            }
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "404": {
            "$ref": "#/components/responses/404"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      },
      "post": {
        "operationId": "newApPaymentLineItem",
        "tags": [
          "ap-payments"
        ],
        "summary": "AP Payment Line Item",
        "description": "This endpoint creates AP Payment Line Items.\n\n**Notes for Autodesk Build and BIM 360:** \n  - AP Payment Line Items can only be _updated_, not _created_.\n  - The `Project-ID` header is required.\n",
        "requestBody": {
          "content": {
            "application/json (Autodesk Build)": {
              "schema": {
                "type": "object",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewApPaymentLineItem"
                  }
                ]
              }
            },
            "application/json (BIM 360)": {
              "schema": {
                "type": "object",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewApPaymentLineItem"
                  }
                ]
              }
            },
            "application/json (Procore)": {
              "schema": {
                "type": "object",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewApPaymentLineItem-2"
                  }
                ]
              }
            },
            "application/json (QuickBooks Desktop)": {
              "schema": {
                "type": "object",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewApPaymentLineItem-3"
                  }
                ]
              }
            },
            "application/json (QuickBooks Online)": {
              "schema": {
                "type": "object",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewApPaymentLineItem-2"
                  }
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (AutodeskBuild)": {
                "schema": {
                  "$ref": "#/components/schemas/ApPaymentLineItem-2"
                }
              },
              "application/json (BIM 360)": {
                "schema": {
                  "$ref": "#/components/schemas/ApPaymentLineItem-2"
                }
              },
              "application/json (CMiC)": {
                "schema": {
                  "$ref": "#/components/schemas/ApPaymentLineItem-3"
                }
              },
              "application/json (Foundation)": {
                "schema": {
                  "$ref": "#/components/schemas/ApPaymentLineItem-4"
                }
              },
              "application/json (Procore)": {
                "schema": {
                  "$ref": "#/components/schemas/ApPaymentLineItem-5"
                }
              },
              "application/json (QuickBooks Desktop)": {
                "schema": {
                  "$ref": "#/components/schemas/ApPaymentLineItem-6"
                }
              },
              "application/json (QuickBooks Online)": {
                "schema": {
                  "$ref": "#/components/schemas/ApPaymentLineItem-7"
                }
              },
              "application/json (Sage 100 Contractor)": {
                "schema": {
                  "$ref": "#/components/schemas/ApPaymentLineItem-8"
                }
              },
              "application/json (Sage 300 CRE)": {
                "schema": {
                  "$ref": "#/components/schemas/ApPaymentLineItem-9"
                }
              },
              "application/json (Sage Intacct)": {
                "schema": {
                  "$ref": "#/components/schemas/ApPaymentLineItem-10"
                }
              },
              "application/json (Viewpoint Vista)": {
                "schema": {
                  "$ref": "#/components/schemas/ApPaymentLineItem-11"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/400"
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      }
    },
    "/ap-payments/{id}": {
      "parameters": [
        {
          "$ref": "#/components/parameters/AgaveApiVersion"
        },
        {
          "$ref": "#/components/parameters/AgaveIncludeSourceData"
        },
        {
          "name": "id",
          "in": "path",
          "description": "The UUID of the Accounts Payable (AP) Payment assigned by Agave.",
          "required": true,
          "schema": {
            "type": "string",
            "format": "uuid"
          }
        }
      ],
      "get": {
        "operationId": "getApPayment",
        "tags": [
          "ap-payments"
        ],
        "summary": "One AP Payment",
        "description": "This endpoint returns an Accounts Payable (AP) Payment by its Agave UUID.",
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (Autodesk Build)": {
                "schema": {
                  "$ref": "#/components/schemas/ApPayment-2"
                }
              },
              "application/json (BIM 360)": {
                "schema": {
                  "$ref": "#/components/schemas/ApPayment-2"
                }
              },
              "application/json (CMiC)": {
                "schema": {
                  "$ref": "#/components/schemas/ApPayment-3"
                }
              },
              "application/json (Foundation)": {
                "schema": {
                  "$ref": "#/components/schemas/ApPayment-4"
                }
              },
              "application/json (Procore)": {
                "schema": {
                  "$ref": "#/components/schemas/ApPayment-5"
                }
              },
              "application/json (QuickBooks Desktop)": {
                "schema": {
                  "$ref": "#/components/schemas/ApPayment-6"
                }
              },
              "application/json (QuickBooks Online)": {
                "schema": {
                  "$ref": "#/components/schemas/ApPayment-7"
                }
              },
              "application/json (Sage 100 Contractor)": {
                "schema": {
                  "$ref": "#/components/schemas/ApPayment-8"
                }
              },
              "application/json (Sage 300 CRE)": {
                "schema": {
                  "$ref": "#/components/schemas/ApPayment-9"
                }
              },
              "application/json (Sage Intacct)": {
                "schema": {
                  "$ref": "#/components/schemas/ApPayment-10"
                }
              },
              "application/json (Viewpoint Spectrum)": {
                "schema": {
                  "$ref": "#/components/schemas/ApPayment-11"
                }
              },
              "application/json (Viewpoint Vista)": {
                "schema": {
                  "$ref": "#/components/schemas/ApPayment-12"
                }
              }
            }
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "404": {
            "$ref": "#/components/responses/404"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      },
      "put": {
        "operationId": "updateApPayment",
        "tags": [
          "ap-payments"
        ],
        "summary": "One AP Payment",
        "description": "This endpoint updates an AP Payment by its Agave UUID.\n\n**Note for Autodesk Build and BIM 360:** the `Project-ID` header is required.\n",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewApPayment-7"
                  },
                  {
                    "required": [
                      "id"
                    ]
                  }
                ]
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (Autodesk Build)": {
                "schema": {
                  "$ref": "#/components/schemas/ApPayment-2"
                }
              },
              "application/json (BIM 360)": {
                "schema": {
                  "$ref": "#/components/schemas/ApPayment-2"
                }
              },
              "application/json (CMiC)": {
                "schema": {
                  "$ref": "#/components/schemas/ApPayment-3"
                }
              },
              "application/json (Foundation)": {
                "schema": {
                  "$ref": "#/components/schemas/ApPayment-4"
                }
              },
              "application/json (Procore)": {
                "schema": {
                  "$ref": "#/components/schemas/ApPayment-5"
                }
              },
              "application/json (QuickBooks Desktop)": {
                "schema": {
                  "$ref": "#/components/schemas/ApPayment-6"
                }
              },
              "application/json (QuickBooks Online)": {
                "schema": {
                  "$ref": "#/components/schemas/ApPayment-7"
                }
              },
              "application/json (Sage 100 Contractor)": {
                "schema": {
                  "$ref": "#/components/schemas/ApPayment-8"
                }
              },
              "application/json (Sage 300 CRE)": {
                "schema": {
                  "$ref": "#/components/schemas/ApPayment-9"
                }
              },
              "application/json (Sage Intacct)": {
                "schema": {
                  "$ref": "#/components/schemas/ApPayment-10"
                }
              },
              "application/json (Viewpoint Spectrum)": {
                "schema": {
                  "$ref": "#/components/schemas/ApPayment-11"
                }
              },
              "application/json (Viewpoint Vista)": {
                "schema": {
                  "$ref": "#/components/schemas/ApPayment-12"
                }
              }
            }
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "404": {
            "$ref": "#/components/responses/404"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      }
    },
    "/ap-payments/{ap_payment_id}/line-items/{id}": {
      "parameters": [
        {
          "$ref": "#/components/parameters/AgaveApiVersion"
        },
        {
          "$ref": "#/components/parameters/AgaveIncludeSourceData"
        },
        {
          "$ref": "#/components/parameters/ProjectId"
        },
        {
          "$ref": "#/components/parameters/ap_payment_id"
        },
        {
          "name": "id",
          "in": "path",
          "description": "The UUID of the AP Payment Line Item assigned by Agave.",
          "required": true,
          "schema": {
            "type": "string",
            "format": "uuid"
          }
        }
      ],
      "get": {
        "operationId": "getApPaymentLineItem",
        "tags": [
          "ap-payments"
        ],
        "summary": "One AP Payment Line Item",
        "description": "This endpoint retrieves an AP Payment Line Item by its Agave UUID.\n",
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (AutodeskBuild)": {
                "schema": {
                  "$ref": "#/components/schemas/ApPaymentLineItem-2"
                }
              },
              "application/json (BIM 360)": {
                "schema": {
                  "$ref": "#/components/schemas/ApPaymentLineItem-2"
                }
              },
              "application/json (CMiC)": {
                "schema": {
                  "$ref": "#/components/schemas/ApPaymentLineItem-3"
                }
              },
              "application/json (Foundation)": {
                "schema": {
                  "$ref": "#/components/schemas/ApPaymentLineItem-4"
                }
              },
              "application/json (Procore)": {
                "schema": {
                  "$ref": "#/components/schemas/ApPaymentLineItem-5"
                }
              },
              "application/json (QuickBooks Desktop)": {
                "schema": {
                  "$ref": "#/components/schemas/ApPaymentLineItem-6"
                }
              },
              "application/json (QuickBooks Online)": {
                "schema": {
                  "$ref": "#/components/schemas/ApPaymentLineItem-7"
                }
              },
              "application/json (Sage 100 Contractor)": {
                "schema": {
                  "$ref": "#/components/schemas/ApPaymentLineItem-8"
                }
              },
              "application/json (Sage 300 CRE)": {
                "schema": {
                  "$ref": "#/components/schemas/ApPaymentLineItem-9"
                }
              },
              "application/json (Sage Intacct)": {
                "schema": {
                  "$ref": "#/components/schemas/ApPaymentLineItem-10"
                }
              },
              "application/json (Viewpoint Vista)": {
                "schema": {
                  "$ref": "#/components/schemas/ApPaymentLineItem-11"
                }
              }
            }
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "404": {
            "$ref": "#/components/responses/404"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      },
      "put": {
        "operationId": "updateApPaymentLineItem",
        "tags": [
          "ap-payments"
        ],
        "summary": "One AP Payment Line Item",
        "description": "This endpoint updates an AP Payment Line Item by its Agave UUID.\n\n**Note for Autodesk Build and BIM 360:** the `Project-ID` header is required.\n",
        "requestBody": {
          "content": {
            "application/json (Autodesk Build)": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewApPaymentLineItem"
                  },
                  {
                    "required": [
                      "id"
                    ]
                  }
                ]
              }
            },
            "application/json (BIM 360)": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewApPaymentLineItem"
                  },
                  {
                    "required": [
                      "id"
                    ]
                  }
                ]
              }
            },
            "application/json (Procore)": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewApPaymentLineItem-2"
                  },
                  {
                    "required": [
                      "id"
                    ]
                  }
                ]
              }
            },
            "application/json (QuickBooks Desktop)": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewApPaymentLineItem-3"
                  },
                  {
                    "required": [
                      "id"
                    ]
                  }
                ]
              }
            },
            "application/json (QuickBooks Online)": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewApPaymentLineItem-2"
                  },
                  {
                    "required": [
                      "id"
                    ]
                  }
                ]
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (Autodesk Build)": {
                "schema": {
                  "$ref": "#/components/schemas/ApPayment-2"
                }
              },
              "application/json (BIM 360)": {
                "schema": {
                  "$ref": "#/components/schemas/ApPayment-2"
                }
              },
              "application/json (CMiC)": {
                "schema": {
                  "$ref": "#/components/schemas/ApPayment-3"
                }
              },
              "application/json (Foundation)": {
                "schema": {
                  "$ref": "#/components/schemas/ApPayment-4"
                }
              },
              "application/json (Procore)": {
                "schema": {
                  "$ref": "#/components/schemas/ApPayment-5"
                }
              },
              "application/json (QuickBooks Desktop)": {
                "schema": {
                  "$ref": "#/components/schemas/ApPayment-6"
                }
              },
              "application/json (QuickBooks Online)": {
                "schema": {
                  "$ref": "#/components/schemas/ApPayment-7"
                }
              },
              "application/json (Sage 100 Contractor)": {
                "schema": {
                  "$ref": "#/components/schemas/ApPayment-8"
                }
              },
              "application/json (Sage 300 CRE)": {
                "schema": {
                  "$ref": "#/components/schemas/ApPayment-9"
                }
              },
              "application/json (Sage Intacct)": {
                "schema": {
                  "$ref": "#/components/schemas/ApPayment-10"
                }
              },
              "application/json (Viewpoint Spectrum)": {
                "schema": {
                  "$ref": "#/components/schemas/ApPayment-11"
                }
              },
              "application/json (Viewpoint Vista)": {
                "schema": {
                  "$ref": "#/components/schemas/ApPayment-12"
                }
              }
            }
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "404": {
            "$ref": "#/components/responses/404"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      }
    },
    "/ar-invoices": {
      "parameters": [
        {
          "$ref": "#/components/parameters/AgaveApiVersion"
        },
        {
          "$ref": "#/components/parameters/AgaveIncludeSourceData"
        },
        {
          "$ref": "#/components/parameters/Expand"
        }
      ],
      "get": {
        "operationId": "listArInvoices",
        "tags": [
          "ar-invoices"
        ],
        "summary": "All AR Invoices",
        "description": "This endpoint returns a list of AR Invoices a Linked User can access.\n\n**Note for Autodesk Build and Procore**: the `Project-ID` header is required.\n",
        "parameters": [
          {
            "name": "status",
            "in": "query",
            "description": "This is an optional query parameter to filter the AR Invoices by their Status.\n**Note:** for Acumatica and Viewpoint Vista, this query parameter is required. For Acumatica, see [link](https://support.agaveapi.com/what-is-the-difference-between-pro-forma-and-regular-ar-invoices-in-acumatica).\n\n**Note for Viewpoint Vista**: valid values include \"Pending\" and \"Posted\".\n",
            "required": false,
            "schema": {
              "type": "string",
              "example": "Open"
            }
          },
          {
            "name": "type",
            "in": "query",
            "description": "This is an optional query parameter to filter the AR Invoices by their Type.\n\n**Note for ComputerEase**: this query parameter is required. Valid values include \"Freeform Invoice\" and \"Retention\".\n\n**Note for Foundation**: this query parameter is required. Valid values include \"Adjustment\", \"AIA Billing\", \"Percent\", \"Regular\", and \"Time and Materials\".\n\n**Note for Sage 100 Contractor**: this query parameter is required. Valid values include \"Contract\", \"Memo\", \"Service\", and \"Progress Bill\".\n\n**Note for Sage 300 CRE**: this query parameter is required. Valid values include \"Adjustment, \"Invoice\", \"Retainage released\", and \"Tax retainage released\".\n\n**Note for Sage Intacct**: this query parameter is reguired. Valid values include \"Project Contract\" and \"Regular\".\n",
            "required": false,
            "schema": {
              "type": "string",
              "example": "Regular"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (Acumatica)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of AR Invoices the Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/ArInvoice-2"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Autodesk Build)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of AR Invoices the Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/ArInvoice-3"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (ComputerEase)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of AR Invoices the Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/ArInvoice-4"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Foundation)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of AR Invoices the Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/ArInvoice-5"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Procore)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of AR Invoices the Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/ArInvoice-6"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (QuickBooks Desktop)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of AR Invoices the Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/ArInvoice-7"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (QuickBooks Online)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of AR Invoices the Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/ArInvoice-8"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Sage 100C)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of AR Invoices the Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/ArInvoice-9"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Sage 300CRE)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of AR Invoices the Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/ArInvoice-10"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Sage Intacct)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of AR Invoices the Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/ArInvoice-11"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (ServiceTitan)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of AR Invoices the Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/ArInvoice-12"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Viewpoint Spectrum)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of AR Invoices the Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/ArInvoice-13"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Viewpoint Vista)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of AR Invoices the Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/ArInvoice-14"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/400"
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      },
      "post": {
        "operationId": "newArInvoice",
        "tags": [
          "ar-invoices"
        ],
        "summary": "AR Invoice",
        "description": "This endpoint creates AR Invoices.\n\n**Note for Acumatica**: AR Invoice Line Item references to Prime Contract Line Items are automatically generated by Acumatica. You cannot write values to this field, but the reference will be returned when it exists.\n\n**Note for Foundation and Sage 300 CRE**: only create operations are supported for AR Invoices.\n",
        "requestBody": {
          "content": {
            "application/json (Acumatica)": {
              "schema": {
                "type": "object",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewArInvoice"
                  }
                ]
              }
            },
            "application/json (Autodesk Build)": {
              "schema": {
                "type": "object",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewArInvoice-3"
                  }
                ]
              }
            },
            "application/json (ComputerEase)": {
              "schema": {
                "type": "object",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewArInvoice-4"
                  }
                ]
              }
            },
            "application/json (Foundation)": {
              "schema": {
                "type": "object",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewArInvoice-5"
                  }
                ]
              }
            },
            "application/json (Procore)": {
              "schema": {
                "type": "object",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewArInvoice-6"
                  }
                ]
              }
            },
            "application/json (QuickBooks Desktop)": {
              "schema": {
                "type": "object",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewArInvoice-7"
                  }
                ]
              }
            },
            "application/json (QuickBooks Online)": {
              "schema": {
                "type": "object",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewArInvoice-8"
                  }
                ]
              }
            },
            "application/json (Sage 100C)": {
              "schema": {
                "type": "object",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewArInvoice-9"
                  }
                ]
              }
            },
            "application/json (Sage 300 CRE)": {
              "schema": {
                "type": "object",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewArInvoice-10"
                  }
                ]
              }
            },
            "application/json (Sage Intacct)": {
              "schema": {
                "type": "object",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewArInvoice-11"
                  }
                ]
              }
            },
            "application/json (Viewpoint Spectrum)": {
              "schema": {
                "type": "object",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewArInvoice-12"
                  }
                ]
              }
            },
            "application/json (Viewpoint Vista)": {
              "schema": {
                "type": "object",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewArInvoice-13"
                  }
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (Acumatica)": {
                "schema": {
                  "$ref": "#/components/schemas/ArInvoice-2"
                }
              },
              "application/json (Autodesk Build)": {
                "schema": {
                  "$ref": "#/components/schemas/ArInvoice-3"
                }
              },
              "application/json (ComputerEase)": {
                "schema": {
                  "$ref": "#/components/schemas/ArInvoice-4"
                }
              },
              "application/json (Foundation)": {
                "schema": {
                  "$ref": "#/components/schemas/ArInvoice-5"
                }
              },
              "application/json (QuickBooks Desktop)": {
                "schema": {
                  "$ref": "#/components/schemas/ArInvoice-7"
                }
              },
              "application/json (QuickBooks Online)": {
                "schema": {
                  "$ref": "#/components/schemas/ArInvoice-8"
                }
              },
              "application/json (Sage 100C)": {
                "schema": {
                  "$ref": "#/components/schemas/ArInvoice-9"
                }
              },
              "application/json (Sage 300CRE)": {
                "schema": {
                  "$ref": "#/components/schemas/ArInvoice-10"
                }
              },
              "application/json (Sage Intacct)": {
                "schema": {
                  "$ref": "#/components/schemas/ArInvoice-11"
                }
              },
              "application/json (ServiceTitan)": {
                "schema": {
                  "$ref": "#/components/schemas/ArInvoice-12"
                }
              },
              "application/json (Viewpoint Spectrum)": {
                "schema": {
                  "$ref": "#/components/schemas/ArInvoice-13"
                }
              },
              "application/json (Viewpoint Vista)": {
                "schema": {
                  "$ref": "#/components/schemas/ArInvoice-14"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/400"
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      }
    },
    "/ar-invoices/{ar_invoice_id}/line-items": {
      "parameters": [
        {
          "$ref": "#/components/parameters/AgaveApiVersion"
        },
        {
          "$ref": "#/components/parameters/AgaveIncludeSourceData"
        },
        {
          "$ref": "#/components/parameters/ar_invoice_id"
        }
      ],
      "get": {
        "operationId": "listArInvoiceLineItems",
        "tags": [
          "ar-invoices"
        ],
        "summary": "All AR Invoice Line Items",
        "description": "This endpoint retrieves a list of AR Invoice Line Items a Linked User can access.\n",
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (Acumatica)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Invoice Line Items the Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/ArInvoiceLineItem-3"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Autodesk Build)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Invoice Line Items the Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/ArInvoiceLineItem-4"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (ComputerEase)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Invoice Line Items the Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/ArInvoiceLineItem-5"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Foundation)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Invoice Line Items the Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/ArInvoiceLineItem-6"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (QuickBooks Desktop)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Invoice Line Items the Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/ArInvoiceLineItem-7"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (QuickBooks Online)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Invoice Line Items the Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/ArInvoiceLineItem-8"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Sage 100C)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Invoice Line Items the Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/ArInvoiceLineItem-2"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Sage 300CRE)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Invoice Line Items the Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/ArInvoiceLineItem-9"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Sage Intacct)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Invoice Line Items the Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/ArInvoiceLineItem-10"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (ServiceTitan)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Invoice Line Items the Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/ArInvoiceLineItem-10"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Viewpoint Spectrum)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Invoice Line Items the Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/ArInvoiceLineItem-11"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Viewpoint Vista)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Invoice Line Items the Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/ArInvoiceLineItem-12"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              }
            }
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "404": {
            "$ref": "#/components/responses/404"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      },
      "post": {
        "operationId": "newArInvoiceLineItem",
        "tags": [
          "ar-invoices"
        ],
        "summary": "AR Invoice Line Item",
        "description": "This endpoint creates AR Invoice line Items.\n\n**Note for Acumatica**: AR Invoice Line Item references to Prime Contract Line Items are automatically generated by Acumatica. You cannot write values to this field, but the reference will be returned when it exists.\n",
        "requestBody": {
          "content": {
            "application/json (Acumatica)": {
              "schema": {
                "type": "object",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewArInvoiceLineItem"
                  }
                ]
              }
            },
            "application/json (Autodesk Build)": {
              "schema": {
                "type": "object",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewArInvoiceLineItem-13"
                  }
                ]
              }
            },
            "application/json (Procore)": {
              "schema": {
                "type": "object",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewArInvoiceLineItem-5"
                  }
                ]
              }
            },
            "application/json (QuickBooks Desktop)": {
              "schema": {
                "type": "object",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewArInvoiceLineItem-6"
                  }
                ]
              }
            },
            "application/json (QuickBooks Online)": {
              "schema": {
                "type": "object",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewArInvoiceLineItem-7"
                  }
                ]
              }
            },
            "application/json (Sage 100C)": {
              "schema": {
                "type": "object",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewArInvoiceLineItem-8"
                  }
                ]
              }
            },
            "application/json (Sage Intacct)": {
              "schema": {
                "type": "object",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewArInvoiceLineItem-10"
                  }
                ]
              }
            },
            "application/json (Viewpoint Vista)": {
              "schema": {
                "type": "object",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewArInvoiceLineItem-12"
                  }
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (Acumatica)": {
                "schema": {
                  "$ref": "#/components/schemas/ArInvoiceLineItem-3"
                }
              },
              "application/json (Autodesk Build)": {
                "schema": {
                  "$ref": "#/components/schemas/ArInvoiceLineItem-4"
                }
              },
              "application/json (ComputerEase)": {
                "schema": {
                  "$ref": "#/components/schemas/ArInvoiceLineItem-5"
                }
              },
              "application/json (Foundation)": {
                "schema": {
                  "$ref": "#/components/schemas/ArInvoiceLineItem-6"
                }
              },
              "application/json (Procore)": {
                "schema": {
                  "$ref": "#/components/schemas/ArInvoiceLineItem-13"
                }
              },
              "application/json (QuickBooks Desktop)": {
                "schema": {
                  "$ref": "#/components/schemas/ArInvoiceLineItem-7"
                }
              },
              "application/json (QuickBooks Online)": {
                "schema": {
                  "$ref": "#/components/schemas/ArInvoiceLineItem-8"
                }
              },
              "application/json (Sage 100C)": {
                "schema": {
                  "$ref": "#/components/schemas/ArInvoiceLineItem-2"
                }
              },
              "application/json (Sage 300CRE)": {
                "schema": {
                  "$ref": "#/components/schemas/ArInvoiceLineItem-9"
                }
              },
              "application/json (Sage Intacct)": {
                "schema": {
                  "$ref": "#/components/schemas/ArInvoiceLineItem-10"
                }
              },
              "application/json (ServiceTitan)": {
                "schema": {
                  "$ref": "#/components/schemas/ArInvoiceLineItem-14"
                }
              },
              "application/json (Viewpoint Spectrum)": {
                "schema": {
                  "$ref": "#/components/schemas/ArInvoiceLineItem-11"
                }
              },
              "application/json (Viewpoint Vista)": {
                "schema": {
                  "$ref": "#/components/schemas/ArInvoiceLineItem-12"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/400"
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      }
    },
    "/ar-invoices/{id}": {
      "parameters": [
        {
          "$ref": "#/components/parameters/AgaveApiVersion"
        },
        {
          "$ref": "#/components/parameters/AgaveIncludeSourceData"
        },
        {
          "name": "id",
          "in": "path",
          "description": "The UUID of the AR Invoice assigned by Agave.",
          "required": true,
          "schema": {
            "type": "string",
            "format": "uuid"
          }
        }
      ],
      "get": {
        "operationId": "getArInvoice",
        "tags": [
          "ar-invoices"
        ],
        "summary": "One AR Invoice",
        "description": "This endpoint returns an AR Invoice with the Agave UUID provided.",
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (Acumatica)": {
                "schema": {
                  "$ref": "#/components/schemas/ArInvoice-2"
                }
              },
              "application/json (Autodesk Build)": {
                "schema": {
                  "$ref": "#/components/schemas/ArInvoice-3"
                }
              },
              "application/json (ComputerEase)": {
                "schema": {
                  "$ref": "#/components/schemas/ArInvoice-4"
                }
              },
              "application/json (Foundation)": {
                "schema": {
                  "$ref": "#/components/schemas/ArInvoice-5"
                }
              },
              "application/json (QuickBooks Desktop)": {
                "schema": {
                  "$ref": "#/components/schemas/ArInvoice-7"
                }
              },
              "application/json (QuickBooks Online)": {
                "schema": {
                  "$ref": "#/components/schemas/ArInvoice-8"
                }
              },
              "application/json (Sage 100C)": {
                "schema": {
                  "$ref": "#/components/schemas/ArInvoice-9"
                }
              },
              "application/json (Sage 300CRE)": {
                "schema": {
                  "$ref": "#/components/schemas/ArInvoice-10"
                }
              },
              "application/json (Sage Intacct)": {
                "schema": {
                  "$ref": "#/components/schemas/ArInvoice-11"
                }
              },
              "application/json (ServiceTitan)": {
                "schema": {
                  "$ref": "#/components/schemas/ArInvoice-12"
                }
              },
              "application/json (Viewpoint Spectrum)": {
                "schema": {
                  "$ref": "#/components/schemas/ArInvoice-13"
                }
              },
              "application/json (Viewpoint Vista)": {
                "schema": {
                  "$ref": "#/components/schemas/ArInvoice-14"
                }
              }
            }
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "404": {
            "$ref": "#/components/responses/404"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      },
      "put": {
        "operationId": "updateArInvoice",
        "tags": [
          "ar-invoices"
        ],
        "summary": "One AR Invoice",
        "description": "This endpoint updates an AR Invoice by its Agave UUID.",
        "requestBody": {
          "content": {
            "application/json (Acumatica)": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewArInvoice"
                  },
                  {
                    "required": [
                      "id"
                    ]
                  }
                ]
              }
            },
            "application/json (Procore)": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewArInvoice-6"
                  },
                  {
                    "required": [
                      "id"
                    ]
                  }
                ]
              }
            },
            "application/json (QuickBooks Desktop)": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewArInvoice-7"
                  },
                  {
                    "required": [
                      "id"
                    ]
                  }
                ]
              }
            },
            "application/json (QuickBooks Online)": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewArInvoice-8"
                  },
                  {
                    "required": [
                      "id"
                    ]
                  }
                ]
              }
            },
            "application/json (Sage 100C)": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewArInvoice-9"
                  },
                  {
                    "required": [
                      "id"
                    ]
                  }
                ]
              }
            },
            "application/json (Sage Intacct)": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewArInvoice-11"
                  },
                  {
                    "required": [
                      "id"
                    ]
                  }
                ]
              }
            },
            "application/json (Viewpoint Vista)": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewArInvoice-13"
                  },
                  {
                    "required": [
                      "id"
                    ]
                  }
                ]
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (Acumatica)": {
                "schema": {
                  "$ref": "#/components/schemas/ArInvoice-2"
                }
              },
              "application/json (Autodesk Build)": {
                "schema": {
                  "$ref": "#/components/schemas/ArInvoice-3"
                }
              },
              "application/json (ComputerEase)": {
                "schema": {
                  "$ref": "#/components/schemas/ArInvoice-4"
                }
              },
              "application/json (Foundation)": {
                "schema": {
                  "$ref": "#/components/schemas/ArInvoice-5"
                }
              },
              "application/json (QuickBooks Desktop)": {
                "schema": {
                  "$ref": "#/components/schemas/ArInvoice-7"
                }
              },
              "application/json (QuickBooks Online)": {
                "schema": {
                  "$ref": "#/components/schemas/ArInvoice-8"
                }
              },
              "application/json (Sage 100C)": {
                "schema": {
                  "$ref": "#/components/schemas/ArInvoice-9"
                }
              },
              "application/json (Sage 300CRE)": {
                "schema": {
                  "$ref": "#/components/schemas/ArInvoice-10"
                }
              },
              "application/json (Sage Intacct)": {
                "schema": {
                  "$ref": "#/components/schemas/ArInvoice-11"
                }
              },
              "application/json (ServiceTitan)": {
                "schema": {
                  "$ref": "#/components/schemas/ArInvoice-12"
                }
              },
              "application/json (Viewpoint Spectrum)": {
                "schema": {
                  "$ref": "#/components/schemas/ArInvoice-13"
                }
              },
              "application/json (Viewpoint Vista)": {
                "schema": {
                  "$ref": "#/components/schemas/ArInvoice-14"
                }
              }
            }
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "404": {
            "$ref": "#/components/responses/404"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      },
      "delete": {
        "operationId": "deleteArInvoice",
        "tags": [
          "ar-invoices"
        ],
        "summary": "One AR Invoice",
        "description": "This endpoint deletes an AR Invoice and its Line Items by its Agave UUID.",
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (Acumatica)": {
                "schema": {
                  "$ref": "#/components/schemas/ArInvoice-2"
                }
              }
            }
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "404": {
            "$ref": "#/components/responses/404"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      }
    },
    "/ar-invoices/{ar_invoice_id}/line-items/{id}": {
      "parameters": [
        {
          "$ref": "#/components/parameters/AgaveApiVersion"
        },
        {
          "$ref": "#/components/parameters/AgaveIncludeSourceData"
        },
        {
          "$ref": "#/components/parameters/ar_invoice_id"
        },
        {
          "name": "id",
          "in": "path",
          "description": "The UUID of the AR Invoice Line Item assigned by Agave.",
          "required": true,
          "schema": {
            "type": "string",
            "format": "uuid"
          }
        }
      ],
      "get": {
        "operationId": "getArInvoiceLineItem",
        "tags": [
          "ar-invoices"
        ],
        "summary": "One AR Invoice Line Item",
        "description": "This endpoint retrieves an AR Invoice Line Item by its Agave UUID.\n",
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (Acumatica)": {
                "schema": {
                  "$ref": "#/components/schemas/ArInvoiceLineItem-3"
                }
              },
              "application/json (Autodesk Build)": {
                "schema": {
                  "$ref": "#/components/schemas/ArInvoiceLineItem-4"
                }
              },
              "application/json (ComputerEase)": {
                "schema": {
                  "$ref": "#/components/schemas/ArInvoiceLineItem-5"
                }
              },
              "application/json (Foundation)": {
                "schema": {
                  "$ref": "#/components/schemas/ArInvoiceLineItem-6"
                }
              },
              "application/json (Procore)": {
                "schema": {
                  "$ref": "#/components/schemas/ArInvoiceLineItem-13"
                }
              },
              "application/json (QuickBooks Desktop)": {
                "schema": {
                  "$ref": "#/components/schemas/ArInvoiceLineItem-7"
                }
              },
              "application/json (QuickBooks Online)": {
                "schema": {
                  "$ref": "#/components/schemas/ArInvoiceLineItem-8"
                }
              },
              "application/json (Sage 100C)": {
                "schema": {
                  "$ref": "#/components/schemas/ArInvoiceLineItem-2"
                }
              },
              "application/json (Sage 300CRE)": {
                "schema": {
                  "$ref": "#/components/schemas/ArInvoiceLineItem-9"
                }
              },
              "application/json (Sage Intacct)": {
                "schema": {
                  "$ref": "#/components/schemas/ArInvoiceLineItem-10"
                }
              },
              "application/json (ServiceTitan)": {
                "schema": {
                  "$ref": "#/components/schemas/ArInvoiceLineItem-14"
                }
              },
              "application/json (Viewpoint Spectrum)": {
                "schema": {
                  "$ref": "#/components/schemas/ArInvoiceLineItem-11"
                }
              },
              "application/json (Viewpoint Vista)": {
                "schema": {
                  "$ref": "#/components/schemas/ArInvoiceLineItem-12"
                }
              }
            }
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "404": {
            "$ref": "#/components/responses/404"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      },
      "put": {
        "operationId": "updateArInvoiceLineItem",
        "tags": [
          "ar-invoices"
        ],
        "summary": "One AR Invoice Line Item",
        "description": "This endpoint updates an AR Invoice Line Item by its Agave UUID.",
        "requestBody": {
          "content": {
            "application/json (Acumatica)": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewArInvoiceLineItem"
                  },
                  {
                    "required": [
                      "id"
                    ]
                  }
                ]
              }
            },
            "application/json (Procore)": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewArInvoiceLineItem-5"
                  },
                  {
                    "required": [
                      "id"
                    ]
                  }
                ]
              }
            },
            "application/json (QuickBooks Desktop)": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewArInvoiceLineItem-6"
                  },
                  {
                    "required": [
                      "id"
                    ]
                  }
                ]
              }
            },
            "application/json (QuickBooks Online)": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewArInvoiceLineItem-7"
                  },
                  {
                    "required": [
                      "id"
                    ]
                  }
                ]
              }
            },
            "application/json (Sage 100C)": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewArInvoiceLineItem-8"
                  },
                  {
                    "required": [
                      "id"
                    ]
                  }
                ]
              }
            },
            "application/json (Sage Intacct)": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewArInvoiceLineItem-10"
                  },
                  {
                    "required": [
                      "id"
                    ]
                  }
                ]
              }
            },
            "application/json (Viewpoint Vista)": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewArInvoiceLineItem-12"
                  },
                  {
                    "required": [
                      "id"
                    ]
                  }
                ]
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (Acumatica)": {
                "schema": {
                  "$ref": "#/components/schemas/ArInvoiceLineItem-3"
                }
              },
              "application/json (Autodesk Build)": {
                "schema": {
                  "$ref": "#/components/schemas/ArInvoiceLineItem-4"
                }
              },
              "application/json (ComputerEase)": {
                "schema": {
                  "$ref": "#/components/schemas/ArInvoiceLineItem-5"
                }
              },
              "application/json (Foundation)": {
                "schema": {
                  "$ref": "#/components/schemas/ArInvoiceLineItem-6"
                }
              },
              "application/json (Procore)": {
                "schema": {
                  "$ref": "#/components/schemas/ArInvoiceLineItem-13"
                }
              },
              "application/json (QuickBooks Desktop)": {
                "schema": {
                  "$ref": "#/components/schemas/ArInvoiceLineItem-7"
                }
              },
              "application/json (QuickBooks Online)": {
                "schema": {
                  "$ref": "#/components/schemas/ArInvoiceLineItem-8"
                }
              },
              "application/json (Sage 100C)": {
                "schema": {
                  "$ref": "#/components/schemas/ArInvoiceLineItem-2"
                }
              },
              "application/json (Sage 300CRE)": {
                "schema": {
                  "$ref": "#/components/schemas/ArInvoiceLineItem-9"
                }
              },
              "application/json (Sage Intacct)": {
                "schema": {
                  "$ref": "#/components/schemas/ArInvoiceLineItem-10"
                }
              },
              "application/json (ServiceTitan)": {
                "schema": {
                  "$ref": "#/components/schemas/ArInvoiceLineItem-14"
                }
              },
              "application/json (Viewpoint Spectrum)": {
                "schema": {
                  "$ref": "#/components/schemas/ArInvoiceLineItem-11"
                }
              },
              "application/json (Viewpoint Vista)": {
                "schema": {
                  "$ref": "#/components/schemas/ArInvoiceLineItem-12"
                }
              }
            }
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "404": {
            "$ref": "#/components/responses/404"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      },
      "delete": {
        "operationId": "deleteArInvoiceLineItem",
        "tags": [
          "ar-invoices"
        ],
        "summary": "One AR Invoice Line Item",
        "description": "This endpoint deletes an AR Invoice Line Item by its Agave UUID.",
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (Acumatica)": {
                "schema": {
                  "$ref": "#/components/schemas/ArInvoiceLineItem-3"
                }
              }
            }
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "404": {
            "$ref": "#/components/responses/404"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      }
    },
    "/ar-payments": {
      "parameters": [
        {
          "$ref": "#/components/parameters/AgaveApiVersion"
        },
        {
          "$ref": "#/components/parameters/AgaveIncludeSourceData"
        },
        {
          "$ref": "#/components/parameters/Expand"
        }
      ],
      "get": {
        "operationId": "listArPayments",
        "tags": [
          "ar-payments"
        ],
        "summary": "All AR Payments",
        "description": "This endpoint retrieves a list of Accounts Receivable Payments a Linked User can access.\n\n**Note**: the Project-ID header is required for the following supported Source Systems:\n - Procore\n",
        "parameters": [
          {
            "name": "status",
            "in": "query",
            "description": "This is an optional query parameter to filter the AR Invoices by their status.\n**Note:** for Viewpoint Spectrum and Viewpoint Vista, this query parameter is required.\n",
            "required": false,
            "schema": {
              "type": "string",
              "enum": [
                "Pending",
                "Posted"
              ],
              "example": "Pending"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (Acumatica)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of AR Payments a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/ArPayment-2"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Foundation)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of AR Payments a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/ArPayment-3"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Procore)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of AR Payments a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/ArPayment-4"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (QuickBooks Desktop)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of AR Payments a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/ArPayment-5"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (QuickBooks Online)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of AR Payments a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/ArPayment-6"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Sage 100 Contractor)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of AR Payments a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/ArPayment-7"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Sage 300 CRE)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of AR Payments a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/ArPayment-8"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Sage Intacct)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of AR Payments a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/ArPayment-9"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (ServiceTitan)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of AR Payments a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/ArPayment-10"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Viewpoint Spectrum)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of AR Payments a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/ArPayment-11"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Viewpoint Vista)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of AR Payments a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/ArPayment-12"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/400"
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      },
      "post": {
        "operationId": "newArPayments",
        "tags": [
          "ar-payments"
        ],
        "summary": "AR Payment",
        "description": "This endpoint creates Accounts Receivable (AR) Payments.\n",
        "requestBody": {
          "content": {
            "application/json (Acumatica)": {
              "schema": {
                "type": "object",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewArPayment"
                  }
                ]
              }
            },
            "application/json (Procore)": {
              "schema": {
                "type": "object",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewArPayment-2"
                  }
                ]
              }
            },
            "application/json (QuickBooks Desktop)": {
              "schema": {
                "type": "object",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewArPayment-3"
                  }
                ]
              }
            },
            "application/json (QuickBooks Online)": {
              "schema": {
                "type": "object",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewArPayment-4"
                  }
                ]
              }
            },
            "application/json (Viewpoint Spectrum)": {
              "schema": {
                "type": "object",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewArPayment-5"
                  }
                ]
              }
            },
            "application/json (Viewpoint Vista)": {
              "schema": {
                "type": "object",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewArPayment-6"
                  }
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (Acumatica)": {
                "schema": {
                  "$ref": "#/components/schemas/ArPayment-2"
                }
              },
              "application/json (Foundation)": {
                "schema": {
                  "$ref": "#/components/schemas/ArPayment-3"
                }
              },
              "application/json (Procore)": {
                "schema": {
                  "$ref": "#/components/schemas/ArPayment-4"
                }
              },
              "application/json (QuickBooks Desktop)": {
                "schema": {
                  "$ref": "#/components/schemas/ArPayment-5"
                }
              },
              "application/json (QuickBooks Online)": {
                "schema": {
                  "$ref": "#/components/schemas/ArPayment-6"
                }
              },
              "application/json (Sage 100 Contractor)": {
                "schema": {
                  "$ref": "#/components/schemas/ArPayment-7"
                }
              },
              "application/json (Sage 300 CRE)": {
                "schema": {
                  "$ref": "#/components/schemas/ArPayment-8"
                }
              },
              "application/json (Sage Intacct)": {
                "schema": {
                  "$ref": "#/components/schemas/ArPayment-9"
                }
              },
              "application/json (ServiceTitan)": {
                "schema": {
                  "$ref": "#/components/schemas/ArPayment-10"
                }
              },
              "application/json (Viewpoint Spectrum)": {
                "schema": {
                  "$ref": "#/components/schemas/ArPayment-11"
                }
              },
              "application/json (Viewpoint Vista)": {
                "schema": {
                  "$ref": "#/components/schemas/ArPayment-12"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/400"
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      }
    },
    "/ar-payments/{ar_payment_id}/line-items": {
      "parameters": [
        {
          "$ref": "#/components/parameters/AgaveApiVersion"
        },
        {
          "$ref": "#/components/parameters/AgaveIncludeSourceData"
        },
        {
          "$ref": "#/components/parameters/RequiredProjectId"
        },
        {
          "$ref": "#/components/parameters/ar_payment_id"
        }
      ],
      "get": {
        "operationId": "listArPaymentLineItems",
        "tags": [
          "ar-payments"
        ],
        "summary": "All AR Payment Line Items",
        "description": "This endpoint retrieves a list of AR Payment Line Items a Linked User can access.\n",
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (Acumatica)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of AR Payment Line Items a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/ArPaymentLineItem-2"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Foundation)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of AR Payment Line Items a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/ArPaymentLineItem-3"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Procore)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of AR Payment Line Items a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/ArPaymentLineItem-4"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (QuickBooks Desktop)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of AR Payment Line Items a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/ArPaymentLineItem-5"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (QuickBooks Online)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of AR Payment Line Items a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/ArPaymentLineItem-6"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Sage 100 Contractor)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of AR Payment Line Items a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/ArPaymentLineItem-7"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Sage 300 CRE)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of AR Payment Line Items a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/ArPaymentLineItem-8"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Sage Intacct)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of AR Payment Line Items a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/ArPaymentLineItem-9"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (ServiceTitan)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of AR Payment Line Items a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/ArPaymentLineItem-10"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Viewpoint Spectrum)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of AR Payment Line Items a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/ArPaymentLineItem-11"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Viewpoint Vista)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of AR Payment Line Items a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/ArPaymentLineItem-12"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              }
            }
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "404": {
            "$ref": "#/components/responses/404"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      },
      "post": {
        "operationId": "newArPaymentLineItem",
        "tags": [
          "ar-payments"
        ],
        "summary": "AR Payment Line Item",
        "description": "This endpoint creates AR Payment line Items.\n",
        "requestBody": {
          "content": {
            "application/json (Acumatica)": {
              "schema": {
                "type": "object",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewArPaymentLineItem"
                  }
                ]
              }
            },
            "application/json (QuickBooks Desktop)": {
              "schema": {
                "type": "object",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewArPaymentLineItem-2"
                  }
                ]
              }
            },
            "application/json (QuickBooks Online)": {
              "schema": {
                "type": "object",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewArPaymentLineItem-3"
                  }
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (Acumatica)": {
                "schema": {
                  "$ref": "#/components/schemas/ArPaymentLineItem-2"
                }
              },
              "application/json (Foundation)": {
                "schema": {
                  "$ref": "#/components/schemas/ArPaymentLineItem-3"
                }
              },
              "application/json (Procore)": {
                "schema": {
                  "$ref": "#/components/schemas/ArPaymentLineItem-4"
                }
              },
              "application/json (QuickBooks Desktop)": {
                "schema": {
                  "$ref": "#/components/schemas/ArPaymentLineItem-5"
                }
              },
              "application/json (QuickBooks Online)": {
                "schema": {
                  "$ref": "#/components/schemas/ArPaymentLineItem-6"
                }
              },
              "application/json (Sage 100 Contractor)": {
                "schema": {
                  "$ref": "#/components/schemas/ArPaymentLineItem-7"
                }
              },
              "application/json (Sage 300 CRE)": {
                "schema": {
                  "$ref": "#/components/schemas/ArPaymentLineItem-8"
                }
              },
              "application/json (Sage Intacct)": {
                "schema": {
                  "$ref": "#/components/schemas/ArPaymentLineItem-9"
                }
              },
              "application/json (ServiceTitan)": {
                "schema": {
                  "$ref": "#/components/schemas/ArPaymentLineItem-10"
                }
              },
              "application/json (Viewpoint Spectrum)": {
                "schema": {
                  "$ref": "#/components/schemas/ArPaymentLineItem-11"
                }
              },
              "application/json (Viewpoint Vista)": {
                "schema": {
                  "$ref": "#/components/schemas/ArPaymentLineItem-12"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/400"
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      }
    },
    "/ar-payments/{id}": {
      "parameters": [
        {
          "$ref": "#/components/parameters/AgaveApiVersion"
        },
        {
          "$ref": "#/components/parameters/AgaveIncludeSourceData"
        },
        {
          "name": "id",
          "in": "path",
          "description": "The UUID of the Accounts Receivable (AR) Payment assigned by Agave.",
          "required": true,
          "schema": {
            "type": "string",
            "format": "uuid"
          }
        }
      ],
      "get": {
        "operationId": "getArPayment",
        "tags": [
          "ar-payments"
        ],
        "summary": "One AR Payment",
        "description": "This endpoint returns an Accounts Receivable (AR) Payment by its Agave UUID.",
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (Acumatica)": {
                "schema": {
                  "$ref": "#/components/schemas/ArPayment-2"
                }
              },
              "application/json (Foundation)": {
                "schema": {
                  "$ref": "#/components/schemas/ArPayment-3"
                }
              },
              "application/json (Procore)": {
                "schema": {
                  "$ref": "#/components/schemas/ArPayment-4"
                }
              },
              "application/json (QuickBooks Desktop)": {
                "schema": {
                  "$ref": "#/components/schemas/ArPayment-5"
                }
              },
              "application/json (QuickBooks Online)": {
                "schema": {
                  "$ref": "#/components/schemas/ArPayment-6"
                }
              },
              "application/json (Sage 100 Contractor)": {
                "schema": {
                  "$ref": "#/components/schemas/ArPayment-7"
                }
              },
              "application/json (Sage 300 CRE)": {
                "schema": {
                  "$ref": "#/components/schemas/ArPayment-8"
                }
              },
              "application/json (Sage Intacct)": {
                "schema": {
                  "$ref": "#/components/schemas/ArPayment-9"
                }
              },
              "application/json (ServiceTitan)": {
                "schema": {
                  "$ref": "#/components/schemas/ArPayment-10"
                }
              },
              "application/json (Viewpoint Spectrum)": {
                "schema": {
                  "$ref": "#/components/schemas/ArPayment-11"
                }
              },
              "application/json (Viewpoint Vista)": {
                "schema": {
                  "$ref": "#/components/schemas/ArPayment-12"
                }
              }
            }
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "404": {
            "$ref": "#/components/responses/404"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      },
      "put": {
        "operationId": "updateArPayment",
        "tags": [
          "ar-payments"
        ],
        "summary": "One AR Payment",
        "description": "This endpoint updates an Accounts Receivable (AR) Payment by its Agave UUID.",
        "requestBody": {
          "content": {
            "application/json (Acumatica)": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewArPayment"
                  },
                  {
                    "required": [
                      "id"
                    ]
                  }
                ]
              }
            },
            "application/json (QuickBooks Desktop)": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewArPayment-3"
                  },
                  {
                    "required": [
                      "id"
                    ]
                  }
                ]
              }
            },
            "application/json (QuickBooks Online)": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewArPayment-4"
                  },
                  {
                    "required": [
                      "id"
                    ]
                  }
                ]
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (Acumatica)": {
                "schema": {
                  "$ref": "#/components/schemas/ArPayment-2"
                }
              },
              "application/json (Foundation)": {
                "schema": {
                  "$ref": "#/components/schemas/ArPayment-3"
                }
              },
              "application/json (Procore)": {
                "schema": {
                  "$ref": "#/components/schemas/ArPayment-4"
                }
              },
              "application/json (QuickBooks Desktop)": {
                "schema": {
                  "$ref": "#/components/schemas/ArPayment-5"
                }
              },
              "application/json (QuickBooks Online)": {
                "schema": {
                  "$ref": "#/components/schemas/ArPayment-6"
                }
              },
              "application/json (Sage 100 Contractor)": {
                "schema": {
                  "$ref": "#/components/schemas/ArPayment-7"
                }
              },
              "application/json (Sage 300 CRE)": {
                "schema": {
                  "$ref": "#/components/schemas/ArPayment-8"
                }
              },
              "application/json (Sage Intacct)": {
                "schema": {
                  "$ref": "#/components/schemas/ArPayment-9"
                }
              },
              "application/json (ServiceTitan)": {
                "schema": {
                  "$ref": "#/components/schemas/ArPayment-10"
                }
              },
              "application/json (Viewpoint Spectrum)": {
                "schema": {
                  "$ref": "#/components/schemas/ArPayment-11"
                }
              },
              "application/json (Viewpoint Vista)": {
                "schema": {
                  "$ref": "#/components/schemas/ArPayment-12"
                }
              }
            }
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "404": {
            "$ref": "#/components/responses/404"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      }
    },
    "/ar-payments/{ar_payment_id}/line-items/{id}": {
      "parameters": [
        {
          "$ref": "#/components/parameters/AgaveApiVersion"
        },
        {
          "$ref": "#/components/parameters/AgaveIncludeSourceData"
        },
        {
          "$ref": "#/components/parameters/ProjectId"
        },
        {
          "$ref": "#/components/parameters/ar_payment_id"
        },
        {
          "name": "id",
          "in": "path",
          "description": "The UUID of the AR Payment Line Item assigned by Agave.",
          "required": true,
          "schema": {
            "type": "string",
            "format": "uuid"
          }
        }
      ],
      "get": {
        "operationId": "getArPaymentLineItem",
        "tags": [
          "ar-payments"
        ],
        "summary": "One AR Payment Line Item",
        "description": "This endpoint retrieves an AR Payment Line Item by its Agave UUID.\n",
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (Acumatica)": {
                "schema": {
                  "$ref": "#/components/schemas/ArPaymentLineItem-2"
                }
              },
              "application/json (Foundation)": {
                "schema": {
                  "$ref": "#/components/schemas/ArPaymentLineItem-3"
                }
              },
              "application/json (Procore)": {
                "schema": {
                  "$ref": "#/components/schemas/ArPaymentLineItem-4"
                }
              },
              "application/json (QuickBooks Desktop)": {
                "schema": {
                  "$ref": "#/components/schemas/ArPaymentLineItem-5"
                }
              },
              "application/json (QuickBooks Online)": {
                "schema": {
                  "$ref": "#/components/schemas/ArPaymentLineItem-6"
                }
              },
              "application/json (Sage 100 Contractor)": {
                "schema": {
                  "$ref": "#/components/schemas/ArPaymentLineItem-7"
                }
              },
              "application/json (Sage 300 CRE)": {
                "schema": {
                  "$ref": "#/components/schemas/ArPaymentLineItem-8"
                }
              },
              "application/json (Sage Intacct)": {
                "schema": {
                  "$ref": "#/components/schemas/ArPaymentLineItem-9"
                }
              },
              "application/json (ServiceTitan)": {
                "schema": {
                  "$ref": "#/components/schemas/ArPaymentLineItem-10"
                }
              },
              "application/json (Viewpoint Spectrum)": {
                "schema": {
                  "$ref": "#/components/schemas/ArPaymentLineItem-11"
                }
              },
              "application/json (Viewpoint Vista)": {
                "schema": {
                  "$ref": "#/components/schemas/ArPaymentLineItem-12"
                }
              }
            }
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "404": {
            "$ref": "#/components/responses/404"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      },
      "put": {
        "operationId": "updateArPaymentLineItem",
        "tags": [
          "ar-payments"
        ],
        "summary": "One AR Payment Line Item",
        "description": "This endpoint updates an AR Payment Line Item by its Agave UUID.",
        "requestBody": {
          "content": {
            "application/json (Acumatica)": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewArPaymentLineItem"
                  },
                  {
                    "required": [
                      "id"
                    ]
                  }
                ]
              }
            },
            "application/json (QuickBooks Desktop)": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewArPaymentLineItem-2"
                  },
                  {
                    "required": [
                      "id"
                    ]
                  }
                ]
              }
            },
            "application/json (QuickBooks Online)": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewArPaymentLineItem-2"
                  },
                  {
                    "required": [
                      "id"
                    ]
                  }
                ]
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (Acumatica)": {
                "schema": {
                  "$ref": "#/components/schemas/ArPayment-2"
                }
              },
              "application/json (Foundation)": {
                "schema": {
                  "$ref": "#/components/schemas/ArPayment-3"
                }
              },
              "application/json (Procore)": {
                "schema": {
                  "$ref": "#/components/schemas/ArPayment-4"
                }
              },
              "application/json (QuickBooks Desktop)": {
                "schema": {
                  "$ref": "#/components/schemas/ArPayment-5"
                }
              },
              "application/json (QuickBooks Online)": {
                "schema": {
                  "$ref": "#/components/schemas/ArPayment-6"
                }
              },
              "application/json (Sage 100 Contractor)": {
                "schema": {
                  "$ref": "#/components/schemas/ArPayment-7"
                }
              },
              "application/json (Sage 300 CRE)": {
                "schema": {
                  "$ref": "#/components/schemas/ArPayment-8"
                }
              },
              "application/json (Sage Intacct)": {
                "schema": {
                  "$ref": "#/components/schemas/ArPayment-9"
                }
              },
              "application/json (ServiceTitan)": {
                "schema": {
                  "$ref": "#/components/schemas/ArPayment-10"
                }
              },
              "application/json (Viewpoint Spectrum)": {
                "schema": {
                  "$ref": "#/components/schemas/ArPayment-11"
                }
              },
              "application/json (Viewpoint Vista)": {
                "schema": {
                  "$ref": "#/components/schemas/ArPayment-12"
                }
              }
            }
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "404": {
            "$ref": "#/components/responses/404"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      }
    },
    "/assets": {
      "parameters": [
        {
          "$ref": "#/components/parameters/AgaveApiVersion"
        },
        {
          "$ref": "#/components/parameters/AgaveIncludeSourceData"
        }
      ],
      "get": {
        "operationId": "listAssets",
        "tags": [
          "assets"
        ],
        "summary": "All Assets",
        "description": "This endpoint retrieves a list of Assets a Linked User can access.",
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (Autodesk Build)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Assets a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/Asset-2"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (BIM 360)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Assets a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/Asset-2"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (CMiC)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Assets a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/Asset-3"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Foundation)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Assets a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/Asset-4"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Procore)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Assets a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/Asset-5"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Viewpoint Spectrum)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Assets a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/Asset-6"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Viewpoint Vista)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Assets a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/Asset-7"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/400"
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      },
      "post": {
        "operationId": "newAsset",
        "tags": [
          "assets"
        ],
        "summary": "Asset",
        "description": "This endpoint creates Assets.\n\n**Note for CMiC**: you will need to include the following fields under Source_Data (see Request Body Schema below for descriptions of each):\n  - EmeAutoChargeoutFlag\n  - EmeBillRateRequiredFlag\n  - EmeBulkEquipmentFlag:\n  - EmeDepreciationFlag\n  - EmeEqpHier\n  - EmeFixedAssetsFlag\n  - EmeHomelocName\n  - EmeUseMeterReadingFlag\n",
        "requestBody": {
          "content": {
            "application/json (CMiC)": {
              "schema": {
                "type": "object",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewAsset-2"
                  }
                ]
              }
            },
            "application/json (Procore)": {
              "schema": {
                "type": "object",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewAsset-3"
                  }
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (Autodesk Build)": {
                "schema": {
                  "$ref": "#/components/schemas/Asset-2"
                }
              },
              "application/json (BIM 360)": {
                "schema": {
                  "$ref": "#/components/schemas/Asset-2"
                }
              },
              "application/json (CMiC)": {
                "schema": {
                  "$ref": "#/components/schemas/Asset-3"
                }
              },
              "application/json (Foundation)": {
                "schema": {
                  "$ref": "#/components/schemas/Asset-4"
                }
              },
              "application/json (Procore)": {
                "schema": {
                  "$ref": "#/components/schemas/Asset-5"
                }
              },
              "application/json (Viewpoint Spectrum)": {
                "schema": {
                  "$ref": "#/components/schemas/Asset-6"
                }
              },
              "application/json (Viewpoint Vista)": {
                "schema": {
                  "$ref": "#/components/schemas/Asset-7"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/400"
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      }
    },
    "/assets/{id}": {
      "parameters": [
        {
          "$ref": "#/components/parameters/AgaveApiVersion"
        },
        {
          "$ref": "#/components/parameters/AgaveIncludeSourceData"
        },
        {
          "name": "id",
          "in": "path",
          "description": "The UUID of the Asset assigned by Agave.",
          "required": true,
          "schema": {
            "type": "string",
            "format": "uuid"
          }
        }
      ],
      "get": {
        "operationId": "getAsset",
        "tags": [
          "assets"
        ],
        "summary": "One Asset",
        "description": "This endpoint returns an Asset by its Agave UUID.",
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (Autodesk Build)": {
                "schema": {
                  "$ref": "#/components/schemas/Asset-2"
                }
              },
              "application/json (BIM 360)": {
                "schema": {
                  "$ref": "#/components/schemas/Asset-2"
                }
              },
              "application/json (CMiC)": {
                "schema": {
                  "$ref": "#/components/schemas/Asset-3"
                }
              },
              "application/json (Foundation)": {
                "schema": {
                  "$ref": "#/components/schemas/Asset-4"
                }
              },
              "application/json (Procore)": {
                "schema": {
                  "$ref": "#/components/schemas/Asset-5"
                }
              },
              "application/json (Viewpoint Spectrum)": {
                "schema": {
                  "$ref": "#/components/schemas/Asset-6"
                }
              },
              "application/json (Viewpoint Vista)": {
                "schema": {
                  "$ref": "#/components/schemas/Asset-7"
                }
              }
            }
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "404": {
            "$ref": "#/components/responses/404"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      },
      "put": {
        "operationId": "updateAsset",
        "tags": [
          "assets"
        ],
        "summary": "One Asset",
        "description": "This endpoint updates an Asset by its Agave UUID.",
        "requestBody": {
          "content": {
            "application/json (Procore)": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewAsset-3"
                  },
                  {
                    "required": [
                      "id"
                    ]
                  }
                ]
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (Autodesk Build)": {
                "schema": {
                  "$ref": "#/components/schemas/Asset-2"
                }
              },
              "application/json (BIM 360)": {
                "schema": {
                  "$ref": "#/components/schemas/Asset-2"
                }
              },
              "application/json (CMiC)": {
                "schema": {
                  "$ref": "#/components/schemas/Asset-3"
                }
              },
              "application/json (Foundation)": {
                "schema": {
                  "$ref": "#/components/schemas/Asset-4"
                }
              },
              "application/json (Procore)": {
                "schema": {
                  "$ref": "#/components/schemas/Asset-5"
                }
              },
              "application/json (Viewpoint Spectrum)": {
                "schema": {
                  "$ref": "#/components/schemas/Asset-6"
                }
              },
              "application/json (Viewpoint Vista)": {
                "schema": {
                  "$ref": "#/components/schemas/Asset-7"
                }
              }
            }
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "404": {
            "$ref": "#/components/responses/404"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      }
    },
    "/bank-accounts": {
      "parameters": [
        {
          "$ref": "#/components/parameters/AgaveApiVersion"
        },
        {
          "$ref": "#/components/parameters/AgaveIncludeSourceData"
        }
      ],
      "get": {
        "operationId": "listBankAccounts",
        "tags": [
          "bank-accounts"
        ],
        "summary": "All Bank Accounts",
        "description": "This endpoint retrieves a list of Bank Account a Linked User can access.",
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (QuickBooks Desktop)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Bank Accounts a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/BankAccount-2"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (QuickBooks Online)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Bank Accounts a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/BankAccount-3"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Sage 100 Contractor)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Bank Accounts a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/BankAccount-4"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Viewpoint Spectrum)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Bank Accounts a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/BankAccount-5"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Viewpoint Vista)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Bank Accounts a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/BankAccount-6"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/400"
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      }
    },
    "/bank-accounts/{id}": {
      "parameters": [
        {
          "$ref": "#/components/parameters/AgaveApiVersion"
        },
        {
          "$ref": "#/components/parameters/AgaveIncludeSourceData"
        },
        {
          "name": "id",
          "in": "path",
          "description": "The UUID of the Bank Account assigned by Agave.",
          "required": true,
          "schema": {
            "type": "string",
            "format": "uuid"
          }
        }
      ],
      "get": {
        "operationId": "getBankAccount",
        "tags": [
          "bank-accounts"
        ],
        "summary": "One Bank Account",
        "description": "This endpoint retrieves a Bank Account by its Agave UUID.",
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (QuickBooks Desktop)": {
                "schema": {
                  "$ref": "#/components/schemas/BankAccount-2"
                }
              },
              "application/json (QuickBooks Online)": {
                "schema": {
                  "$ref": "#/components/schemas/BankAccount-3"
                }
              },
              "application/json (Sage 100 Contractor)": {
                "schema": {
                  "$ref": "#/components/schemas/BankAccount-4"
                }
              },
              "application/json (Viewpoint Spectrum)": {
                "schema": {
                  "$ref": "#/components/schemas/BankAccount-5"
                }
              },
              "application/json (Viewpoint Vista)": {
                "schema": {
                  "$ref": "#/components/schemas/BankAccount-6"
                }
              }
            }
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "404": {
            "$ref": "#/components/responses/404"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      }
    },
    "/batches": {
      "parameters": [
        {
          "$ref": "#/components/parameters/AgaveApiVersion"
        },
        {
          "$ref": "#/components/parameters/AgaveIncludeSourceData"
        }
      ],
      "get": {
        "operationId": "listBatches",
        "tags": [
          "batches"
        ],
        "summary": "All Batches",
        "description": "This endpoint retrieves a list of Batches a Linked User can access.\n",
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (Viewpoint Vista)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Batches a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/Batch-2"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/400"
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      },
      "post": {
        "operationId": "newBatch",
        "tags": [
          "batches"
        ],
        "summary": "One Batch",
        "description": "This endpoint creates a Batch.\n",
        "requestBody": {
          "content": {
            "application/json (Viewpoint Vista)": {
              "schema": {
                "type": "object",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewBatch"
                  }
                ]
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (Viewpoint Vista)": {
                "schema": {
                  "$ref": "#/components/schemas/Batch-2"
                }
              }
            }
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "404": {
            "$ref": "#/components/responses/404"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      }
    },
    "/batches/{id}": {
      "parameters": [
        {
          "$ref": "#/components/parameters/AgaveApiVersion"
        },
        {
          "$ref": "#/components/parameters/AgaveIncludeSourceData"
        },
        {
          "name": "id",
          "in": "path",
          "description": "The UUID of the Batch assigned by Agave.",
          "required": true,
          "schema": {
            "type": "string",
            "format": "uuid"
          }
        }
      ],
      "get": {
        "operationId": "getBatch",
        "tags": [
          "batches"
        ],
        "summary": "One Batch",
        "description": "This endpoint retrieves a Batch by its Agave UUID.\n",
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (Viewpoint Vista)": {
                "schema": {
                  "$ref": "#/components/schemas/Batch-2"
                }
              }
            }
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "404": {
            "$ref": "#/components/responses/404"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      },
      "put": {
        "operationId": "updateBatch",
        "tags": [
          "batches"
        ],
        "summary": "One Batch",
        "description": "This endpoint updates a Batch by its Agave UUID.\n",
        "requestBody": {
          "content": {
            "application/json (Viewpoint Vista)": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/UpdateBatch"
                  },
                  {
                    "required": [
                      "id"
                    ]
                  }
                ]
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (Viewpoint Vista)": {
                "schema": {
                  "$ref": "#/components/schemas/Batch-2"
                }
              }
            }
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "404": {
            "$ref": "#/components/responses/404"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      }
    },
    "/budget-line-items": {
      "parameters": [
        {
          "$ref": "#/components/parameters/AgaveApiVersion"
        },
        {
          "$ref": "#/components/parameters/AgaveIncludeSourceData"
        },
        {
          "$ref": "#/components/parameters/ProjectId"
        }
      ],
      "get": {
        "operationId": "listBudgetLineItems",
        "tags": [
          "budget-line-items"
        ],
        "summary": "All Budget Line Items",
        "description": "This endpoint retrieves a list of Budget Line Items a Linked User can access.\n\n**Note for Acumatica**: This endpoint supports both Cost and Revenue Budget Line Items. You can filter the result by `Income` and `Expense` using `source_data.type.value`.\n",
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (Acumatica)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "The list of Budget Line Items a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/BudgetLineItem-2"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Autodesk Build)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "The list of Budget Line Items a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/BudgetLineItem-3"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (BIM360)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "The list of Budget Line Items a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/BudgetLineItem-3"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (CMiC)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "The list of Budget Line Items a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/BudgetLineItem-4"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (COINS)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "The list of Budget Line Items a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/BudgetLineItem-5"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (ComputerEase)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "The list of Budget Line Items a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/BudgetLineItem-6"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Foundation)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "The list of Budget Line Items a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/BudgetLineItem-7"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Procore)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "The list of Budget Line Items a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/BudgetLineItem-8"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Sage 100 Contractor)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "The list of Budget Line Items a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/BudgetLineItem-9"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Sage 300 CRE)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "The list of Budget Line Items a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/BudgetLineItem-10"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Sage Intacct)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "The list of Budget Line Items a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/BudgetLineItem-11"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Viewpoint Jobpac)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "The list of Budget Line Items a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/BudgetLineItem-12"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Viewpoint Spectrum)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "The list of Budget Line Items a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/BudgetLineItem-13"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Viewpoint Vista)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "The list of Budget Line Items a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/BudgetLineItem-14"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              }
            }
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "404": {
            "$ref": "#/components/responses/404"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      },
      "post": {
        "operationId": "newBudgetLineItems",
        "tags": [
          "budget-line-items"
        ],
        "summary": "Budget Line Item",
        "description": "This endpoint creates Budget Line Items.\n\n**Note for Sage 300 CRE**: only creating Budget Line Items is supported. \n",
        "requestBody": {
          "content": {
            "application/json (Acumatica)": {
              "schema": {
                "type": "object",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewBudgetLineItem"
                  }
                ]
              }
            },
            "application/json (AutodeskBuild)": {
              "schema": {
                "type": "object",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewBudgetLineItem-3"
                  }
                ]
              }
            },
            "application/json (BIM360)": {
              "schema": {
                "type": "object",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewBudgetLineItem-3"
                  }
                ]
              }
            },
            "application/json (CMiC)": {
              "schema": {
                "type": "object",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewBudgetLineItem-4"
                  }
                ]
              }
            },
            "application/json (Procore)": {
              "schema": {
                "type": "object",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewBudgetLineItem-5"
                  }
                ]
              }
            },
            "application/json (Sage 100 Contractor)": {
              "schema": {
                "type": "object",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewBudgetLineItem-6"
                  }
                ]
              }
            },
            "application/json (Sage 300 CRE)": {
              "schema": {
                "type": "object",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewBudgetLineItem-7"
                  }
                ]
              }
            },
            "application/json (Viewpoint Spectrum)": {
              "schema": {
                "type": "object",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewBudgetLineItem-8"
                  }
                ]
              }
            },
            "application/json (Viewpoint Vista)": {
              "schema": {
                "type": "object",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewBudgetLineItem-9"
                  }
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (Acumatica)": {
                "schema": {
                  "$ref": "#/components/schemas/BudgetLineItem-2"
                }
              },
              "application/json (AutodeskBuild)": {
                "schema": {
                  "$ref": "#/components/schemas/BudgetLineItem-3"
                }
              },
              "application/json (BIM360)": {
                "schema": {
                  "$ref": "#/components/schemas/BudgetLineItem-3"
                }
              },
              "application/json (CMiC)": {
                "schema": {
                  "$ref": "#/components/schemas/BudgetLineItem-4"
                }
              },
              "application/json (COINS)": {
                "schema": {
                  "$ref": "#/components/schemas/BudgetLineItem-5"
                }
              },
              "application/json (ComputerEase)": {
                "schema": {
                  "$ref": "#/components/schemas/BudgetLineItem-6"
                }
              },
              "application/json (Foundation)": {
                "schema": {
                  "$ref": "#/components/schemas/BudgetLineItem-7"
                }
              },
              "application/json (Procore)": {
                "schema": {
                  "$ref": "#/components/schemas/BudgetLineItem-8"
                }
              },
              "application/json (Sage 100 Contractor)": {
                "schema": {
                  "$ref": "#/components/schemas/BudgetLineItem-9"
                }
              },
              "application/json (Sage 300 CRE)": {
                "schema": {
                  "$ref": "#/components/schemas/BudgetLineItem-10"
                }
              },
              "application/json (Sage Intacct)": {
                "schema": {
                  "$ref": "#/components/schemas/BudgetLineItem-11"
                }
              },
              "application/json (Viewpoint Jobpac)": {
                "schema": {
                  "$ref": "#/components/schemas/BudgetLineItem-12"
                }
              },
              "application/json (Viewpoint Spectrum)": {
                "schema": {
                  "$ref": "#/components/schemas/BudgetLineItem-13"
                }
              },
              "application/json (Viewpoint Vista)": {
                "schema": {
                  "$ref": "#/components/schemas/BudgetLineItem-14"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/400"
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      }
    },
    "/budget-line-items/{id}": {
      "parameters": [
        {
          "$ref": "#/components/parameters/AgaveApiVersion"
        },
        {
          "$ref": "#/components/parameters/AgaveIncludeSourceData"
        },
        {
          "$ref": "#/components/parameters/ProjectId"
        },
        {
          "name": "id",
          "in": "path",
          "description": "The UUID of the Budget line Item assigned by Agave.",
          "required": true,
          "schema": {
            "type": "string",
            "format": "uuid"
          }
        }
      ],
      "get": {
        "operationId": "getBudgetLineItem",
        "tags": [
          "budget-line-items"
        ],
        "summary": "One Budget Line Item",
        "description": "This endpoint retrieves a Budget Line item by the Agave UUID.",
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (Acumatica)": {
                "schema": {
                  "$ref": "#/components/schemas/BudgetLineItem-2"
                }
              },
              "application/json (AutodeskBuild)": {
                "schema": {
                  "$ref": "#/components/schemas/BudgetLineItem-3"
                }
              },
              "application/json (BIM360)": {
                "schema": {
                  "$ref": "#/components/schemas/BudgetLineItem-3"
                }
              },
              "application/json (CMiC)": {
                "schema": {
                  "$ref": "#/components/schemas/BudgetLineItem-4"
                }
              },
              "application/json (COINS)": {
                "schema": {
                  "$ref": "#/components/schemas/BudgetLineItem-5"
                }
              },
              "application/json (ComputerEase)": {
                "schema": {
                  "$ref": "#/components/schemas/BudgetLineItem-6"
                }
              },
              "application/json (Foundation)": {
                "schema": {
                  "$ref": "#/components/schemas/BudgetLineItem-7"
                }
              },
              "application/json (Procore)": {
                "schema": {
                  "$ref": "#/components/schemas/BudgetLineItem-8"
                }
              },
              "application/json (Sage 100 Contractor)": {
                "schema": {
                  "$ref": "#/components/schemas/BudgetLineItem-9"
                }
              },
              "application/json (Sage 300 CRE)": {
                "schema": {
                  "$ref": "#/components/schemas/BudgetLineItem-10"
                }
              },
              "application/json (Sage Intacct)": {
                "schema": {
                  "$ref": "#/components/schemas/BudgetLineItem-11"
                }
              },
              "application/json (Viewpoint Jobpac)": {
                "schema": {
                  "$ref": "#/components/schemas/BudgetLineItem-12"
                }
              },
              "application/json (Viewpoint Spectrum)": {
                "schema": {
                  "$ref": "#/components/schemas/BudgetLineItem-13"
                }
              },
              "application/json (Viewpoint Vista)": {
                "schema": {
                  "$ref": "#/components/schemas/BudgetLineItem-14"
                }
              }
            }
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "404": {
            "$ref": "#/components/responses/404"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      },
      "put": {
        "operationId": "updateBudgetLineItem",
        "tags": [
          "budget-line-items"
        ],
        "summary": "One Budget Line Item",
        "description": "This endpoint updates a Budget Line Item by its Agave UUID.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewBudgetLineItem-2"
                  },
                  {
                    "required": [
                      "id"
                    ]
                  }
                ]
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (Acumatica)": {
                "schema": {
                  "$ref": "#/components/schemas/BudgetLineItem-2"
                }
              },
              "application/json (AutodeskBuild)": {
                "schema": {
                  "$ref": "#/components/schemas/BudgetLineItem-3"
                }
              },
              "application/json (BIM360)": {
                "schema": {
                  "$ref": "#/components/schemas/BudgetLineItem-3"
                }
              },
              "application/json (CMiC)": {
                "schema": {
                  "$ref": "#/components/schemas/BudgetLineItem-4"
                }
              },
              "application/json (COINS)": {
                "schema": {
                  "$ref": "#/components/schemas/BudgetLineItem-5"
                }
              },
              "application/json (ComputerEase)": {
                "schema": {
                  "$ref": "#/components/schemas/BudgetLineItem-6"
                }
              },
              "application/json (Foundation)": {
                "schema": {
                  "$ref": "#/components/schemas/BudgetLineItem-7"
                }
              },
              "application/json (Procore)": {
                "schema": {
                  "$ref": "#/components/schemas/BudgetLineItem-8"
                }
              },
              "application/json (Sage 100 Contractor)": {
                "schema": {
                  "$ref": "#/components/schemas/BudgetLineItem-9"
                }
              },
              "application/json (Sage 300 CRE)": {
                "schema": {
                  "$ref": "#/components/schemas/BudgetLineItem-10"
                }
              },
              "application/json (Sage Intacct)": {
                "schema": {
                  "$ref": "#/components/schemas/BudgetLineItem-11"
                }
              },
              "application/json (Viewpoint Jobpac)": {
                "schema": {
                  "$ref": "#/components/schemas/BudgetLineItem-12"
                }
              },
              "application/json (Viewpoint Spectrum)": {
                "schema": {
                  "$ref": "#/components/schemas/BudgetLineItem-13"
                }
              },
              "application/json (Viewpoint Vista)": {
                "schema": {
                  "$ref": "#/components/schemas/BudgetLineItem-14"
                }
              }
            }
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "404": {
            "$ref": "#/components/responses/404"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      }
    },
    "/budget-production-quantities": {
      "parameters": [
        {
          "$ref": "#/components/parameters/AgaveApiVersion"
        },
        {
          "$ref": "#/components/parameters/AgaveIncludeSourceData"
        },
        {
          "$ref": "#/components/parameters/ProjectId"
        }
      ],
      "get": {
        "operationId": "listBudgetProductionQuantities",
        "tags": [
          "budget-production-quantities"
        ],
        "summary": "All Budget Production Quantities",
        "description": "This endpoint retrieves a list of Budget Production Quantities a Linked User can access.\n",
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (Foundation)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "The list of Budget Production Quantities a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/BudgetProductionQuantity"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Procore)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "The list of Budget Production Quantities a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/BudgetProductionQuantity-3"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Viewpoint Spectrum)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "The list of Budget Production Quantities a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/BudgetProductionQuantity-4"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              }
            }
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "404": {
            "$ref": "#/components/responses/404"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      },
      "post": {
        "operationId": "newBudgetProductionQuantities",
        "tags": [
          "budget-production-quantities"
        ],
        "summary": "Budget Production Quantity",
        "description": "This endpoint creates Budget Production Quantities.\n",
        "requestBody": {
          "content": {
            "application/json (Procore)": {
              "schema": {
                "type": "object",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewBudgetProductionQuantity"
                  }
                ]
              }
            },
            "application/json (Viewpoint Spectrum)": {
              "schema": {
                "type": "object",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewBudgetProductionQuantity-2"
                  }
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (Foundation)": {
                "schema": {
                  "$ref": "#/components/schemas/BudgetProductionQuantity"
                }
              },
              "application/json (Procore)": {
                "schema": {
                  "$ref": "#/components/schemas/BudgetProductionQuantity-3"
                }
              },
              "application/json (Viewpoint Spectrum)": {
                "schema": {
                  "$ref": "#/components/schemas/BudgetProductionQuantity-4"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/400"
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      }
    },
    "/budget-production-quantities/{id}": {
      "parameters": [
        {
          "$ref": "#/components/parameters/AgaveApiVersion"
        },
        {
          "$ref": "#/components/parameters/AgaveIncludeSourceData"
        },
        {
          "$ref": "#/components/parameters/ProjectId"
        },
        {
          "name": "id",
          "in": "path",
          "description": "The UUID of the Budget Production Quantity assigned by Agave.",
          "required": true,
          "schema": {
            "type": "string",
            "format": "uuid"
          }
        }
      ],
      "get": {
        "operationId": "getBudgetProductionQuantity",
        "tags": [
          "budget-production-quantities"
        ],
        "summary": "One Budget Production Quantity",
        "description": "This endpoint retrieves a Budget Production Quantity by the Agave UUID.",
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (Foundation)": {
                "schema": {
                  "$ref": "#/components/schemas/BudgetProductionQuantity"
                }
              },
              "application/json (Procore)": {
                "schema": {
                  "$ref": "#/components/schemas/BudgetProductionQuantity-3"
                }
              },
              "application/json (Viewpoint Spectrum)": {
                "schema": {
                  "$ref": "#/components/schemas/BudgetProductionQuantity-4"
                }
              }
            }
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "404": {
            "$ref": "#/components/responses/404"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      },
      "put": {
        "operationId": "updateBudgetProductionQuantity",
        "tags": [
          "budget-production-quantities"
        ],
        "summary": "One Budget Production Quantity",
        "description": "This endpoint updates a Budget Production Quantity by its Agave UUID.",
        "requestBody": {
          "content": {
            "application/json (Procore)": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewBudgetProductionQuantity"
                  },
                  {
                    "required": [
                      "id"
                    ]
                  }
                ]
              }
            },
            "application/json (Viewpoint Spectrum)": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewBudgetProductionQuantity-2"
                  },
                  {
                    "required": [
                      "id"
                    ]
                  }
                ]
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (Foundation)": {
                "schema": {
                  "$ref": "#/components/schemas/BudgetProductionQuantity"
                }
              },
              "application/json (Procore)": {
                "schema": {
                  "$ref": "#/components/schemas/BudgetProductionQuantity-3"
                }
              },
              "application/json (Viewpoint Spectrum)": {
                "schema": {
                  "$ref": "#/components/schemas/BudgetProductionQuantity-4"
                }
              }
            }
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "404": {
            "$ref": "#/components/responses/404"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      }
    },
    "/budget-transfers": {
      "parameters": [
        {
          "$ref": "#/components/parameters/AgaveApiVersion"
        },
        {
          "$ref": "#/components/parameters/AgaveIncludeSourceData"
        },
        {
          "$ref": "#/components/parameters/Expand"
        }
      ],
      "get": {
        "operationId": "listBudgetTransfers",
        "tags": [
          "budget-transfers"
        ],
        "summary": "All Budget Transfers",
        "description": "This endpoint retrieves a list of Budget Transfers a Linked User can access.",
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (Autodesk Build)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Budget Transfers a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/BudgetTransfer-2"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Foundation)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Budget Transfers a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/BudgetTransfer-3"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Sage 300 CRE)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Budget Transfers a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/BudgetTransfer-4"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/400"
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      },
      "post": {
        "operationId": "newBudgetTransfers",
        "tags": [
          "budget-transfers"
        ],
        "summary": "Budget Transfer",
        "description": "This endpoint creates Budget Transfers.\n",
        "requestBody": {
          "content": {
            "application/json (Sage 300 CRE)": {
              "schema": {
                "type": "object",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewBudgetTransfer"
                  }
                ]
              }
            },
            "application/json (Viewpoint Vista)": {
              "schema": {
                "type": "object",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewBudgetTransfer-2"
                  }
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (Autodesk Build)": {
                "schema": {
                  "$ref": "#/components/schemas/BudgetTransfer-2"
                }
              },
              "application/json (Foundation)": {
                "schema": {
                  "$ref": "#/components/schemas/BudgetTransfer-3"
                }
              },
              "application/json (Sage 300 CRE)": {
                "schema": {
                  "$ref": "#/components/schemas/BudgetTransfer-4"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/400"
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      }
    },
    "/budget-transfers/{budget_transfer_id}/line-items": {
      "parameters": [
        {
          "$ref": "#/components/parameters/AgaveApiVersion"
        },
        {
          "$ref": "#/components/parameters/AgaveIncludeSourceData"
        },
        {
          "$ref": "#/components/parameters/RequiredProjectId"
        },
        {
          "$ref": "#/components/parameters/budget_transfer_id"
        }
      ],
      "get": {
        "operationId": "listBudgetTransferLineItems",
        "tags": [
          "budget-transfer"
        ],
        "summary": "All Budget Transfer Line Items",
        "description": "This endpoint retrieves a list of Budget Transfer Line Items a Linked User can access.    \n",
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (Autodesk Build)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Budget Transfer Line Items a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/BudgetTransferLineItem-2"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Foundation)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Budget Transfer Line Items a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/BudgetTransferLineItem-3"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Sage 300 CRE)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Budget Transfer Line Items a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/BudgetTransferLineItem-4"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              }
            }
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "404": {
            "$ref": "#/components/responses/404"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      },
      "post": {
        "operationId": "newBudgetTransferLineItem",
        "tags": [
          "budget-transfer"
        ],
        "summary": "Budget Transfer Line Item",
        "description": "This endpoint creates Budget Transfer Line Items.\n",
        "requestBody": {
          "content": {
            "application/json (Viewpoint Vista)": {
              "schema": {
                "type": "object",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewBudgetTransferLineItem"
                  }
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (Autodesk Build)": {
                "schema": {
                  "$ref": "#/components/schemas/BudgetTransferLineItem-2"
                }
              },
              "application/json (Foundation)": {
                "schema": {
                  "$ref": "#/components/schemas/BudgetTransferLineItem-3"
                }
              },
              "application/json (Sage 300 CRE)": {
                "schema": {
                  "$ref": "#/components/schemas/BudgetTransferLineItem-4"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/400"
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      }
    },
    "/budget-transfers/{id}": {
      "parameters": [
        {
          "$ref": "#/components/parameters/AgaveApiVersion"
        },
        {
          "$ref": "#/components/parameters/AgaveIncludeSourceData"
        },
        {
          "name": "id",
          "in": "path",
          "description": "The UUID of the Budget Transfer assigned by Agave.",
          "required": true,
          "schema": {
            "type": "string",
            "format": "uuid"
          }
        }
      ],
      "get": {
        "operationId": "getBudgetTransfer",
        "tags": [
          "budget-transfers"
        ],
        "summary": "One Budget Transfer",
        "description": "This endpoint returns a Budget Transfer by its Agave UUID.",
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (Autodesk Build)": {
                "schema": {
                  "$ref": "#/components/schemas/BudgetTransfer-2"
                }
              },
              "application/json (Foundation)": {
                "schema": {
                  "$ref": "#/components/schemas/BudgetTransfer-3"
                }
              },
              "application/json (Sage 300 CRE)": {
                "schema": {
                  "$ref": "#/components/schemas/BudgetTransfer-4"
                }
              }
            }
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "404": {
            "$ref": "#/components/responses/404"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      },
      "put": {
        "operationId": "updateBudgetTransfer",
        "tags": [
          "budget-transfers"
        ],
        "summary": "One Budget Transfer",
        "description": "This endpoint updates a Budget Transfer by its Agave UUID.",
        "requestBody": {
          "content": {
            "application/json (Sage 300 CRE)": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewBudgetTransfer"
                  },
                  {
                    "required": [
                      "id"
                    ]
                  }
                ]
              }
            },
            "application/json (Viewpoint Vista)": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewBudgetTransfer-2"
                  },
                  {
                    "required": [
                      "id"
                    ]
                  }
                ]
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (Autodesk Build)": {
                "schema": {
                  "$ref": "#/components/schemas/BudgetTransfer-2"
                }
              },
              "application/json (Foundation)": {
                "schema": {
                  "$ref": "#/components/schemas/BudgetTransfer-3"
                }
              },
              "application/json (Sage 300 CRE)": {
                "schema": {
                  "$ref": "#/components/schemas/BudgetTransfer-4"
                }
              }
            }
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "404": {
            "$ref": "#/components/responses/404"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      }
    },
    "/budget-transfers/{budget_transfer_id}/line-items/{id}": {
      "parameters": [
        {
          "$ref": "#/components/parameters/AgaveApiVersion"
        },
        {
          "$ref": "#/components/parameters/AgaveIncludeSourceData"
        },
        {
          "$ref": "#/components/parameters/ProjectId"
        },
        {
          "$ref": "#/components/parameters/budget_transfer_id"
        },
        {
          "name": "id",
          "in": "path",
          "description": "The UUID of the Budget Transfer Line Item assigned by Agave.",
          "required": true,
          "schema": {
            "type": "string",
            "format": "uuid"
          }
        }
      ],
      "get": {
        "operationId": "getBudgetTransferLineItem",
        "tags": [
          "budget-transfers"
        ],
        "summary": "One Budget Transfer Line Item",
        "description": "This endpoint retrieves an Budget Transfer Line Item by its Agave UUID.\n",
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (Autodesk Build)": {
                "schema": {
                  "$ref": "#/components/schemas/BudgetTransferLineItem-2"
                }
              },
              "application/json (Foundation)": {
                "schema": {
                  "$ref": "#/components/schemas/BudgetTransferLineItem-3"
                }
              },
              "application/json (Sage 300 CRE)": {
                "schema": {
                  "$ref": "#/components/schemas/BudgetTransferLineItem-4"
                }
              }
            }
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "404": {
            "$ref": "#/components/responses/404"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      },
      "put": {
        "operationId": "updateBudgetTransferLineItem",
        "tags": [
          "budget-transfers"
        ],
        "summary": "One Budget Transfer Line Item",
        "description": "This endpoint updates an Budget Transfer Line Item by its Agave UUID.",
        "requestBody": {
          "content": {
            "application/json (Viewpoint Vista)": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewBudgetTransferLineItem"
                  },
                  {
                    "required": [
                      "id"
                    ]
                  }
                ]
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (Autodesk Build)": {
                "schema": {
                  "$ref": "#/components/schemas/BudgetTransfer-2"
                }
              },
              "application/json (Foundation)": {
                "schema": {
                  "$ref": "#/components/schemas/BudgetTransfer-3"
                }
              },
              "application/json (Sage 300 CRE)": {
                "schema": {
                  "$ref": "#/components/schemas/BudgetTransfer-4"
                }
              }
            }
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "404": {
            "$ref": "#/components/responses/404"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      }
    },
    "/change-events": {
      "parameters": [
        {
          "$ref": "#/components/parameters/AgaveApiVersion"
        },
        {
          "$ref": "#/components/parameters/AgaveIncludeSourceData"
        },
        {
          "$ref": "#/components/parameters/RequiredProjectId"
        },
        {
          "$ref": "#/components/parameters/Expand"
        }
      ],
      "get": {
        "operationId": "listChangeEvents",
        "tags": [
          "change-events"
        ],
        "summary": "All Change Events",
        "description": "This endpoint retrieves a list of Change Events a Linked User can access.",
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (Autodesk Build)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Change Events the Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/ChangeEvent-2"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (CMiC)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Change Events the Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/ChangeEvent-3"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Procore)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Change Events the Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/ChangeEvent-4"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/400"
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      },
      "post": {
        "operationId": "newChangeEvents",
        "tags": [
          "change-events"
        ],
        "summary": "Change Event",
        "description": "This endpoint creates Change Events.\n",
        "requestBody": {
          "content": {
            "application/json (CMiC)": {
              "schema": {
                "type": "object",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewChangeEvent"
                  }
                ]
              }
            },
            "application/json (Procore)": {
              "schema": {
                "type": "object",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewChangeEvent-2"
                  }
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (Autodesk Build)": {
                "schema": {
                  "$ref": "#/components/schemas/ChangeEvent-2"
                }
              },
              "application/json (CMiC)": {
                "schema": {
                  "$ref": "#/components/schemas/ChangeEvent-3"
                }
              },
              "application/json (Procore)": {
                "schema": {
                  "$ref": "#/components/schemas/ChangeEvent-4"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/400"
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      }
    },
    "/change-events/{change_event_id}/line-items": {
      "parameters": [
        {
          "$ref": "#/components/parameters/AgaveApiVersion"
        },
        {
          "$ref": "#/components/parameters/AgaveIncludeSourceData"
        },
        {
          "$ref": "#/components/parameters/RequiredProjectId"
        },
        {
          "$ref": "#/components/parameters/change_event_id"
        }
      ],
      "get": {
        "operationId": "listChangeEventLineItems",
        "tags": [
          "change-events"
        ],
        "summary": "All Change Event Line Items",
        "description": "This endpoint retrieves a list of Change Event Line Items a Linked User can access.\n",
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (Autodesk Build)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Change Event Line Items the Linked User can access on a Construction Project.",
                      "items": {
                        "$ref": "#/components/schemas/ChangeEventLineItem-2"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (CMiC)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Change Event Line Items the Linked User can access on a Construction Project.",
                      "items": {
                        "$ref": "#/components/schemas/ChangeEventLineItem-3"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Procore)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Change Event Line Items the Linked User can access on a Construction Project.",
                      "items": {
                        "$ref": "#/components/schemas/ChangeEventLineItem-4"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              }
            }
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "404": {
            "$ref": "#/components/responses/404"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      },
      "post": {
        "operationId": "newChangeEventLineItem",
        "tags": [
          "change-events"
        ],
        "summary": "Change Event Line Item",
        "description": "This endpoint creates Change Event line Items.\n",
        "requestBody": {
          "content": {
            "application/json (CMiC)": {
              "schema": {
                "type": "object",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewChangeEventLineItem"
                  }
                ]
              }
            },
            "application/json (Procore)": {
              "schema": {
                "type": "object",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewChangeEventLineItem-2"
                  }
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (Autodesk Build)": {
                "schema": {
                  "$ref": "#/components/schemas/ChangeEventLineItem-2"
                }
              },
              "application/json (CMiC)": {
                "schema": {
                  "$ref": "#/components/schemas/ChangeEventLineItem-3"
                }
              },
              "application/json (Procore)": {
                "schema": {
                  "$ref": "#/components/schemas/ChangeEventLineItem-4"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/400"
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      }
    },
    "/change-events/{id}": {
      "parameters": [
        {
          "$ref": "#/components/parameters/AgaveApiVersion"
        },
        {
          "$ref": "#/components/parameters/AgaveIncludeSourceData"
        },
        {
          "$ref": "#/components/parameters/RequiredProjectId"
        },
        {
          "name": "id",
          "in": "path",
          "description": "The UUID of the Change Event assigned by Agave.",
          "required": true,
          "schema": {
            "type": "string",
            "format": "uuid"
          }
        }
      ],
      "get": {
        "operationId": "getChangeEvent",
        "tags": [
          "change-events"
        ],
        "summary": "One Change Event",
        "description": "This endoint retrieves a Change Event by its Agave UUID.",
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (Autodesk Build)": {
                "schema": {
                  "$ref": "#/components/schemas/ChangeEvent-2"
                }
              },
              "application/json (CMiC)": {
                "schema": {
                  "$ref": "#/components/schemas/ChangeEvent-3"
                }
              },
              "application/json (Procore)": {
                "schema": {
                  "$ref": "#/components/schemas/ChangeEvent-4"
                }
              }
            }
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "404": {
            "$ref": "#/components/responses/404"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      },
      "put": {
        "operationId": "updateChangeEvent",
        "tags": [
          "change-events"
        ],
        "summary": "One Change Event",
        "description": "This endpoint updates a Change Event by its Agave UUID.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewChangeEvent-2"
                  },
                  {
                    "required": [
                      "id"
                    ]
                  }
                ]
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (Autodesk Build)": {
                "schema": {
                  "$ref": "#/components/schemas/ChangeEvent-2"
                }
              },
              "application/json (CMiC)": {
                "schema": {
                  "$ref": "#/components/schemas/ChangeEvent-3"
                }
              },
              "application/json (Procore)": {
                "schema": {
                  "$ref": "#/components/schemas/ChangeEvent-4"
                }
              }
            }
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "404": {
            "$ref": "#/components/responses/404"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      }
    },
    "/change-events/{change_event_id}/line-items/{id}": {
      "parameters": [
        {
          "$ref": "#/components/parameters/AgaveApiVersion"
        },
        {
          "$ref": "#/components/parameters/AgaveIncludeSourceData"
        },
        {
          "$ref": "#/components/parameters/ProjectId"
        },
        {
          "$ref": "#/components/parameters/change_event_id"
        },
        {
          "name": "id",
          "in": "path",
          "description": "The UUID of the Change Event Line Item assigned by Agave.",
          "required": true,
          "schema": {
            "type": "string",
            "format": "uuid"
          }
        }
      ],
      "get": {
        "operationId": "getChangeEventLineItem",
        "tags": [
          "change-events"
        ],
        "summary": "One Change Event Line Item",
        "description": "This endpoint retrieves a Change Event Line Item by its Agave UUID.",
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (Autodesk Build)": {
                "schema": {
                  "$ref": "#/components/schemas/ChangeEventLineItem-2"
                }
              },
              "application/json (CMiC)": {
                "schema": {
                  "$ref": "#/components/schemas/ChangeEventLineItem-3"
                }
              },
              "application/json (Procore)": {
                "schema": {
                  "$ref": "#/components/schemas/ChangeEventLineItem-4"
                }
              }
            }
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "404": {
            "$ref": "#/components/responses/404"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      },
      "put": {
        "operationId": "updateChangeEventLineItem",
        "tags": [
          "change-events"
        ],
        "summary": "One Change Event Line Item",
        "description": "This endpoint updates a Change Event Line Item by its Agave UUID.",
        "requestBody": {
          "content": {
            "application/json (CMiC)": {
              "schema": {
                "type": "object",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewChangeEventLineItem"
                  }
                ]
              }
            },
            "application/json (Procore)": {
              "schema": {
                "type": "object",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewChangeEventLineItem-2"
                  }
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (Autodesk Build)": {
                "schema": {
                  "$ref": "#/components/schemas/ChangeEventLineItem-2"
                }
              },
              "application/json (CMiC)": {
                "schema": {
                  "$ref": "#/components/schemas/ChangeEventLineItem-3"
                }
              },
              "application/json (Procore)": {
                "schema": {
                  "$ref": "#/components/schemas/ChangeEventLineItem-4"
                }
              }
            }
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "404": {
            "$ref": "#/components/responses/404"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      }
    },
    "/change-events/{change_event_id}/attachments": {
      "parameters": [
        {
          "$ref": "#/components/parameters/AgaveApiVersion"
        },
        {
          "$ref": "#/components/parameters/AgaveIncludeSourceData"
        },
        {
          "$ref": "#/components/parameters/RequiredProjectId"
        },
        {
          "$ref": "#/components/parameters/change_event_id"
        }
      ],
      "post": {
        "operationId": "newChangeEventAttachments",
        "tags": [
          "change-events"
        ],
        "summary": "Change Event Attachment",
        "description": "This endpoint uploads an Attachment to a Change Event.\n\n**Note**: In order to upload an Attachment, you must use the `multipart/form-data` Content-Type when making the request. \nThe Content-Type is used to specify the media type of the resource.\n",
        "requestBody": {
          "content": {
            "multipart/form-data": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewAttachment"
                  },
                  {
                    "required": [
                      "name"
                    ]
                  }
                ]
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (Autodesk Build)": {
                "schema": {
                  "$ref": "#/components/schemas/ChangeEvent-2"
                }
              },
              "application/json (CMiC)": {
                "schema": {
                  "$ref": "#/components/schemas/ChangeEvent-3"
                }
              },
              "application/json (Procore)": {
                "schema": {
                  "$ref": "#/components/schemas/ChangeEvent-4"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/400"
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      }
    },
    "/change-orders": {
      "parameters": [
        {
          "$ref": "#/components/parameters/AgaveApiVersion"
        },
        {
          "$ref": "#/components/parameters/AgaveIncludeSourceData"
        },
        {
          "$ref": "#/components/parameters/ProjectId"
        },
        {
          "$ref": "#/components/parameters/Expand"
        }
      ],
      "get": {
        "operationId": "listChangeOrders",
        "tags": [
          "change-orders"
        ],
        "summary": "All Change Orders",
        "description": "This endpoint retrieves a list of Change Orders a Linked User can access.\n",
        "parameters": [
          {
            "name": "contract_id",
            "in": "query",
            "description": "This is an optional query parameter to filter the Change Orders by their associated Contract UUID.\n\n**Note for Procore and Viewpoint Vista:** this query parameter is required.\n",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "contract_type",
            "in": "query",
            "description": "This is an optional query parameter to filter the Change Orders by their associated Contract Type. \n\n**Note for Procore, Sage 300 CRE, Sage Intacct, Viewpoint Spectrum, and Viewpoint Vista:** this query parameter is required.\n\n**Note for Viewpoint Spectrum**: only \"prime_contract\" and \"subcontract\" are supported.\n",
            "required": false,
            "schema": {
              "type": "string",
              "enum": [
                "prime_contract",
                "purchase_order",
                "subcontract"
              ],
              "example": "purchase_order"
            }
          },
          {
            "name": "status",
            "in": "query",
            "description": "This is an optional query parameter to filter the Change Orders by their associated Status.\n\n**Note for Viewpoint Vista:** this query parameter is required. Further:\n- For Prime Contract Change Orders, \"Approved\" and \"Posted\" are supported, and\n- For Purchase Order Change Orders, \"Pending\", \"PM\", and \"Posted\" are supported.\n- For Subcontract Change Orders, \"Pending\", \"PM\", and \"Posted\" are supported.\n",
            "required": false,
            "schema": {
              "type": "string",
              "enum": [
                "Approved",
                "Pending",
                "PM",
                "Posted"
              ],
              "example": "Pending"
            }
          },
          {
            "name": "type",
            "in": "query",
            "description": "This is an optional query parameter to filter the Change Orders by their associated type.\n\n**Note for Autodesk Build and BIM 360:** this query parameter is required. Valid values include \"Owner Change Order\" and \"Subcontract Change Order\".\n\n**Note for Foundation:** this query parameter is required. Valid values include \"Owner Change Order\".\n\n**Note for Sage 300CRE:** this parameter is required when the `contract_type` parameter is set to \"prime_contract\". Valid values include \"Contract\" and \"Job Cost\".\n",
            "required": false,
            "schema": {
              "type": "string",
              "enum": [
                "Owner Change Order",
                "Subcontract Change Order"
              ],
              "example": "Owner Change Order"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (Acumatica)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Change Orders the Linked User can access on a Construction Project.",
                      "items": {
                        "$ref": "#/components/schemas/ChangeOrder-2"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Autodesk Build)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Change Orders the Linked User can access on a Construction Project.",
                      "items": {
                        "$ref": "#/components/schemas/ChangeOrder-3"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (BIM 360)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Change Orders the Linked User can access on a Construction Project.",
                      "items": {
                        "$ref": "#/components/schemas/ChangeOrder-3"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Foundation)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Change Orders the Linked User can access on a Construction Project.",
                      "items": {
                        "$ref": "#/components/schemas/ChangeOrder-4"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Jonas Premier)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Change Orders a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/ChangeOrder-5"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Procore)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Change Orders the Linked User can access on a Construction Project.",
                      "items": {
                        "$ref": "#/components/schemas/ChangeOrder-6"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Sage 100 Contractor)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Change Orders the Linked User can access on a Construction Project.",
                      "items": {
                        "$ref": "#/components/schemas/ChangeOrder-7"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Sage 300 CRE)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Change Orders the Linked User can access on a Construction Project.",
                      "items": {
                        "$ref": "#/components/schemas/ChangeOrder-8"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Sage Intacct)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Change Orders the Linked User can access on a Construction Project.",
                      "items": {
                        "$ref": "#/components/schemas/ChangeOrder-9"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Viewpoint Jobpac)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Change Orders the Linked User can access on a Construction Project.",
                      "items": {
                        "$ref": "#/components/schemas/ChangeOrder-10"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Viewpoint Spectrum)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Change Orders the Linked User can access on a Construction Project.",
                      "items": {
                        "$ref": "#/components/schemas/ChangeOrder-11"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Viewpoint Vista)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Change Orders the Linked User can access on a Construction Project.",
                      "items": {
                        "$ref": "#/components/schemas/ChangeOrder-12"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/400"
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      },
      "post": {
        "operationId": "newChangeOrders",
        "tags": [
          "change-orders"
        ],
        "summary": "Change Order",
        "description": "This endpoint creates Change Orders.\n\n**Note for Sage 300 CRE**: Line Items can only be added using the POST [Change Order Line Items endpoint](#tag/change-orders/operation/newChangeOrderLineItem) or PATCH [Change Orders endpoint](#tag/change-orders/operation/newBulkChangeOrders).\n",
        "requestBody": {
          "content": {
            "application/json (Foundation)": {
              "schema": {
                "type": "object",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewChangeOrder"
                  }
                ]
              }
            },
            "application/json (Procore)": {
              "schema": {
                "type": "object",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewChangeOrder-2"
                  }
                ]
              }
            },
            "application/json (Sage 100 Contractor)": {
              "schema": {
                "type": "object",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewChangeOrder-3"
                  }
                ]
              }
            },
            "application/json (Sage 300 CRE)": {
              "schema": {
                "type": "object",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewChangeOrder-4"
                  }
                ]
              }
            },
            "application/json (Viewpoint Spectrum)": {
              "schema": {
                "type": "object",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewChangeOrder-5"
                  }
                ]
              }
            },
            "application/json (Viewpoint Vista)": {
              "schema": {
                "type": "object",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewChangeOrder-6"
                  }
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (Acumatica)": {
                "schema": {
                  "$ref": "#/components/schemas/ChangeOrder-2"
                }
              },
              "application/json (BIM 360)": {
                "schema": {
                  "$ref": "#/components/schemas/ChangeOrder-3"
                }
              },
              "application/json (Foundation)": {
                "schema": {
                  "$ref": "#/components/schemas/ChangeOrderLineItem-2"
                }
              },
              "application/json (Jonas Premier)": {
                "schema": {
                  "$ref": "#/components/schemas/ChangeOrderLineItem-3"
                }
              },
              "application/json (Procore)": {
                "schema": {
                  "$ref": "#/components/schemas/ChangeOrder-6"
                }
              },
              "application/json (Sage 100 Contractor)": {
                "schema": {
                  "$ref": "#/components/schemas/ChangeOrder-7"
                }
              },
              "application/json (Sage 300 CRE)": {
                "schema": {
                  "$ref": "#/components/schemas/ChangeOrder-8"
                }
              },
              "application/json (Sage Intacct)": {
                "schema": {
                  "$ref": "#/components/schemas/ChangeOrder-9"
                }
              },
              "application/json (Viewpoint Jobpac)": {
                "schema": {
                  "$ref": "#/components/schemas/ChangeOrder-10"
                }
              },
              "application/json (Viewpoint Spectrum)": {
                "schema": {
                  "$ref": "#/components/schemas/ChangeOrder-11"
                }
              },
              "application/json (Viewpoint Vista)": {
                "schema": {
                  "$ref": "#/components/schemas/ChangeOrder-12"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/400"
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      },
      "patch": {
        "operationId": "newBulkChangeOrders",
        "tags": [
          "change-orders"
        ],
        "summary": "Change Orders",
        "description": "This endpoint creates Change Orders in bulk.\n",
        "requestBody": {
          "content": {
            "application/json (Sage 300 CRE)": {
              "schema": {
                "type": "object",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/BulkNewChangeOrder"
                  }
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (Acumatica)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Change Orders the Linked User can access on a Construction Project.",
                      "items": {
                        "$ref": "#/components/schemas/ChangeOrder-2"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Autodesk Build)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Change Orders the Linked User can access on a Construction Project.",
                      "items": {
                        "$ref": "#/components/schemas/ChangeOrder-3"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (BIM 360)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Change Orders the Linked User can access on a Construction Project.",
                      "items": {
                        "$ref": "#/components/schemas/ChangeOrder-3"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Foundation)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Change Orders the Linked User can access on a Construction Project.",
                      "items": {
                        "$ref": "#/components/schemas/ChangeOrder-4"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Jonas Premier)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Change Orders a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/ChangeOrder-5"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Procore)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Change Orders the Linked User can access on a Construction Project.",
                      "items": {
                        "$ref": "#/components/schemas/ChangeOrder-6"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Sage 100 Contractor)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Change Orders the Linked User can access on a Construction Project.",
                      "items": {
                        "$ref": "#/components/schemas/ChangeOrder-7"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Sage 300 CRE)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Change Orders the Linked User can access on a Construction Project.",
                      "items": {
                        "$ref": "#/components/schemas/ChangeOrder-8"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Sage Intacct)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Change Orders the Linked User can access on a Construction Project.",
                      "items": {
                        "$ref": "#/components/schemas/ChangeOrder-9"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Viewpoint Jobpac)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Change Orders the Linked User can access on a Construction Project.",
                      "items": {
                        "$ref": "#/components/schemas/ChangeOrder-10"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Viewpoint Spectrum)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Change Orders the Linked User can access on a Construction Project.",
                      "items": {
                        "$ref": "#/components/schemas/ChangeOrder-11"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Viewpoint Vista)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Change Orders the Linked User can access on a Construction Project.",
                      "items": {
                        "$ref": "#/components/schemas/ChangeOrder-12"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/400"
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      }
    },
    "/change-orders/{change_order_id}/line-items": {
      "parameters": [
        {
          "$ref": "#/components/parameters/AgaveApiVersion"
        },
        {
          "$ref": "#/components/parameters/AgaveIncludeSourceData"
        },
        {
          "$ref": "#/components/parameters/RequiredProjectId"
        },
        {
          "$ref": "#/components/parameters/change_order_id"
        }
      ],
      "get": {
        "operationId": "listChangeOrderLineItems",
        "tags": [
          "change-orders"
        ],
        "summary": "All Change Order Line Items",
        "description": "This endpoint retrieves a list of Change Order Line Items a Linked User can access.\n",
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (Acumatica)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Change Order Line Items the Linked User can access on a Construction Project.",
                      "items": {
                        "$ref": "#/components/schemas/ChangeOrderLineItem-4"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Autodesk Build)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Change Order Line Items the Linked User can access on a Construction Project.",
                      "items": {
                        "$ref": "#/components/schemas/ChangeOrderLineItem-5"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (BIM 360)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Change Order Line Items the Linked User can access on a Construction Project.",
                      "items": {
                        "$ref": "#/components/schemas/ChangeOrderLineItem-6"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Foundation)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Change Order Line Items the Linked User can access on a Construction Project.",
                      "items": {
                        "$ref": "#/components/schemas/ChangeOrderLineItem-2"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Jonas Premier)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Change Order Line Items a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/ChangeOrderLineItem-3"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Procore)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Change Order Line Items the Linked User can access on a Construction Project.",
                      "items": {
                        "$ref": "#/components/schemas/ChangeOrderLineItem-7"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Sage 100 Contractor)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Change Order Line Items the Linked User can access on a Construction Project.",
                      "items": {
                        "$ref": "#/components/schemas/ChangeOrderLineItem-8"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Sage 300 CRE)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Change Order Line Items the Linked User can access on a Construction Project.",
                      "items": {
                        "$ref": "#/components/schemas/ChangeOrderLineItem-9"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Sage Intacct)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Change Order Line Items the Linked User can access on a Construction Project.",
                      "items": {
                        "$ref": "#/components/schemas/ChangeOrderLineItem-10"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Viewpoint Jobpac)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Change Order Line Items the Linked User can access on a Construction Project.",
                      "items": {
                        "$ref": "#/components/schemas/ChangeOrderLineItem-11"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Viewpoint Spectrum)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Change Order Line Items the Linked User can access on a Construction Project.",
                      "items": {
                        "$ref": "#/components/schemas/ChangeOrderLineItem-12"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Viewpoint Vista)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Change Order Line Items the Linked User can access on a Construction Project.",
                      "items": {
                        "$ref": "#/components/schemas/ChangeOrderLineItem-13"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              }
            }
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "404": {
            "$ref": "#/components/responses/404"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      },
      "post": {
        "operationId": "newChangeOrderLineItem",
        "tags": [
          "change-orders"
        ],
        "summary": "Change Order Line Item",
        "description": "This endpoint creates Change Order line Items.\n",
        "requestBody": {
          "content": {
            "application/json (Foundation)": {
              "schema": {
                "type": "object",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewChangeOrderLineItem"
                  }
                ]
              }
            },
            "application/json (Procore)": {
              "schema": {
                "type": "object",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewChangeOrderLineItem-2"
                  }
                ]
              }
            },
            "application/json (Sage 100 Contractor)": {
              "schema": {
                "type": "object",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewChangeOrderLineItem-3"
                  }
                ]
              }
            },
            "application/json (Sage 300 CRE)": {
              "schema": {
                "type": "object",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewChangeOrderLineItem-4"
                  }
                ]
              }
            },
            "application/json (Viewpoint Spectrum)": {
              "schema": {
                "type": "object",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewChangeOrderLineItem-5"
                  }
                ]
              }
            },
            "application/json (Viewpoint Vista)": {
              "schema": {
                "type": "object",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewChangeOrderLineItem-6"
                  }
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (Acumatica)": {
                "schema": {
                  "$ref": "#/components/schemas/ChangeOrderLineItem-4"
                }
              },
              "application/json (Autodesk Build)": {
                "schema": {
                  "$ref": "#/components/schemas/ChangeOrderLineItem-5"
                }
              },
              "application/json (BIM 360)": {
                "schema": {
                  "$ref": "#/components/schemas/ChangeOrderLineItem-6"
                }
              },
              "application/json (Foundation)": {
                "schema": {
                  "$ref": "#/components/schemas/ChangeOrderLineItem-2"
                }
              },
              "application/json (Jonas Premier)": {
                "schema": {
                  "$ref": "#/components/schemas/ChangeOrderLineItem-3"
                }
              },
              "application/json (Procore)": {
                "schema": {
                  "$ref": "#/components/schemas/ChangeOrderLineItem-7"
                }
              },
              "application/json (Sage 100 Contractor)": {
                "schema": {
                  "$ref": "#/components/schemas/ChangeOrderLineItem-8"
                }
              },
              "application/json (Sage 300 CRE)": {
                "schema": {
                  "$ref": "#/components/schemas/ChangeOrderLineItem-9"
                }
              },
              "application/json (Sage Intacct)": {
                "schema": {
                  "$ref": "#/components/schemas/ChangeOrderLineItem-10"
                }
              },
              "application/json (Viewpoint Jobpac)": {
                "schema": {
                  "$ref": "#/components/schemas/ChangeOrderLineItem-11"
                }
              },
              "application/json (Viewpoint Spectrum)": {
                "schema": {
                  "$ref": "#/components/schemas/ChangeOrderLineItem-12"
                }
              },
              "application/json (Viewpoint Vista)": {
                "schema": {
                  "$ref": "#/components/schemas/ChangeOrderLineItem-13"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/400"
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      }
    },
    "/change-orders/{id}": {
      "parameters": [
        {
          "$ref": "#/components/parameters/AgaveApiVersion"
        },
        {
          "$ref": "#/components/parameters/AgaveIncludeSourceData"
        },
        {
          "$ref": "#/components/parameters/RequiredProjectId"
        },
        {
          "name": "id",
          "in": "path",
          "description": "The UUID of the Change Order assigned by Agave.",
          "required": true,
          "schema": {
            "type": "string",
            "format": "uuid"
          }
        }
      ],
      "get": {
        "operationId": "getChangeOrder",
        "tags": [
          "change-orders"
        ],
        "summary": "One Change Order",
        "description": "This endpoint retrieves a Change Order by its Agave UUID.",
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (Acumatica)": {
                "schema": {
                  "$ref": "#/components/schemas/ChangeOrder-2"
                }
              },
              "application/json (BIM 360)": {
                "schema": {
                  "$ref": "#/components/schemas/ChangeOrder-3"
                }
              },
              "application/json (Foundation)": {
                "schema": {
                  "$ref": "#/components/schemas/ChangeOrderLineItem-2"
                }
              },
              "application/json (Jonas Premier)": {
                "schema": {
                  "$ref": "#/components/schemas/ChangeOrderLineItem-3"
                }
              },
              "application/json (Procore)": {
                "schema": {
                  "$ref": "#/components/schemas/ChangeOrder-6"
                }
              },
              "application/json (Sage 100 Contractor)": {
                "schema": {
                  "$ref": "#/components/schemas/ChangeOrder-7"
                }
              },
              "application/json (Sage 300 CRE)": {
                "schema": {
                  "$ref": "#/components/schemas/ChangeOrder-8"
                }
              },
              "application/json (Sage Intacct)": {
                "schema": {
                  "$ref": "#/components/schemas/ChangeOrder-9"
                }
              },
              "application/json (Viewpoint Jobpac)": {
                "schema": {
                  "$ref": "#/components/schemas/ChangeOrder-10"
                }
              },
              "application/json (Viewpoint Spectrum)": {
                "schema": {
                  "$ref": "#/components/schemas/ChangeOrder-11"
                }
              },
              "application/json (Viewpoint Vista)": {
                "schema": {
                  "$ref": "#/components/schemas/ChangeOrder-12"
                }
              }
            }
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "404": {
            "$ref": "#/components/responses/404"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      },
      "put": {
        "operationId": "updateChangeOrder",
        "tags": [
          "change-orders"
        ],
        "summary": "One Change Order",
        "description": "This endpoint updates a Change Order by its Agave UUID. \n\n**Note**: this endpoint is not yet available for Jobpac.\n",
        "requestBody": {
          "content": {
            "application/json (Foundation)": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewChangeOrder"
                  },
                  {
                    "required": [
                      "id"
                    ]
                  }
                ]
              }
            },
            "application/json (Procore)": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewChangeOrder-2"
                  },
                  {
                    "required": [
                      "id"
                    ]
                  }
                ]
              }
            },
            "application/json (Sage 100 Contractor)": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewChangeOrder-3"
                  },
                  {
                    "required": [
                      "id"
                    ]
                  }
                ]
              }
            },
            "application/json (Sage 300 CRE)": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewChangeOrder-4"
                  },
                  {
                    "required": [
                      "id"
                    ]
                  }
                ]
              }
            },
            "application/json (Viewpoint Spectrum)": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewChangeOrder-5"
                  },
                  {
                    "required": [
                      "id"
                    ]
                  }
                ]
              }
            },
            "application/json (Viewpoint Vista)": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewChangeOrder-6"
                  },
                  {
                    "required": [
                      "id"
                    ]
                  }
                ]
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (Acumatica)": {
                "schema": {
                  "$ref": "#/components/schemas/ChangeOrder-2"
                }
              },
              "application/json (BIM 360)": {
                "schema": {
                  "$ref": "#/components/schemas/ChangeOrder-3"
                }
              },
              "application/json (Foundation)": {
                "schema": {
                  "$ref": "#/components/schemas/ChangeOrderLineItem-2"
                }
              },
              "application/json (Jonas Premier)": {
                "schema": {
                  "$ref": "#/components/schemas/ChangeOrderLineItem-3"
                }
              },
              "application/json (Procore)": {
                "schema": {
                  "$ref": "#/components/schemas/ChangeOrder-6"
                }
              },
              "application/json (Sage 100 Contractor)": {
                "schema": {
                  "$ref": "#/components/schemas/ChangeOrder-7"
                }
              },
              "application/json (Sage 300 CRE)": {
                "schema": {
                  "$ref": "#/components/schemas/ChangeOrder-8"
                }
              },
              "application/json (Sage Intacct)": {
                "schema": {
                  "$ref": "#/components/schemas/ChangeOrder-9"
                }
              },
              "application/json (Viewpoint Jobpac)": {
                "schema": {
                  "$ref": "#/components/schemas/ChangeOrder-10"
                }
              },
              "application/json (Viewpoint Spectrum)": {
                "schema": {
                  "$ref": "#/components/schemas/ChangeOrder-11"
                }
              },
              "application/json (Viewpoint Vista)": {
                "schema": {
                  "$ref": "#/components/schemas/ChangeOrder-12"
                }
              }
            }
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "404": {
            "$ref": "#/components/responses/404"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      }
    },
    "/change-orders/{change_order_id}/line-items/{id}": {
      "parameters": [
        {
          "$ref": "#/components/parameters/AgaveApiVersion"
        },
        {
          "$ref": "#/components/parameters/AgaveIncludeSourceData"
        },
        {
          "$ref": "#/components/parameters/ProjectId"
        },
        {
          "$ref": "#/components/parameters/change_order_id"
        },
        {
          "name": "id",
          "in": "path",
          "description": "The UUID of the Change Order Line Item assigned by Agave.",
          "required": true,
          "schema": {
            "type": "string",
            "format": "uuid"
          }
        }
      ],
      "get": {
        "operationId": "getChangeOrderLineItem",
        "tags": [
          "change-orders"
        ],
        "summary": "One Change Order Line Item",
        "description": "This endpoint retrieves a Change Order Line Item by its Agave UUID.",
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (Acumatica)": {
                "schema": {
                  "$ref": "#/components/schemas/ChangeOrderLineItem-4"
                }
              },
              "application/json (Autodesk Build)": {
                "schema": {
                  "$ref": "#/components/schemas/ChangeOrderLineItem-5"
                }
              },
              "application/json (BIM 360)": {
                "schema": {
                  "$ref": "#/components/schemas/ChangeOrderLineItem-6"
                }
              },
              "application/json (Foundation)": {
                "schema": {
                  "$ref": "#/components/schemas/ChangeOrderLineItem-2"
                }
              },
              "application/json (Jonas Premier)": {
                "schema": {
                  "$ref": "#/components/schemas/ChangeOrderLineItem-3"
                }
              },
              "application/json (Procore)": {
                "schema": {
                  "$ref": "#/components/schemas/ChangeOrderLineItem-7"
                }
              },
              "application/json (Sage 100 Contractor)": {
                "schema": {
                  "$ref": "#/components/schemas/ChangeOrderLineItem-8"
                }
              },
              "application/json (Sage 300 CRE)": {
                "schema": {
                  "$ref": "#/components/schemas/ChangeOrderLineItem-9"
                }
              },
              "application/json (Sage Intacct)": {
                "schema": {
                  "$ref": "#/components/schemas/ChangeOrderLineItem-10"
                }
              },
              "application/json (Viewpoint Jobpac)": {
                "schema": {
                  "$ref": "#/components/schemas/ChangeOrderLineItem-11"
                }
              },
              "application/json (Viewpoint Spectrum)": {
                "schema": {
                  "$ref": "#/components/schemas/ChangeOrderLineItem-12"
                }
              },
              "application/json (Viewpoint Vista)": {
                "schema": {
                  "$ref": "#/components/schemas/ChangeOrderLineItem-13"
                }
              }
            }
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "404": {
            "$ref": "#/components/responses/404"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      },
      "put": {
        "operationId": "updateChangeOrderLineItem",
        "tags": [
          "change-orders"
        ],
        "summary": "One Change Order Line Item",
        "description": "This endpoint updates a Change Order Line Item by its Agave UUID.",
        "requestBody": {
          "content": {
            "application/json (Foundation)": {
              "schema": {
                "type": "object",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewChangeOrderLineItem"
                  }
                ]
              }
            },
            "application/json (Procore)": {
              "schema": {
                "type": "object",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewChangeOrderLineItem-2"
                  }
                ]
              }
            },
            "application/json (Sage 100 Contractor)": {
              "schema": {
                "type": "object",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewChangeOrderLineItem-3"
                  }
                ]
              }
            },
            "application/json (Sage 300 CRE)": {
              "schema": {
                "type": "object",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewChangeOrderLineItem-4"
                  }
                ]
              }
            },
            "application/json (Viewpoint Spectrum)": {
              "schema": {
                "type": "object",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewChangeOrderLineItem-5"
                  }
                ]
              }
            },
            "application/json (Viewpoint Vista)": {
              "schema": {
                "type": "object",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewChangeOrderLineItem-6"
                  }
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (Acumatica)": {
                "schema": {
                  "$ref": "#/components/schemas/ChangeOrderLineItem-4"
                }
              },
              "application/json (Autodesk Build)": {
                "schema": {
                  "$ref": "#/components/schemas/ChangeOrderLineItem-5"
                }
              },
              "application/json (BIM 360)": {
                "schema": {
                  "$ref": "#/components/schemas/ChangeOrderLineItem-6"
                }
              },
              "application/json (Foundation)": {
                "schema": {
                  "$ref": "#/components/schemas/ChangeOrderLineItem-2"
                }
              },
              "application/json (Jonas Premier)": {
                "schema": {
                  "$ref": "#/components/schemas/ChangeOrderLineItem-3"
                }
              },
              "application/json (Procore)": {
                "schema": {
                  "$ref": "#/components/schemas/ChangeOrderLineItem-7"
                }
              },
              "application/json (Sage 100 Contractor)": {
                "schema": {
                  "$ref": "#/components/schemas/ChangeOrderLineItem-8"
                }
              },
              "application/json (Sage 300 CRE)": {
                "schema": {
                  "$ref": "#/components/schemas/ChangeOrderLineItem-9"
                }
              },
              "application/json (Sage Intacct)": {
                "schema": {
                  "$ref": "#/components/schemas/ChangeOrderLineItem-10"
                }
              },
              "application/json (Viewpoint Jobpac)": {
                "schema": {
                  "$ref": "#/components/schemas/ChangeOrderLineItem-11"
                }
              },
              "application/json (Viewpoint Spectrum)": {
                "schema": {
                  "$ref": "#/components/schemas/ChangeOrderLineItem-12"
                }
              },
              "application/json (Viewpoint Vista)": {
                "schema": {
                  "$ref": "#/components/schemas/ChangeOrderLineItem-13"
                }
              }
            }
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "404": {
            "$ref": "#/components/responses/404"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      }
    },
    "/cost-codes": {
      "parameters": [
        {
          "$ref": "#/components/parameters/AgaveApiVersion"
        },
        {
          "$ref": "#/components/parameters/AgaveIncludeSourceData"
        },
        {
          "$ref": "#/components/parameters/ProjectId"
        }
      ],
      "get": {
        "operationId": "listCostCodes",
        "tags": [
          "cost-codes"
        ],
        "summary": "All Cost Codes",
        "description": "This endpoint retrieves a list of Cost Codes a Linked User can access.\n\n**Notes**: \n\nThe following Source Systems require the `Project-Id` header to be included:\n  - Cheops\n  - Viewpoint Jobpac\n\nThe `Project-Id` header accepts `*` to return all Project Cost Codes from all projects for the following Source Systems:\n  - Acumatica\n  - CMiC\n  - Foundation\n  - Sage Intacct\n  - Sage 300 CRE\n  - Viewpoint Spectrum\n  - Viewpoint Vista\n",
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (Acumatica)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Cost Codes a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/CostCode-2"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Cheops)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Cost Codes a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/CostCode-3"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (CMiC)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Cost Codes a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/CostCode-4"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (COINS)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Cost Codes a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/CostCode-5"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (ComputerEase)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Cost Codes a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/CostCode-6"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Foundation)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Cost Codes a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/CostCode-7"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Jonas Premier)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Cost Codes a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/CostCode-3"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Procore)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Cost Codes a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/CostCode-8"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Sage 100 Contractor)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Cost Codes a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/CostCode-9"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Sage 300 CRE)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Cost Codes a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/CostCode-10"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Sage Intacct)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Cost Codes a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/CostCode-11"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Viewpoint Jobpac)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Cost Codes a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/CostCode-12"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Viewpoint Spectrum)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Cost Codes (Phase Codes) a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/CostCode-13"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Viewpoint Vista)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Cost Codes (Phase Codes) a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/CostCode-14"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/400"
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      },
      "post": {
        "operationId": "newCostCode",
        "tags": [
          "cost-codes"
        ],
        "summary": "Cost Code",
        "description": "This endpoint creates Cost Codes.\n\n**Note**: the following Source Systems require the `Project-Id` header to be included:\n  - CMiC\n  - Viewpoint Vista\n",
        "requestBody": {
          "content": {
            "application/json (CMiC)": {
              "schema": {
                "type": "object",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewCostCode"
                  }
                ]
              }
            },
            "application/json (Viewpoint Vista)": {
              "schema": {
                "type": "object",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewCostCode-2"
                  }
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (Acumatica)": {
                "schema": {
                  "$ref": "#/components/schemas/CostCode-2"
                }
              },
              "application/json (Cheops)": {
                "schema": {
                  "$ref": "#/components/schemas/CostCode-3"
                }
              },
              "application/json (CMiC)": {
                "schema": {
                  "$ref": "#/components/schemas/CostCode-4"
                }
              },
              "application/json (COINS)": {
                "schema": {
                  "$ref": "#/components/schemas/CostCode-5"
                }
              },
              "application/json (ComputerEase)": {
                "schema": {
                  "$ref": "#/components/schemas/CostCode-6"
                }
              },
              "application/json (Foundation)": {
                "schema": {
                  "$ref": "#/components/schemas/CostCode-7"
                }
              },
              "application/json (Jonas Premier)": {
                "schema": {
                  "$ref": "#/components/schemas/CostCode-3"
                }
              },
              "application/json (Procore)": {
                "schema": {
                  "$ref": "#/components/schemas/CostCode-8"
                }
              },
              "application/json (Sage 100 Contractor)": {
                "schema": {
                  "$ref": "#/components/schemas/CostCode-9"
                }
              },
              "application/json (Sage 300 CRE)": {
                "schema": {
                  "$ref": "#/components/schemas/CostCode-10"
                }
              },
              "application/json (Sage Intacct)": {
                "schema": {
                  "$ref": "#/components/schemas/CostCode-11"
                }
              },
              "application/json (Viewpoint Jobpac)": {
                "schema": {
                  "$ref": "#/components/schemas/CostCode-12"
                }
              },
              "application/json (Viewpoint Spectrum)": {
                "schema": {
                  "$ref": "#/components/schemas/CostCode-13"
                }
              },
              "application/json (Viewpoint Vista)": {
                "schema": {
                  "$ref": "#/components/schemas/CostCode-14"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/400"
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      }
    },
    "/cost-codes/{id}": {
      "parameters": [
        {
          "$ref": "#/components/parameters/AgaveApiVersion"
        },
        {
          "$ref": "#/components/parameters/AgaveIncludeSourceData"
        },
        {
          "$ref": "#/components/parameters/ProjectId"
        },
        {
          "name": "id",
          "in": "path",
          "description": "The UUID of the Cost Code assigned by Agave.",
          "required": true,
          "schema": {
            "type": "string",
            "format": "uuid"
          }
        }
      ],
      "get": {
        "operationId": "getCostCode",
        "tags": [
          "cost-codes"
        ],
        "summary": "One Cost Code",
        "description": "This endpoint retrieves a Cost Code by its Agave UUID.\n\n**Note**: the following Source Systems require the `Project-Id` header to be included:\n  - Cheops\n  - Viewpoint Jobpac\n",
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (Acumatica)": {
                "schema": {
                  "$ref": "#/components/schemas/CostCode-2"
                }
              },
              "application/json (Cheops)": {
                "schema": {
                  "$ref": "#/components/schemas/CostCode-3"
                }
              },
              "application/json (CMiC)": {
                "schema": {
                  "$ref": "#/components/schemas/CostCode-4"
                }
              },
              "application/json (COINS)": {
                "schema": {
                  "$ref": "#/components/schemas/CostCode-5"
                }
              },
              "application/json (ComputerEase)": {
                "schema": {
                  "$ref": "#/components/schemas/CostCode-6"
                }
              },
              "application/json (Foundation)": {
                "schema": {
                  "$ref": "#/components/schemas/CostCode-7"
                }
              },
              "application/json (Jonas Premier)": {
                "schema": {
                  "$ref": "#/components/schemas/CostCode-3"
                }
              },
              "application/json (Procore)": {
                "schema": {
                  "$ref": "#/components/schemas/CostCode-8"
                }
              },
              "application/json (Sage 100 Contractor)": {
                "schema": {
                  "$ref": "#/components/schemas/CostCode-9"
                }
              },
              "application/json (Sage 300 CRE)": {
                "schema": {
                  "$ref": "#/components/schemas/CostCode-10"
                }
              },
              "application/json (Sage Intacct)": {
                "schema": {
                  "$ref": "#/components/schemas/CostCode-11"
                }
              },
              "application/json (Viewpoint Jobpac)": {
                "schema": {
                  "$ref": "#/components/schemas/CostCode-12"
                }
              },
              "application/json (Viewpoint Spectrum)": {
                "schema": {
                  "$ref": "#/components/schemas/CostCode-13"
                }
              },
              "application/json (Viewpoint Vista)": {
                "schema": {
                  "$ref": "#/components/schemas/CostCode-14"
                }
              }
            }
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "404": {
            "$ref": "#/components/responses/404"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      },
      "put": {
        "operationId": "updateCostCode",
        "tags": [
          "cost-codes"
        ],
        "summary": "One Cost Code",
        "description": "This endpoint updates an Cost Code by its Agave UUID.",
        "requestBody": {
          "content": {
            "application/json (CMiC)": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewCostCode"
                  },
                  {
                    "required": [
                      "id"
                    ]
                  }
                ]
              }
            },
            "application/json (Viewpoint Vista)": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewCostCode-2"
                  },
                  {
                    "required": [
                      "id"
                    ]
                  }
                ]
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (Acumatica)": {
                "schema": {
                  "$ref": "#/components/schemas/CostCode-2"
                }
              },
              "application/json (Cheops)": {
                "schema": {
                  "$ref": "#/components/schemas/CostCode-3"
                }
              },
              "application/json (CMiC)": {
                "schema": {
                  "$ref": "#/components/schemas/CostCode-4"
                }
              },
              "application/json (COINS)": {
                "schema": {
                  "$ref": "#/components/schemas/CostCode-5"
                }
              },
              "application/json (ComputerEase)": {
                "schema": {
                  "$ref": "#/components/schemas/CostCode-6"
                }
              },
              "application/json (Foundation)": {
                "schema": {
                  "$ref": "#/components/schemas/CostCode-7"
                }
              },
              "application/json (Jonas Premier)": {
                "schema": {
                  "$ref": "#/components/schemas/CostCode-3"
                }
              },
              "application/json (Procore)": {
                "schema": {
                  "$ref": "#/components/schemas/CostCode-8"
                }
              },
              "application/json (Sage 100 Contractor)": {
                "schema": {
                  "$ref": "#/components/schemas/CostCode-9"
                }
              },
              "application/json (Sage 300 CRE)": {
                "schema": {
                  "$ref": "#/components/schemas/CostCode-10"
                }
              },
              "application/json (Sage Intacct)": {
                "schema": {
                  "$ref": "#/components/schemas/CostCode-11"
                }
              },
              "application/json (Viewpoint Jobpac)": {
                "schema": {
                  "$ref": "#/components/schemas/CostCode-12"
                }
              },
              "application/json (Viewpoint Spectrum)": {
                "schema": {
                  "$ref": "#/components/schemas/CostCode-13"
                }
              },
              "application/json (Viewpoint Vista)": {
                "schema": {
                  "$ref": "#/components/schemas/CostCode-14"
                }
              }
            }
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "404": {
            "$ref": "#/components/responses/404"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      }
    },
    "/cost-types": {
      "parameters": [
        {
          "$ref": "#/components/parameters/AgaveApiVersion"
        },
        {
          "$ref": "#/components/parameters/AgaveIncludeSourceData"
        },
        {
          "$ref": "#/components/parameters/ProjectId"
        }
      ],
      "get": {
        "operationId": "listCostTypes",
        "tags": [
          "cost-types"
        ],
        "summary": "All Cost Types",
        "description": "This endpoint retrieves a list of Cost Types a Linked User can access.\n\n**Note**: The `Project-Id` header accepts `*` to return all Cost Types across all projects for the following Source Systems:\n  - Sage Intacct\n  - Sage 300 CRE\n  - Viewpoint Spectrum\n",
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (Acumatica)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Cost Types a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/CostType-2"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Cheops)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Cost Types a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/CostType-3"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (CMiC)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Cost Types a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/CostType-4"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (COINS)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Cost Types a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/CostType-5"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (ComputerEase)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Cost Codes a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/CostType-6"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Foundation)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Cost Types a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/CostType-7"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Jonas Premier)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Cost Types a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/CostType-3"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Procore)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Cost Types a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/CostType-8"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Sage 100 Contractor)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Cost Types a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/CostType-9"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Sage 300 CRE)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Cost Types a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/CostType-10"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Sage Intacct)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Cost Types a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/CostType-11"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Viewpoint Jobpac)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Cost Types a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/CostType-12"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Viewpoint Spectrum)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Cost Types a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/CostType-13"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Viewpoint Vista)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Cost Types a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/CostType-14"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/400"
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      },
      "post": {
        "operationId": "newCostType",
        "tags": [
          "cost-types"
        ],
        "summary": "Cost Type",
        "description": "This endpoint creates Cost Types.\n\n**Note for Procore**: Cost Types can only be created at the _Company_-level, not at the at the _Project_-level.\n",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewCostType"
                  },
                  {
                    "required": [
                      "name"
                    ]
                  }
                ]
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (Acumatica)": {
                "schema": {
                  "$ref": "#/components/schemas/CostType-2"
                }
              },
              "application/json (Cheops)": {
                "schema": {
                  "$ref": "#/components/schemas/CostType-3"
                }
              },
              "application/json (CMiC)": {
                "schema": {
                  "$ref": "#/components/schemas/CostType-4"
                }
              },
              "application/json (COINS)": {
                "schema": {
                  "$ref": "#/components/schemas/CostType-5"
                }
              },
              "application/json (ComputerEase)": {
                "schema": {
                  "$ref": "#/components/schemas/CostType-6"
                }
              },
              "application/json (Foundation)": {
                "schema": {
                  "$ref": "#/components/schemas/CostType-7"
                }
              },
              "application/json (Jonas Premier)": {
                "schema": {
                  "$ref": "#/components/schemas/CostType-3"
                }
              },
              "application/json (Procore)": {
                "schema": {
                  "$ref": "#/components/schemas/CostType-8"
                }
              },
              "application/json (Sage 100 Contractor)": {
                "schema": {
                  "$ref": "#/components/schemas/CostType-9"
                }
              },
              "application/json (Sage 300 CRE)": {
                "schema": {
                  "$ref": "#/components/schemas/CostType-10"
                }
              },
              "application/json (Sage Intacct)": {
                "schema": {
                  "$ref": "#/components/schemas/CostType-11"
                }
              },
              "application/json (Viewpoint Jobpac)": {
                "schema": {
                  "$ref": "#/components/schemas/CostType-12"
                }
              },
              "application/json (Viewpoint Spectrum)": {
                "schema": {
                  "$ref": "#/components/schemas/CostType-13"
                }
              },
              "application/json (Viewpoint Vista)": {
                "schema": {
                  "$ref": "#/components/schemas/CostType-14"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/400"
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      }
    },
    "/cost-types/{id}": {
      "parameters": [
        {
          "$ref": "#/components/parameters/AgaveApiVersion"
        },
        {
          "$ref": "#/components/parameters/AgaveIncludeSourceData"
        },
        {
          "$ref": "#/components/parameters/RequiredProjectId"
        },
        {
          "name": "id",
          "in": "path",
          "description": "The UUID of the Cost Type assigned by Agave.",
          "required": true,
          "schema": {
            "type": "string",
            "format": "uuid"
          }
        }
      ],
      "get": {
        "operationId": "getCostType",
        "tags": [
          "cost-types"
        ],
        "summary": "One Cost Type",
        "description": "This endpoint retrieves a Cost Type by its Agave UUID.",
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (Acumatica)": {
                "schema": {
                  "$ref": "#/components/schemas/CostType-2"
                }
              },
              "application/json (Cheops)": {
                "schema": {
                  "$ref": "#/components/schemas/CostType-3"
                }
              },
              "application/json (CMiC)": {
                "schema": {
                  "$ref": "#/components/schemas/CostType-4"
                }
              },
              "application/json (COINS)": {
                "schema": {
                  "$ref": "#/components/schemas/CostType-5"
                }
              },
              "application/json (ComputerEase)": {
                "schema": {
                  "$ref": "#/components/schemas/CostType-6"
                }
              },
              "application/json (Foundation)": {
                "schema": {
                  "$ref": "#/components/schemas/CostType-7"
                }
              },
              "application/json (Jonas Premier)": {
                "schema": {
                  "$ref": "#/components/schemas/CostType-3"
                }
              },
              "application/json (Procore)": {
                "schema": {
                  "$ref": "#/components/schemas/CostType-8"
                }
              },
              "application/json (Sage 100 Contractor)": {
                "schema": {
                  "$ref": "#/components/schemas/CostType-9"
                }
              },
              "application/json (Sage 300 CRE)": {
                "schema": {
                  "$ref": "#/components/schemas/CostType-10"
                }
              },
              "application/json (Sage Intacct)": {
                "schema": {
                  "$ref": "#/components/schemas/CostType-11"
                }
              },
              "application/json (Viewpoint Jobpac)": {
                "schema": {
                  "$ref": "#/components/schemas/CostType-12"
                }
              },
              "application/json (Viewpoint Spectrum)": {
                "schema": {
                  "$ref": "#/components/schemas/CostType-13"
                }
              },
              "application/json (Viewpoint Vista)": {
                "schema": {
                  "$ref": "#/components/schemas/CostType-14"
                }
              }
            }
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "404": {
            "$ref": "#/components/responses/404"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      },
      "put": {
        "operationId": "updateCostType",
        "tags": [
          "cost-types"
        ],
        "summary": "One Cost Type",
        "description": "This endpoint updates an Cost Type by its Agave UUID.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewCostType"
                  },
                  {
                    "required": [
                      "id"
                    ]
                  }
                ]
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (Acumatica)": {
                "schema": {
                  "$ref": "#/components/schemas/CostType-2"
                }
              },
              "application/json (Cheops)": {
                "schema": {
                  "$ref": "#/components/schemas/CostType-3"
                }
              },
              "application/json (CMiC)": {
                "schema": {
                  "$ref": "#/components/schemas/CostType-4"
                }
              },
              "application/json (COINS)": {
                "schema": {
                  "$ref": "#/components/schemas/CostType-5"
                }
              },
              "application/json (ComputerEase)": {
                "schema": {
                  "$ref": "#/components/schemas/CostType-6"
                }
              },
              "application/json (Foundation)": {
                "schema": {
                  "$ref": "#/components/schemas/CostType-7"
                }
              },
              "application/json (Jonas Premier)": {
                "schema": {
                  "$ref": "#/components/schemas/CostType-3"
                }
              },
              "application/json (Procore)": {
                "schema": {
                  "$ref": "#/components/schemas/CostType-8"
                }
              },
              "application/json (Sage 100 Contractor)": {
                "schema": {
                  "$ref": "#/components/schemas/CostType-9"
                }
              },
              "application/json (Sage 300 CRE)": {
                "schema": {
                  "$ref": "#/components/schemas/CostType-10"
                }
              },
              "application/json (Sage Intacct)": {
                "schema": {
                  "$ref": "#/components/schemas/CostType-11"
                }
              },
              "application/json (Viewpoint Jobpac)": {
                "schema": {
                  "$ref": "#/components/schemas/CostType-12"
                }
              },
              "application/json (Viewpoint Spectrum)": {
                "schema": {
                  "$ref": "#/components/schemas/CostType-13"
                }
              },
              "application/json (Viewpoint Vista)": {
                "schema": {
                  "$ref": "#/components/schemas/CostType-14"
                }
              }
            }
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "404": {
            "$ref": "#/components/responses/404"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      }
    },
    "/departments": {
      "parameters": [
        {
          "$ref": "#/components/parameters/AgaveApiVersion"
        },
        {
          "$ref": "#/components/parameters/AgaveIncludeSourceData"
        }
      ],
      "get": {
        "operationId": "listDepartments",
        "tags": [
          "departments"
        ],
        "summary": "All Departments",
        "description": "This endpoint retrieves a list of Departments a Linked User can access.\n",
        "parameters": [
          {
            "name": "type",
            "in": "query",
            "description": "This is an optional query parameter to filter the Departments by their type. \n\n**Note for Viewpoint Spectrum**: this query parameter is required. The only supported value at this time is \"Cost Center\".\n\n**Note for Viewpoint Vista**: this query parameter is required. Valid values include \"Equipment Management\", \"Job Cost\", \"Payroll\", and \"Service Management\".\n",
            "required": false,
            "schema": {
              "type": "string",
              "enum": [
                "Cost Center",
                "Equipment Management",
                "Job Cost",
                "Payroll",
                "Service Management"
              ],
              "example": "Cost Center"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (Acumatica)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Departments a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/Department-2"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (ComputerEase)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Departments a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/Department-3"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Procore)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Departments a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/Department-4"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Sage 100C)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Departments a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/Department-5"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (ServiceTitan)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Departments a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/Department-6"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Viewpoint Spectrum)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Departments a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/Department-7"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Viewpoint Vista)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Departments a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/Department-8"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/400"
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      }
    },
    "/departments/{id}": {
      "parameters": [
        {
          "$ref": "#/components/parameters/AgaveApiVersion"
        },
        {
          "$ref": "#/components/parameters/AgaveIncludeSourceData"
        },
        {
          "name": "id",
          "in": "path",
          "description": "The UUID of the Department assigned by Agave.",
          "required": true,
          "schema": {
            "type": "string",
            "format": "uuid"
          }
        }
      ],
      "get": {
        "operationId": "getDepartment",
        "tags": [
          "departments"
        ],
        "summary": "One Department",
        "description": "This endpoint retrieves a Department by its Agave UUID.",
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (Acumatica)": {
                "schema": {
                  "$ref": "#/components/schemas/Department-2"
                }
              },
              "application/json (ComputerEase)": {
                "schema": {
                  "$ref": "#/components/schemas/Department-3"
                }
              },
              "application/json (Procore)": {
                "schema": {
                  "$ref": "#/components/schemas/Department-4"
                }
              },
              "application/json (Sage 100C)": {
                "schema": {
                  "$ref": "#/components/schemas/Department-5"
                }
              },
              "application/json (ServiceTitan)": {
                "schema": {
                  "$ref": "#/components/schemas/Department-6"
                }
              },
              "application/json (Viewpoint Spectrum)": {
                "schema": {
                  "$ref": "#/components/schemas/Department-7"
                }
              },
              "application/json (Viewpoint Vista)": {
                "schema": {
                  "$ref": "#/components/schemas/Department-8"
                }
              }
            }
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "404": {
            "$ref": "#/components/responses/404"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      }
    },
    "/employees": {
      "parameters": [
        {
          "$ref": "#/components/parameters/AgaveApiVersion"
        },
        {
          "$ref": "#/components/parameters/AgaveIncludeSourceData"
        }
      ],
      "get": {
        "operationId": "listEmployees",
        "tags": [
          "employees"
        ],
        "summary": "All Employees",
        "description": "This endpoint retrieves a list of Employees a Linked User can access.",
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (Acumatica)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Employees a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/Employee-2"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (ComputerEase)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Employees a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/Employee-3"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (CMiC)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Employees a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/Employee-4"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Foundation)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Employees a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/Employee-5"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (HCSS HeavyJob)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Employees a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/Employee-6"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (InEight)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Employees a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/Employee-7"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Procore)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Employees a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/Employee-8"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (QuickBooks Desktop)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Employees a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/Employee-9"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (QuickBooks Online)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Employees a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/Employee-10"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Sage 100 Contractor)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Employees a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/Employee-11"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Sage 300 CRE)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Employees a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/Employee-12"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Sage Intacct)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Employees a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/Employee-13"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (ServiceTitan)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Employees a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/Employee-14"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (UKG)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Employees a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/Employee-15"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Viewpoint Spectrum)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Employees a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/Employee-16"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Viewpoint Vista)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Employees a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/Employee-17"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/400"
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      },
      "post": {
        "operationId": "newEmployees",
        "tags": [
          "employees"
        ],
        "summary": "Employee",
        "description": "This endpoint creates Employees.\n",
        "requestBody": {
          "content": {
            "application/json (Foundation)": {
              "schema": {
                "type": "object",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewEmployee"
                  }
                ]
              }
            },
            "application/json (HCSS HeavyJob)": {
              "schema": {
                "type": "object",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewEmployee-2"
                  }
                ]
              }
            },
            "application/json (InEight)": {
              "schema": {
                "type": "object",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewEmployee-3"
                  }
                ]
              }
            },
            "application/json (Procore)": {
              "schema": {
                "type": "object",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewEmployee-4"
                  }
                ]
              }
            },
            "application/json (QuickBooks Desktop)": {
              "schema": {
                "type": "object",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewEmployee-5"
                  }
                ]
              }
            },
            "application/json (Sage 100C)": {
              "schema": {
                "type": "object",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewEmployee-6"
                  }
                ]
              }
            },
            "application/json (Sage 300CRE)": {
              "schema": {
                "type": "object",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewEmployee-7"
                  }
                ]
              }
            },
            "application/json (ServiceTitan)": {
              "schema": {
                "type": "object",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewEmployee-8"
                  }
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (Acumatica)": {
                "schema": {
                  "$ref": "#/components/schemas/Employee-2"
                }
              },
              "application/json (CMiC)": {
                "schema": {
                  "$ref": "#/components/schemas/Employee-4"
                }
              },
              "application/json (ComputerEase)": {
                "schema": {
                  "$ref": "#/components/schemas/Employee-3"
                }
              },
              "application/json (Foundation)": {
                "schema": {
                  "$ref": "#/components/schemas/Employee-5"
                }
              },
              "application/json (HCSS HeavyJob)": {
                "schema": {
                  "$ref": "#/components/schemas/Employee-6"
                }
              },
              "application/json (InEight)": {
                "schema": {
                  "$ref": "#/components/schemas/Employee-7"
                }
              },
              "application/json (Procore)": {
                "schema": {
                  "$ref": "#/components/schemas/Employee-8"
                }
              },
              "application/json (QuickBooks Desktop)": {
                "schema": {
                  "$ref": "#/components/schemas/Employee-9"
                }
              },
              "application/json (QuickBooks Online)": {
                "schema": {
                  "$ref": "#/components/schemas/Employee-10"
                }
              },
              "application/json (Sage 100 Contractor)": {
                "schema": {
                  "$ref": "#/components/schemas/Employee-11"
                }
              },
              "application/json (Sage 300 CRE)": {
                "schema": {
                  "$ref": "#/components/schemas/Employee-12"
                }
              },
              "application/json (Sage Intacct)": {
                "schema": {
                  "$ref": "#/components/schemas/Employee-13"
                }
              },
              "application/json (ServiceTitan)": {
                "schema": {
                  "$ref": "#/components/schemas/Employee-14"
                }
              },
              "application/json (UKG)": {
                "schema": {
                  "$ref": "#/components/schemas/Employee-15"
                }
              },
              "application/json (Viewpoint Spectrum)": {
                "schema": {
                  "$ref": "#/components/schemas/Employee-16"
                }
              },
              "application/json (Viewpoint Vista)": {
                "schema": {
                  "$ref": "#/components/schemas/Employee-17"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/400"
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      }
    },
    "/employees/{id}": {
      "parameters": [
        {
          "$ref": "#/components/parameters/AgaveApiVersion"
        },
        {
          "$ref": "#/components/parameters/AgaveIncludeSourceData"
        },
        {
          "name": "id",
          "in": "path",
          "description": "The UUID of the Employee assigned by Agave.",
          "required": true,
          "schema": {
            "type": "string",
            "format": "uuid"
          }
        }
      ],
      "get": {
        "operationId": "getEmployee",
        "tags": [
          "employees"
        ],
        "summary": "One Employee",
        "description": "This endpoint retrieves an Employee by its Agave UUID.",
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (Acumatica)": {
                "schema": {
                  "$ref": "#/components/schemas/Employee-2"
                }
              },
              "application/json (CMiC)": {
                "schema": {
                  "$ref": "#/components/schemas/Employee-4"
                }
              },
              "application/json (ComputerEase)": {
                "schema": {
                  "$ref": "#/components/schemas/Employee-3"
                }
              },
              "application/json (Foundation)": {
                "schema": {
                  "$ref": "#/components/schemas/Employee-5"
                }
              },
              "application/json (HCSS HeavyJob)": {
                "schema": {
                  "$ref": "#/components/schemas/Employee-6"
                }
              },
              "application/json (InEight)": {
                "schema": {
                  "$ref": "#/components/schemas/Employee-7"
                }
              },
              "application/json (Procore)": {
                "schema": {
                  "$ref": "#/components/schemas/Employee-8"
                }
              },
              "application/json (QuickBooks Desktop)": {
                "schema": {
                  "$ref": "#/components/schemas/Employee-9"
                }
              },
              "application/json (QuickBooks Online)": {
                "schema": {
                  "$ref": "#/components/schemas/Employee-10"
                }
              },
              "application/json (Sage 100 Contractor)": {
                "schema": {
                  "$ref": "#/components/schemas/Employee-11"
                }
              },
              "application/json (Sage 300 CRE)": {
                "schema": {
                  "$ref": "#/components/schemas/Employee-12"
                }
              },
              "application/json (Sage Intacct)": {
                "schema": {
                  "$ref": "#/components/schemas/Employee-13"
                }
              },
              "application/json (ServiceTitan)": {
                "schema": {
                  "$ref": "#/components/schemas/Employee-14"
                }
              },
              "application/json (UKG)": {
                "schema": {
                  "$ref": "#/components/schemas/Employee-15"
                }
              },
              "application/json (Viewpoint Spectrum)": {
                "schema": {
                  "$ref": "#/components/schemas/Employee-16"
                }
              },
              "application/json (Viewpoint Vista)": {
                "schema": {
                  "$ref": "#/components/schemas/Employee-17"
                }
              }
            }
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "404": {
            "$ref": "#/components/responses/404"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      },
      "put": {
        "operationId": "updateEmployee",
        "tags": [
          "employees"
        ],
        "summary": "One Employee",
        "description": "This endpoint updates an Employee by its Agave UUID.",
        "requestBody": {
          "content": {
            "application/json (Foundation)": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewEmployee"
                  },
                  {
                    "required": [
                      "id"
                    ]
                  }
                ]
              }
            },
            "application/json (HCSS HeavyJob)": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewEmployee-2"
                  },
                  {
                    "required": [
                      "id"
                    ]
                  }
                ]
              }
            },
            "application/json (InEight)": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewEmployee-3"
                  },
                  {
                    "required": [
                      "id"
                    ]
                  }
                ]
              }
            },
            "application/json (Procore)": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewEmployee-4"
                  },
                  {
                    "required": [
                      "id"
                    ]
                  }
                ]
              }
            },
            "application/json (Sage 100C)": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewEmployee-6"
                  },
                  {
                    "required": [
                      "id"
                    ]
                  }
                ]
              }
            },
            "application/json (Sage 300CRE)": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewEmployee-7"
                  },
                  {
                    "required": [
                      "id"
                    ]
                  }
                ]
              }
            },
            "application/json (ServiceTitan)": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewEmployee-8"
                  },
                  {
                    "required": [
                      "id"
                    ]
                  }
                ]
              }
            },
            "application/json (QuickBooks Desktop)": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewEmployee-5"
                  },
                  {
                    "required": [
                      "id"
                    ]
                  }
                ]
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (Acumatica)": {
                "schema": {
                  "$ref": "#/components/schemas/Employee-2"
                }
              },
              "application/json (CMiC)": {
                "schema": {
                  "$ref": "#/components/schemas/Employee-4"
                }
              },
              "application/json (ComputerEase)": {
                "schema": {
                  "$ref": "#/components/schemas/Employee-3"
                }
              },
              "application/json (Foundation)": {
                "schema": {
                  "$ref": "#/components/schemas/Employee-5"
                }
              },
              "application/json (HCSS HeavyJob)": {
                "schema": {
                  "$ref": "#/components/schemas/Employee-6"
                }
              },
              "application/json (InEight)": {
                "schema": {
                  "$ref": "#/components/schemas/Employee-7"
                }
              },
              "application/json (Procore)": {
                "schema": {
                  "$ref": "#/components/schemas/Employee-8"
                }
              },
              "application/json (QuickBooks Desktop)": {
                "schema": {
                  "$ref": "#/components/schemas/Employee-9"
                }
              },
              "application/json (QuickBooks Online)": {
                "schema": {
                  "$ref": "#/components/schemas/Employee-10"
                }
              },
              "application/json (Sage 100 Contractor)": {
                "schema": {
                  "$ref": "#/components/schemas/Employee-11"
                }
              },
              "application/json (Sage 300 CRE)": {
                "schema": {
                  "$ref": "#/components/schemas/Employee-12"
                }
              },
              "application/json (Sage Intacct)": {
                "schema": {
                  "$ref": "#/components/schemas/Employee-13"
                }
              },
              "application/json (ServiceTitan)": {
                "schema": {
                  "$ref": "#/components/schemas/Employee-14"
                }
              },
              "application/json (UKG)": {
                "schema": {
                  "$ref": "#/components/schemas/Employee-15"
                }
              },
              "application/json (Viewpoint Spectrum)": {
                "schema": {
                  "$ref": "#/components/schemas/Employee-16"
                }
              },
              "application/json (Viewpoint Vista)": {
                "schema": {
                  "$ref": "#/components/schemas/Employee-17"
                }
              }
            }
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "404": {
            "$ref": "#/components/responses/404"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      }
    },
    "/estimates": {
      "parameters": [
        {
          "$ref": "#/components/parameters/AgaveApiVersion"
        },
        {
          "$ref": "#/components/parameters/AgaveIncludeSourceData"
        },
        {
          "$ref": "#/components/parameters/Expand"
        }
      ],
      "get": {
        "operationId": "listEstimates",
        "tags": [
          "estimates"
        ],
        "summary": "All Estimates",
        "description": "This endpoint returns a list of Estimates a Linked User can access.",
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (Housecall Pro)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Estimates the Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/Estimate-2"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (QuickBooks Desktop)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Estimates the Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/Estimate-3"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (QuickBooks Online)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Estimates the Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/Estimate-4"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/400"
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      },
      "post": {
        "operationId": "newEstimate",
        "tags": [
          "estimates"
        ],
        "summary": "Estimate",
        "description": "This endpoint creates Estimates.\n",
        "requestBody": {
          "content": {
            "application/json (QuickBooks Desktop)": {
              "schema": {
                "type": "object",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewEstimate"
                  }
                ]
              }
            },
            "application/json (QuickBooks Online)": {
              "schema": {
                "type": "object",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewEstimate-2"
                  }
                ]
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (Housecall Pro)": {
                "schema": {
                  "$ref": "#/components/schemas/Estimate-2"
                }
              },
              "application/json (QuickBooks Desktop)": {
                "schema": {
                  "$ref": "#/components/schemas/Estimate-3"
                }
              },
              "application/json (QuickBooks Online)": {
                "schema": {
                  "$ref": "#/components/schemas/Estimate-4"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/400"
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      }
    },
    "/estimates/{estimate_id}/line-items": {
      "parameters": [
        {
          "$ref": "#/components/parameters/AgaveApiVersion"
        },
        {
          "$ref": "#/components/parameters/AgaveIncludeSourceData"
        },
        {
          "$ref": "#/components/parameters/estimate_id"
        }
      ],
      "get": {
        "operationId": "listEstimateLineItems",
        "tags": [
          "estimates"
        ],
        "summary": "All Estimate Line Items",
        "description": "This endpoint retrieves a list of Estimate Line Items a Linked User can access.\n",
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (QuickBooksDesktop)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Estimate Line Items the Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/EstimateLineItem-2"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (QuickBooksOnline)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Estimate Line Items the Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/EstimateLineItem-3"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              }
            }
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "404": {
            "$ref": "#/components/responses/404"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      },
      "post": {
        "operationId": "newEstimateLineItem",
        "tags": [
          "estimates"
        ],
        "summary": "Estimate Line Item",
        "description": "This endpoint creates Estimate line Items.\n",
        "requestBody": {
          "content": {
            "application/json (QuickBooks Desktop)": {
              "schema": {
                "type": "object",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewEstimateLineItem"
                  }
                ]
              }
            },
            "application/json (QuickBooks Online)": {
              "schema": {
                "type": "object",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewEstimateLineItem-2"
                  }
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (QuickBooksDestop)": {
                "schema": {
                  "$ref": "#/components/schemas/EstimateLineItem-2"
                }
              },
              "application/json (QuickBooksOnline)": {
                "schema": {
                  "$ref": "#/components/schemas/EstimateLineItem-3"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/400"
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      }
    },
    "/estimates/{id}": {
      "parameters": [
        {
          "$ref": "#/components/parameters/AgaveApiVersion"
        },
        {
          "$ref": "#/components/parameters/AgaveIncludeSourceData"
        },
        {
          "name": "id",
          "in": "path",
          "description": "The UUID of the Estimate assigned by Agave.",
          "required": true,
          "schema": {
            "type": "string",
            "format": "uuid"
          }
        }
      ],
      "get": {
        "operationId": "getEstimate",
        "tags": [
          "estimates"
        ],
        "summary": "One Estimate",
        "description": "This endpoint returns an Estimate with the Agave UUID provided.",
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (Housecall Pro)": {
                "schema": {
                  "$ref": "#/components/schemas/Estimate-2"
                }
              },
              "application/json (QuickBooks Desktop)": {
                "schema": {
                  "$ref": "#/components/schemas/Estimate-3"
                }
              },
              "application/json (QuickBooks Online)": {
                "schema": {
                  "$ref": "#/components/schemas/Estimate-4"
                }
              }
            }
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "404": {
            "$ref": "#/components/responses/404"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      },
      "put": {
        "operationId": "updateEstimate",
        "tags": [
          "estimates"
        ],
        "summary": "One Estimate",
        "description": "This endpoint updates an Estimate by its Agave UUID.",
        "requestBody": {
          "content": {
            "application/json (QuickBooks Desktop)": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewEstimate"
                  },
                  {
                    "required": [
                      "id"
                    ]
                  }
                ]
              }
            },
            "application/json (QuickBooks Online)": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewEstimate-2"
                  },
                  {
                    "required": [
                      "id"
                    ]
                  }
                ]
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (Housecall Pro)": {
                "schema": {
                  "$ref": "#/components/schemas/Estimate-2"
                }
              },
              "application/json (QuickBooks Desktop)": {
                "schema": {
                  "$ref": "#/components/schemas/Estimate-3"
                }
              },
              "application/json (QuickBooks Online)": {
                "schema": {
                  "$ref": "#/components/schemas/Estimate-4"
                }
              }
            }
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "404": {
            "$ref": "#/components/responses/404"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      }
    },
    "/estimates/{estimate_id}/line-items/{id}": {
      "parameters": [
        {
          "$ref": "#/components/parameters/AgaveApiVersion"
        },
        {
          "$ref": "#/components/parameters/AgaveIncludeSourceData"
        },
        {
          "$ref": "#/components/parameters/estimate_id"
        },
        {
          "name": "id",
          "in": "path",
          "description": "The UUID of the Estimate Line Item assigned by Agave.",
          "required": true,
          "schema": {
            "type": "string",
            "format": "uuid"
          }
        }
      ],
      "get": {
        "operationId": "getEstimateLineItem",
        "tags": [
          "estimates"
        ],
        "summary": "One Estimate Line Item",
        "description": "This endpoint retrieves an Estimate Line Item by its Agave UUID.\n",
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (QuickBooksDestop)": {
                "schema": {
                  "$ref": "#/components/schemas/EstimateLineItem-2"
                }
              },
              "application/json (QuickBooksOnline)": {
                "schema": {
                  "$ref": "#/components/schemas/EstimateLineItem-3"
                }
              }
            }
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "404": {
            "$ref": "#/components/responses/404"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      },
      "put": {
        "operationId": "updateEstimateLineItem",
        "tags": [
          "estimates"
        ],
        "summary": "One Estimate Line Item",
        "description": "This endpoint updates an Estimate Line Item by its Agave UUID.",
        "requestBody": {
          "content": {
            "application/json (QuickBooks Desktop)": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewEstimateLineItem"
                  },
                  {
                    "required": [
                      "id"
                    ]
                  }
                ]
              }
            },
            "application/json (QuickBooks Online)": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewEstimateLineItem-2"
                  },
                  {
                    "required": [
                      "id"
                    ]
                  }
                ]
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (QuickBooksDestop)": {
                "schema": {
                  "$ref": "#/components/schemas/EstimateLineItem-2"
                }
              },
              "application/json (QuickBooksOnline)": {
                "schema": {
                  "$ref": "#/components/schemas/EstimateLineItem-3"
                }
              }
            }
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "404": {
            "$ref": "#/components/responses/404"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      }
    },
    "/expenses": {
      "parameters": [
        {
          "$ref": "#/components/parameters/AgaveApiVersion"
        },
        {
          "$ref": "#/components/parameters/AgaveIncludeSourceData"
        },
        {
          "$ref": "#/components/parameters/Expand"
        },
        {
          "name": "payment_method",
          "in": "query",
          "description": "This is an optional query parameter to filter the AP Invoices by their `payment_method`.\n\n**Note for QuickBooks Desktop:** this query parameter is required.\n",
          "required": false,
          "schema": {
            "type": "string",
            "enum": [
              "CreditCard"
            ],
            "example": "CreditCard"
          }
        }
      ],
      "get": {
        "operationId": "listExpenses",
        "tags": [
          "expenses"
        ],
        "summary": "All Expenses",
        "description": "This endpoint returns a list of Expenses a Linked User can access.",
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (Autodesk Build)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Expenses the Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/Expense-2"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (BIM 360)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Expenses the Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/Expense-2"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Procore)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Expenses the Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/Expense-3"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (QuickBooks Desktop)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Expenses the Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/Expense-4"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (QuickBooks Online)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Expenses the Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/Expense-5"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Viewpoint Vista)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Expenses the Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/Expense-6"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/400"
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      },
      "post": {
        "operationId": "newExpense",
        "tags": [
          "expenses"
        ],
        "summary": "Expense",
        "description": "This endpoint creates Expenses.\n",
        "requestBody": {
          "content": {
            "application/json (Autodesk Build)": {
              "schema": {
                "type": "object",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewExpense"
                  }
                ]
              }
            },
            "application/json (BIM 360)": {
              "schema": {
                "type": "object",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewExpense"
                  }
                ]
              }
            },
            "application/json (Procore)": {
              "schema": {
                "type": "object",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewExpense-2"
                  }
                ]
              }
            },
            "application/json (QuickBooks Desktop)": {
              "schema": {
                "type": "object",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewExpense-3"
                  }
                ]
              }
            },
            "application/json (QuickBooks Online)": {
              "schema": {
                "type": "object",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewExpense-4"
                  }
                ]
              }
            },
            "application/json (Viewpoint Vista)": {
              "schema": {
                "type": "object",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewExpense-5"
                  }
                ]
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (Autodesk Build)": {
                "schema": {
                  "$ref": "#/components/schemas/Expense-2"
                }
              },
              "application/json (BIM 360)": {
                "schema": {
                  "$ref": "#/components/schemas/Expense-2"
                }
              },
              "application/json (Procore)": {
                "schema": {
                  "$ref": "#/components/schemas/Expense-3"
                }
              },
              "application/json (QuickBooks Desktop)": {
                "schema": {
                  "$ref": "#/components/schemas/Expense-4"
                }
              },
              "application/json (QuickBooks Online)": {
                "schema": {
                  "$ref": "#/components/schemas/Expense-5"
                }
              },
              "application/json (Viewpoint Vista)": {
                "schema": {
                  "$ref": "#/components/schemas/Expense-6"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/400"
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      }
    },
    "/expenses/{expense_id}/line-items": {
      "parameters": [
        {
          "$ref": "#/components/parameters/AgaveApiVersion"
        },
        {
          "$ref": "#/components/parameters/AgaveIncludeSourceData"
        },
        {
          "$ref": "#/components/parameters/Expense_id"
        }
      ],
      "get": {
        "operationId": "listExpenseLineItems",
        "tags": [
          "expenses"
        ],
        "summary": "All Expense Line Items",
        "description": "This endpoint retrieves a list of Expense Line Items a Linked User can access.\n",
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (Autodesk Build)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Expense Line Items the Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/ExpenseLineItem-3"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (BIM 360)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Expense Line Items the Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/ExpenseLineItem-3"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Procore)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Expense Line Items the Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/ExpenseLineItem-2"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (QuickBooks Desktop)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Expense Line Items the Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/ExpenseLineItem-4"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (QuickBooks Online)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Expense Line Items the Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/ExpenseLineItem-5"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Viewpoint Vista)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Expense Line Items the Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/ExpenseLineItem-6"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              }
            }
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "404": {
            "$ref": "#/components/responses/404"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      },
      "post": {
        "operationId": "newExpenseLineItem",
        "tags": [
          "expenses"
        ],
        "summary": "Expense Line Item",
        "description": "This endpoint creates Expense line Items.\n",
        "requestBody": {
          "content": {
            "application/json (Procore)": {
              "schema": {
                "type": "object",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewExpenseLineItem-3"
                  }
                ]
              }
            },
            "application/json (QuickBooks Desktop)": {
              "schema": {
                "type": "object",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewExpenseLineItem"
                  }
                ]
              }
            },
            "application/json (QuickBooks Online)": {
              "schema": {
                "type": "object",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewExpenseLineItem-2"
                  }
                ]
              }
            },
            "application/json (Viewpoint Vista)": {
              "schema": {
                "type": "object",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewExpenseLineItem-4"
                  }
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (Autodesk Build)": {
                "schema": {
                  "$ref": "#/components/schemas/ExpenseLineItem-3"
                }
              },
              "application/json (BIM 360)": {
                "schema": {
                  "$ref": "#/components/schemas/ExpenseLineItem-3"
                }
              },
              "application/json (Procore)": {
                "schema": {
                  "$ref": "#/components/schemas/ExpenseLineItem-2"
                }
              },
              "application/json (QuickBooks Destop)": {
                "schema": {
                  "$ref": "#/components/schemas/ExpenseLineItem-4"
                }
              },
              "application/json (QuickBooks Online)": {
                "schema": {
                  "$ref": "#/components/schemas/ExpenseLineItem-5"
                }
              },
              "application/json (Viewpoint Vista)": {
                "schema": {
                  "$ref": "#/components/schemas/ExpenseLineItem-6"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/400"
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      }
    },
    "/expenses/{id}": {
      "parameters": [
        {
          "$ref": "#/components/parameters/AgaveApiVersion"
        },
        {
          "$ref": "#/components/parameters/AgaveIncludeSourceData"
        },
        {
          "name": "id",
          "in": "path",
          "description": "The UUID of the Expense assigned by Agave.",
          "required": true,
          "schema": {
            "type": "string",
            "format": "uuid"
          }
        }
      ],
      "get": {
        "operationId": "getExpense",
        "tags": [
          "expenses"
        ],
        "summary": "One Expense",
        "description": "This endpoint returns an Expense with the Agave UUID provided.",
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (Autodesk Build)": {
                "schema": {
                  "$ref": "#/components/schemas/Expense-2"
                }
              },
              "application/json (BIM 360)": {
                "schema": {
                  "$ref": "#/components/schemas/Expense-2"
                }
              },
              "application/json (Procore)": {
                "schema": {
                  "$ref": "#/components/schemas/Expense-3"
                }
              },
              "application/json (QuickBooks Desktop)": {
                "schema": {
                  "$ref": "#/components/schemas/Expense-4"
                }
              },
              "application/json (QuickBooks Online)": {
                "schema": {
                  "$ref": "#/components/schemas/Expense-5"
                }
              },
              "application/json (Viewpoint Vista)": {
                "schema": {
                  "$ref": "#/components/schemas/Expense-6"
                }
              }
            }
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "404": {
            "$ref": "#/components/responses/404"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      },
      "put": {
        "operationId": "updateExpense",
        "tags": [
          "expenses"
        ],
        "summary": "One Expense",
        "description": "This endpoint updates an Expense by its Agave UUID.",
        "requestBody": {
          "content": {
            "application/json (Autodesk Build)": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewExpense"
                  },
                  {
                    "required": [
                      "id"
                    ]
                  }
                ]
              }
            },
            "application/json (BIM 360)": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewExpense"
                  },
                  {
                    "required": [
                      "id"
                    ]
                  }
                ]
              }
            },
            "application/json (Procore)": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewExpense-2"
                  },
                  {
                    "required": [
                      "id"
                    ]
                  }
                ]
              }
            },
            "application/json (QuickBooks Desktop)": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewExpense-3"
                  },
                  {
                    "required": [
                      "id"
                    ]
                  }
                ]
              }
            },
            "application/json (QuickBooks Online)": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewExpense-4"
                  },
                  {
                    "required": [
                      "id"
                    ]
                  }
                ]
              }
            },
            "application/json (Viewpoint Vista)": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewExpense-5"
                  },
                  {
                    "required": [
                      "id"
                    ]
                  }
                ]
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (Autodesk Build)": {
                "schema": {
                  "$ref": "#/components/schemas/Expense-2"
                }
              },
              "application/json (BIM 360)": {
                "schema": {
                  "$ref": "#/components/schemas/Expense-2"
                }
              },
              "application/json (Procore)": {
                "schema": {
                  "$ref": "#/components/schemas/Expense-3"
                }
              },
              "application/json (QuickBooks Desktop)": {
                "schema": {
                  "$ref": "#/components/schemas/Expense-4"
                }
              },
              "application/json (QuickBooks Online)": {
                "schema": {
                  "$ref": "#/components/schemas/Expense-5"
                }
              },
              "application/json (Viewpoint Vista)": {
                "schema": {
                  "$ref": "#/components/schemas/Expense-6"
                }
              }
            }
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "404": {
            "$ref": "#/components/responses/404"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      }
    },
    "/expenses/{expense_id}/line-items/{id}": {
      "parameters": [
        {
          "$ref": "#/components/parameters/AgaveApiVersion"
        },
        {
          "$ref": "#/components/parameters/AgaveIncludeSourceData"
        },
        {
          "$ref": "#/components/parameters/Expense_id"
        },
        {
          "name": "id",
          "in": "path",
          "description": "The UUID of the Expense Line Item assigned by Agave.",
          "required": true,
          "schema": {
            "type": "string",
            "format": "uuid"
          }
        }
      ],
      "get": {
        "operationId": "getExpenseLineItem",
        "tags": [
          "expenses"
        ],
        "summary": "One Expense Line Item",
        "description": "This endpoint retrieves an Expense Line Item by its Agave UUID.\n",
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (Autodesk Build)": {
                "schema": {
                  "$ref": "#/components/schemas/ExpenseLineItem-3"
                }
              },
              "application/json (BIM 360)": {
                "schema": {
                  "$ref": "#/components/schemas/ExpenseLineItem-3"
                }
              },
              "application/json (Procore)": {
                "schema": {
                  "$ref": "#/components/schemas/ExpenseLineItem-2"
                }
              },
              "application/json (QuickBooks Destop)": {
                "schema": {
                  "$ref": "#/components/schemas/ExpenseLineItem-4"
                }
              },
              "application/json (QuickBooks Online)": {
                "schema": {
                  "$ref": "#/components/schemas/ExpenseLineItem-5"
                }
              },
              "application/json (Viewpoint Vista)": {
                "schema": {
                  "$ref": "#/components/schemas/ExpenseLineItem-6"
                }
              }
            }
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "404": {
            "$ref": "#/components/responses/404"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      },
      "put": {
        "operationId": "updateExpenseLineItem",
        "tags": [
          "expenses"
        ],
        "summary": "One Expense Line Item",
        "description": "This endpoint updates an Expense Line Item by its Agave UUID.",
        "requestBody": {
          "content": {
            "application/json (Procore)": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewExpenseLineItem-3"
                  },
                  {
                    "required": [
                      "id"
                    ]
                  }
                ]
              }
            },
            "application/json (QuickBooks Desktop)": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewExpenseLineItem"
                  },
                  {
                    "required": [
                      "id"
                    ]
                  }
                ]
              }
            },
            "application/json (QuickBooks Online)": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewExpenseLineItem-2"
                  },
                  {
                    "required": [
                      "id"
                    ]
                  }
                ]
              }
            },
            "application/json (Viewpoint Vista)": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewExpenseLineItem-4"
                  },
                  {
                    "required": [
                      "id"
                    ]
                  }
                ]
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (Autodesk Build)": {
                "schema": {
                  "$ref": "#/components/schemas/ExpenseLineItem-3"
                }
              },
              "application/json (BIM 360)": {
                "schema": {
                  "$ref": "#/components/schemas/ExpenseLineItem-3"
                }
              },
              "application/json (Procore)": {
                "schema": {
                  "$ref": "#/components/schemas/ExpenseLineItem-2"
                }
              },
              "application/json (QuickBooks Destop)": {
                "schema": {
                  "$ref": "#/components/schemas/ExpenseLineItem-4"
                }
              },
              "application/json (QuickBooks Online)": {
                "schema": {
                  "$ref": "#/components/schemas/ExpenseLineItem-5"
                }
              },
              "application/json (Viewpoint Vista)": {
                "schema": {
                  "$ref": "#/components/schemas/ExpenseLineItem-6"
                }
              }
            }
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "404": {
            "$ref": "#/components/responses/404"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      }
    },
    "/inventory-locations": {
      "parameters": [
        {
          "$ref": "#/components/parameters/AgaveApiVersion"
        },
        {
          "$ref": "#/components/parameters/AgaveIncludeSourceData"
        },
        {
          "name": "type",
          "in": "query",
          "description": "**Note for ServiceTitan and Viewpoint Spectrum**: this is a required parameter. \"Truck\" and \"Warehouse\" are supported.\n",
          "required": true,
          "schema": {
            "type": "string",
            "enum": [
              "Truck",
              "Warehouse"
            ]
          },
          "example": "Warehouse"
        }
      ],
      "get": {
        "operationId": "listInventoryLocations",
        "tags": [
          "inventory-locations"
        ],
        "summary": "All Inventory Locations",
        "description": "This endpoint retrieves a list of Inventory Locations a Linked User can access.",
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (Acumatica)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Inventory Locations the Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/InventoryLocation-2"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (ServiceTitan)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Inventory Locations the Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/InventoryLocation-3"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Viewpoint Spectrum)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Inventory Locations the Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/InventoryLocation-4"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/400"
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      }
    },
    "/inventory-locations/{id}": {
      "parameters": [
        {
          "$ref": "#/components/parameters/AgaveApiVersion"
        },
        {
          "$ref": "#/components/parameters/AgaveIncludeSourceData"
        },
        {
          "name": "id",
          "in": "path",
          "description": "The UUID of the Inventory Location assigned by Agave.",
          "required": true,
          "schema": {
            "type": "string",
            "format": "uuid"
          }
        }
      ],
      "get": {
        "operationId": "getInventoryLocation",
        "tags": [
          "inventory-locations"
        ],
        "summary": "One Inventory Location",
        "description": "This endpoint retrieves an Inventory Location by its Agave UUID.",
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (Acumatica)": {
                "schema": {
                  "$ref": "#/components/schemas/InventoryLocation-3"
                }
              },
              "application/json (ServiceTitan)": {
                "schema": {
                  "$ref": "#/components/schemas/InventoryLocation-3"
                }
              },
              "application/json (Viewpoint Spectrum)": {
                "schema": {
                  "$ref": "#/components/schemas/InventoryLocation-4"
                }
              }
            }
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "404": {
            "$ref": "#/components/responses/404"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      }
    },
    "/items": {
      "parameters": [
        {
          "$ref": "#/components/parameters/AgaveApiVersion"
        },
        {
          "$ref": "#/components/parameters/AgaveIncludeSourceData"
        },
        {
          "name": "type",
          "in": "query",
          "description": "**Note for QuickBooks Desktop**: this is a required parameter.\n\n**Note for ServiceTitan**: this is a required parameter. Only \"Material\" is supported.\n",
          "required": false,
          "schema": {
            "type": "string",
            "enum": [
              "Discount",
              "Fixed Asset",
              "Inventory",
              "Inventory Assembly",
              "Item Group",
              "Material",
              "Non-Inventory",
              "Other Charge",
              "Payment",
              "Sales Tax",
              "Sales Tax Group",
              "Service",
              "Subtotal"
            ]
          },
          "example": "Inventory"
        }
      ],
      "get": {
        "operationId": "listItems",
        "tags": [
          "items"
        ],
        "summary": "All Items",
        "description": "This endpoint retrieves a list of Items a Linked User can access.",
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (Acumatica)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Items the Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/Item-2"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (ComputerEase)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Items the Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/Item-3"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Foundation)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Items the Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/Item-4"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (QuickBooks Desktop)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Items the Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/Item-5"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (QuickBooks Online)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Items the Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/Item-6"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (ServiceTitan)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Items the Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/Item-7"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Viewpoint Spectrum)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Items the Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/Item-8"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Viewpoint Vista)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Items the Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/Item-9"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/400"
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      },
      "post": {
        "operationId": "newItem",
        "tags": [
          "items"
        ],
        "summary": "Items",
        "description": "This endpoint creates Items.\n",
        "requestBody": {
          "content": {
            "application/json (QuickBooks Desktop)": {
              "schema": {
                "type": "object",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewItem"
                  }
                ]
              }
            },
            "application/json (QuickBooks Online)": {
              "schema": {
                "type": "object",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewItem-2"
                  }
                ]
              }
            },
            "application/json (Viewpoint Spectrum)": {
              "schema": {
                "type": "object",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewItem-3"
                  }
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (Acumatica)": {
                "schema": {
                  "$ref": "#/components/schemas/Item-2"
                }
              },
              "application/json (ComputerEase)": {
                "schema": {
                  "$ref": "#/components/schemas/Item-3"
                }
              },
              "application/json (Foundation)": {
                "schema": {
                  "$ref": "#/components/schemas/Item-4"
                }
              },
              "application/json (QuickBooks Desktop)": {
                "schema": {
                  "$ref": "#/components/schemas/Item-5"
                }
              },
              "application/json (QuickBooks Onlne)": {
                "schema": {
                  "$ref": "#/components/schemas/Item-6"
                }
              },
              "application/json (ServiceTitan)": {
                "schema": {
                  "$ref": "#/components/schemas/Item-7"
                }
              },
              "application/json (Viewpoint Spectrum)": {
                "schema": {
                  "$ref": "#/components/schemas/Item-8"
                }
              },
              "application/json (Viewpoint Vista)": {
                "schema": {
                  "$ref": "#/components/schemas/Item-9"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/400"
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      }
    },
    "/items/{id}": {
      "parameters": [
        {
          "$ref": "#/components/parameters/AgaveApiVersion"
        },
        {
          "$ref": "#/components/parameters/AgaveIncludeSourceData"
        },
        {
          "name": "id",
          "in": "path",
          "description": "The UUID of the Item assigned by Agave.",
          "required": true,
          "schema": {
            "type": "string",
            "format": "uuid"
          }
        }
      ],
      "get": {
        "operationId": "getItem",
        "tags": [
          "items"
        ],
        "summary": "One Item",
        "description": "This endpoint retrieves an Item by its Agave UUID.",
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (Acumatica)": {
                "schema": {
                  "$ref": "#/components/schemas/Item-2"
                }
              },
              "application/json (ComputerEase)": {
                "schema": {
                  "$ref": "#/components/schemas/Item-3"
                }
              },
              "application/json (Foundation)": {
                "schema": {
                  "$ref": "#/components/schemas/Item-4"
                }
              },
              "application/json (QuickBooks Desktop)": {
                "schema": {
                  "$ref": "#/components/schemas/Item-5"
                }
              },
              "application/json (QuickBooks Onlne)": {
                "schema": {
                  "$ref": "#/components/schemas/Item-6"
                }
              },
              "application/json (ServiceTitan)": {
                "schema": {
                  "$ref": "#/components/schemas/Item-7"
                }
              },
              "application/json (Viewpoint Spectrum)": {
                "schema": {
                  "$ref": "#/components/schemas/Item-8"
                }
              },
              "application/json (Viewpoint Vista)": {
                "schema": {
                  "$ref": "#/components/schemas/Item-9"
                }
              }
            }
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "404": {
            "$ref": "#/components/responses/404"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      },
      "put": {
        "operationId": "updateItem",
        "tags": [
          "items"
        ],
        "summary": "One Item",
        "description": "This endpoint updates an Item by its Agave UUID.\n",
        "requestBody": {
          "content": {
            "application/json (QuickBooks Desktop)": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewItem"
                  },
                  {
                    "required": [
                      "id"
                    ]
                  }
                ]
              }
            },
            "application/json (QuickBooks Online)": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewItem-2"
                  },
                  {
                    "required": [
                      "id"
                    ]
                  }
                ]
              }
            },
            "application/json (Viewpoint Spectrum)": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewItem-3"
                  },
                  {
                    "required": [
                      "id"
                    ]
                  }
                ]
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (Acumatica)": {
                "schema": {
                  "$ref": "#/components/schemas/Item-2"
                }
              },
              "application/json (ComputerEase)": {
                "schema": {
                  "$ref": "#/components/schemas/Item-3"
                }
              },
              "application/json (Foundation)": {
                "schema": {
                  "$ref": "#/components/schemas/Item-4"
                }
              },
              "application/json (QuickBooks Desktop)": {
                "schema": {
                  "$ref": "#/components/schemas/Item-5"
                }
              },
              "application/json (QuickBooks Onlne)": {
                "schema": {
                  "$ref": "#/components/schemas/Item-6"
                }
              },
              "application/json (ServiceTitan)": {
                "schema": {
                  "$ref": "#/components/schemas/Item-7"
                }
              },
              "application/json (Viewpoint Spectrum)": {
                "schema": {
                  "$ref": "#/components/schemas/Item-8"
                }
              },
              "application/json (Viewpoint Vista)": {
                "schema": {
                  "$ref": "#/components/schemas/Item-9"
                }
              }
            }
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "404": {
            "$ref": "#/components/responses/404"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      }
    },
    "/item-receipts": {
      "parameters": [
        {
          "$ref": "#/components/parameters/AgaveApiVersion"
        },
        {
          "$ref": "#/components/parameters/AgaveIncludeSourceData"
        },
        {
          "name": "status",
          "in": "query",
          "description": "**Note for ServiceTitan**: this is a required parameter. Only \"Material\" is supported.\n",
          "required": false,
          "schema": {
            "type": "string",
            "enum": [
              "True",
              "False"
            ]
          },
          "example": true
        }
      ],
      "get": {
        "operationId": "listItemReceipts",
        "tags": [
          "item-receipts"
        ],
        "summary": "All Items",
        "description": "This endpoint retrieves a list of Item Receipts a Linked User can access.",
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (ServiceTitan)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Item Receipts the Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/ItemReceipt-2"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Viewpoint Spectrum)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Item Receipts the Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/ItemReceipt-3"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/400"
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      },
      "post": {
        "operationId": "newItemReceipt",
        "tags": [
          "item-receipts"
        ],
        "summary": "Item Receipt",
        "description": "This endpoint creates an Item Receipt and associated Line Items.\n",
        "requestBody": {
          "content": {
            "application/json (ServiceTitan)": {
              "schema": {
                "type": "object",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewItemReceipt"
                  }
                ]
              }
            },
            "application/json (Viewpoint Spectrum)": {
              "schema": {
                "type": "object",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewItemReceipt-2"
                  }
                ]
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (Viewpoint Spectrum)": {
                "schema": {
                  "$ref": "#/components/schemas/ItemReceipt-3"
                }
              },
              "application/json (ServiceTitan)": {
                "schema": {
                  "$ref": "#/components/schemas/ItemReceipt-2"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/400"
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      }
    },
    "/item-receipts/{id}": {
      "parameters": [
        {
          "$ref": "#/components/parameters/AgaveApiVersion"
        },
        {
          "$ref": "#/components/parameters/AgaveIncludeSourceData"
        },
        {
          "name": "id",
          "in": "path",
          "description": "The UUID of the Item Receipt assigned by Agave.",
          "required": true,
          "schema": {
            "type": "string",
            "format": "uuid"
          }
        }
      ],
      "get": {
        "operationId": "getItemReceipt",
        "tags": [
          "item-receipts"
        ],
        "summary": "One Item Receipt",
        "description": "This endpoint retrieves an Item Receipt by its Agave UUID.",
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (Viewpoint Spectrum)": {
                "schema": {
                  "$ref": "#/components/schemas/ItemReceipt-3"
                }
              },
              "application/json (ServiceTitan)": {
                "schema": {
                  "$ref": "#/components/schemas/ItemReceipt-2"
                }
              }
            }
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "404": {
            "$ref": "#/components/responses/404"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      }
    },
    "/item-receipts/{item_receipt_id}/line-items": {
      "parameters": [
        {
          "$ref": "#/components/parameters/AgaveApiVersion"
        },
        {
          "$ref": "#/components/parameters/AgaveIncludeSourceData"
        },
        {
          "$ref": "#/components/parameters/item_receipt_id"
        }
      ],
      "get": {
        "operationId": "listItemReceiptLineItems",
        "tags": [
          "item-receipts"
        ],
        "summary": "All Item Receipt Line Items",
        "description": "This endpoint retrieves a list of Item Receipt Line Items a Linked User can access.",
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (ServiceTitan)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Item Receipts the Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/ItemReceipt-2"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Viewpoint Spectrum)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Item Receipts the Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/ItemReceipt-3"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/400"
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      }
    },
    "/item-receipts/{item_receipt_id}/line-items/{id}": {
      "parameters": [
        {
          "$ref": "#/components/parameters/AgaveApiVersion"
        },
        {
          "$ref": "#/components/parameters/AgaveIncludeSourceData"
        },
        {
          "$ref": "#/components/parameters/item_receipt_id"
        },
        {
          "name": "id",
          "in": "path",
          "description": "The UUID of the Item assigned by Agave.",
          "required": true,
          "schema": {
            "type": "string",
            "format": "uuid"
          }
        }
      ],
      "get": {
        "operationId": "getItemReceiptLineItem",
        "tags": [
          "item-receipts"
        ],
        "summary": "One Item Receipt Line item",
        "description": "This endpoint retrieves an Item Receipt Line Item by its Agave UUID.",
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (Viewpoint Spectrum)": {
                "schema": {
                  "$ref": "#/components/schemas/ItemReceipt-3"
                }
              },
              "application/json (ServiceTitan)": {
                "schema": {
                  "$ref": "#/components/schemas/ItemReceipt-2"
                }
              }
            }
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "404": {
            "$ref": "#/components/responses/404"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      }
    },
    "/job-costs": {
      "parameters": [
        {
          "$ref": "#/components/parameters/AgaveApiVersion"
        },
        {
          "$ref": "#/components/parameters/AgaveIncludeSourceData"
        },
        {
          "$ref": "#/components/parameters/ProjectId"
        }
      ],
      "get": {
        "operationId": "listJobCosts",
        "tags": [
          "job-costs"
        ],
        "summary": "All Job Costs",
        "description": "This endpoint retrieves a list of Job Costs a Linked User can access.\n\n**Note:** The `project-id` header is required for the following systems:\n  - Foundation\n  - QuickBooks Desktop\n  - Sage 300 CRE\n  - Viewpoint Spectrum\n  - Viewpoint Vista\n\n**Note for Sage Intacct**: since Sage Intacct does not have a dedicated Job Costs endpoint, Agave uses the Ledger Detail Entries endpoint instead. To ensure you are only retrieving Job Costs, we recommend applying the following filters:\n  - **Filter to Project Expense Ledger Account IDs**: we recommend confirming with your customer which Ledger Account IDs they use to track Job Costs.\n  - **Filter out redundant Ledger Account IDs**: if you are looking to sum all Job Costs on a Project, we recommend filtering out Job Costs from redundant modules. For example, filter out Job Costs that have a type of \"Purchasing\" since those are covered by the \"Accounts Payable\" type.\n  \n",
        "parameters": [
          {
            "name": "status",
            "in": "query",
            "description": "This is an optional query parameter to filter the Job Costs by their status.\n**Note for Sage 300 CRE**: this query parameter is required. Only \"Posted\" is supported for now.\n",
            "required": false,
            "schema": {
              "type": "string",
              "enum": [
                "Posted"
              ],
              "example": "Posted"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (ConmputerEase)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Job Costs the Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/JobCost"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Foundation)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Job Costs the Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/JobCost-3"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (QuickBooks Desktop)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Job Costs the Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/JobCost-4"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Sage 100 Contractor)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Job Costs the Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/JobCost-5"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Sage 300 CRE)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Job Costs the Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/JobCost-6"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Sage Intacct)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Job Costs the Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/JobCost-7"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Viewpoint Spectrum)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Job Costs the Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/JobCost-8"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Viewpoint Vista)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Job Costs the Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/JobCost-9"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/400"
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      },
      "post": {
        "operationId": "newJobCost",
        "tags": [
          "job-costs"
        ],
        "summary": "Job Cost",
        "description": "This endpoint creates a new Job Cost.\n\n**Note:** The `project-id` header is required for the following systems:\n  - Sage 300 CRE\n  - Viewpoint Vista\n",
        "requestBody": {
          "content": {
            "application/json (Foundation)": {
              "schema": {
                "type": "object",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewJobCost"
                  }
                ]
              }
            },
            "application/json (QuickBooks Desktop)": {
              "schema": {
                "type": "object",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewJobCost"
                  }
                ]
              }
            },
            "application/json (Sage 100 Contractor)": {
              "schema": {
                "type": "object",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewJobCost"
                  }
                ]
              }
            },
            "application/json (Sage 300 CRE)": {
              "schema": {
                "type": "object",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewJobCost-2"
                  }
                ]
              }
            },
            "application/json (Viewpoint Spectrum)": {
              "schema": {
                "type": "object",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewJobCost"
                  }
                ]
              }
            },
            "application/json (Viewpoint Vista)": {
              "schema": {
                "type": "object",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewJobCost-3"
                  }
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (ComputerEase)": {
                "schema": {
                  "$ref": "#/components/schemas/JobCost"
                }
              },
              "application/json (Foundation)": {
                "schema": {
                  "$ref": "#/components/schemas/JobCost-3"
                }
              },
              "application/json (QuickBooks Desktop)": {
                "schema": {
                  "$ref": "#/components/schemas/JobCost-4"
                }
              },
              "application/json (Sage 100 Contractor)": {
                "schema": {
                  "$ref": "#/components/schemas/JobCost-5"
                }
              },
              "application/json (Sage 300 CRE)": {
                "schema": {
                  "$ref": "#/components/schemas/JobCost-6"
                }
              },
              "application/json (Sage Intacct)": {
                "schema": {
                  "$ref": "#/components/schemas/JobCost-7"
                }
              },
              "application/json (Viewpoint Spectrum)": {
                "schema": {
                  "$ref": "#/components/schemas/JobCost-8"
                }
              },
              "application/json (Viewpoint Vista)": {
                "schema": {
                  "$ref": "#/components/schemas/JobCost-9"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/400"
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      }
    },
    "/job-costs/{id}": {
      "parameters": [
        {
          "$ref": "#/components/parameters/AgaveApiVersion"
        },
        {
          "$ref": "#/components/parameters/AgaveIncludeSourceData"
        },
        {
          "$ref": "#/components/parameters/ProjectId"
        },
        {
          "name": "id",
          "in": "path",
          "description": "The UUID of the Job Cost assigned by Agave.",
          "required": true,
          "schema": {
            "type": "string",
            "format": "uuid"
          }
        }
      ],
      "get": {
        "operationId": "getJobCost",
        "tags": [
          "job-costs"
        ],
        "summary": "One Job Cost",
        "description": "This endpoint retrieves a Job Cost by its Agave UUID.\n\n**Note:** The `project-id` header is required for the following systems:\n  - Foundation\n  - QuickBooks Desktop\n  - Sage 300 CRE\n  - Viewpoint Spectrum\n  - Viewpoint Vista\n  \n",
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (ComputerEase)": {
                "schema": {
                  "$ref": "#/components/schemas/JobCost"
                }
              },
              "application/json (Foundation)": {
                "schema": {
                  "$ref": "#/components/schemas/JobCost-3"
                }
              },
              "application/json (QuickBooks Desktop)": {
                "schema": {
                  "$ref": "#/components/schemas/JobCost-4"
                }
              },
              "application/json (Sage 100 Contractor)": {
                "schema": {
                  "$ref": "#/components/schemas/JobCost-5"
                }
              },
              "application/json (Sage 300 CRE)": {
                "schema": {
                  "$ref": "#/components/schemas/JobCost-6"
                }
              },
              "application/json (Sage Intacct)": {
                "schema": {
                  "$ref": "#/components/schemas/JobCost-7"
                }
              },
              "application/json (Viewpoint Spectrum)": {
                "schema": {
                  "$ref": "#/components/schemas/JobCost-8"
                }
              },
              "application/json (Viewpoint Vista)": {
                "schema": {
                  "$ref": "#/components/schemas/JobCost-9"
                }
              }
            }
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "404": {
            "$ref": "#/components/responses/404"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      }
    },
    "/ledger-accounts": {
      "parameters": [
        {
          "$ref": "#/components/parameters/AgaveApiVersion"
        },
        {
          "$ref": "#/components/parameters/AgaveIncludeSourceData"
        }
      ],
      "get": {
        "operationId": "listLedgerAccounts",
        "tags": [
          "ledger-accounts"
        ],
        "summary": "All Ledger Accounts",
        "description": "This endpoint returns a list of Ledger Accounts a Linked User can access.",
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (ComputerEase)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Ledger Accounts the Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/LedgerAccount-2"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Foundation)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Ledger Accounts the Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/LedgerAccount-3"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (QuickBooks Desktop)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Ledger Accounts the Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/LedgerAccount-4"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (QuickBooks Online)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Ledger Accounts the Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/LedgerAccount-5"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Sage 100 Contractor)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Ledger Accounts a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/LedgerAccount-6"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Sage 300 CRE)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Ledger Accounts a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/LedgerAccount-7"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Sage Intacct)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Ledger Accounts a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/LedgerAccount-8"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (ServiceTitan)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Ledger Accounts the Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/LedgerAccount-9"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Viewpoint Jobpac)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Ledger Accounts the Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/LedgerAccount-10"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Viewpoint Spectrum)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Ledger Accounts the Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/LedgerAccount-11"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Viewpoint Vista)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Ledger Accounts the Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/LedgerAccount-12"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/400"
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      },
      "post": {
        "operationId": "newLedgerAccount",
        "tags": [
          "ledger-accounts"
        ],
        "summary": "Ledger Account",
        "description": "This endpoint creates a Ledger Account.\n",
        "requestBody": {
          "content": {
            "application/json (InEight)": {
              "schema": {
                "type": "object",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewLedgerAccount"
                  }
                ]
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (ComputerEase)": {
                "schema": {
                  "$ref": "#/components/schemas/LedgerAccount-2"
                }
              },
              "application/json (Foundation)": {
                "schema": {
                  "$ref": "#/components/schemas/LedgerAccount-3"
                }
              },
              "application/json (QuickBooks Desktop)": {
                "schema": {
                  "$ref": "#/components/schemas/LedgerAccount-4"
                }
              },
              "application/json (QuickBooks Online)": {
                "schema": {
                  "$ref": "#/components/schemas/LedgerAccount-5"
                }
              },
              "application/json (Sage 100 Contractor)": {
                "schema": {
                  "$ref": "#/components/schemas/LedgerAccount-6"
                }
              },
              "application/json (Sage 300 CRE)": {
                "schema": {
                  "$ref": "#/components/schemas/LedgerAccount-7"
                }
              },
              "application/json (Sage Intacct)": {
                "schema": {
                  "$ref": "#/components/schemas/LedgerAccount-8"
                }
              },
              "application/json (Viewpoint Jobpac)": {
                "schema": {
                  "$ref": "#/components/schemas/LedgerAccount-10"
                }
              },
              "application/json (Viewpoint Spectrum)": {
                "schema": {
                  "$ref": "#/components/schemas/LedgerAccount-11"
                }
              },
              "application/json (Viewpoint Vista)": {
                "schema": {
                  "$ref": "#/components/schemas/LedgerAccount-12"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/400"
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      }
    },
    "/ledger-accounts/{id}": {
      "parameters": [
        {
          "$ref": "#/components/parameters/AgaveApiVersion"
        },
        {
          "$ref": "#/components/parameters/AgaveIncludeSourceData"
        },
        {
          "name": "id",
          "in": "path",
          "description": "The UUID of the Ledger Account assigned by Agave.",
          "required": true,
          "schema": {
            "type": "string",
            "format": "uuid"
          }
        }
      ],
      "get": {
        "operationId": "getLedgerAccount",
        "tags": [
          "ledger-accounts"
        ],
        "summary": "One Ledger Account",
        "description": "This endpoint returns a Ledger Account with the Agave UUID provided.",
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (ComputerEase)": {
                "schema": {
                  "$ref": "#/components/schemas/LedgerAccount-2"
                }
              },
              "application/json (Foundation)": {
                "schema": {
                  "$ref": "#/components/schemas/LedgerAccount-3"
                }
              },
              "application/json (QuickBooks Desktop)": {
                "schema": {
                  "$ref": "#/components/schemas/LedgerAccount-4"
                }
              },
              "application/json (QuickBooks Online)": {
                "schema": {
                  "$ref": "#/components/schemas/LedgerAccount-5"
                }
              },
              "application/json (Sage 100 Contractor)": {
                "schema": {
                  "$ref": "#/components/schemas/LedgerAccount-6"
                }
              },
              "application/json (Sage 300 CRE)": {
                "schema": {
                  "$ref": "#/components/schemas/LedgerAccount-7"
                }
              },
              "application/json (Sage Intacct)": {
                "schema": {
                  "$ref": "#/components/schemas/LedgerAccount-8"
                }
              },
              "application/json (Viewpoint Jobpac)": {
                "schema": {
                  "$ref": "#/components/schemas/LedgerAccount-10"
                }
              },
              "application/json (Viewpoint Spectrum)": {
                "schema": {
                  "$ref": "#/components/schemas/LedgerAccount-11"
                }
              },
              "application/json (Viewpoint Vista)": {
                "schema": {
                  "$ref": "#/components/schemas/LedgerAccount-12"
                }
              }
            }
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "404": {
            "$ref": "#/components/responses/404"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      },
      "put": {
        "operationId": "updateLedgerAccount",
        "tags": [
          "ledger-accounts"
        ],
        "summary": "One Ledger Account",
        "description": "This endpoint updates a Ledger Account by the Agave UUID provided.\n",
        "requestBody": {
          "content": {
            "application/json (InEight)": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewLedgerAccount"
                  },
                  {
                    "required": [
                      "id"
                    ]
                  }
                ]
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (ComputerEase)": {
                "schema": {
                  "$ref": "#/components/schemas/LedgerAccount-2"
                }
              },
              "application/json (Foundation)": {
                "schema": {
                  "$ref": "#/components/schemas/LedgerAccount-3"
                }
              },
              "application/json (QuickBooks Desktop)": {
                "schema": {
                  "$ref": "#/components/schemas/LedgerAccount-4"
                }
              },
              "application/json (QuickBooks Online)": {
                "schema": {
                  "$ref": "#/components/schemas/LedgerAccount-5"
                }
              },
              "application/json (Sage 100 Contractor)": {
                "schema": {
                  "$ref": "#/components/schemas/LedgerAccount-6"
                }
              },
              "application/json (Sage 300 CRE)": {
                "schema": {
                  "$ref": "#/components/schemas/LedgerAccount-7"
                }
              },
              "application/json (Sage Intacct)": {
                "schema": {
                  "$ref": "#/components/schemas/LedgerAccount-8"
                }
              },
              "application/json (Viewpoint Jobpac)": {
                "schema": {
                  "$ref": "#/components/schemas/LedgerAccount-10"
                }
              },
              "application/json (Viewpoint Spectrum)": {
                "schema": {
                  "$ref": "#/components/schemas/LedgerAccount-11"
                }
              },
              "application/json (Viewpoint Vista)": {
                "schema": {
                  "$ref": "#/components/schemas/LedgerAccount-12"
                }
              }
            }
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "404": {
            "$ref": "#/components/responses/404"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      }
    },
    "/ledger-journals": {
      "parameters": [
        {
          "$ref": "#/components/parameters/AgaveApiVersion"
        },
        {
          "$ref": "#/components/parameters/AgaveIncludeSourceData"
        }
      ],
      "get": {
        "operationId": "listLedgerJournals",
        "tags": [
          "ledger-journals"
        ],
        "summary": "All Ledger Journals",
        "description": "This endpoint returns a list of Ledger Journals a Linked User can access.",
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (Viewpoint Vista)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Ledger Journals the Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/LedgerJournal-2"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/400"
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      }
    },
    "/ledger-journals/{id}": {
      "parameters": [
        {
          "$ref": "#/components/parameters/AgaveApiVersion"
        },
        {
          "$ref": "#/components/parameters/AgaveIncludeSourceData"
        },
        {
          "name": "id",
          "in": "path",
          "description": "The UUID of the Ledger Journal assigned by Agave.",
          "required": true,
          "schema": {
            "type": "string",
            "format": "uuid"
          }
        }
      ],
      "get": {
        "operationId": "getLedgerJournal",
        "tags": [
          "ledger-journals"
        ],
        "summary": "One Ledger Journal",
        "description": "This endpoint returns a Ledger Journal with the Agave UUID provided.",
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (Viewpoint Vista)": {
                "schema": {
                  "$ref": "#/components/schemas/LedgerJournal-2"
                }
              }
            }
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "404": {
            "$ref": "#/components/responses/404"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      }
    },
    "/ledger-journal-entries": {
      "parameters": [
        {
          "$ref": "#/components/parameters/AgaveApiVersion"
        },
        {
          "$ref": "#/components/parameters/AgaveIncludeSourceData"
        }
      ],
      "get": {
        "operationId": "listLedgerJournalEntries",
        "tags": [
          "ledger-journal-entries"
        ],
        "summary": "All Ledger Journal Entries",
        "description": "This endpoint returns a list of Ledger Journal Entries a Linked User can access.",
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (Viewpoint Vista)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Ledger Journal Entries the Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/LedgerJournalEntry-2"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/400"
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      },
      "post": {
        "operationId": "NewLedgerJournalEntry",
        "tags": [
          "ledger-journal-entries"
        ],
        "summary": "Ledger Journal Entry",
        "description": "This endpoint creates a Ledger Journal Entry and associated Line Items.\n",
        "requestBody": {
          "content": {
            "application/json (Viewpoint Vista)": {
              "schema": {
                "type": "object",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewLedgerJournalEntry"
                  }
                ]
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (Viewpoint Vista)": {
                "schema": {
                  "$ref": "#/components/schemas/LedgerJournalEntry-2"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/400"
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      }
    },
    "/ledger-journal-entries/{id}": {
      "parameters": [
        {
          "$ref": "#/components/parameters/AgaveApiVersion"
        },
        {
          "$ref": "#/components/parameters/AgaveIncludeSourceData"
        },
        {
          "name": "id",
          "in": "path",
          "description": "The UUID of the Ledger Journal Entry assigned by Agave.",
          "required": true,
          "schema": {
            "type": "string",
            "format": "uuid"
          }
        }
      ],
      "get": {
        "operationId": "getLedgerJournalEntry",
        "tags": [
          "ledger-journal-entries"
        ],
        "summary": "One Ledger Journal Entry",
        "description": "This endpoint returns a Ledger Journal Entry with the Agave UUID provided.",
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (Viewpoint Vista)": {
                "schema": {
                  "$ref": "#/components/schemas/LedgerJournalEntry-2"
                }
              }
            }
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "404": {
            "$ref": "#/components/responses/404"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      },
      "put": {
        "operationId": "updateLedgerJournalEntry",
        "tags": [
          "ledger-journal-entries"
        ],
        "summary": "One Ledger Journal Entry",
        "description": "This endpoint updates a Ledger Journal Entry by the Agave UUID provided.\n",
        "requestBody": {
          "content": {
            "application/json (Viewpoint Vista)": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/UpdatedLedgerJournalEntry"
                  },
                  {
                    "required": [
                      "id"
                    ]
                  }
                ]
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (Viewpoint Vista)": {
                "schema": {
                  "$ref": "#/components/schemas/LedgerJournalEntry-2"
                }
              }
            }
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "404": {
            "$ref": "#/components/responses/404"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      }
    },
    "/ledger-journal-entries/{ledger_journal_entry_id}/line-items": {
      "parameters": [
        {
          "$ref": "#/components/parameters/AgaveApiVersion"
        },
        {
          "$ref": "#/components/parameters/AgaveIncludeSourceData"
        },
        {
          "$ref": "#/components/parameters/ledger_journal_entry_id"
        }
      ],
      "get": {
        "operationId": "listLedgerJournalEntryLineItems",
        "tags": [
          "ledger-journal-entries"
        ],
        "summary": "All Ledger Journal Entry Line Items",
        "description": "This endpoint returns a list of Ledger Journal Entry Line Items a Linked User can access.",
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (Viewpoint Vista)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Ledger Journal Entry Line Items the Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/LedgerJournalEntryLineItem-2"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/400"
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      },
      "post": {
        "operationId": "newLedgerJournalEntryLineItem",
        "tags": [
          "ledger-journal-entries"
        ],
        "summary": "Ledger Journal Entry Line Item",
        "description": "This endpoint creates Ledger Journal Entry Line Items.\n",
        "requestBody": {
          "content": {
            "application/json (Viewpoint Vista)": {
              "schema": {
                "type": "object",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewLedgerJournalEntryLineItem"
                  }
                ]
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (Viewpoint Vista)": {
                "schema": {
                  "$ref": "#/components/schemas/LedgerJournalEntryLineItem-2"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/400"
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      }
    },
    "/ledger_journal-entries/{ledger_journal_entry_id}/line-items/{id}": {
      "parameters": [
        {
          "$ref": "#/components/parameters/AgaveApiVersion"
        },
        {
          "$ref": "#/components/parameters/AgaveIncludeSourceData"
        },
        {
          "$ref": "#/components/parameters/ledger_journal_entry_id"
        },
        {
          "name": "id",
          "in": "path",
          "description": "The UUID of the Ledger Journal Entry Line Item assigned by Agave.",
          "required": true,
          "schema": {
            "type": "string",
            "format": "uuid"
          }
        }
      ],
      "get": {
        "operationId": "getLedgerJournalEntryLineItem",
        "tags": [
          "ledger-journal-entries"
        ],
        "summary": "One Ledger Journal Entry Line Item",
        "description": "This endpoint returns a Ledger Journal Entry Line Item with the Agave UUID provided.",
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (Viewpoint Vista)": {
                "schema": {
                  "$ref": "#/components/schemas/LedgerJournalEntryLineItem-2"
                }
              }
            }
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "404": {
            "$ref": "#/components/responses/404"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      },
      "put": {
        "operationId": "updateLedgerJournalEntryLineItem",
        "tags": [
          "ledger-journal-entries"
        ],
        "summary": "One Ledger Journal Entry Line Item",
        "description": "This endpoint updates a Ledger Journal Entry Line Item by its Agave UUID.",
        "requestBody": {
          "content": {
            "application/json (Viewpoint Vista)": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewLedgerJournalEntryLineItem"
                  },
                  {
                    "required": [
                      "id"
                    ]
                  }
                ]
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (Viewpoint Vista)": {
                "schema": {
                  "$ref": "#/components/schemas/LedgerJournalEntryLineItem-2"
                }
              }
            }
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "404": {
            "$ref": "#/components/responses/404"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      }
    },
    "/prime-contracts": {
      "parameters": [
        {
          "$ref": "#/components/parameters/AgaveApiVersion"
        },
        {
          "$ref": "#/components/parameters/AgaveIncludeSourceData"
        },
        {
          "$ref": "#/components/parameters/ProjectId"
        },
        {
          "$ref": "#/components/parameters/Expand"
        }
      ],
      "get": {
        "operationId": "listPrimeContracts",
        "tags": [
          "prime-contracts"
        ],
        "summary": "All Prime Contracts",
        "description": "This endpoint retrieves a list of Prime Contracts a Linked User can access.\n",
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (Acumatica)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "The list of Contracts a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/PrimeContract-2"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Autodesk Build)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "The list of Contracts a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/PrimeContract-3"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (BIM 360)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "The list of Contracts a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/PrimeContract-4"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (ComputerEase)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "The list of Contracts a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/PrimeContract-5"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Foundation)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "The list of Contracts a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/PrimeContract-6"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Procore)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "The list of Contracts a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/PrimeContract-7"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Sage 100 Contractor)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "The list of Contracts a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/PrimeContract-8"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Sage 300 CRE)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "The list of Contracts a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/PrimeContract-9"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Sage Intacct)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "The list of Contracts a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/PrimeContract-10"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Viewpoint Spectrum)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "The list of Contracts a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/PrimeContract-11"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Viewpoint Vista)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "The list of Contracts a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/PrimeContract-12"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              }
            }
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "404": {
            "$ref": "#/components/responses/404"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      },
      "post": {
        "operationId": "newPrimeContracts",
        "tags": [
          "prime-contracts"
        ],
        "summary": "Prime Contract",
        "description": "This endpoint creates Prime Contracts.\n\n**Note for Autodesk Build, BIM 360 and Procore:** the `Project-ID` header is required.\n",
        "requestBody": {
          "content": {
            "application/json (Acumatica)": {
              "schema": {
                "type": "object",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewPrimeContract"
                  }
                ]
              }
            },
            "application/json (Autodesk Build)": {
              "schema": {
                "type": "object",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewPrimeContract-2"
                  }
                ]
              }
            },
            "application/json (Procore)": {
              "schema": {
                "type": "object",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewPrimeContract-3"
                  }
                ]
              }
            },
            "application/json (Sage 100C)": {
              "schema": {
                "type": "object",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewPrimeContract-5"
                  }
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (Acumatica": {
                "schema": {
                  "$ref": "#/components/schemas/PrimeContract-2"
                }
              },
              "application/json (Autodesk Build)": {
                "schema": {
                  "$ref": "#/components/schemas/PrimeContract-4"
                }
              },
              "application/json (BIM 360)": {
                "schema": {
                  "$ref": "#/components/schemas/PrimeContract-4"
                }
              },
              "application/json (ComputerEase)": {
                "schema": {
                  "$ref": "#/components/schemas/PrimeContract-5"
                }
              },
              "application/json (Foundation)": {
                "schema": {
                  "$ref": "#/components/schemas/PrimeContract-6"
                }
              },
              "application/json (Procore)": {
                "schema": {
                  "$ref": "#/components/schemas/PrimeContract-7"
                }
              },
              "application/json (Sage 100 Contractor)": {
                "schema": {
                  "$ref": "#/components/schemas/PrimeContract-8"
                }
              },
              "application/json (Sage 300 CRE)": {
                "schema": {
                  "$ref": "#/components/schemas/PrimeContract-9"
                }
              },
              "application/json (Sage Intacct)": {
                "schema": {
                  "$ref": "#/components/schemas/PrimeContract-10"
                }
              },
              "application/json (Spectrum)": {
                "schema": {
                  "$ref": "#/components/schemas/PrimeContract-11"
                }
              },
              "application/json (Vista)": {
                "schema": {
                  "$ref": "#/components/schemas/PrimeContract-12"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/400"
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      }
    },
    "/prime-contracts/{prime_contract_id}/line-items": {
      "parameters": [
        {
          "$ref": "#/components/parameters/AgaveApiVersion"
        },
        {
          "$ref": "#/components/parameters/AgaveIncludeSourceData"
        },
        {
          "$ref": "#/components/parameters/RequiredProjectId"
        },
        {
          "$ref": "#/components/parameters/prime_contract_id"
        }
      ],
      "get": {
        "operationId": "listPrimeContractLineItems",
        "tags": [
          "prime-contracts"
        ],
        "summary": "All Prime Contract Line Items",
        "description": "This endpoint retrieves a list of Prime Contract Line Items a Linked User can access.\n",
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (Acumatica)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Prime Contract Line Items a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/PrimeContractLineItem-2"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Autodesk Build)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Prime Contract Line Items a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/PrimeContractLineItem-3"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (BIM 360)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Prime Contract Line Items a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/PrimeContractLineItem-4"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (ComputerEase)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Prime Contract Line Items a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/PrimeContractLineItem-5"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Foundation)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Prime Contract Line Items a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/PrimeContractLineItem-6"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Procore)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Prie Contract Line Items a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/PrimeContractLineItem-7"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Sage 100 Contractor)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Prime Contract Line Items a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/PrimeContractLineItem-8"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Sage 300 CRE)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Prime Contract Line Items a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/PrimeContractLineItem-9"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Sage Intacct)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Prime Contract Line Items a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/PrimeContractLineItem-10"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Viewpoint Spectrum)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Prime Contract Line Items a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/PrimeContractLineItem-11"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Viewpoint Vista)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Prime Contract Line Items a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/PrimeContractLineItem-12"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              }
            }
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "404": {
            "$ref": "#/components/responses/404"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      },
      "post": {
        "operationId": "newPrimeContractLineItem",
        "tags": [
          "prime-contracts"
        ],
        "summary": "Prime Contract Line Item",
        "description": "This endpoint creates Prime Contract Line Items.\n",
        "requestBody": {
          "content": {
            "application/json (Acumatica)": {
              "schema": {
                "type": "object",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewPrimeContractLineItem"
                  }
                ]
              }
            },
            "application/json (Autodesk Build)": {
              "schema": {
                "type": "object",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewPrimeContractLineItem-2"
                  }
                ]
              }
            },
            "application/json (Procore)": {
              "schema": {
                "type": "object",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewPrimeContractLineItem-3"
                  }
                ]
              }
            },
            "application/json (Sage 100C)": {
              "schema": {
                "type": "object",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewPrimeContractLineItem-5"
                  }
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (Acumatica)": {
                "schema": {
                  "$ref": "#/components/schemas/PrimeContractLineItem-2"
                }
              },
              "application/json (Autodesk Build)": {
                "schema": {
                  "$ref": "#/components/schemas/PrimeContractLineItem-4"
                }
              },
              "application/json (BIM 360)": {
                "schema": {
                  "$ref": "#/components/schemas/PrimeContractLineItem-4"
                }
              },
              "application/json (ComputerEase)": {
                "schema": {
                  "$ref": "#/components/schemas/PrimeContractLineItem-5"
                }
              },
              "application/json (Foundation)": {
                "schema": {
                  "$ref": "#/components/schemas/PrimeContractLineItem-6"
                }
              },
              "application/json (Procore)": {
                "schema": {
                  "$ref": "#/components/schemas/PrimeContractLineItem-7"
                }
              },
              "application/json (Sage 100 Contractor)": {
                "schema": {
                  "$ref": "#/components/schemas/PrimeContractLineItem-8"
                }
              },
              "application/json (Sage 300 CRE)": {
                "schema": {
                  "$ref": "#/components/schemas/PrimeContractLineItem-9"
                }
              },
              "application/json (Sage Intacct)": {
                "schema": {
                  "$ref": "#/components/schemas/PrimeContractLineItem-10"
                }
              },
              "application/json (Spectrum)": {
                "schema": {
                  "$ref": "#/components/schemas/PrimeContractLineItem-11"
                }
              },
              "application/json (Vista)": {
                "schema": {
                  "$ref": "#/components/schemas/PrimeContractLineItem-12"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/400"
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      }
    },
    "/prime-contracts/{id}": {
      "parameters": [
        {
          "$ref": "#/components/parameters/AgaveApiVersion"
        },
        {
          "$ref": "#/components/parameters/AgaveIncludeSourceData"
        },
        {
          "$ref": "#/components/parameters/ProjectId"
        },
        {
          "name": "id",
          "in": "path",
          "description": "The UUID of the Prime Contract assigned by Agave.",
          "required": true,
          "schema": {
            "type": "string",
            "format": "uuid"
          }
        }
      ],
      "get": {
        "operationId": "getPrimeContract",
        "tags": [
          "prime-contracts"
        ],
        "summary": "One Prime Contract",
        "description": "This endpoint retrieves a Prime Contract by its Agave UUID.",
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (Acumatica": {
                "schema": {
                  "$ref": "#/components/schemas/PrimeContract-2"
                }
              },
              "application/json (Autodesk Build)": {
                "schema": {
                  "$ref": "#/components/schemas/PrimeContract-4"
                }
              },
              "application/json (BIM 360)": {
                "schema": {
                  "$ref": "#/components/schemas/PrimeContract-4"
                }
              },
              "application/json (ComputerEase)": {
                "schema": {
                  "$ref": "#/components/schemas/PrimeContract-5"
                }
              },
              "application/json (Foundation)": {
                "schema": {
                  "$ref": "#/components/schemas/PrimeContract-6"
                }
              },
              "application/json (Procore)": {
                "schema": {
                  "$ref": "#/components/schemas/PrimeContract-7"
                }
              },
              "application/json (Sage 100 Contractor)": {
                "schema": {
                  "$ref": "#/components/schemas/PrimeContract-8"
                }
              },
              "application/json (Sage 300 CRE)": {
                "schema": {
                  "$ref": "#/components/schemas/PrimeContract-9"
                }
              },
              "application/json (Sage Intacct)": {
                "schema": {
                  "$ref": "#/components/schemas/PrimeContract-10"
                }
              },
              "application/json (Spectrum)": {
                "schema": {
                  "$ref": "#/components/schemas/PrimeContract-11"
                }
              },
              "application/json (Vista)": {
                "schema": {
                  "$ref": "#/components/schemas/PrimeContract-12"
                }
              }
            }
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "404": {
            "$ref": "#/components/responses/404"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      },
      "put": {
        "operationId": "updatePrimeContract",
        "tags": [
          "prime-contracts"
        ],
        "summary": "One Prime Contract",
        "description": "This endpoint updates a Prime Contract by its Agave UUID.\n\n**Note for Autodesk Build and BIM 360:** the `Project-ID` header is required.\n",
        "requestBody": {
          "content": {
            "application/json (Autodesk Build)": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewPrimeContract-2"
                  },
                  {
                    "required": [
                      "id"
                    ]
                  }
                ]
              }
            },
            "application/json (Procore)": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewPrimeContract-3"
                  },
                  {
                    "required": [
                      "id"
                    ]
                  }
                ]
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (Acumatica": {
                "schema": {
                  "$ref": "#/components/schemas/PrimeContract-2"
                }
              },
              "application/json (Autodesk Build)": {
                "schema": {
                  "$ref": "#/components/schemas/PrimeContract-4"
                }
              },
              "application/json (BIM 360)": {
                "schema": {
                  "$ref": "#/components/schemas/PrimeContract-4"
                }
              },
              "application/json (ComputerEase)": {
                "schema": {
                  "$ref": "#/components/schemas/PrimeContract-5"
                }
              },
              "application/json (Foundation)": {
                "schema": {
                  "$ref": "#/components/schemas/PrimeContract-6"
                }
              },
              "application/json (Procore)": {
                "schema": {
                  "$ref": "#/components/schemas/PrimeContract-7"
                }
              },
              "application/json (Sage 100 Contractor)": {
                "schema": {
                  "$ref": "#/components/schemas/PrimeContract-8"
                }
              },
              "application/json (Sage 300 CRE)": {
                "schema": {
                  "$ref": "#/components/schemas/PrimeContract-9"
                }
              },
              "application/json (Sage Intacct)": {
                "schema": {
                  "$ref": "#/components/schemas/PrimeContract-10"
                }
              },
              "application/json (Spectrum)": {
                "schema": {
                  "$ref": "#/components/schemas/PrimeContract-11"
                }
              },
              "application/json (Vista)": {
                "schema": {
                  "$ref": "#/components/schemas/PrimeContract-12"
                }
              }
            }
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "404": {
            "$ref": "#/components/responses/404"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      }
    },
    "/prime-contracts/{prime_contract_id}/line-items/{id}": {
      "parameters": [
        {
          "$ref": "#/components/parameters/AgaveApiVersion"
        },
        {
          "$ref": "#/components/parameters/AgaveIncludeSourceData"
        },
        {
          "$ref": "#/components/parameters/ProjectId"
        },
        {
          "$ref": "#/components/parameters/prime_contract_id"
        },
        {
          "name": "id",
          "in": "path",
          "description": "The UUID of the Prime Contract Line Item assigned by Agave.",
          "required": true,
          "schema": {
            "type": "string",
            "format": "uuid"
          }
        }
      ],
      "get": {
        "operationId": "getPrimeContractLineItem",
        "tags": [
          "prime-contracts"
        ],
        "summary": "One Prime Contract Line Item",
        "description": "This endpoint retrieves a Prime Contract Line Item by its Agave UUID.\n",
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (Acumatica)": {
                "schema": {
                  "$ref": "#/components/schemas/PrimeContractLineItem-2"
                }
              },
              "application/json (Autodesk Build)": {
                "schema": {
                  "$ref": "#/components/schemas/PrimeContractLineItem-4"
                }
              },
              "application/json (BIM 360)": {
                "schema": {
                  "$ref": "#/components/schemas/PrimeContractLineItem-4"
                }
              },
              "application/json (ComputerEase)": {
                "schema": {
                  "$ref": "#/components/schemas/PrimeContractLineItem-5"
                }
              },
              "application/json (Foundation)": {
                "schema": {
                  "$ref": "#/components/schemas/PrimeContractLineItem-6"
                }
              },
              "application/json (Procore)": {
                "schema": {
                  "$ref": "#/components/schemas/PrimeContractLineItem-7"
                }
              },
              "application/json (Sage 100 Contractor)": {
                "schema": {
                  "$ref": "#/components/schemas/PrimeContractLineItem-8"
                }
              },
              "application/json (Sage 300 CRE)": {
                "schema": {
                  "$ref": "#/components/schemas/PrimeContractLineItem-9"
                }
              },
              "application/json (Sage Intacct)": {
                "schema": {
                  "$ref": "#/components/schemas/PrimeContractLineItem-10"
                }
              },
              "application/json (Spectrum)": {
                "schema": {
                  "$ref": "#/components/schemas/PrimeContractLineItem-11"
                }
              },
              "application/json (Vista)": {
                "schema": {
                  "$ref": "#/components/schemas/PrimeContractLineItem-12"
                }
              }
            }
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "404": {
            "$ref": "#/components/responses/404"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      },
      "put": {
        "operationId": "updatePrimeContractLineItem",
        "tags": [
          "prime-contracts"
        ],
        "summary": "One Prime Contract Line Item",
        "description": "This endpoint updates a Prime Contract Line Item by its Agave UUID.",
        "requestBody": {
          "content": {
            "application/json (Acumatica)": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewPrimeContractLineItem"
                  },
                  {
                    "required": [
                      "id"
                    ]
                  }
                ]
              }
            },
            "application/json (Autodesk Build)": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewPrimeContractLineItem-2"
                  },
                  {
                    "required": [
                      "id"
                    ]
                  }
                ]
              }
            },
            "application/json (Procore)": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewPrimeContractLineItem-3"
                  },
                  {
                    "required": [
                      "id"
                    ]
                  }
                ]
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (Acumatica": {
                "schema": {
                  "$ref": "#/components/schemas/PrimeContract-2"
                }
              },
              "application/json (Autodesk Build)": {
                "schema": {
                  "$ref": "#/components/schemas/PrimeContract-4"
                }
              },
              "application/json (BIM 360)": {
                "schema": {
                  "$ref": "#/components/schemas/PrimeContract-4"
                }
              },
              "application/json (ComputerEase)": {
                "schema": {
                  "$ref": "#/components/schemas/PrimeContract-5"
                }
              },
              "application/json (Foundation)": {
                "schema": {
                  "$ref": "#/components/schemas/PrimeContract-6"
                }
              },
              "application/json (Procore)": {
                "schema": {
                  "$ref": "#/components/schemas/PrimeContract-7"
                }
              },
              "application/json (Sage 100 Contractor)": {
                "schema": {
                  "$ref": "#/components/schemas/PrimeContract-8"
                }
              },
              "application/json (Sage 300 CRE)": {
                "schema": {
                  "$ref": "#/components/schemas/PrimeContract-9"
                }
              },
              "application/json (Sage Intacct)": {
                "schema": {
                  "$ref": "#/components/schemas/PrimeContract-10"
                }
              },
              "application/json (Spectrum)": {
                "schema": {
                  "$ref": "#/components/schemas/PrimeContract-11"
                }
              },
              "application/json (Vista)": {
                "schema": {
                  "$ref": "#/components/schemas/PrimeContract-12"
                }
              }
            }
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "404": {
            "$ref": "#/components/responses/404"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      }
    },
    "/purchase-orders": {
      "parameters": [
        {
          "$ref": "#/components/parameters/AgaveApiVersion"
        },
        {
          "$ref": "#/components/parameters/AgaveIncludeSourceData"
        },
        {
          "$ref": "#/components/parameters/ProjectId"
        },
        {
          "$ref": "#/components/parameters/Expand"
        },
        {
          "name": "status",
          "in": "query",
          "description": "This is an optional query parameter to filter the Purchase Orders by their status.\n**Note:** for Foundation and Viewpoint Vista, this query parameter is required.\n",
          "required": false,
          "schema": {
            "type": "string",
            "enum": [
              "Staged",
              "Pending",
              "PM",
              "Open",
              "Complete",
              "Closed",
              "Cancelled"
            ],
            "example": "Open"
          }
        }
      ],
      "get": {
        "operationId": "listPurchaseOrders",
        "tags": [
          "purchase-orders"
        ],
        "summary": "All Purchase Orders",
        "description": "This endpoint retrieves a list of Purchase Orders a Linked User can access.\n\n**Note**: the Project-ID header is required for the following supported Source Systems:\n - Jobpac\n - Procore\n - Viewpoint Vista\n",
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (Acumatica)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Purchase Orders a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/PurchaseOrder-2"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Autodesk Build)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Purchase Orders a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/PurchaseOrder-3"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (CMiC)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Purchase Orders a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/PurchaseOrder-4"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (COINS)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Purchase Orders a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/PurchaseOrder-5"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Foundation)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Purchase Orders a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/PurchaseOrder-6"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Procore)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Purchase Orders a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/PurchaseOrder-7"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (QuickBooks Online)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Purchase Orders a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/PurchaseOrder-8"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (QuickBooks Desktop)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Purchase Orders a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/PurchaseOrder-9"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Sage 100 Contractor)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Purchase Orders a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/PurchaseOrder-10"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Sage 300 CRE)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Purchase Orders a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/PurchaseOrder-11"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (ServiceTitan)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Purchase Orders a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/PurchaseOrder-12"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Viewpoint Jobpac)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Purchase Orders a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/PurchaseOrder-13"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Viewpoint Spectrum)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Purchase Orders a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/PurchaseOrder-14"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Sage Intacct)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Purchase Orders a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/PurchaseOrder-15"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Viewpoint Vista)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Purchase Orders a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/PurchaseOrder-16"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/400"
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      },
      "post": {
        "operationId": "newPurchaseOrder",
        "tags": [
          "purchase-orders"
        ],
        "summary": "Purchase Order",
        "description": "This endpoint creates a Purchase Order and associated Line Items.\n\n**Note**: the Project-ID header is required for the following supported Source Systems:\n - Jobpac\n - Procore\n - Sage 100 Contractor\n - Viewpoint Vista\n\n**Notes for Sage 300CRE**: \n  - The Project-ID header is only at the line item-level.\n  - Line Items can only be added with the create [Purchase Order Line Items endpoint](https://docs.agaveapi.com/reference#post-/purchase-orders/-purchase_order_id-/line-items).\n",
        "requestBody": {
          "content": {
            "application/json (Autodesk Build)": {
              "schema": {
                "type": "object",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewPurchaseOrder"
                  }
                ]
              }
            },
            "application/json (Acumatica)": {
              "schema": {
                "type": "object",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewPurchaseOrder-2"
                  }
                ]
              }
            },
            "application/json (CMiC)": {
              "schema": {
                "type": "object",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewPurchaseOrder-3"
                  }
                ]
              }
            },
            "application/json (Foundation)": {
              "schema": {
                "type": "object",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewPurchaseOrder-4"
                  }
                ]
              }
            },
            "application/json (Procore)": {
              "schema": {
                "type": "object",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewPurchaseOrder-5"
                  }
                ]
              }
            },
            "application/json (QuickBooks Desktop)": {
              "schema": {
                "type": "object",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewPurchaseOrder-6"
                  }
                ]
              }
            },
            "application/json (QuickBooks Online)": {
              "schema": {
                "type": "object",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewPurchaseOrder-7"
                  }
                ]
              }
            },
            "application/json (Sage 100 Contractor)": {
              "schema": {
                "type": "object",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewPurchaseOrder-8"
                  }
                ]
              }
            },
            "application/json (Sage 300 CRE)": {
              "schema": {
                "type": "object",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewPurchaseOrder-9"
                  }
                ]
              }
            },
            "application/json (Viewpoint Jobpac)": {
              "schema": {
                "type": "object",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewPurchaseOrder-10"
                  }
                ]
              }
            },
            "application/json (Viewpoint Spectrum)": {
              "schema": {
                "type": "object",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewPurchaseOrder-11"
                  }
                ]
              }
            },
            "application/json (Sage Intacct)": {
              "schema": {
                "type": "object",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewPurchaseOrder-13"
                  }
                ]
              }
            },
            "application/json (Viewpoint Vista)": {
              "schema": {
                "type": "object",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewPurchaseOrder-14"
                  }
                ]
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (Acumatica)": {
                "schema": {
                  "$ref": "#/components/schemas/PurchaseOrder-2"
                }
              },
              "application/json (Autodesk Build)": {
                "schema": {
                  "$ref": "#/components/schemas/PurchaseOrder-3"
                }
              },
              "application/json (CMiC)": {
                "schema": {
                  "$ref": "#/components/schemas/PurchaseOrder-4"
                }
              },
              "application/json (COINS)": {
                "schema": {
                  "$ref": "#/components/schemas/PurchaseOrder-5"
                }
              },
              "application/json (Foundation)": {
                "schema": {
                  "$ref": "#/components/schemas/PurchaseOrder-6"
                }
              },
              "application/json (Procore)": {
                "schema": {
                  "$ref": "#/components/schemas/PurchaseOrder-7"
                }
              },
              "application/json (QuickBooks Online)": {
                "schema": {
                  "$ref": "#/components/schemas/PurchaseOrder-8"
                }
              },
              "application/json (QuickBooks Desktop)": {
                "schema": {
                  "$ref": "#/components/schemas/PurchaseOrder-9"
                }
              },
              "application/json (Sage 100 Contractor)": {
                "schema": {
                  "$ref": "#/components/schemas/PurchaseOrder-10"
                }
              },
              "application/json (Sage 300 CRE)": {
                "schema": {
                  "$ref": "#/components/schemas/PurchaseOrder-11"
                }
              },
              "application/json (ServiceTitan)": {
                "schema": {
                  "$ref": "#/components/schemas/PurchaseOrder-12"
                }
              },
              "application/json (Viewpoint Jobpac)": {
                "schema": {
                  "$ref": "#/components/schemas/PurchaseOrder-13"
                }
              },
              "application/json (Viewpoint Spectrum)": {
                "schema": {
                  "$ref": "#/components/schemas/PurchaseOrder-14"
                }
              },
              "application/json (Sage Intacct)": {
                "schema": {
                  "$ref": "#/components/schemas/PurchaseOrder-15"
                }
              },
              "application/json (Viewpoint Vista)": {
                "schema": {
                  "$ref": "#/components/schemas/PurchaseOrder-16"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/400"
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      },
      "patch": {
        "operationId": "newBulkPurchaseOrders",
        "tags": [
          "purchase-orders"
        ],
        "summary": "Purchase Orders",
        "description": "This endpoint creates Purchase Orders in bulk.\n",
        "requestBody": {
          "content": {
            "application/json (Sage 300 CRE)": {
              "schema": {
                "type": "object",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/BulkNewPurchaseOrder"
                  }
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (Acumatica)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Purchase Orders a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/PurchaseOrder-2"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Autodesk Build)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Purchase Orders a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/PurchaseOrder-3"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (CMiC)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Purchase Orders a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/PurchaseOrder-4"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (COINS)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Purchase Orders a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/PurchaseOrder-5"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Foundation)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Purchase Orders a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/PurchaseOrder-6"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Procore)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Purchase Orders a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/PurchaseOrder-7"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (QuickBooks Online)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Purchase Orders a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/PurchaseOrder-8"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (QuickBooks Desktop)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Purchase Orders a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/PurchaseOrder-9"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Sage 100 Contractor)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Purchase Orders a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/PurchaseOrder-10"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Sage 300 CRE)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Purchase Orders a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/PurchaseOrder-11"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (ServiceTitan)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Purchase Orders a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/PurchaseOrder-12"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Viewpoint Jobpac)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Purchase Orders a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/PurchaseOrder-13"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Viewpoint Spectrum)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Purchase Orders a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/PurchaseOrder-14"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Sage Intacct)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Purchase Orders a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/PurchaseOrder-15"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Viewpoint Vista)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Purchase Orders a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/PurchaseOrder-16"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/400"
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      }
    },
    "/purchase-orders/{id}": {
      "parameters": [
        {
          "$ref": "#/components/parameters/AgaveApiVersion"
        },
        {
          "$ref": "#/components/parameters/AgaveIncludeSourceData"
        },
        {
          "$ref": "#/components/parameters/ProjectId"
        },
        {
          "name": "id",
          "in": "path",
          "description": "The UUID of the Purchase Order assigned by Agave.",
          "required": true,
          "schema": {
            "type": "string",
            "format": "uuid"
          }
        }
      ],
      "get": {
        "operationId": "getPurchaseOrder",
        "tags": [
          "purchase-orders"
        ],
        "summary": "One Purchase Order",
        "description": "This endpoint retrieves a Purchase Order and its Line Items by its Agave UUID.\n\n**Note**: the Project-ID header is required for the following supported Source Systems:\n  - Jobpac\n  - Procore\n  - Viewpoint Vista\n",
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (Acumatica)": {
                "schema": {
                  "$ref": "#/components/schemas/PurchaseOrder-2"
                }
              },
              "application/json (Autodesk Build)": {
                "schema": {
                  "$ref": "#/components/schemas/PurchaseOrder-3"
                }
              },
              "application/json (CMiC)": {
                "schema": {
                  "$ref": "#/components/schemas/PurchaseOrder-4"
                }
              },
              "application/json (COINS)": {
                "schema": {
                  "$ref": "#/components/schemas/PurchaseOrder-5"
                }
              },
              "application/json (Foundation)": {
                "schema": {
                  "$ref": "#/components/schemas/PurchaseOrder-6"
                }
              },
              "application/json (Procore)": {
                "schema": {
                  "$ref": "#/components/schemas/PurchaseOrder-7"
                }
              },
              "application/json (QuickBooks Online)": {
                "schema": {
                  "$ref": "#/components/schemas/PurchaseOrder-8"
                }
              },
              "application/json (QuickBooks Desktop)": {
                "schema": {
                  "$ref": "#/components/schemas/PurchaseOrder-9"
                }
              },
              "application/json (Sage 100 Contractor)": {
                "schema": {
                  "$ref": "#/components/schemas/PurchaseOrder-10"
                }
              },
              "application/json (Sage 300 CRE)": {
                "schema": {
                  "$ref": "#/components/schemas/PurchaseOrder-11"
                }
              },
              "application/json (ServiceTitan)": {
                "schema": {
                  "$ref": "#/components/schemas/PurchaseOrder-12"
                }
              },
              "application/json (Viewpoint Jobpac)": {
                "schema": {
                  "$ref": "#/components/schemas/PurchaseOrder-13"
                }
              },
              "application/json (Viewpoint Spectrum)": {
                "schema": {
                  "$ref": "#/components/schemas/PurchaseOrder-14"
                }
              },
              "application/json (Sage Intacct)": {
                "schema": {
                  "$ref": "#/components/schemas/PurchaseOrder-15"
                }
              },
              "application/json (Viewpoint Vista)": {
                "schema": {
                  "$ref": "#/components/schemas/PurchaseOrder-16"
                }
              }
            }
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "404": {
            "$ref": "#/components/responses/404"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      },
      "put": {
        "operationId": "updatePurchaseOrder",
        "tags": [
          "purchase-orders"
        ],
        "summary": "One Purchase Order",
        "description": "This endpoint updates a Purchase Order by the Agave UUID provided.\n",
        "requestBody": {
          "content": {
            "application/json (Autodesk Build)": {
              "schema": {
                "type": "object",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewPurchaseOrder"
                  },
                  {
                    "required": [
                      "id"
                    ]
                  }
                ]
              }
            },
            "application/json (Acumatica)": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewPurchaseOrder-2"
                  },
                  {
                    "required": [
                      "id"
                    ]
                  }
                ]
              }
            },
            "application/json (CMiC)": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewPurchaseOrder-3"
                  },
                  {
                    "required": [
                      "id"
                    ]
                  }
                ]
              }
            },
            "application/json (Foundation)": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewPurchaseOrder-4"
                  },
                  {
                    "required": [
                      "id"
                    ]
                  }
                ]
              }
            },
            "application/json (Procore)": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewPurchaseOrder-5"
                  },
                  {
                    "required": [
                      "id"
                    ]
                  }
                ]
              }
            },
            "application/json (QuickBooks Desktop)": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewPurchaseOrder-6"
                  },
                  {
                    "required": [
                      "id"
                    ]
                  }
                ]
              }
            },
            "application/json (QuickBooks Online)": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewPurchaseOrder-7"
                  },
                  {
                    "required": [
                      "id"
                    ]
                  }
                ]
              }
            },
            "application/json (Sage 100 Contractor)": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewPurchaseOrder-8"
                  },
                  {
                    "required": [
                      "id"
                    ]
                  }
                ]
              }
            },
            "application/json (Sage 300 CRE)": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewPurchaseOrder-9"
                  },
                  {
                    "required": [
                      "id"
                    ]
                  }
                ]
              }
            },
            "application/json (Viewpoint Jobpac)": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewPurchaseOrder-10"
                  },
                  {
                    "required": [
                      "id"
                    ]
                  }
                ]
              }
            },
            "application/json (Viewpoint Spectrum)": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewPurchaseOrder-11"
                  },
                  {
                    "required": [
                      "id"
                    ]
                  }
                ]
              }
            },
            "application/json (Sage Intacct)": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewPurchaseOrder-13"
                  },
                  {
                    "required": [
                      "id"
                    ]
                  }
                ]
              }
            },
            "application/json (Viewpoint Vista)": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewPurchaseOrder-14"
                  },
                  {
                    "required": [
                      "id"
                    ]
                  }
                ]
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (Acumatica)": {
                "schema": {
                  "$ref": "#/components/schemas/PurchaseOrder-2"
                }
              },
              "application/json (Autodesk Build)": {
                "schema": {
                  "$ref": "#/components/schemas/PurchaseOrder-3"
                }
              },
              "application/json (CMiC)": {
                "schema": {
                  "$ref": "#/components/schemas/PurchaseOrder-4"
                }
              },
              "application/json (COINS)": {
                "schema": {
                  "$ref": "#/components/schemas/PurchaseOrder-5"
                }
              },
              "application/json (Foundation)": {
                "schema": {
                  "$ref": "#/components/schemas/PurchaseOrder-6"
                }
              },
              "application/json (Procore)": {
                "schema": {
                  "$ref": "#/components/schemas/PurchaseOrder-7"
                }
              },
              "application/json (QuickBooks Online)": {
                "schema": {
                  "$ref": "#/components/schemas/PurchaseOrder-8"
                }
              },
              "application/json (QuickBooks Desktop)": {
                "schema": {
                  "$ref": "#/components/schemas/PurchaseOrder-9"
                }
              },
              "application/json (Sage 100 Contractor)": {
                "schema": {
                  "$ref": "#/components/schemas/PurchaseOrder-10"
                }
              },
              "application/json (Sage 300 CRE)": {
                "schema": {
                  "$ref": "#/components/schemas/PurchaseOrder-11"
                }
              },
              "application/json (ServiceTitan)": {
                "schema": {
                  "$ref": "#/components/schemas/PurchaseOrder-12"
                }
              },
              "application/json (Viewpoint Jobpac)": {
                "schema": {
                  "$ref": "#/components/schemas/PurchaseOrder-13"
                }
              },
              "application/json (Viewpoint Spectrum)": {
                "schema": {
                  "$ref": "#/components/schemas/PurchaseOrder-14"
                }
              },
              "application/json (Sage Intacct)": {
                "schema": {
                  "$ref": "#/components/schemas/PurchaseOrder-15"
                }
              },
              "application/json (Viewpoint Vista)": {
                "schema": {
                  "$ref": "#/components/schemas/PurchaseOrder-16"
                }
              }
            }
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "404": {
            "$ref": "#/components/responses/404"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      }
    },
    "/purchase-orders/{purchase_order_id}/line-items": {
      "parameters": [
        {
          "$ref": "#/components/parameters/AgaveApiVersion"
        },
        {
          "$ref": "#/components/parameters/AgaveIncludeSourceData"
        },
        {
          "$ref": "#/components/parameters/RequiredProjectId"
        },
        {
          "$ref": "#/components/parameters/purchase_order_id"
        }
      ],
      "get": {
        "operationId": "listPurchaseOrderLineItems",
        "tags": [
          "purchase-orders"
        ],
        "summary": "All Purchase Order Line Items",
        "description": "This endpoint retrieves a list of Purchase Order Line Items a Linked User can access.\n\n**Note**: the Project-ID header is required for the following supported Source Systems:\n  - Jobpac\n  - Procore\n  - Viewpoint Vista\n",
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (Acumatica)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Purchase Orders a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/PurchaseOrderLineItem-2"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Autodesk Build)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Purchase Orders a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/PurchaseOrderLineItem-3"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (CMiC)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Purchase Orders a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/PurchaseOrderLineItem-4"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (COINS)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Purchase Orders a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/PurchaseOrderLineItem-5"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Foundation)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Purchase Orders a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/PurchaseOrderLineItem-6"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Procore)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Purchase Orders a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/PurchaseOrderLineItem-7"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (QuickBooks Online)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Purchase Orders a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/PurchaseOrderLineItem-8"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (QuickBooks Desktop)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Purchase Orders a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/PurchaseOrderLineItem-9"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Sage 100 Contractor)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Purchase Orders a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/PurchaseOrderLineItem-10"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Sage 300 CRE)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Purchase Orders a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/PurchaseOrderLineItem-11"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (ServiceTitan)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Purchase Order Line Items a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/PurchaseOrderLineItem-12"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Viewpoint Jobpac)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Purchase Orders a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/PurchaseOrderLineItem-13"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Viewpoint Spectrum)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Purchase Orders a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/PurchaseOrderLineItem-14"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Sage Intacct)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Purchase Order Line Items a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/PurchaseOrderLineItem-15"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Viewpoint Vista)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Purchase Orders a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/PurchaseOrderLineItem-16"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              }
            }
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "404": {
            "$ref": "#/components/responses/404"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      },
      "post": {
        "operationId": "newPurchaseOrderLineItem",
        "tags": [
          "purchase-orders"
        ],
        "summary": "Purchase Order Line Item",
        "description": "This endpoint creates Purchase Order Line Items.\n",
        "requestBody": {
          "content": {
            "application/json (Autodesk Build)": {
              "schema": {
                "type": "object",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewPurchaseOrderLineItem"
                  }
                ]
              }
            },
            "application/json (Acumatica)": {
              "schema": {
                "type": "object",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewPurchaseOrderLineItem-2"
                  }
                ]
              }
            },
            "application/json (CMiC)": {
              "schema": {
                "type": "object",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewPurchaseOrderLineItem-3"
                  }
                ]
              }
            },
            "application/json (Foundation)": {
              "schema": {
                "type": "object",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewPurchaseOrderLineItem-4"
                  }
                ]
              }
            },
            "application/json (Procore)": {
              "schema": {
                "type": "object",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewPurchaseOrderLineItem-5"
                  }
                ]
              }
            },
            "application/json (QuickBooks Desktop)": {
              "schema": {
                "type": "object",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewPurchaseOrderLineItem-6"
                  }
                ]
              }
            },
            "application/json (QuickBooks Online)": {
              "schema": {
                "type": "object",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewPurchaseOrderLineItem-7"
                  }
                ]
              }
            },
            "application/json (Sage 100 Contractor)": {
              "schema": {
                "type": "object",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewPurchaseOrderLineItem-8"
                  }
                ]
              }
            },
            "application/json (Sage 300 CRE)": {
              "schema": {
                "type": "object",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewPurchaseOrderLineItem-9"
                  }
                ]
              }
            },
            "application/json (Viewpoint Jobpac)": {
              "schema": {
                "type": "object",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewPurchaseOrderLineItem-10"
                  }
                ]
              }
            },
            "application/json (Viewpoint Spectrum)": {
              "schema": {
                "type": "object",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewPurchaseOrderLineItem-11"
                  }
                ]
              }
            },
            "application/json (Sage Intacct)": {
              "schema": {
                "type": "object",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewPurchaseOrderLineItem-14"
                  }
                ]
              }
            },
            "application/json (Viewpoint Vista)": {
              "schema": {
                "type": "object",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewPurchaseOrderLineItem-13"
                  }
                ]
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (Acumatica)": {
                "schema": {
                  "$ref": "#/components/schemas/PurchaseOrderLineItem-2"
                }
              },
              "application/json (Autodesk Build)": {
                "schema": {
                  "$ref": "#/components/schemas/PurchaseOrderLineItem-3"
                }
              },
              "application/json (CMiC)": {
                "schema": {
                  "$ref": "#/components/schemas/PurchaseOrderLineItem-4"
                }
              },
              "application/json (COINS)": {
                "schema": {
                  "$ref": "#/components/schemas/PurchaseOrderLineItem-5"
                }
              },
              "application/json (Foundation)": {
                "schema": {
                  "$ref": "#/components/schemas/PurchaseOrderLineItem-6"
                }
              },
              "application/json (Procore)": {
                "schema": {
                  "$ref": "#/components/schemas/PurchaseOrderLineItem-7"
                }
              },
              "application/json (QuickBooks Online)": {
                "schema": {
                  "$ref": "#/components/schemas/PurchaseOrderLineItem-8"
                }
              },
              "application/json (QuickBooks Desktop)": {
                "schema": {
                  "$ref": "#/components/schemas/PurchaseOrderLineItem-9"
                }
              },
              "application/json (Sage 100 Contractor)": {
                "schema": {
                  "$ref": "#/components/schemas/PurchaseOrderLineItem-10"
                }
              },
              "application/json (Sage 300 CRE)": {
                "schema": {
                  "$ref": "#/components/schemas/PurchaseOrderLineItem-11"
                }
              },
              "application/json (ServiceTitan)": {
                "schema": {
                  "$ref": "#/components/schemas/PurchaseOrderLineItem-12"
                }
              },
              "application/json (Viewpoint Jobpac)": {
                "schema": {
                  "$ref": "#/components/schemas/PurchaseOrderLineItem-13"
                }
              },
              "application/json (Viewpoint Spectrum)": {
                "schema": {
                  "$ref": "#/components/schemas/PurchaseOrderLineItem-14"
                }
              },
              "application/json (Viewpoint Vista)": {
                "schema": {
                  "$ref": "#/components/schemas/PurchaseOrderLineItem-16"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/400"
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      }
    },
    "/purchase-orders/{purchase_order_id}/line-items/{id}": {
      "parameters": [
        {
          "$ref": "#/components/parameters/AgaveApiVersion"
        },
        {
          "$ref": "#/components/parameters/AgaveIncludeSourceData"
        },
        {
          "$ref": "#/components/parameters/ProjectId"
        },
        {
          "$ref": "#/components/parameters/purchase_order_id"
        },
        {
          "name": "id",
          "in": "path",
          "description": "The UUID of the Purchase Order Line Item assigned by Agave.",
          "required": true,
          "schema": {
            "type": "string",
            "format": "uuid"
          }
        }
      ],
      "get": {
        "operationId": "getPurchaesOrderLineItem",
        "tags": [
          "purchase-orders"
        ],
        "summary": "One Purchase Order Line Item",
        "description": "This endpoint retrieves a Purchase Order Line Item by its Agave UUID.\n\n**Note**: the Project-ID header is required for the following supported Source Systems:\n - Jobpac\n - Procore\n - Viewpoint Vista\n",
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (Acumatica)": {
                "schema": {
                  "$ref": "#/components/schemas/PurchaseOrderLineItem-2"
                }
              },
              "application/json (Autodesk Build)": {
                "schema": {
                  "$ref": "#/components/schemas/PurchaseOrderLineItem-3"
                }
              },
              "application/json (CMiC)": {
                "schema": {
                  "$ref": "#/components/schemas/PurchaseOrderLineItem-4"
                }
              },
              "application/json (COINS)": {
                "schema": {
                  "$ref": "#/components/schemas/PurchaseOrderLineItem-5"
                }
              },
              "application/json (Foundation)": {
                "schema": {
                  "$ref": "#/components/schemas/PurchaseOrderLineItem-6"
                }
              },
              "application/json (Procore)": {
                "schema": {
                  "$ref": "#/components/schemas/PurchaseOrderLineItem-7"
                }
              },
              "application/json (QuickBooks Online)": {
                "schema": {
                  "$ref": "#/components/schemas/PurchaseOrderLineItem-8"
                }
              },
              "application/json (QuickBooks Desktop)": {
                "schema": {
                  "$ref": "#/components/schemas/PurchaseOrderLineItem-9"
                }
              },
              "application/json (Sage 100 Contractor)": {
                "schema": {
                  "$ref": "#/components/schemas/PurchaseOrderLineItem-10"
                }
              },
              "application/json (Sage 300 CRE)": {
                "schema": {
                  "$ref": "#/components/schemas/PurchaseOrderLineItem-11"
                }
              },
              "application/json (ServiceTitan)": {
                "schema": {
                  "$ref": "#/components/schemas/PurchaseOrderLineItem-12"
                }
              },
              "application/json (Viewpoint Jobpac)": {
                "schema": {
                  "$ref": "#/components/schemas/PurchaseOrderLineItem-13"
                }
              },
              "application/json (Viewpoint Spectrum)": {
                "schema": {
                  "$ref": "#/components/schemas/PurchaseOrderLineItem-14"
                }
              },
              "application/json (Viewpoint Vista)": {
                "schema": {
                  "$ref": "#/components/schemas/PurchaseOrderLineItem-16"
                }
              }
            }
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "404": {
            "$ref": "#/components/responses/404"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      },
      "put": {
        "operationId": "updatePurchaseOrderLineItem",
        "tags": [
          "purchase-orders"
        ],
        "summary": "One Purchase Order Line Item",
        "description": "This endpoint updates a Purchase Order Line Item by its Agave UUID.",
        "requestBody": {
          "content": {
            "application/json (Autodesk Build)": {
              "schema": {
                "type": "object",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewPurchaseOrderLineItem"
                  },
                  {
                    "required": [
                      "id"
                    ]
                  }
                ]
              }
            },
            "application/json (Acumatica)": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewPurchaseOrderLineItem-2"
                  },
                  {
                    "required": [
                      "id"
                    ]
                  }
                ]
              }
            },
            "application/json (CMiC)": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewPurchaseOrderLineItem-3"
                  },
                  {
                    "required": [
                      "id"
                    ]
                  }
                ]
              }
            },
            "application/json (Foundation)": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewPurchaseOrderLineItem-4"
                  },
                  {
                    "required": [
                      "id"
                    ]
                  }
                ]
              }
            },
            "application/json (Procore)": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewPurchaseOrderLineItem-5"
                  },
                  {
                    "required": [
                      "id"
                    ]
                  }
                ]
              }
            },
            "application/json (QuickBooks Desktop)": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewPurchaseOrderLineItem-6"
                  },
                  {
                    "required": [
                      "id"
                    ]
                  }
                ]
              }
            },
            "application/json (QuickBooks Online)": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewPurchaseOrderLineItem-7"
                  },
                  {
                    "required": [
                      "id"
                    ]
                  }
                ]
              }
            },
            "application/json (Sage 100 Contractor)": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewPurchaseOrderLineItem-8"
                  },
                  {
                    "required": [
                      "id"
                    ]
                  }
                ]
              }
            },
            "application/json (Sage 300 CRE)": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewPurchaseOrderLineItem-9"
                  },
                  {
                    "required": [
                      "id"
                    ]
                  }
                ]
              }
            },
            "application/json (Viewpoint Jobpac)": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewPurchaseOrderLineItem-10"
                  },
                  {
                    "required": [
                      "id"
                    ]
                  }
                ]
              }
            },
            "application/json (Viewpoint Spectrum)": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewPurchaseOrderLineItem-11"
                  },
                  {
                    "required": [
                      "id"
                    ]
                  }
                ]
              }
            },
            "application/json (Viewpoint Vista)": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewPurchaseOrderLineItem-13"
                  },
                  {
                    "required": [
                      "id"
                    ]
                  }
                ]
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (Acumatica)": {
                "schema": {
                  "$ref": "#/components/schemas/PurchaseOrderLineItem-2"
                }
              },
              "application/json (Autodesk Build)": {
                "schema": {
                  "$ref": "#/components/schemas/PurchaseOrderLineItem-3"
                }
              },
              "application/json (CMiC)": {
                "schema": {
                  "$ref": "#/components/schemas/PurchaseOrderLineItem-4"
                }
              },
              "application/json (COINS)": {
                "schema": {
                  "$ref": "#/components/schemas/PurchaseOrderLineItem-5"
                }
              },
              "application/json (Foundation)": {
                "schema": {
                  "$ref": "#/components/schemas/PurchaseOrderLineItem-6"
                }
              },
              "application/json (Procore)": {
                "schema": {
                  "$ref": "#/components/schemas/PurchaseOrderLineItem-7"
                }
              },
              "application/json (QuickBooks Online)": {
                "schema": {
                  "$ref": "#/components/schemas/PurchaseOrderLineItem-8"
                }
              },
              "application/json (QuickBooks Desktop)": {
                "schema": {
                  "$ref": "#/components/schemas/PurchaseOrderLineItem-9"
                }
              },
              "application/json (Sage 100 Contractor)": {
                "schema": {
                  "$ref": "#/components/schemas/PurchaseOrderLineItem-10"
                }
              },
              "application/json (Sage 300 CRE)": {
                "schema": {
                  "$ref": "#/components/schemas/PurchaseOrderLineItem-11"
                }
              },
              "application/json (ServiceTitan)": {
                "schema": {
                  "$ref": "#/components/schemas/PurchaseOrderLineItem-12"
                }
              },
              "application/json (Viewpoint Jobpac)": {
                "schema": {
                  "$ref": "#/components/schemas/PurchaseOrderLineItem-13"
                }
              },
              "application/json (Viewpoint Spectrum)": {
                "schema": {
                  "$ref": "#/components/schemas/PurchaseOrderLineItem-14"
                }
              },
              "application/json (Viewpoint Vista)": {
                "schema": {
                  "$ref": "#/components/schemas/PurchaseOrderLineItem-16"
                }
              }
            }
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "404": {
            "$ref": "#/components/responses/404"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      }
    },
    "/purchase-orders/compliances": {
      "parameters": [
        {
          "$ref": "#/components/parameters/AgaveApiVersion"
        },
        {
          "$ref": "#/components/parameters/AgaveIncludeSourceData"
        }
      ],
      "get": {
        "operationId": "listAllPurchaseOrderCompliances",
        "tags": [
          "purchase-order-compliances"
        ],
        "summary": "All Purchase Order Compliances",
        "description": "This endpoint retrieves a list of Purchase Order Compliances a Linked User can access.",
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (Viewpoint Vista)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Compliances the Linked User can access for a Purchase Order.",
                      "items": {
                        "$ref": "#/components/schemas/PurchaseOrderCompliance-2"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/400"
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      }
    },
    "/purchase-orders/{purchase_order_id}/compliances": {
      "parameters": [
        {
          "$ref": "#/components/parameters/AgaveApiVersion"
        },
        {
          "$ref": "#/components/parameters/AgaveIncludeSourceData"
        },
        {
          "$ref": "#/components/parameters/purchase_order_id"
        }
      ],
      "get": {
        "operationId": "listPurchaseOrderCompliances",
        "tags": [
          "purchase-order-compliances"
        ],
        "summary": "All Compliances for One Purchase Order",
        "description": "This endpoint retrieves a list of Purchase Order Compliances a Linked User can access.",
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (Viewpoint Vista)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Compliances the Linked User can access for a Purchase Order.",
                      "items": {
                        "$ref": "#/components/schemas/PurchaseOrderCompliance-2"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/400"
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      },
      "post": {
        "operationId": "newPurchaseOrderCompliances",
        "tags": [
          "purchase-order-compliances"
        ],
        "summary": "Purchase Order Compliance",
        "description": "This endpoint creates Purchase Order Compliances.\n",
        "requestBody": {
          "content": {
            "application/json (Viewpoint Vista)": {
              "schema": {
                "type": "object",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewPurchaseOrderCompliance"
                  }
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (Viewpoint Vista)": {
                "schema": {
                  "$ref": "#/components/schemas/PurchaseOrderCompliance-2"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/400"
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      }
    },
    "/purchase-orders/{purchase_order_id}/compliances/{id}": {
      "parameters": [
        {
          "$ref": "#/components/parameters/AgaveApiVersion"
        },
        {
          "$ref": "#/components/parameters/AgaveIncludeSourceData"
        },
        {
          "$ref": "#/components/parameters/purchase_order_id"
        },
        {
          "name": "id",
          "in": "path",
          "description": "The UUID of the Purchase Order Compliance assigned by Agave.",
          "required": true,
          "schema": {
            "type": "string",
            "format": "uuid"
          }
        }
      ],
      "get": {
        "operationId": "getPurchaseOrderCompliance",
        "tags": [
          "purchase-order-compliances"
        ],
        "summary": "One Purchase Order Compliance",
        "description": "This endpoint retrieves a Purchase Order Compliance by its Agave UUID.",
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (Viewpoint Vista)": {
                "schema": {
                  "$ref": "#/components/schemas/PurchaseOrderCompliance-2"
                }
              }
            }
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "404": {
            "$ref": "#/components/responses/404"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      },
      "put": {
        "operationId": "updatePurchaseOrderCompliance",
        "tags": [
          "purchase-order-compliances"
        ],
        "summary": "One Purchase Order Compliance",
        "description": "This endpoint updates a Purchase Order Compliance by its Agave UUID.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewVendorCompliance"
                  },
                  {
                    "required": [
                      "id"
                    ]
                  }
                ]
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (Viewpoint Vista)": {
                "schema": {
                  "$ref": "#/components/schemas/PurchaseOrderCompliance-2"
                }
              }
            }
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "404": {
            "$ref": "#/components/responses/404"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      },
      "delete": {
        "operationId": "deletePurchaseOrderCompliance",
        "tags": [
          "purchase-order-compliances"
        ],
        "summary": "One Purchase Order Compliance",
        "description": "This endpoint deletes a Purchase Order Compliance by its Agave UUID.",
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (Viewpoint Vista)": {
                "schema": {
                  "$ref": "#/components/schemas/PurchaseOrderCompliance-2"
                }
              }
            }
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "404": {
            "$ref": "#/components/responses/404"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      }
    },
    "/service-sites": {
      "parameters": [
        {
          "$ref": "#/components/parameters/AgaveApiVersion"
        },
        {
          "$ref": "#/components/parameters/AgaveIncludeSourceData"
        },
        {
          "$ref": "#/components/parameters/ProjectId"
        }
      ],
      "get": {
        "operationId": "listServiceSites",
        "tags": [
          "service-sites"
        ],
        "summary": "All Service Sites",
        "description": "This endpoint retrieves a list of Service Sites a Linked User can access.\n",
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (Acumatica)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "The list of Service Sites a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/ServiceSite"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Sage 100 Contractor)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "The list of Service Sites a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/ServiceSite-2"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (ServiceTitan)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "The list of Service Sites a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/ServiceSite-3"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Viewpoint Spectrum)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "The list of Service Sites a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/ServiceSite-4"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              }
            }
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "404": {
            "$ref": "#/components/responses/404"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      },
      "post": {
        "operationId": "newServiceSites",
        "tags": [
          "service-sites"
        ],
        "summary": "Service Site",
        "description": "This endpoint creates Service Sites.\n",
        "requestBody": {
          "content": {
            "application/json (Acumatica)": {
              "schema": {
                "type": "object",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewServiceSite"
                  }
                ]
              }
            },
            "application/json (Sage 100 Contractor)": {
              "schema": {
                "type": "object",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewServiceSite-2"
                  }
                ]
              }
            },
            "application/json (Viewpoint Spectrum)": {
              "schema": {
                "type": "object",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewServiceSite-3"
                  }
                ]
              }
            },
            "application/json (Viewpoint Vista)": {
              "schema": {
                "type": "object",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewWorkOrder"
                  }
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (Acumatica)": {
                "schema": {
                  "$ref": "#/components/schemas/ServiceSite"
                }
              },
              "application/json (ServiceTitan)": {
                "schema": {
                  "$ref": "#/components/schemas/ServiceSite-3"
                }
              },
              "application/json (Viewpoint Spectrum)": {
                "schema": {
                  "$ref": "#/components/schemas/ServiceSite-4"
                }
              },
              "application/json (Sage 100 Contractor)": {
                "schema": {
                  "$ref": "#/components/schemas/ServiceSite-2"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/400"
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      }
    },
    "/service-sites/{id}": {
      "parameters": [
        {
          "$ref": "#/components/parameters/AgaveApiVersion"
        },
        {
          "$ref": "#/components/parameters/AgaveIncludeSourceData"
        },
        {
          "$ref": "#/components/parameters/ProjectId"
        },
        {
          "name": "id",
          "in": "path",
          "description": "The UUID of the Service Site assigned by Agave.",
          "required": true,
          "schema": {
            "type": "string",
            "format": "uuid"
          }
        }
      ],
      "get": {
        "operationId": "getServiceSite",
        "tags": [
          "service-sites"
        ],
        "summary": "One Service Site",
        "description": "This endpoint retrieves a Service Site by the Agave UUID.",
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (Acumatica)": {
                "schema": {
                  "$ref": "#/components/schemas/ServiceSite"
                }
              },
              "application/json (ServiceTitan)": {
                "schema": {
                  "$ref": "#/components/schemas/ServiceSite-3"
                }
              },
              "application/json (Viewpoint Spectrum)": {
                "schema": {
                  "$ref": "#/components/schemas/ServiceSite-4"
                }
              },
              "application/json (Sage 100 Contractor)": {
                "schema": {
                  "$ref": "#/components/schemas/ServiceSite-2"
                }
              }
            }
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "404": {
            "$ref": "#/components/responses/404"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      },
      "put": {
        "operationId": "updateServiceSite",
        "tags": [
          "service-sites"
        ],
        "summary": "One Service Site",
        "description": "This endpoint updates a Service Site by its Agave UUID.",
        "requestBody": {
          "content": {
            "application/json (Acumatica)": {
              "schema": {
                "type": "object",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewServiceSite"
                  }
                ]
              }
            },
            "application/json (Sage 100 Contractor)": {
              "schema": {
                "type": "object",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewServiceSite-2"
                  }
                ]
              }
            },
            "application/json (Viewpoint Spectrum)": {
              "schema": {
                "type": "object",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewServiceSite-3"
                  }
                ]
              }
            },
            "application/json (Viewpoint Vista)": {
              "schema": {
                "type": "object",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewWorkOrder"
                  }
                ]
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (Acumatica)": {
                "schema": {
                  "$ref": "#/components/schemas/ServiceSite"
                }
              },
              "application/json (ServiceTitan)": {
                "schema": {
                  "$ref": "#/components/schemas/ServiceSite-3"
                }
              },
              "application/json (Viewpoint Spectrum)": {
                "schema": {
                  "$ref": "#/components/schemas/ServiceSite-4"
                }
              },
              "application/json (Sage 100 Contractor)": {
                "schema": {
                  "$ref": "#/components/schemas/ServiceSite-2"
                }
              }
            }
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "404": {
            "$ref": "#/components/responses/404"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      }
    },
    "/subcontracts": {
      "parameters": [
        {
          "$ref": "#/components/parameters/AgaveApiVersion"
        },
        {
          "$ref": "#/components/parameters/AgaveIncludeSourceData"
        },
        {
          "$ref": "#/components/parameters/ProjectId"
        },
        {
          "$ref": "#/components/parameters/Expand"
        },
        {
          "name": "status",
          "in": "query",
          "description": "This is an optional query parameter to filter the Subcontracts by their Status.\n**Note for Viewpoint Vista:** this query parameter is required.\n",
          "required": false,
          "schema": {
            "type": "string",
            "enum": [
              "Bid",
              "Closed",
              "Complete",
              "Contract",
              "Current",
              "Non-Interfaced",
              "Open",
              "Pending",
              "Refused"
            ],
            "example": "Open"
          }
        },
        {
          "name": "type",
          "in": "query",
          "description": "This is an optional query parameter to filter the Subcontracts by their Type.\n**Note for Sage Intacct**: this query parameter is required.\n",
          "required": false,
          "schema": {
            "type": "string",
            "example": "Subcontracts"
          }
        }
      ],
      "get": {
        "operationId": "listSubcontracts",
        "tags": [
          "subcontracts"
        ],
        "summary": "All Subcontracts",
        "description": "This endpoint retrieves a list of Subcontracts a Linked User can access.\n\n**Note**: the following Source Systems require the `Project-Id` header to be included:\n  - Autodesk Build\n  - BIM 360\n  - Cheops\n  - CMiC\n  - Procore\n  - Viewpoint Jobpac\n",
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (Autodesk Build)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Subcontracts a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/Subcontract-2"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (BIM 360)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Subcontracts a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/Subcontract-2"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Cheops)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Subcontracts a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/Subcontract-3"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (CMiC)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Subcontracts a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/Subcontract-4"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (COINS)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Subcontracts a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/Subcontract-5"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Foundation)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Subcontracts a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/Subcontract-6"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Jonas Premier)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Subcontracts a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/Subcontract-3"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Procore)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Subcontracts a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/Subcontract-7"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Sage 100 Contractor)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Subcontracts a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/Subcontract-8"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Sage 300 CRE)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Subcontracts a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/Subcontract-9"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Sage Intacct)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Subcontracts a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/Subcontract-10"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Viewpoint Jobpac)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Subcontracts a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/Subcontract-11"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Viewpoint Spectrum)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Subcontracts a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/Subcontract-12"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Viewpoint Vista)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Subcontracts a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/Subcontract-13"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              }
            }
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "404": {
            "$ref": "#/components/responses/404"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      },
      "post": {
        "operationId": "newSubcontract",
        "tags": [
          "subcontracts"
        ],
        "summary": "Subcontract",
        "description": "This endpoint creates Subcontracts.\n\n**Note for Sage 100 Contractor**: the `Project-ID` header is required.\n\n**Notes for Sage 300CRE**: \n  - The Project-ID header is only at the line item-level.\n  - Line Items can only be added with the create [Subcontract Line Items endpoint](https://docs.agaveapi.com/reference#post-/subcontracts/-subcontract-/line-items).\n",
        "requestBody": {
          "content": {
            "application/json (Foundation)": {
              "schema": {
                "type": "object",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewSubcontract"
                  }
                ]
              }
            },
            "application/json (Sage 100 Contractor)": {
              "schema": {
                "type": "object",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewSubcontract-2"
                  }
                ]
              }
            },
            "application/json (Sage 300 CRE)": {
              "schema": {
                "type": "object",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewSubcontract-3"
                  }
                ]
              }
            },
            "application/json (Viewpoint Jobpac)": {
              "schema": {
                "type": "object",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewSubcontract-4"
                  }
                ]
              }
            },
            "application/json (Viewpoint Spectrum)": {
              "schema": {
                "type": "object",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewSubcontract-5"
                  }
                ]
              }
            },
            "application/json (Viewpoint Vista)": {
              "schema": {
                "type": "object",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewSubcontract-6"
                  }
                ]
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (Autodesk Build)": {
                "schema": {
                  "$ref": "#/components/schemas/Subcontract-2"
                }
              },
              "application/json (BIM 360)": {
                "schema": {
                  "$ref": "#/components/schemas/Subcontract-2"
                }
              },
              "application/json (Cheops)": {
                "schema": {
                  "$ref": "#/components/schemas/Subcontract-3"
                }
              },
              "application/json (CMiC)": {
                "schema": {
                  "$ref": "#/components/schemas/Subcontract-4"
                }
              },
              "application/json (COINS)": {
                "schema": {
                  "$ref": "#/components/schemas/Subcontract-5"
                }
              },
              "application/json (Foundation)": {
                "schema": {
                  "$ref": "#/components/schemas/Subcontract-6"
                }
              },
              "application/json (Jonas Premier)": {
                "schema": {
                  "$ref": "#/components/schemas/Subcontract-3"
                }
              },
              "application/json (Procore)": {
                "schema": {
                  "$ref": "#/components/schemas/Subcontract-7"
                }
              },
              "application/json (Sage 100 Contractor)": {
                "schema": {
                  "$ref": "#/components/schemas/Subcontract-8"
                }
              },
              "application/json (Sage 300 CRE)": {
                "schema": {
                  "$ref": "#/components/schemas/Subcontract-9"
                }
              },
              "application/json (Sage Intacct)": {
                "schema": {
                  "$ref": "#/components/schemas/Subcontract-10"
                }
              },
              "application/json (Viewpoint Jobpac)": {
                "schema": {
                  "$ref": "#/components/schemas/Subcontract-11"
                }
              },
              "application/json (Viewpoint Spectrum)": {
                "schema": {
                  "$ref": "#/components/schemas/Subcontract-12"
                }
              },
              "application/json (Viewpoint Vista)": {
                "schema": {
                  "$ref": "#/components/schemas/Subcontract-13"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/400"
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      },
      "patch": {
        "operationId": "newBulkSubcontracts",
        "tags": [
          "subcontracts"
        ],
        "summary": "Subcontracts",
        "description": "This endpoint creates Subcontracts in bulk.\n",
        "requestBody": {
          "content": {
            "application/json (Sage 300 CRE)": {
              "schema": {
                "type": "object",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/BulkNewSubcontract"
                  }
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (Autodesk Build)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Subcontracts a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/Subcontract-2"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (BIM 360)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Subcontracts a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/Subcontract-2"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Cheops)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Subcontracts a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/Subcontract-3"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (CMiC)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Subcontracts a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/Subcontract-4"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (COINS)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Subcontracts a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/Subcontract-5"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Foundation)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Subcontracts a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/Subcontract-6"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Jonas Premier)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Subcontracts a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/Subcontract-3"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Procore)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Subcontracts a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/Subcontract-7"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Sage 100 Contractor)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Subcontracts a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/Subcontract-8"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Sage 300 CRE)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Subcontracts a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/Subcontract-9"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Sage Intacct)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Subcontracts a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/Subcontract-10"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Viewpoint Jobpac)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Subcontracts a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/Subcontract-11"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Viewpoint Spectrum)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Subcontracts a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/Subcontract-12"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Viewpoint Vista)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Subcontracts a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/Subcontract-13"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/400"
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      }
    },
    "/subcontracts/{id}": {
      "parameters": [
        {
          "$ref": "#/components/parameters/AgaveApiVersion"
        },
        {
          "$ref": "#/components/parameters/AgaveIncludeSourceData"
        },
        {
          "$ref": "#/components/parameters/ProjectId"
        },
        {
          "name": "id",
          "in": "path",
          "description": "The UUID of the Subcontract assigned by Agave.",
          "required": true,
          "schema": {
            "type": "string",
            "format": "uuid"
          }
        }
      ],
      "get": {
        "operationId": "getSubcontract",
        "tags": [
          "subcontracts"
        ],
        "summary": "One Subcontract",
        "description": "This endpoint retrieves a Subcontract by its Agave UUID.",
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (Autodesk Build)": {
                "schema": {
                  "$ref": "#/components/schemas/Subcontract-2"
                }
              },
              "application/json (BIM 360)": {
                "schema": {
                  "$ref": "#/components/schemas/Subcontract-2"
                }
              },
              "application/json (Cheops)": {
                "schema": {
                  "$ref": "#/components/schemas/Subcontract-3"
                }
              },
              "application/json (CMiC)": {
                "schema": {
                  "$ref": "#/components/schemas/Subcontract-4"
                }
              },
              "application/json (COINS)": {
                "schema": {
                  "$ref": "#/components/schemas/Subcontract-5"
                }
              },
              "application/json (Foundation)": {
                "schema": {
                  "$ref": "#/components/schemas/Subcontract-6"
                }
              },
              "application/json (Jonas Premier)": {
                "schema": {
                  "$ref": "#/components/schemas/Subcontract-3"
                }
              },
              "application/json (Procore)": {
                "schema": {
                  "$ref": "#/components/schemas/Subcontract-7"
                }
              },
              "application/json (Sage 100 Contractor)": {
                "schema": {
                  "$ref": "#/components/schemas/Subcontract-8"
                }
              },
              "application/json (Sage 300 CRE)": {
                "schema": {
                  "$ref": "#/components/schemas/Subcontract-9"
                }
              },
              "application/json (Sage Intacct)": {
                "schema": {
                  "$ref": "#/components/schemas/Subcontract-10"
                }
              },
              "application/json (Viewpoint Jobpac)": {
                "schema": {
                  "$ref": "#/components/schemas/Subcontract-11"
                }
              },
              "application/json (Viewpoint Spectrum)": {
                "schema": {
                  "$ref": "#/components/schemas/Subcontract-12"
                }
              },
              "application/json (Viewpoint Vista)": {
                "schema": {
                  "$ref": "#/components/schemas/Subcontract-13"
                }
              }
            }
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "404": {
            "$ref": "#/components/responses/404"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      },
      "put": {
        "operationId": "updateSubcontract",
        "tags": [
          "subcontracts"
        ],
        "summary": "One Subcontract",
        "description": "This endpoint updates a Subcontract by its Agave UUID.",
        "requestBody": {
          "content": {
            "application/json (Foundatino)": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewSubcontract"
                  },
                  {
                    "required": [
                      "id"
                    ]
                  }
                ]
              }
            },
            "application/json (Sage 100 Contractor)": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewSubcontract-2"
                  },
                  {
                    "required": [
                      "id"
                    ]
                  }
                ]
              }
            },
            "application/json (Sage 300 CRE)": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewSubcontract-3"
                  },
                  {
                    "required": [
                      "id"
                    ]
                  }
                ]
              }
            },
            "application/json (Viewpoint Jobpac)": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewSubcontract-4"
                  },
                  {
                    "required": [
                      "id"
                    ]
                  }
                ]
              }
            },
            "application/json (Viewpoint Spectrum)": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewSubcontract-5"
                  },
                  {
                    "required": [
                      "id"
                    ]
                  }
                ]
              }
            },
            "application/json (Viewpoint Vista)": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewSubcontract-6"
                  },
                  {
                    "required": [
                      "id"
                    ]
                  }
                ]
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (Autodesk Build)": {
                "schema": {
                  "$ref": "#/components/schemas/Subcontract-2"
                }
              },
              "application/json (BIM 360)": {
                "schema": {
                  "$ref": "#/components/schemas/Subcontract-2"
                }
              },
              "application/json (Cheops)": {
                "schema": {
                  "$ref": "#/components/schemas/Subcontract-3"
                }
              },
              "application/json (CMiC)": {
                "schema": {
                  "$ref": "#/components/schemas/Subcontract-4"
                }
              },
              "application/json (COINS)": {
                "schema": {
                  "$ref": "#/components/schemas/Subcontract-5"
                }
              },
              "application/json (Foundation)": {
                "schema": {
                  "$ref": "#/components/schemas/Subcontract-6"
                }
              },
              "application/json (Jonas Premier)": {
                "schema": {
                  "$ref": "#/components/schemas/Subcontract-3"
                }
              },
              "application/json (Procore)": {
                "schema": {
                  "$ref": "#/components/schemas/Subcontract-7"
                }
              },
              "application/json (Sage 100 Contractor)": {
                "schema": {
                  "$ref": "#/components/schemas/Subcontract-8"
                }
              },
              "application/json (Sage 300 CRE)": {
                "schema": {
                  "$ref": "#/components/schemas/Subcontract-9"
                }
              },
              "application/json (Sage Intacct)": {
                "schema": {
                  "$ref": "#/components/schemas/Subcontract-10"
                }
              },
              "application/json (Viewpoint Jobpac)": {
                "schema": {
                  "$ref": "#/components/schemas/Subcontract-11"
                }
              },
              "application/json (Viewpoint Spectrum)": {
                "schema": {
                  "$ref": "#/components/schemas/Subcontract-12"
                }
              },
              "application/json (Viewpoint Vista)": {
                "schema": {
                  "$ref": "#/components/schemas/Subcontract-13"
                }
              }
            }
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "404": {
            "$ref": "#/components/responses/404"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      }
    },
    "/subcontracts/{subcontract_id}/line-items": {
      "parameters": [
        {
          "$ref": "#/components/parameters/AgaveApiVersion"
        },
        {
          "$ref": "#/components/parameters/AgaveIncludeSourceData"
        },
        {
          "$ref": "#/components/parameters/RequiredProjectId"
        },
        {
          "$ref": "#/components/parameters/subcontract_id"
        }
      ],
      "get": {
        "operationId": "listSubcontractLineItems",
        "tags": [
          "subcontracts"
        ],
        "summary": "All Subcontract Line Items",
        "description": "This endpoint retrieves a list of Subcontract Line Items a Linked User can access.\n",
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (Cheops)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Subcontract Line Items a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/SubcontractLineItem-2"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (CMiC)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Subcontract Line Items a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/SubcontractLineItem-3"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (COINS)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Subcontract Line Items a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/SubcontractLineItem-4"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Foundation)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Subcontract Line Items a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/SubcontractLineItem-5"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Jonas Premier)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Subcontract Line Items a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/SubcontractLineItem-2"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Procore)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Subcontract Line Items a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/SubcontractLineItem-6"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Sage 100 Contractor)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Subcontract Line Items a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/SubcontractLineItem-7"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Sage 300 CRE)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Subcontract Line Items a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/SubcontractLineItem-8"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Sage Intacct)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Subcontract Line Items a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/SubcontractLineItem-9"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Viewpoint Jobpac)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Subcontract Line Items a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/SubcontractLineItem-10"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Viewpoint Spectrum)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Subcontract Line Items a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/SubcontractLineItem-11"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Viewpoint Vista)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Subcontract Line Items a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/SubcontractLineItem-12"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              }
            }
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "404": {
            "$ref": "#/components/responses/404"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      },
      "post": {
        "operationId": "newSubcontractLineItem",
        "tags": [
          "subcontracts"
        ],
        "summary": "Subcontract Line Item",
        "description": "This endpoint creates Subcontract line Items.\n",
        "requestBody": {
          "content": {
            "application/json (Foundation)": {
              "schema": {
                "type": "object",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewSubcontractLineItem"
                  }
                ]
              }
            },
            "application/json (Sage 100 Contractor)": {
              "schema": {
                "type": "object",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewSubcontractLineItem-2"
                  }
                ]
              }
            },
            "application/json (Sage 300 CRE)": {
              "schema": {
                "type": "object",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewSubcontractLineItem-3"
                  }
                ]
              }
            },
            "application/json (Viewpoint Jobpac)": {
              "schema": {
                "type": "object",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewSubcontractLineItem-4"
                  }
                ]
              }
            },
            "application/json (Viewpoint Spectrum)": {
              "schema": {
                "type": "object",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewSubcontractLineItem-5"
                  }
                ]
              }
            },
            "application/json (Viewpoint Vista)": {
              "schema": {
                "type": "object",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewSubcontractLineItem-6"
                  }
                ]
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (Cheops)": {
                "schema": {
                  "$ref": "#/components/schemas/SubcontractLineItem-2"
                }
              },
              "application/json (CMiC)": {
                "schema": {
                  "$ref": "#/components/schemas/SubcontractLineItem-3"
                }
              },
              "application/json (COINS)": {
                "schema": {
                  "$ref": "#/components/schemas/SubcontractLineItem-4"
                }
              },
              "application/json (Foundation)": {
                "schema": {
                  "$ref": "#/components/schemas/SubcontractLineItem-5"
                }
              },
              "application/json (Jonas Premier)": {
                "schema": {
                  "$ref": "#/components/schemas/SubcontractLineItem-2"
                }
              },
              "application/json (Procore)": {
                "schema": {
                  "$ref": "#/components/schemas/SubcontractLineItem-6"
                }
              },
              "application/json (Sage 100 Contractor)": {
                "schema": {
                  "$ref": "#/components/schemas/SubcontractLineItem-7"
                }
              },
              "application/json (Sage 300 CRE)": {
                "schema": {
                  "$ref": "#/components/schemas/SubcontractLineItem-8"
                }
              },
              "application/json (Sage Intacct)": {
                "schema": {
                  "$ref": "#/components/schemas/SubcontractLineItem-9"
                }
              },
              "application/json (Viewpoint Jobpac)": {
                "schema": {
                  "$ref": "#/components/schemas/SubcontractLineItem-10"
                }
              },
              "application/json (Viewpoint Spectrum)": {
                "schema": {
                  "$ref": "#/components/schemas/SubcontractLineItem-11"
                }
              },
              "application/json (Viewpoint Vista)": {
                "schema": {
                  "$ref": "#/components/schemas/SubcontractLineItem-12"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/400"
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      }
    },
    "/subcontracts/{subcontract_id}/line-items/{id}": {
      "parameters": [
        {
          "$ref": "#/components/parameters/AgaveApiVersion"
        },
        {
          "$ref": "#/components/parameters/AgaveIncludeSourceData"
        },
        {
          "$ref": "#/components/parameters/ProjectId"
        },
        {
          "$ref": "#/components/parameters/subcontract_id"
        },
        {
          "name": "id",
          "in": "path",
          "description": "The UUID of the Subcontract Line Item assigned by Agave.",
          "required": true,
          "schema": {
            "type": "string",
            "format": "uuid"
          }
        }
      ],
      "get": {
        "operationId": "getSubcontractLineItem",
        "tags": [
          "subcontracts"
        ],
        "summary": "One Subcontract Line Item",
        "description": "This endpoint retrieves a Subcontract Line Item by its Agave UUID.",
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (Cheops)": {
                "schema": {
                  "$ref": "#/components/schemas/SubcontractLineItem-2"
                }
              },
              "application/json (CMiC)": {
                "schema": {
                  "$ref": "#/components/schemas/SubcontractLineItem-3"
                }
              },
              "application/json (COINS)": {
                "schema": {
                  "$ref": "#/components/schemas/SubcontractLineItem-4"
                }
              },
              "application/json (Foundation)": {
                "schema": {
                  "$ref": "#/components/schemas/SubcontractLineItem-5"
                }
              },
              "application/json (Jonas Premier)": {
                "schema": {
                  "$ref": "#/components/schemas/SubcontractLineItem-2"
                }
              },
              "application/json (Procore)": {
                "schema": {
                  "$ref": "#/components/schemas/SubcontractLineItem-6"
                }
              },
              "application/json (Sage 100 Contractor)": {
                "schema": {
                  "$ref": "#/components/schemas/SubcontractLineItem-7"
                }
              },
              "application/json (Sage 300 CRE)": {
                "schema": {
                  "$ref": "#/components/schemas/SubcontractLineItem-8"
                }
              },
              "application/json (Sage Intacct)": {
                "schema": {
                  "$ref": "#/components/schemas/SubcontractLineItem-9"
                }
              },
              "application/json (Viewpoint Jobpac)": {
                "schema": {
                  "$ref": "#/components/schemas/SubcontractLineItem-10"
                }
              },
              "application/json (Viewpoint Spectrum)": {
                "schema": {
                  "$ref": "#/components/schemas/SubcontractLineItem-11"
                }
              },
              "application/json (Viewpoint Vista)": {
                "schema": {
                  "$ref": "#/components/schemas/SubcontractLineItem-12"
                }
              }
            }
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "404": {
            "$ref": "#/components/responses/404"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      },
      "put": {
        "operationId": "updateSubcontractLineItem",
        "tags": [
          "subcontracts"
        ],
        "summary": "One Subcontract Line Item",
        "description": "This endpoint updates a Subcontract Line Item by its Agave UUID.",
        "requestBody": {
          "content": {
            "application/json (Foundation)": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewSubcontractLineItem"
                  },
                  {
                    "required": [
                      "id"
                    ]
                  }
                ]
              }
            },
            "application/json (Sage 100 Contractor)": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewSubcontractLineItem-2"
                  },
                  {
                    "required": [
                      "id"
                    ]
                  }
                ]
              }
            },
            "application/json (Sage 300 CRE)": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewSubcontractLineItem-3"
                  },
                  {
                    "required": [
                      "id"
                    ]
                  }
                ]
              }
            },
            "application/json (Viewpoint Jobpac)": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewSubcontractLineItem-4"
                  },
                  {
                    "required": [
                      "id"
                    ]
                  }
                ]
              }
            },
            "application/json (Viewpoint Spectrum)": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewSubcontractLineItem-5"
                  },
                  {
                    "required": [
                      "id"
                    ]
                  }
                ]
              }
            },
            "application/json (Viewpoint Vista)": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewSubcontractLineItem-6"
                  },
                  {
                    "required": [
                      "id"
                    ]
                  }
                ]
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (Cheops)": {
                "schema": {
                  "$ref": "#/components/schemas/SubcontractLineItem-2"
                }
              },
              "application/json (CMiC)": {
                "schema": {
                  "$ref": "#/components/schemas/SubcontractLineItem-3"
                }
              },
              "application/json (COINS)": {
                "schema": {
                  "$ref": "#/components/schemas/SubcontractLineItem-4"
                }
              },
              "application/json (Foundation)": {
                "schema": {
                  "$ref": "#/components/schemas/SubcontractLineItem-5"
                }
              },
              "application/json (Jonas Premier)": {
                "schema": {
                  "$ref": "#/components/schemas/SubcontractLineItem-2"
                }
              },
              "application/json (Procore)": {
                "schema": {
                  "$ref": "#/components/schemas/SubcontractLineItem-6"
                }
              },
              "application/json (Sage 100 Contractor)": {
                "schema": {
                  "$ref": "#/components/schemas/SubcontractLineItem-7"
                }
              },
              "application/json (Sage 300 CRE)": {
                "schema": {
                  "$ref": "#/components/schemas/SubcontractLineItem-8"
                }
              },
              "application/json (Sage Intacct)": {
                "schema": {
                  "$ref": "#/components/schemas/SubcontractLineItem-9"
                }
              },
              "application/json (Viewpoint Jobpac)": {
                "schema": {
                  "$ref": "#/components/schemas/SubcontractLineItem-10"
                }
              },
              "application/json (Viewpoint Spectrum)": {
                "schema": {
                  "$ref": "#/components/schemas/SubcontractLineItem-11"
                }
              },
              "application/json (Viewpoint Vista)": {
                "schema": {
                  "$ref": "#/components/schemas/SubcontractLineItem-12"
                }
              }
            }
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "404": {
            "$ref": "#/components/responses/404"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      }
    },
    "/subcontracts/compliances": {
      "parameters": [
        {
          "$ref": "#/components/parameters/AgaveApiVersion"
        },
        {
          "$ref": "#/components/parameters/AgaveIncludeSourceData"
        }
      ],
      "get": {
        "operationId": "listAllSubcontractCompliances",
        "tags": [
          "subcontract-compliances"
        ],
        "summary": "All Subcontract Compliances",
        "description": "This endpoint retrieves a list of all Subcontract Compliances.\n",
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (CMiC)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Compliances the Linked User can access for a Subcontract.",
                      "items": {
                        "$ref": "#/components/schemas/SubcontractCompliance"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Viewpoint Spectrum)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Compliances the Linked User can access for a Subcontract.",
                      "items": {
                        "$ref": "#/components/schemas/SubcontractCompliance-3"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Viewpoint Vista)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Compliances the Linked User can access for a Subcontract.",
                      "items": {
                        "$ref": "#/components/schemas/SubcontractCompliance-4"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/400"
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      }
    },
    "/subcontracts/{subcontract_id}/compliances": {
      "parameters": [
        {
          "$ref": "#/components/parameters/AgaveApiVersion"
        },
        {
          "$ref": "#/components/parameters/AgaveIncludeSourceData"
        },
        {
          "$ref": "#/components/parameters/subcontract_id"
        }
      ],
      "get": {
        "operationId": "listSubcontractCompliances",
        "tags": [
          "subcontract-compliances"
        ],
        "summary": "All Compliances for One Subcontract",
        "description": "This endpoint retrieves a list of Subcontract Compliances a Linked User can access.",
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (CMiC)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Compliances the Linked User can access for a Subcontract.",
                      "items": {
                        "$ref": "#/components/schemas/SubcontractCompliance"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Viewpoint Spectrum)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Compliances the Linked User can access for a Subcontract.",
                      "items": {
                        "$ref": "#/components/schemas/SubcontractCompliance-3"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Viewpoint Vista)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Compliances the Linked User can access for a Subcontract.",
                      "items": {
                        "$ref": "#/components/schemas/SubcontractCompliance-4"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/400"
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      },
      "post": {
        "operationId": "newSubcontractCompliances",
        "tags": [
          "subcontract-compliances"
        ],
        "summary": "Subcontract Compliance",
        "description": "This endpoint creates Subcontract Compliances.\n",
        "requestBody": {
          "content": {
            "application/json (CMiC)": {
              "schema": {
                "type": "object",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewSubcontractCompliance"
                  }
                ]
              }
            },
            "application/json (Viewpoint Vista)": {
              "schema": {
                "type": "object",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewSubcontractCompliance-2"
                  }
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (CMiC)": {
                "schema": {
                  "$ref": "#/components/schemas/SubcontractCompliance"
                }
              },
              "application/json (Viewpoint Spectrum)": {
                "schema": {
                  "$ref": "#/components/schemas/SubcontractCompliance-3"
                }
              },
              "application/json (Viewpoint Vista)": {
                "schema": {
                  "$ref": "#/components/schemas/SubcontractCompliance-4"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/400"
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      }
    },
    "/subcontracts/{subcontract_id}/compliances/{id}": {
      "parameters": [
        {
          "$ref": "#/components/parameters/AgaveApiVersion"
        },
        {
          "$ref": "#/components/parameters/AgaveIncludeSourceData"
        },
        {
          "$ref": "#/components/parameters/subcontract_id"
        },
        {
          "name": "id",
          "in": "path",
          "description": "The UUID of the Compliance assigned by Agave.",
          "required": true,
          "schema": {
            "type": "string",
            "format": "uuid"
          }
        }
      ],
      "get": {
        "operationId": "getSubcontractCompliance",
        "tags": [
          "subcontract-compliances"
        ],
        "summary": "One Subcontract Compliance",
        "description": "This endpoint retrieves a Subcontract Compliance by its Agave UUID.",
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (CMiC)": {
                "schema": {
                  "$ref": "#/components/schemas/SubcontractCompliance"
                }
              },
              "application/json (Viewpoint Spectrum)": {
                "schema": {
                  "$ref": "#/components/schemas/SubcontractCompliance-3"
                }
              },
              "application/json (Viewpoint Vista)": {
                "schema": {
                  "$ref": "#/components/schemas/SubcontractCompliance-4"
                }
              }
            }
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "404": {
            "$ref": "#/components/responses/404"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      },
      "put": {
        "operationId": "updateSubcontractCompliance",
        "tags": [
          "subcontract-compliances"
        ],
        "summary": "One Subcontract Compliance",
        "description": "This endpoint updates a Subcontract Compliance by its Agave UUID.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewVendorCompliance"
                  },
                  {
                    "required": [
                      "id"
                    ]
                  }
                ]
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (CMiC)": {
                "schema": {
                  "$ref": "#/components/schemas/SubcontractCompliance"
                }
              },
              "application/json (Viewpoint Spectrum)": {
                "schema": {
                  "$ref": "#/components/schemas/SubcontractCompliance-3"
                }
              },
              "application/json (Viewpoint Vista)": {
                "schema": {
                  "$ref": "#/components/schemas/SubcontractCompliance-4"
                }
              }
            }
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "404": {
            "$ref": "#/components/responses/404"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      },
      "delete": {
        "operationId": "deleteSubcontractCompliance",
        "tags": [
          "subcontract-compliances"
        ],
        "summary": "One Subcontract Compliance",
        "description": "This endpoint deletes a Subcontract Compliance by its Agave UUID.",
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (CMiC)": {
                "schema": {
                  "$ref": "#/components/schemas/SubcontractCompliance"
                }
              },
              "application/json (Viewpoint Spectrum)": {
                "schema": {
                  "$ref": "#/components/schemas/SubcontractCompliance-3"
                }
              },
              "application/json (Viewpoint Vista)": {
                "schema": {
                  "$ref": "#/components/schemas/SubcontractCompliance-4"
                }
              }
            }
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "404": {
            "$ref": "#/components/responses/404"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      }
    },
    "/subcontract-claims": {
      "parameters": [
        {
          "$ref": "#/components/parameters/AgaveApiVersion"
        },
        {
          "$ref": "#/components/parameters/AgaveIncludeSourceData"
        },
        {
          "$ref": "#/components/parameters/RequiredProjectId"
        },
        {
          "$ref": "#/components/parameters/Expand"
        }
      ],
      "get": {
        "operationId": "listSubcontractClaims",
        "tags": [
          "subcontract-claims"
        ],
        "summary": "All Subcontract Claims",
        "description": "This endpoint retrieves a list of Subcontract Claims a Linked User can access.\n",
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (Procore)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Subcontract CLaims a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/SubcontractClaim-2"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Viewpoint Vista)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Subcontract CLaims a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/SubcontractClaim-3"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              }
            }
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "404": {
            "$ref": "#/components/responses/404"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      },
      "post": {
        "operationId": "newSubcontractClaims",
        "tags": [
          "subcontract-claims"
        ],
        "summary": "Subcontract Claim",
        "description": "This endpoint creates Subcontract Claims.\n",
        "requestBody": {
          "content": {
            "application/json (Viewpoint Vista)": {
              "schema": {
                "type": "object",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewSubcontractClaim"
                  }
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (Procore)": {
                "schema": {
                  "$ref": "#/components/schemas/SubcontractClaim-2"
                }
              },
              "application/json (Viewpoint Vista)": {
                "schema": {
                  "$ref": "#/components/schemas/SubcontractClaim-3"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/400"
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      }
    },
    "/subcontract-claims/{subcontract_claim_id}/line-items": {
      "parameters": [
        {
          "$ref": "#/components/parameters/AgaveApiVersion"
        },
        {
          "$ref": "#/components/parameters/AgaveIncludeSourceData"
        },
        {
          "$ref": "#/components/parameters/RequiredProjectId"
        },
        {
          "$ref": "#/components/parameters/subcontract_claim_id"
        }
      ],
      "get": {
        "operationId": "listSubcontractClaimLineItems",
        "tags": [
          "subcontract-claims"
        ],
        "summary": "All Subcontract Claim Line Items",
        "description": "This endpoint retrieves a list of Subcontract Claim Line Items a Linked User can access.\n",
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (Procore)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Subcontract Claim Line Items a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/SubcontractClaimLineItem-2"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Viewpoint Vista)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Subcontract Claim Line Items a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/SubcontractClaimLineItem-3"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              }
            }
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "404": {
            "$ref": "#/components/responses/404"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      }
    },
    "/subcontract-claims/{id}": {
      "parameters": [
        {
          "$ref": "#/components/parameters/AgaveApiVersion"
        },
        {
          "$ref": "#/components/parameters/AgaveIncludeSourceData"
        },
        {
          "$ref": "#/components/parameters/ProjectId"
        },
        {
          "name": "id",
          "in": "path",
          "description": "The UUID of the Subcontract assigned by Agave.",
          "required": true,
          "schema": {
            "type": "string",
            "format": "uuid"
          }
        }
      ],
      "get": {
        "operationId": "getSubcontractClaim",
        "tags": [
          "subcontract-claims"
        ],
        "summary": "One Subcontract Claim",
        "description": "This endpoint retrieves a Subcontract Claim by its Agave UUID.",
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (Procore)": {
                "schema": {
                  "$ref": "#/components/schemas/SubcontractClaim-2"
                }
              },
              "application/json (Viewpoint Vista)": {
                "schema": {
                  "$ref": "#/components/schemas/SubcontractClaim-3"
                }
              }
            }
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "404": {
            "$ref": "#/components/responses/404"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      },
      "put": {
        "operationId": "updateSubcontractClaim",
        "tags": [
          "subcontract-claims"
        ],
        "summary": "One Subcontract Claim",
        "description": "This endpoint updates an Subcontract Claim by its Agave UUID.",
        "requestBody": {
          "content": {
            "application/json (Viewpoint Vista)": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewSubcontractClaim"
                  },
                  {
                    "required": [
                      "id"
                    ]
                  }
                ]
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (Procore)": {
                "schema": {
                  "$ref": "#/components/schemas/SubcontractClaim-2"
                }
              },
              "application/json (Viewpoint Vista)": {
                "schema": {
                  "$ref": "#/components/schemas/SubcontractClaim-3"
                }
              }
            }
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "404": {
            "$ref": "#/components/responses/404"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      }
    },
    "/subcontract-claims/{subcontract_claim_id}/line-items/{id}": {
      "parameters": [
        {
          "$ref": "#/components/parameters/AgaveApiVersion"
        },
        {
          "$ref": "#/components/parameters/AgaveIncludeSourceData"
        },
        {
          "$ref": "#/components/parameters/ProjectId"
        },
        {
          "$ref": "#/components/parameters/subcontract_claim_id"
        },
        {
          "name": "id",
          "in": "path",
          "description": "The UUID of the Subcontract CLaim Line Item assigned by Agave.",
          "required": true,
          "schema": {
            "type": "string",
            "format": "uuid"
          }
        }
      ],
      "get": {
        "operationId": "getSubcontractClaimLineItem",
        "tags": [
          "subcontract-claims"
        ],
        "summary": "One Subcontract Claim Line Item",
        "description": "This endpoint retrieves a Subcontract Claim Line Item by its Agave UUID.",
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (Procore)": {
                "schema": {
                  "$ref": "#/components/schemas/SubcontractClaimLineItem-2"
                }
              },
              "application/json (Viewpoint Vista)": {
                "schema": {
                  "$ref": "#/components/schemas/SubcontractClaimLineItem-3"
                }
              }
            }
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "404": {
            "$ref": "#/components/responses/404"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      },
      "put": {
        "operationId": "updateSubcontractClaimLineItem",
        "tags": [
          "subcontract-claims"
        ],
        "summary": "One Subcontract Claim Line Item",
        "description": "This endpoint updates a Subcontract Claim Line Item by its Agave UUID.",
        "requestBody": {
          "content": {
            "application/json (Viewpoint Vista)": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewSubcontractClaimLineItem"
                  },
                  {
                    "required": [
                      "id"
                    ]
                  }
                ]
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (Procore)": {
                "schema": {
                  "$ref": "#/components/schemas/SubcontractClaim-2"
                }
              },
              "application/json (Viewpoint Vista)": {
                "schema": {
                  "$ref": "#/components/schemas/SubcontractClaim-3"
                }
              }
            }
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "404": {
            "$ref": "#/components/responses/404"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      }
    },
    "/sub-jobs": {
      "parameters": [
        {
          "$ref": "#/components/parameters/AgaveApiVersion"
        },
        {
          "$ref": "#/components/parameters/AgaveIncludeSourceData"
        },
        {
          "$ref": "#/components/parameters/ProjectId"
        }
      ],
      "get": {
        "operationId": "listSubJobs",
        "tags": [
          "sub-jobs"
        ],
        "summary": "All Sub Jobs",
        "description": "This endpoint retrieves a list of Sub Jobs a Linked User can access.\n\n**Note for Foundation**: The `Project-Id` header accepts `*` to return all Sub Jobs across all projects.\n\n**Note:** The `project-id` header is required for the following systems:\n  - Acumatica\n  - Procore\n  - Sage 100 Contractor\n",
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (Acumatica)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Sub Jobs (Project Tasks) a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/SubJob"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Foundation)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Sub Jobs a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/SubJob-3"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Procore)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Sub Jobs a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/SubJob-4"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Sage 100 Contractor)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Sub Jobs a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/SubJob-5"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Sage 300 CRE)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Sub Jobs a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/SubJob-6"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/400"
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      }
    },
    "/sub-jobs/{id}": {
      "parameters": [
        {
          "$ref": "#/components/parameters/AgaveApiVersion"
        },
        {
          "$ref": "#/components/parameters/AgaveIncludeSourceData"
        },
        {
          "$ref": "#/components/parameters/ProjectId"
        },
        {
          "name": "id",
          "in": "path",
          "description": "The UUID of the Sub Job assigned by Agave.",
          "required": true,
          "schema": {
            "type": "string",
            "format": "uuid"
          }
        }
      ],
      "get": {
        "operationId": "getSubJob",
        "tags": [
          "sub-jobs"
        ],
        "summary": "One Sub Job",
        "description": "This endpoint retrieves a Sub Job by its Agave UUID.\n\n**Note:** The `project-id` header is required for the following systems:\n  - Acumatica\n  - Procore\n  - Sage 100 Contractor\n",
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (Acumatica)": {
                "schema": {
                  "$ref": "#/components/schemas/SubJob"
                }
              },
              "application/json (Foundation)": {
                "schema": {
                  "$ref": "#/components/schemas/SubJob-3"
                }
              },
              "application/json (Procore)": {
                "schema": {
                  "$ref": "#/components/schemas/SubJob-4"
                }
              },
              "application/json (Sage 100 Contractor)": {
                "schema": {
                  "$ref": "#/components/schemas/SubJob-5"
                }
              },
              "application/json (Sage 300 CRE)": {
                "schema": {
                  "$ref": "#/components/schemas/SubJob-6"
                }
              }
            }
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "404": {
            "$ref": "#/components/responses/404"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      }
    },
    "/tax-codes": {
      "parameters": [
        {
          "$ref": "#/components/parameters/AgaveApiVersion"
        },
        {
          "$ref": "#/components/parameters/AgaveIncludeSourceData"
        },
        {
          "name": "type",
          "in": "query",
          "description": "This is an optional query parameter to filter the Tax Codes by their type.\n**Note:** for Viewpoint Spectrum, this query parameter is required (either \"Accounts Payable\" or \"Accounts Receivable\").\n",
          "required": false,
          "schema": {
            "type": "string",
            "example": "Sales"
          }
        }
      ],
      "get": {
        "operationId": "listTaxCodes",
        "tags": [
          "tax-codes"
        ],
        "summary": "All Tax Codes",
        "description": "This endpoint retrieves a list of Tax Codes a Linked User can access.\n",
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (Acumatica)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Tax Codes a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/TaxCode-2"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (CMiC)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Tax Codes a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/TaxCode-3"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (ComputerEase)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Tax Codes a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/TaxCode-4"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Foundation)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Tax Codes a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/TaxCode-5"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Procore)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Tax Codes a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/TaxCode-6"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Sage 100 Contractor)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Tax Codes a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/TaxCode-7"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Sage 300 CRE)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Tax Codes a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/TaxCode-8"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Sage Intacct)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Tax Codes a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/TaxCode-9"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (ServiceTitan)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Tax Codes a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/TaxCode-10"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Viewpoint Spectrum)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Tax Codes a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/TaxCode-11"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Viewpoint Vista)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Tax Codes a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/TaxCode-12"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/400"
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      }
    },
    "/tax-codes/{id}": {
      "parameters": [
        {
          "$ref": "#/components/parameters/AgaveApiVersion"
        },
        {
          "$ref": "#/components/parameters/AgaveIncludeSourceData"
        },
        {
          "name": "id",
          "in": "path",
          "description": "The UUID of the Tax Code assigned by Agave.",
          "required": true,
          "schema": {
            "type": "string",
            "format": "uuid"
          }
        }
      ],
      "get": {
        "operationId": "getTaxCode",
        "tags": [
          "tax-codes"
        ],
        "summary": "One Tax Code",
        "description": "This endpoint retrieves a Tax Code by its Agave UUID.\n",
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (Acumatica)": {
                "schema": {
                  "$ref": "#/components/schemas/TaxCode-2"
                }
              },
              "application/json (CMiC)": {
                "schema": {
                  "$ref": "#/components/schemas/TaxCode-3"
                }
              },
              "application/json (ComputerEase)": {
                "schema": {
                  "$ref": "#/components/schemas/TaxCode-4"
                }
              },
              "application/json (Foundation)": {
                "schema": {
                  "$ref": "#/components/schemas/TaxCode-5"
                }
              },
              "application/json (Procore)": {
                "schema": {
                  "$ref": "#/components/schemas/TaxCode-6"
                }
              },
              "application/json (Sage 100 Contractor)": {
                "schema": {
                  "$ref": "#/components/schemas/TaxCode-7"
                }
              },
              "application/json (Sage 300 CRE)": {
                "schema": {
                  "$ref": "#/components/schemas/TaxCode-8"
                }
              },
              "application/json (Sage Intacct)": {
                "schema": {
                  "$ref": "#/components/schemas/TaxCode-9"
                }
              },
              "application/json (ServiceTitan)": {
                "schema": {
                  "$ref": "#/components/schemas/TaxCode-10"
                }
              },
              "application/json (Viewpoint Spectrum)": {
                "schema": {
                  "$ref": "#/components/schemas/TaxCode-11"
                }
              },
              "application/json (Viewpoint Vista)": {
                "schema": {
                  "$ref": "#/components/schemas/TaxCode-12"
                }
              }
            }
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "404": {
            "$ref": "#/components/responses/404"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      }
    },
    "/timecard-entries": {
      "parameters": [
        {
          "$ref": "#/components/parameters/AgaveApiVersion"
        },
        {
          "$ref": "#/components/parameters/AgaveIncludeSourceData"
        },
        {
          "$ref": "#/components/parameters/ProjectId"
        }
      ],
      "get": {
        "operationId": "listTimecardEntries",
        "tags": [
          "timecard-entries"
        ],
        "summary": "All Timecard Entries",
        "description": "This endpoint retrieves a list of Timecard Entries a Linked User can access.",
        "parameters": [
          {
            "name": "status",
            "in": "query",
            "description": "This is an optional query parameter to filter the Timecard Entries by their status.\n\n**Note for Foundation, Sage 100 Contractor, and Viewpoint Spectrum**: This field is required.\n",
            "required": false,
            "schema": {
              "type": "string",
              "enum": [
                "Draft",
                "Pending",
                "Posted"
              ],
              "example": "Posted"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (CMiC)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Items the Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/TimecardEntry-2"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Foundation)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Items the Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/TimecardEntry-3"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Procore)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Items the Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/TimecardEntry-4"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (QuickBooks Desktop)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Items the Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/TimecardEntry-5"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (QuickBooks Online)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Items the Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/TimecardEntry-6"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Sage 100 Contractor)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Items the Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/TimecardEntry-7"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Sage Intacct)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Items the Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/TimecardEntry-8"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (ServiceTitan)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Items the Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/TimecardEntry-9"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Viewpoint Vista)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Items the Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/TimecardEntry-10"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Viewpoint Spectrum)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Items the Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/TimecardEntry-11"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/400"
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      },
      "post": {
        "operationId": "newTimecardEntry",
        "tags": [
          "timecard-entries"
        ],
        "summary": "Timecard Entry",
        "description": "This endpoint creates a Timecard Entry.\n\n**Note for Sage Intacct**: the Project-ID header is required.\n\n**Note for Viewpoint Vista**: explicitly pass `null` in the Project-Id header to create timecards that are not costed to a job (only a department).\n",
        "requestBody": {
          "content": {
            "application/json (Foundation)": {
              "schema": {
                "type": "object",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewTimecardEntry"
                  }
                ]
              }
            },
            "application/json (QuickBooks Online)": {
              "schema": {
                "type": "object",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewTimecardEntry-2"
                  }
                ]
              }
            },
            "application/json (QuickBooks Desktop)": {
              "schema": {
                "type": "object",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewTimecardEntry-3"
                  }
                ]
              }
            },
            "application/json (Sage 100 Contractor)": {
              "schema": {
                "type": "object",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewTimecardEntry-4"
                  }
                ]
              }
            },
            "application/json (Sage Intacct)": {
              "schema": {
                "type": "object",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewTimecardEntry-5"
                  }
                ]
              }
            },
            "application/json (Viewpoint Vista)": {
              "schema": {
                "type": "object",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewTimecardEntry-6"
                  }
                ]
              }
            },
            "application/json (Viewpoint Spectrum)": {
              "schema": {
                "type": "object",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewTimecardEntry-7"
                  }
                ]
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (CMiC)": {
                "schema": {
                  "$ref": "#/components/schemas/TimecardEntry-2"
                }
              },
              "application/json (Foundation)": {
                "schema": {
                  "$ref": "#/components/schemas/TimecardEntry-3"
                }
              },
              "application/json (Procore)": {
                "schema": {
                  "$ref": "#/components/schemas/TimecardEntry-4"
                }
              },
              "application/json (QuickBooks Desktop)": {
                "schema": {
                  "$ref": "#/components/schemas/TimecardEntry-5"
                }
              },
              "application/json (QuickBooks Online)": {
                "schema": {
                  "$ref": "#/components/schemas/TimecardEntry-6"
                }
              },
              "application/json (Sage 100 Contractor)": {
                "schema": {
                  "$ref": "#/components/schemas/TimecardEntry-7"
                }
              },
              "application/json (Sage Intacct)": {
                "schema": {
                  "$ref": "#/components/schemas/TimecardEntry-8"
                }
              },
              "application/json (ServiceTitan)": {
                "schema": {
                  "$ref": "#/components/schemas/TimecardEntry-9"
                }
              },
              "application/json (Viewpoint Vista)": {
                "schema": {
                  "$ref": "#/components/schemas/TimecardEntry-10"
                }
              },
              "application/json (Viewpoint Spectrum)": {
                "schema": {
                  "$ref": "#/components/schemas/TimecardEntry-11"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/400"
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      }
    },
    "/timecard-entries/{id}": {
      "parameters": [
        {
          "$ref": "#/components/parameters/AgaveApiVersion"
        },
        {
          "$ref": "#/components/parameters/AgaveIncludeSourceData"
        },
        {
          "$ref": "#/components/parameters/ProjectId"
        },
        {
          "name": "id",
          "in": "path",
          "description": "The UUID of the Timecard Entry assigned by Agave.",
          "required": true,
          "schema": {
            "type": "string",
            "format": "uuid"
          }
        }
      ],
      "get": {
        "operationId": "getTimecardEntry",
        "tags": [
          "timecard-entries"
        ],
        "summary": "One Timecard Entry",
        "description": "This endpoint retrieves a Timecard Entry by its Agave UUID.",
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (CMiC)": {
                "schema": {
                  "$ref": "#/components/schemas/TimecardEntry-2"
                }
              },
              "application/json (Foundation)": {
                "schema": {
                  "$ref": "#/components/schemas/TimecardEntry-3"
                }
              },
              "application/json (Procore)": {
                "schema": {
                  "$ref": "#/components/schemas/TimecardEntry-4"
                }
              },
              "application/json (QuickBooks Desktop)": {
                "schema": {
                  "$ref": "#/components/schemas/TimecardEntry-5"
                }
              },
              "application/json (QuickBooks Online)": {
                "schema": {
                  "$ref": "#/components/schemas/TimecardEntry-6"
                }
              },
              "application/json (Sage 100 Contractor)": {
                "schema": {
                  "$ref": "#/components/schemas/TimecardEntry-7"
                }
              },
              "application/json (Sage Intacct)": {
                "schema": {
                  "$ref": "#/components/schemas/TimecardEntry-8"
                }
              },
              "application/json (ServiceTitan)": {
                "schema": {
                  "$ref": "#/components/schemas/TimecardEntry-9"
                }
              },
              "application/json (Viewpoint Vista)": {
                "schema": {
                  "$ref": "#/components/schemas/TimecardEntry-10"
                }
              },
              "application/json (Viewpoint Spectrum)": {
                "schema": {
                  "$ref": "#/components/schemas/TimecardEntry-11"
                }
              }
            }
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "404": {
            "$ref": "#/components/responses/404"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      },
      "put": {
        "operationId": "updateTimecardEntry",
        "tags": [
          "timecard-entries"
        ],
        "summary": "One Timecard Entry",
        "description": "This endpoint updates a Timecard Entry by the Agave UUID provided.\n\n**Note for Sage Intacct**: the Project-Id header is required.\n\n**Note for Viewpoint Vista**: explicitly pass `null` in the Project-Id header to create timecards that are not costed to a job (only a department).\n",
        "requestBody": {
          "content": {
            "application/json (Foundation)": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewTimecardEntry"
                  },
                  {
                    "required": [
                      "id"
                    ]
                  }
                ]
              }
            },
            "application/json (QuickBooks Online)": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewTimecardEntry-2"
                  },
                  {
                    "required": [
                      "id"
                    ]
                  }
                ]
              }
            },
            "application/json (QuickBooks Desktop)": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewTimecardEntry-3"
                  },
                  {
                    "required": [
                      "id"
                    ]
                  }
                ]
              }
            },
            "application/json (Sage 100 Contractor)": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewTimecardEntry-4"
                  },
                  {
                    "required": [
                      "id"
                    ]
                  }
                ]
              }
            },
            "application/json (Sage Intacct)": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewTimecardEntry-5"
                  },
                  {
                    "required": [
                      "id"
                    ]
                  }
                ]
              }
            },
            "application/json (Viewpoint Vista)": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewTimecardEntry-6"
                  },
                  {
                    "required": [
                      "id"
                    ]
                  }
                ]
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (CMiC)": {
                "schema": {
                  "$ref": "#/components/schemas/TimecardEntry-2"
                }
              },
              "application/json (Foundation)": {
                "schema": {
                  "$ref": "#/components/schemas/TimecardEntry-3"
                }
              },
              "application/json (Procore)": {
                "schema": {
                  "$ref": "#/components/schemas/TimecardEntry-4"
                }
              },
              "application/json (QuickBooks Desktop)": {
                "schema": {
                  "$ref": "#/components/schemas/TimecardEntry-5"
                }
              },
              "application/json (QuickBooks Online)": {
                "schema": {
                  "$ref": "#/components/schemas/TimecardEntry-6"
                }
              },
              "application/json (Sage 100 Contractor)": {
                "schema": {
                  "$ref": "#/components/schemas/TimecardEntry-7"
                }
              },
              "application/json (Sage Intacct)": {
                "schema": {
                  "$ref": "#/components/schemas/TimecardEntry-8"
                }
              },
              "application/json (ServiceTitan)": {
                "schema": {
                  "$ref": "#/components/schemas/TimecardEntry-9"
                }
              },
              "application/json (Viewpoint Vista)": {
                "schema": {
                  "$ref": "#/components/schemas/TimecardEntry-10"
                }
              },
              "application/json (Viewpoint Spectrum)": {
                "schema": {
                  "$ref": "#/components/schemas/TimecardEntry-11"
                }
              }
            }
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "404": {
            "$ref": "#/components/responses/404"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      },
      "delete": {
        "operationId": "deleteTimecardEntry",
        "tags": [
          "timecard-entries"
        ],
        "summary": "One Timecard Entry",
        "description": "This endpoint can be used to delete a Timecard Entry by its Agave UUID.\n",
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (QuickBooks Online)": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/TimecardEntry-6"
                    },
                    {
                      "required": [
                        "id"
                      ]
                    }
                  ]
                }
              }
            }
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "404": {
            "$ref": "#/components/responses/404"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      }
    },
    "/wbs": {
      "parameters": [
        {
          "$ref": "#/components/parameters/AgaveApiVersion"
        },
        {
          "$ref": "#/components/parameters/AgaveIncludeSourceData"
        },
        {
          "$ref": "#/components/parameters/RequiredProjectId"
        }
      ],
      "get": {
        "operationId": "listWBS",
        "tags": [
          "wbs"
        ],
        "summary": "All WBS",
        "description": "This endpoint retrieves a list of WBS a Linked User can access.",
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (Autodesk Build)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of WBS a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/WBS-2"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (BIM 360)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of WBS a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/WBS-2"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/400"
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      },
      "post": {
        "operationId": "newWBS",
        "tags": [
          "wbs"
        ],
        "summary": "WBS",
        "description": "This endpoint creates WBS Codes.\n",
        "requestBody": {
          "content": {
            "application/json (Procore)": {
              "schema": {
                "type": "object",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewWBS"
                  }
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (Autodesk Build)": {
                "schema": {
                  "$ref": "#/components/schemas/WBS-2"
                }
              },
              "application/json (BIM 360)": {
                "schema": {
                  "$ref": "#/components/schemas/WBS-2"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/400"
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      }
    },
    "/wbs/{id}": {
      "parameters": [
        {
          "$ref": "#/components/parameters/AgaveApiVersion"
        },
        {
          "$ref": "#/components/parameters/AgaveIncludeSourceData"
        },
        {
          "$ref": "#/components/parameters/RequiredProjectId"
        },
        {
          "name": "id",
          "in": "path",
          "description": "The UUID of the WBS assigned by Agave.",
          "required": true,
          "schema": {
            "type": "string",
            "format": "uuid"
          }
        }
      ],
      "get": {
        "operationId": "getWBS",
        "tags": [
          "wbs"
        ],
        "summary": "One WBS",
        "description": "This endpoint retrieves a WBS by its Agave UUID.",
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (Autodesk Build)": {
                "schema": {
                  "$ref": "#/components/schemas/WBS-2"
                }
              },
              "application/json (BIM 360)": {
                "schema": {
                  "$ref": "#/components/schemas/WBS-2"
                }
              }
            }
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "404": {
            "$ref": "#/components/responses/404"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      },
      "put": {
        "operationId": "updateWBS",
        "tags": [
          "wbs"
        ],
        "summary": "One WBS",
        "description": "This endpoint updates a WBS code by its Agave UUID.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewWBS-2"
                  },
                  {
                    "required": [
                      "id"
                    ]
                  }
                ]
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (Autodesk Build)": {
                "schema": {
                  "$ref": "#/components/schemas/WBS-2"
                }
              },
              "application/json (BIM 360)": {
                "schema": {
                  "$ref": "#/components/schemas/WBS-2"
                }
              }
            }
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "404": {
            "$ref": "#/components/responses/404"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      }
    },
    "/wbs-segments": {
      "parameters": [
        {
          "$ref": "#/components/parameters/AgaveApiVersion"
        },
        {
          "$ref": "#/components/parameters/AgaveIncludeSourceData"
        },
        {
          "$ref": "#/components/parameters/RequiredProjectId"
        }
      ],
      "get": {
        "operationId": "listWBSSegments",
        "tags": [
          "wbs-segments"
        ],
        "summary": "All WBS Segments",
        "description": "This endpoint retrieves a list of WBS Segments a Linked User can access.",
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (Autodesk Build)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of WBS Segments a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/WBSSegment-2"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (BIM 360)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of WBS Segments a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/WBSSegment-2"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Procore)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of WBS Segments a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/WBSSegment-3"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/400"
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      },
      "post": {
        "operationId": "newWBSSegment",
        "tags": [
          "wbs-segments"
        ],
        "summary": "WBS Segment",
        "description": "This endpoint creates WBS Segments.\n",
        "requestBody": {
          "content": {
            "application/json (Autodesk Build)": {
              "schema": {
                "type": "object",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewWBSSegment-2"
                  }
                ]
              }
            },
            "application/json (BIM 360)": {
              "schema": {
                "type": "object",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewWBSSegment-2"
                  }
                ]
              }
            },
            "application/json (Procore)": {
              "schema": {
                "type": "object",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewWBSSegment-3"
                  }
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (Autodesk Build)": {
                "schema": {
                  "$ref": "#/components/schemas/WBSSegment-2"
                }
              },
              "application/json (BIM 360)": {
                "schema": {
                  "$ref": "#/components/schemas/WBSSegment-2"
                }
              },
              "application/json (Procore)": {
                "schema": {
                  "$ref": "#/components/schemas/WBSSegment-3"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/400"
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      }
    },
    "/wbs-segments/{id}": {
      "parameters": [
        {
          "$ref": "#/components/parameters/AgaveApiVersion"
        },
        {
          "$ref": "#/components/parameters/AgaveIncludeSourceData"
        },
        {
          "$ref": "#/components/parameters/RequiredProjectId"
        },
        {
          "name": "id",
          "in": "path",
          "description": "The UUID of the WBS Segment assigned by Agave.",
          "required": true,
          "schema": {
            "type": "string",
            "format": "uuid"
          }
        }
      ],
      "get": {
        "operationId": "getWBSSegment",
        "tags": [
          "wbs-segments"
        ],
        "summary": "One WBS Segment",
        "description": "This endpoint retrieves a WBS Segment by its Agave UUID.",
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (Autodesk Build)": {
                "schema": {
                  "$ref": "#/components/schemas/WBSSegment-2"
                }
              },
              "application/json (BIM 360)": {
                "schema": {
                  "$ref": "#/components/schemas/WBSSegment-2"
                }
              },
              "application/json (Procore)": {
                "schema": {
                  "$ref": "#/components/schemas/WBSSegment-3"
                }
              }
            }
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "404": {
            "$ref": "#/components/responses/404"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      },
      "put": {
        "operationId": "updateWBSSegment",
        "tags": [
          "wbs-segments"
        ],
        "summary": "One WBS Segment",
        "description": "This endpoint updates a WBS Segment by its Agave UUID.",
        "requestBody": {
          "content": {
            "application/json (Autodesk Build)": {
              "schema": {
                "type": "object",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewWBSSegment-2"
                  }
                ]
              }
            },
            "application/json (BIM 360)": {
              "schema": {
                "type": "object",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewWBSSegment-2"
                  }
                ]
              }
            },
            "application/json (Procore)": {
              "schema": {
                "type": "object",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewWBSSegment-3"
                  }
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (Autodesk Build)": {
                "schema": {
                  "$ref": "#/components/schemas/WBSSegment-2"
                }
              },
              "application/json (BIM 360)": {
                "schema": {
                  "$ref": "#/components/schemas/WBSSegment-2"
                }
              },
              "application/json (Procore)": {
                "schema": {
                  "$ref": "#/components/schemas/WBSSegment-3"
                }
              }
            }
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "404": {
            "$ref": "#/components/responses/404"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      }
    },
    "/wbs-segments/{wbs_segment_id}/items": {
      "parameters": [
        {
          "$ref": "#/components/parameters/AgaveApiVersion"
        },
        {
          "$ref": "#/components/parameters/AgaveIncludeSourceData"
        },
        {
          "$ref": "#/components/parameters/RequiredProjectId"
        },
        {
          "$ref": "#/components/parameters/wbs_segment_id"
        }
      ],
      "get": {
        "operationId": "listWBSSegmentItems",
        "tags": [
          "wbs-segment-items"
        ],
        "summary": "All WBS Segment Items",
        "description": "This endpoint retrieves a list of WBS Segment Items a Linked User can access.",
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (Autodesk Build)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of WBS Segment Items a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/WBSSegmentItem-2"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (BIM 360)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of WBS Segment Items a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/WBSSegmentItem-2"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/400"
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      },
      "post": {
        "operationId": "newWBSSegmentItem",
        "tags": [
          "wbs-segment-items"
        ],
        "summary": "WBS Segment Item",
        "description": "This endpoint creates WBS Segment Items.\n",
        "requestBody": {
          "content": {
            "application/json (Autodesk Build)": {
              "schema": {
                "type": "object",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewWBSSegmentItem-2"
                  }
                ]
              }
            },
            "application/json (BIM 360)": {
              "schema": {
                "type": "object",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewWBSSegmentItem-2"
                  }
                ]
              }
            },
            "application/json (Procore)": {
              "schema": {
                "type": "object",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewWBSSegmentItem-2"
                  }
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (Autodesk Build)": {
                "schema": {
                  "$ref": "#/components/schemas/WBSSegmentItem-2"
                }
              },
              "application/json (BIM 360)": {
                "schema": {
                  "$ref": "#/components/schemas/WBSSegmentItem-2"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/400"
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      }
    },
    "/wbs-segments/{wbs_segment_id}/items/{id}": {
      "parameters": [
        {
          "$ref": "#/components/parameters/AgaveApiVersion"
        },
        {
          "$ref": "#/components/parameters/AgaveIncludeSourceData"
        },
        {
          "$ref": "#/components/parameters/RequiredProjectId"
        },
        {
          "$ref": "#/components/parameters/wbs_segment_id"
        },
        {
          "name": "id",
          "in": "path",
          "description": "The UUID of the WBS Segment Item assigned by Agave.",
          "required": true,
          "schema": {
            "type": "string",
            "format": "uuid"
          }
        }
      ],
      "get": {
        "operationId": "getWBSSegmentItem",
        "tags": [
          "wbs-segment-items"
        ],
        "summary": "One WBS Segment Item",
        "description": "This endpoint retrieves a WBS Segment Item by its Agave UUID.",
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (Autodesk Build)": {
                "schema": {
                  "$ref": "#/components/schemas/WBSSegmentItem-2"
                }
              },
              "application/json (BIM 360)": {
                "schema": {
                  "$ref": "#/components/schemas/WBSSegmentItem-2"
                }
              }
            }
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "404": {
            "$ref": "#/components/responses/404"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      },
      "put": {
        "operationId": "updateWBSSegmentItem",
        "tags": [
          "wbs-segment-items"
        ],
        "summary": "One WBS Segment Item",
        "description": "This endpoint updates a WBS Segment Item by its Agave UUID.",
        "requestBody": {
          "content": {
            "application/json (Autodesk Build)": {
              "schema": {
                "type": "object",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewWBSSegmentItem-2"
                  }
                ]
              }
            },
            "application/json (BIM 360)": {
              "schema": {
                "type": "object",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewWBSSegmentItem-2"
                  }
                ]
              }
            },
            "application/json (Procore)": {
              "schema": {
                "type": "object",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewWBSSegmentItem-2"
                  }
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (Autodesk Build)": {
                "schema": {
                  "$ref": "#/components/schemas/WBSSegmentItem-2"
                }
              },
              "application/json (BIM 360)": {
                "schema": {
                  "$ref": "#/components/schemas/WBSSegmentItem-2"
                }
              }
            }
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "404": {
            "$ref": "#/components/responses/404"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      }
    },
    "/work-orders": {
      "parameters": [
        {
          "$ref": "#/components/parameters/AgaveApiVersion"
        },
        {
          "$ref": "#/components/parameters/AgaveIncludeSourceData"
        },
        {
          "$ref": "#/components/parameters/ProjectId"
        }
      ],
      "get": {
        "operationId": "listWorkOrders",
        "tags": [
          "work-orders"
        ],
        "summary": "All Work Orders",
        "description": "This endpoint retrieves a list of Work Orders a Linked User can access.\n",
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (Sage 100 Contractor)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "The list of Work Orders a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/WorkOrder-2"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Viewpoint Spectrum)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "The list of Work Orders a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/WorkOrder-3"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Viewpoint Vista)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "The list of Work Orders a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/WorkOrder-4"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              }
            }
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "404": {
            "$ref": "#/components/responses/404"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      },
      "post": {
        "operationId": "newWorkOrders",
        "tags": [
          "work-orders"
        ],
        "summary": "Work Order",
        "description": "This endpoint creates Work Orders.\n",
        "requestBody": {
          "content": {
            "application/json (Sage 100 Contractor)": {
              "schema": {
                "type": "object",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewWorkOrder-2"
                  }
                ]
              }
            },
            "application/json (Viewpoint Spectrum)": {
              "schema": {
                "type": "object",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewWorkOrder-3"
                  }
                ]
              }
            },
            "application/json (Viewpoint Vista)": {
              "schema": {
                "type": "object",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewWorkOrder"
                  }
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (Sage 100 Contractor)": {
                "schema": {
                  "$ref": "#/components/schemas/WorkOrder-2"
                }
              },
              "application/json (Viewpoint Spectrum)": {
                "schema": {
                  "$ref": "#/components/schemas/WorkOrder-3"
                }
              },
              "application/json (Viewpoint Vista)": {
                "schema": {
                  "$ref": "#/components/schemas/WorkOrder-4"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/400"
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      }
    },
    "/work-orders/{id}": {
      "parameters": [
        {
          "$ref": "#/components/parameters/AgaveApiVersion"
        },
        {
          "$ref": "#/components/parameters/AgaveIncludeSourceData"
        },
        {
          "$ref": "#/components/parameters/ProjectId"
        },
        {
          "name": "id",
          "in": "path",
          "description": "The UUID of the Work Order assigned by Agave.",
          "required": true,
          "schema": {
            "type": "string",
            "format": "uuid"
          }
        }
      ],
      "get": {
        "operationId": "getWorkOrder",
        "tags": [
          "work-orders"
        ],
        "summary": "One Work Order",
        "description": "This endpoint retrieves a Work Order by the Agave UUID.",
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (Sage 100 Contractor)": {
                "schema": {
                  "$ref": "#/components/schemas/WorkOrder-2"
                }
              },
              "application/json (Viewpoint Spectrum)": {
                "schema": {
                  "$ref": "#/components/schemas/WorkOrder-3"
                }
              },
              "application/json (Viewpoint Vista)": {
                "schema": {
                  "$ref": "#/components/schemas/WorkOrder-4"
                }
              }
            }
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "404": {
            "$ref": "#/components/responses/404"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      },
      "put": {
        "operationId": "updateWorkOrder",
        "tags": [
          "work-orders"
        ],
        "summary": "One Work Order",
        "description": "This endpoint updates a Work Order by its Agave UUID.",
        "requestBody": {
          "content": {
            "application/json (Sage 100 Contractor)": {
              "schema": {
                "type": "object",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewWorkOrder-2"
                  }
                ]
              }
            },
            "application/json (Viewpoint Spectrum)": {
              "schema": {
                "type": "object",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewWorkOrder-3"
                  }
                ]
              }
            },
            "application/json (Viewpoint Vista)": {
              "schema": {
                "type": "object",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewWorkOrder"
                  }
                ]
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (Sage 100 Contractor)": {
                "schema": {
                  "$ref": "#/components/schemas/WorkOrder-2"
                }
              },
              "application/json (Viewpoint Spectrum)": {
                "schema": {
                  "$ref": "#/components/schemas/WorkOrder-3"
                }
              },
              "application/json (Viewpoint Vista)": {
                "schema": {
                  "$ref": "#/components/schemas/WorkOrder-4"
                }
              }
            }
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "404": {
            "$ref": "#/components/responses/404"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      }
    },
    "/checklists": {
      "parameters": [
        {
          "$ref": "#/components/parameters/AgaveApiVersion"
        },
        {
          "$ref": "#/components/parameters/AgaveIncludeSourceData"
        },
        {
          "$ref": "#/components/parameters/RequiredProjectId"
        }
      ],
      "get": {
        "operationId": "listChecklists",
        "tags": [
          "checklists"
        ],
        "summary": "All Checklist",
        "description": "This endpoint retrieves a list of Checklists a Linked User can access for a Construction Project.",
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (BIM 360)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "The list of all Checklists on a Construction Project.",
                      "items": {
                        "$ref": "#/components/schemas/Checklist-2"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/400"
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      }
    },
    "/checklists/{id}": {
      "parameters": [
        {
          "$ref": "#/components/parameters/AgaveApiVersion"
        },
        {
          "$ref": "#/components/parameters/AgaveIncludeSourceData"
        },
        {
          "$ref": "#/components/parameters/RequiredProjectId"
        },
        {
          "name": "id",
          "in": "path",
          "description": "The UUID of the Checklist assigned by Agave.",
          "required": true,
          "schema": {
            "type": "string",
            "format": "uuid"
          }
        }
      ],
      "get": {
        "operationId": "getChecklist",
        "tags": [
          "checklists"
        ],
        "summary": "One Checklist",
        "description": "This endpoint retrieves a Checklist by its Agave UUID.",
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (BIM 360)": {
                "schema": {
                  "$ref": "#/components/schemas/Checklist-2"
                }
              }
            }
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "404": {
            "$ref": "#/components/responses/404"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      }
    },
    "/checklist-templates": {
      "parameters": [
        {
          "$ref": "#/components/parameters/AgaveApiVersion"
        },
        {
          "$ref": "#/components/parameters/AgaveIncludeSourceData"
        },
        {
          "$ref": "#/components/parameters/RequiredProjectId"
        }
      ],
      "get": {
        "operationId": "listChecklistTemplates",
        "tags": [
          "checklist-templates"
        ],
        "summary": "All Checklist Templates",
        "description": "This endpoint retrieves a list of Checklist Templates a Linked User can access for a Construction Project.",
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (BIM 360)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "The list of all Checklist Templates on a Construction Project.",
                      "items": {
                        "$ref": "#/components/schemas/ChecklistTemplate-2"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/400"
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      }
    },
    "/checklist-templates/{id}": {
      "parameters": [
        {
          "$ref": "#/components/parameters/AgaveApiVersion"
        },
        {
          "$ref": "#/components/parameters/AgaveIncludeSourceData"
        },
        {
          "$ref": "#/components/parameters/RequiredProjectId"
        },
        {
          "name": "id",
          "in": "path",
          "description": "The UUID of the Checklist Template assigned by Agave.",
          "required": true,
          "schema": {
            "type": "string",
            "format": "uuid"
          }
        }
      ],
      "get": {
        "operationId": "getChecklistTemplate",
        "tags": [
          "checklist-templates"
        ],
        "summary": "One Checklist Template",
        "description": "This endpoint retrieves a Checklist Template by its Agave UUID.",
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (BIM 360)": {
                "schema": {
                  "$ref": "#/components/schemas/ChecklistTemplate-2"
                }
              }
            }
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "404": {
            "$ref": "#/components/responses/404"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      }
    },
    "/contacts": {
      "parameters": [
        {
          "$ref": "#/components/parameters/AgaveApiVersion"
        },
        {
          "$ref": "#/components/parameters/AgaveIncludeSourceData"
        },
        {
          "$ref": "#/components/parameters/ProjectId"
        }
      ],
      "get": {
        "operationId": "listContacts",
        "tags": [
          "contacts"
        ],
        "summary": "All Contacts",
        "description": "This endpoint retrieves a list of Contacts a Linked User can access.\n\n**Note**: You can filter the list of Contacts by Project using the Project-ID header \nfor the following Source Systems:\n - Aconex\n - BIM 360\n - CMiC\n - Procore\n - Sage 300 CRE\n - Viewpoint Spectrum\n",
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (Aconex)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Contacts the Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/Contact-2"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Autodesk Build)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Contacts the Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/Contact-3"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (BIM 360)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Contacts the Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/Contact-3"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (CMiC)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Contacts the Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/Contact-4"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (CompanyCam)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Contacts the Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/Contact-5"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (HubSpot)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Contacts the Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/Contact-6"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Pipedrive)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Contacts the Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/Contact-7"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Procore)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Contacts the Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/Contact-8"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Sage 100 Contractor)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Contacts the Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/Contact-9"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Sage 300 CRE)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Contacts the Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/Contact-10"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (ServiceTitan)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Contacts the Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/Contact-11"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Viewpoint Vista)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Contacts the Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/Contact-12"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/400"
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      },
      "post": {
        "operationId": "newContact",
        "tags": [
          "contacts"
        ],
        "summary": "Contact",
        "description": "This endpoint creates Contacts.\n\nCurrently supported by:\n- HubSpot\n- Sage 100 Contractor (Customer Contacts)\n",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewContact"
                  }
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (Aconex)": {
                "schema": {
                  "$ref": "#/components/schemas/Contact-2"
                }
              },
              "application/json (Autodesk Build)": {
                "schema": {
                  "$ref": "#/components/schemas/Contact-3"
                }
              },
              "application/json (BIM360)": {
                "schema": {
                  "$ref": "#/components/schemas/Contact-3"
                }
              },
              "application/json (CMiC)": {
                "schema": {
                  "$ref": "#/components/schemas/Contact-4"
                }
              },
              "application/json (CompanyCam)": {
                "schema": {
                  "$ref": "#/components/schemas/Contact-5"
                }
              },
              "application/json (HubSpot)": {
                "schema": {
                  "$ref": "#/components/schemas/Contact-6"
                }
              },
              "application/json (Pipedrive)": {
                "schema": {
                  "$ref": "#/components/schemas/Contact-7"
                }
              },
              "application/json (Procore)": {
                "schema": {
                  "$ref": "#/components/schemas/Contact-8"
                }
              },
              "application/json (Sage 100 Contractor)": {
                "schema": {
                  "$ref": "#/components/schemas/Contact-9"
                }
              },
              "application/json (Sage 300 CRE)": {
                "schema": {
                  "$ref": "#/components/schemas/Contact-10"
                }
              },
              "application/json (Viewpoint Vista)": {
                "schema": {
                  "$ref": "#/components/schemas/Contact-12"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/400"
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      }
    },
    "/contacts/{id}": {
      "parameters": [
        {
          "$ref": "#/components/parameters/AgaveApiVersion"
        },
        {
          "$ref": "#/components/parameters/AgaveIncludeSourceData"
        },
        {
          "$ref": "#/components/parameters/ProjectId"
        },
        {
          "name": "id",
          "in": "path",
          "description": "The UUID of the Contact assigned by Agave.",
          "required": true,
          "schema": {
            "type": "string",
            "format": "uuid"
          }
        }
      ],
      "get": {
        "operationId": "getContact",
        "tags": [
          "contacts"
        ],
        "summary": "One Contact",
        "description": "This endpoint retrieves a Contact by its Agave UUID.",
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (Aconex)": {
                "schema": {
                  "$ref": "#/components/schemas/Contact-2"
                }
              },
              "application/json (Autodesk Build)": {
                "schema": {
                  "$ref": "#/components/schemas/Contact-3"
                }
              },
              "application/json (BIM360)": {
                "schema": {
                  "$ref": "#/components/schemas/Contact-3"
                }
              },
              "application/json (CMiC)": {
                "schema": {
                  "$ref": "#/components/schemas/Contact-4"
                }
              },
              "application/json (CompanyCam)": {
                "schema": {
                  "$ref": "#/components/schemas/Contact-5"
                }
              },
              "application/json (HubSpot)": {
                "schema": {
                  "$ref": "#/components/schemas/Contact-6"
                }
              },
              "application/json (Pipedrive)": {
                "schema": {
                  "$ref": "#/components/schemas/Contact-7"
                }
              },
              "application/json (Procore)": {
                "schema": {
                  "$ref": "#/components/schemas/Contact-8"
                }
              },
              "application/json (Sage 100 Contractor)": {
                "schema": {
                  "$ref": "#/components/schemas/Contact-9"
                }
              },
              "application/json (Sage 300 CRE)": {
                "schema": {
                  "$ref": "#/components/schemas/Contact-10"
                }
              },
              "application/json (Viewpoint Vista)": {
                "schema": {
                  "$ref": "#/components/schemas/Contact-12"
                }
              }
            }
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "404": {
            "$ref": "#/components/responses/404"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      },
      "put": {
        "operationId": "updateContact",
        "tags": [
          "contacts"
        ],
        "summary": "One Contact",
        "description": "This endpoint updates a Contact by its Agave UUID.\n\nCurrently supported by:\n- HubSpot\n",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewContact"
                  },
                  {
                    "required": [
                      "id"
                    ]
                  }
                ]
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (Aconex)": {
                "schema": {
                  "$ref": "#/components/schemas/Contact-2"
                }
              },
              "application/json (Autodesk Build)": {
                "schema": {
                  "$ref": "#/components/schemas/Contact-3"
                }
              },
              "application/json (BIM360)": {
                "schema": {
                  "$ref": "#/components/schemas/Contact-3"
                }
              },
              "application/json (CMiC)": {
                "schema": {
                  "$ref": "#/components/schemas/Contact-4"
                }
              },
              "application/json (CompanyCam)": {
                "schema": {
                  "$ref": "#/components/schemas/Contact-5"
                }
              },
              "application/json (HubSpot)": {
                "schema": {
                  "$ref": "#/components/schemas/Contact-6"
                }
              },
              "application/json (Pipedrive)": {
                "schema": {
                  "$ref": "#/components/schemas/Contact-7"
                }
              },
              "application/json (Procore)": {
                "schema": {
                  "$ref": "#/components/schemas/Contact-8"
                }
              },
              "application/json (Sage 100 Contractor)": {
                "schema": {
                  "$ref": "#/components/schemas/Contact-9"
                }
              },
              "application/json (Sage 300 CRE)": {
                "schema": {
                  "$ref": "#/components/schemas/Contact-10"
                }
              },
              "application/json (Viewpoint Vista)": {
                "schema": {
                  "$ref": "#/components/schemas/Contact-12"
                }
              }
            }
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "404": {
            "$ref": "#/components/responses/404"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      },
      "delete": {
        "operationId": "deleteContact",
        "tags": [
          "contacts"
        ],
        "summary": "One Contact",
        "description": "This endpoint can be used to delete a Contact by its Agave UUID. \n\nCurrently supported by:\n- HubSpot\n",
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (Aconex)": {
                "schema": {
                  "$ref": "#/components/schemas/Contact-2"
                }
              },
              "application/json (Autodesk Build)": {
                "schema": {
                  "$ref": "#/components/schemas/Contact-3"
                }
              },
              "application/json (BIM360)": {
                "schema": {
                  "$ref": "#/components/schemas/Contact-3"
                }
              },
              "application/json (CMiC)": {
                "schema": {
                  "$ref": "#/components/schemas/Contact-4"
                }
              },
              "application/json (CompanyCam)": {
                "schema": {
                  "$ref": "#/components/schemas/Contact-5"
                }
              },
              "application/json (HubSpot)": {
                "schema": {
                  "$ref": "#/components/schemas/Contact-6"
                }
              },
              "application/json (Pipedrive)": {
                "schema": {
                  "$ref": "#/components/schemas/Contact-7"
                }
              },
              "application/json (Procore)": {
                "schema": {
                  "$ref": "#/components/schemas/Contact-8"
                }
              },
              "application/json (Sage 100 Contractor)": {
                "schema": {
                  "$ref": "#/components/schemas/Contact-9"
                }
              },
              "application/json (Sage 300 CRE)": {
                "schema": {
                  "$ref": "#/components/schemas/Contact-10"
                }
              },
              "application/json (Viewpoint Vista)": {
                "schema": {
                  "$ref": "#/components/schemas/Contact-12"
                }
              }
            }
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "404": {
            "$ref": "#/components/responses/404"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      }
    },
    "/coordination-issues": {
      "parameters": [
        {
          "$ref": "#/components/parameters/AgaveApiVersion"
        },
        {
          "$ref": "#/components/parameters/AgaveIncludeSourceData"
        },
        {
          "$ref": "#/components/parameters/RequiredProjectId"
        }
      ],
      "get": {
        "operationId": "listCoordinationIssues",
        "tags": [
          "coordination-issues"
        ],
        "summary": "All Coordination Issues",
        "description": "This endpoint retrieves a list of Coordination Issues a Linked User can access for a Construction Project.",
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (BIMTrack)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "The list of Coordination Issues for a Linked User on a Construction Project.",
                      "items": {
                        "$ref": "#/components/schemas/CoordinationIssue-2"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (BIM 360 Field)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "The list of all Coordination Issues for a Linked User on a Construction Project.",
                      "items": {
                        "$ref": "#/components/schemas/CoordinationIssue-3"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Procore)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "The list of all Coordination Issues for a Linked User on a Construction Project.",
                      "items": {
                        "$ref": "#/components/schemas/CoordinationIssue-4"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/400"
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      },
      "post": {
        "operationId": "newCoordinationIssues",
        "tags": [
          "coordination-issues"
        ],
        "summary": "Coordination Issue",
        "description": "This endpoint creates Coordination Issues.\n\n**Note**: In order to create a Coordination Issue, you must use the `multipart/form-data` Content-Type when making the request. \nThe Content-Type is used to specify the media type of the resource.\n\nFor the `viewpoints` array to be a valid form parameter, you must name its properties like the following:\n```\n- title                    <-- a string\n- description              <-- a string\n- [...other properties...]\n- viewpoints[0][viewpoint] <-- a JSON object\n- viewpoints[0][image]     <-- an image\n- viewpoints[1][viewpoint] <-- a JSON object\n- viewpoints[2][viewpoint] <-- a JSON object\n- viewpoints[2][image]     <-- an image\n```\n\nIn the above example, we are creating 3 Viewpoints; the first and last have an image, while the second does not. Do not omit the\narray index (e.g., do not use `viewpoints[][viewpoint]`) if you have missing Viewpoint images.\n\nCreating multipart forms can be challenging in some programming languages and frameworks. If you need help, please contact us at support@agaveapi.com!\n",
        "requestBody": {
          "content": {
            "multipart/form-data": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewCoordinationIssue"
                  },
                  {
                    "required": [
                      "name"
                    ]
                  }
                ]
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (BIMTrack)": {
                "schema": {
                  "$ref": "#/components/schemas/CoordinationIssue-2"
                }
              },
              "application/json (BIM 360 Field)": {
                "schema": {
                  "$ref": "#/components/schemas/CoordinationIssue-3"
                }
              },
              "application/json (Procore)": {
                "schema": {
                  "$ref": "#/components/schemas/CoordinationIssue-4"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/400"
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      }
    },
    "/coordination-issues/{id}": {
      "parameters": [
        {
          "$ref": "#/components/parameters/AgaveApiVersion"
        },
        {
          "$ref": "#/components/parameters/AgaveIncludeSourceData"
        },
        {
          "$ref": "#/components/parameters/RequiredProjectId"
        },
        {
          "name": "id",
          "in": "path",
          "description": "The UUID of the Coordination Issue assigned by Agave.",
          "required": true,
          "schema": {
            "type": "string",
            "format": "uuid"
          }
        }
      ],
      "get": {
        "operationId": "getCoordinationIssue",
        "tags": [
          "coordination-issues"
        ],
        "summary": "One Coordination Issue",
        "description": "This endpoint retrieves a Coordination Issue by its Agave UUID.",
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (BIMTrack)": {
                "schema": {
                  "$ref": "#/components/schemas/CoordinationIssue-2"
                }
              },
              "application/json (BIM 360 Field)": {
                "schema": {
                  "$ref": "#/components/schemas/CoordinationIssue-3"
                }
              },
              "application/json (Procore)": {
                "schema": {
                  "$ref": "#/components/schemas/CoordinationIssue-4"
                }
              }
            }
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "404": {
            "$ref": "#/components/responses/404"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      },
      "put": {
        "operationId": "updateCoordinationIssue",
        "tags": [
          "coordination-issues"
        ],
        "summary": "One Coordination Issue",
        "description": "This endpoint updates a Coordination Issue by its Agave UUID.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewCoordinationIssue"
                  },
                  {
                    "required": [
                      "id"
                    ]
                  }
                ]
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (BIMTrack)": {
                "schema": {
                  "$ref": "#/components/schemas/CoordinationIssue-2"
                }
              },
              "application/json (BIM 360 Field)": {
                "schema": {
                  "$ref": "#/components/schemas/CoordinationIssue-3"
                }
              },
              "application/json (Procore)": {
                "schema": {
                  "$ref": "#/components/schemas/CoordinationIssue-4"
                }
              }
            }
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "404": {
            "$ref": "#/components/responses/404"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      },
      "delete": {
        "operationId": "deleteCoordinationIssue",
        "tags": [
          "coordination-issues"
        ],
        "summary": "One Coordination Issue",
        "description": "This endpoint can be used to delete a Coordination Issue by its Agave UUID. \n\nSource Systems currently supported include:\n- BIM Track (note, Agave API first archives the Coordination Issue, then deletes it)\n- Procore\n",
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (BIMTrack)": {
                "schema": {
                  "$ref": "#/components/schemas/CoordinationIssue-2"
                }
              },
              "application/json (BIM 360 Field)": {
                "schema": {
                  "$ref": "#/components/schemas/CoordinationIssue-3"
                }
              },
              "application/json (Procore)": {
                "schema": {
                  "$ref": "#/components/schemas/CoordinationIssue-4"
                }
              }
            }
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "404": {
            "$ref": "#/components/responses/404"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      }
    },
    "/coordination-issues/{coordination_issue_id}/attachments": {
      "parameters": [
        {
          "$ref": "#/components/parameters/AgaveApiVersion"
        },
        {
          "$ref": "#/components/parameters/AgaveIncludeSourceData"
        },
        {
          "$ref": "#/components/parameters/RequiredProjectId"
        },
        {
          "$ref": "#/components/parameters/coordination_issue_id"
        }
      ],
      "post": {
        "operationId": "newCoordinationIssueAttachments",
        "tags": [
          "coordination-issues"
        ],
        "summary": "Coordination Issue Attachment",
        "description": "This endpoint uploads Attachments to a Coordination Issue. \n\n**Note**: In order to upload an Attachment, you must use the `multipart/form-data` Content-Type when making the request. \nThe Content-Type is used to specify the media type of the resource.\n",
        "requestBody": {
          "content": {
            "multipart/form-data": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewAttachment"
                  },
                  {
                    "required": [
                      "name"
                    ]
                  }
                ]
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (BIMTrack)": {
                "schema": {
                  "$ref": "#/components/schemas/CoordinationIssue-2"
                }
              },
              "application/json (BIM 360 Field)": {
                "schema": {
                  "$ref": "#/components/schemas/CoordinationIssue-3"
                }
              },
              "application/json (Procore)": {
                "schema": {
                  "$ref": "#/components/schemas/CoordinationIssue-4"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/400"
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      }
    },
    "/coordination-issues/{coordination_issue_id}/viewpoints": {
      "parameters": [
        {
          "$ref": "#/components/parameters/AgaveApiVersion"
        },
        {
          "$ref": "#/components/parameters/AgaveIncludeSourceData"
        },
        {
          "$ref": "#/components/parameters/RequiredProjectId"
        },
        {
          "$ref": "#/components/parameters/coordination_issue_id"
        }
      ],
      "post": {
        "operationId": "newCoordinationIssueViewpoint",
        "tags": [
          "coordination-issues"
        ],
        "summary": "Coordination Issue Viewpoint",
        "description": "This endpoint creates a Viewpoint for a Coordination Issue. \n\n**Note**: In order to upload an image, you must use the `multipart/form-data` Content-Type when making the request. \n",
        "requestBody": {
          "content": {
            "multipart/form-data": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewViewpoint"
                  },
                  {
                    "required": [
                      "name"
                    ]
                  }
                ]
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (BIMTrack)": {
                "schema": {
                  "$ref": "#/components/schemas/CoordinationIssue-2"
                }
              },
              "application/json (BIM 360 Field)": {
                "schema": {
                  "$ref": "#/components/schemas/CoordinationIssue-3"
                }
              },
              "application/json (Procore)": {
                "schema": {
                  "$ref": "#/components/schemas/CoordinationIssue-4"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/400"
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      }
    },
    "/drawings": {
      "parameters": [
        {
          "$ref": "#/components/parameters/AgaveApiVersion"
        },
        {
          "$ref": "#/components/parameters/AgaveIncludeSourceData"
        },
        {
          "$ref": "#/components/parameters/RequiredProjectId"
        },
        {
          "name": "discipline",
          "in": "query",
          "description": "This is an optional query parameter to filter a list of Drawings by a discipline.",
          "required": false,
          "schema": {
            "type": "string"
          },
          "example": "Architectural"
        }
      ],
      "get": {
        "operationId": "listDrawings",
        "tags": [
          "drawings"
        ],
        "summary": "All Drawings",
        "description": "This endpoint retrieves a list of Drawings a Linked User can access for a Construction Project.",
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (Aconex)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "The list of Drawings a Linked User can access for a Construction Project.",
                      "items": {
                        "$ref": "#/components/schemas/Drawing-2"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Autodesk Build)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "The list of Drawings a Linked User can access for a Construction Project.",
                      "items": {
                        "$ref": "#/components/schemas/Drawing-3"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (BIM 360)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "The list of Drawings a Linked User can access for a Construction Project.",
                      "items": {
                        "$ref": "#/components/schemas/Drawing-4"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (PlanGrid)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "The list of Drawings a Linked User can access for a Construction Project.",
                      "items": {
                        "$ref": "#/components/schemas/Drawing-5"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Procore)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "The list of Drawings a Linked User can access for a Construction Project.",
                      "items": {
                        "$ref": "#/components/schemas/Drawing-6"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/400"
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      }
    },
    "/drawings/{id}": {
      "parameters": [
        {
          "$ref": "#/components/parameters/AgaveApiVersion"
        },
        {
          "$ref": "#/components/parameters/AgaveIncludeSourceData"
        },
        {
          "$ref": "#/components/parameters/RequiredProjectId"
        },
        {
          "name": "id",
          "in": "path",
          "description": "The UUID of the Drawing assigned by Agave.",
          "required": true,
          "schema": {
            "type": "string",
            "format": "uuid"
          }
        }
      ],
      "get": {
        "operationId": "getDrawing",
        "tags": [
          "drawings"
        ],
        "summary": "One Drawing",
        "description": "This endpoint retrieves a Drawing by its Agave UUID.",
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (Aconex)": {
                "schema": {
                  "$ref": "#/components/schemas/Drawing-2"
                }
              },
              "application/json (PlanGrid)": {
                "schema": {
                  "$ref": "#/components/schemas/Drawing-5"
                }
              },
              "application/json (Procore)": {
                "schema": {
                  "$ref": "#/components/schemas/Drawing-6"
                }
              }
            }
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "404": {
            "$ref": "#/components/responses/404"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      }
    },
    "/drawings/{drawing_id}/versions": {
      "parameters": [
        {
          "$ref": "#/components/parameters/AgaveApiVersion"
        },
        {
          "$ref": "#/components/parameters/AgaveIncludeSourceData"
        },
        {
          "$ref": "#/components/parameters/RequiredProjectId"
        },
        {
          "$ref": "#/components/parameters/drawing_id"
        }
      ],
      "get": {
        "operationId": "listDrawingVersions",
        "tags": [
          "drawing-versions"
        ],
        "summary": "All Drawing Versions",
        "description": "This endpoint retrieves a list of Drawing Versions a Linked User can access for a Construction Project.",
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (Aconex)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Drawing Versions a Linked User can access for a Construction Project.",
                      "items": {
                        "$ref": "#/components/schemas/DrawingVersion-2"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (PlanGrid)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Drawing Versions a Linked User can access for a Construction Project.",
                      "items": {
                        "$ref": "#/components/schemas/DrawingVersion-3"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Procore)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Drawing Versions a Linked User can access for a Construction Project.",
                      "items": {
                        "$ref": "#/components/schemas/DrawingVersion-4"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/400"
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      }
    },
    "/drawings/{drawing_id}/versions/{id}": {
      "parameters": [
        {
          "$ref": "#/components/parameters/AgaveApiVersion"
        },
        {
          "$ref": "#/components/parameters/AgaveIncludeSourceData"
        },
        {
          "$ref": "#/components/parameters/RequiredProjectId"
        },
        {
          "$ref": "#/components/parameters/drawing_id"
        },
        {
          "name": "id",
          "in": "path",
          "description": "The UUID of the Drawing Version assigned by Agave.",
          "required": true,
          "schema": {
            "type": "string",
            "format": "uuid"
          }
        }
      ],
      "get": {
        "operationId": "getDrawingVersion",
        "tags": [
          "drawing-versions"
        ],
        "summary": "One Drawing Version",
        "description": "This endpoint retrieves a Drawing Version a Linked User can access for a Construction Project.",
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (Aconex)": {
                "schema": {
                  "$ref": "#/components/schemas/DrawingVersion-2"
                }
              },
              "application/json (PlanGrid)": {
                "schema": {
                  "$ref": "#/components/schemas/DrawingVersion-3"
                }
              },
              "application/json (Procore)": {
                "schema": {
                  "$ref": "#/components/schemas/DrawingVersion-4"
                }
              }
            }
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "404": {
            "$ref": "#/components/responses/404"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      }
    },
    "/issues": {
      "parameters": [
        {
          "$ref": "#/components/parameters/AgaveApiVersion"
        },
        {
          "$ref": "#/components/parameters/AgaveIncludeSourceData"
        },
        {
          "$ref": "#/components/parameters/RequiredProjectId"
        }
      ],
      "get": {
        "operationId": "listIssues",
        "tags": [
          "issues"
        ],
        "summary": "All Issues",
        "description": "This endpoint retrieves a list of Issues a Linked User can access for a Construction Project.",
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (BIM 360)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "The list of all Issues on a Construction Project.",
                      "items": {
                        "$ref": "#/components/schemas/Issue-2"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/400"
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      }
    },
    "/issues/{id}": {
      "parameters": [
        {
          "$ref": "#/components/parameters/AgaveApiVersion"
        },
        {
          "$ref": "#/components/parameters/AgaveIncludeSourceData"
        },
        {
          "$ref": "#/components/parameters/RequiredProjectId"
        },
        {
          "name": "id",
          "in": "path",
          "description": "The UUID of the Issue assigned by Agave.",
          "required": true,
          "schema": {
            "type": "string",
            "format": "uuid"
          }
        }
      ],
      "get": {
        "operationId": "getIssue",
        "tags": [
          "issues"
        ],
        "summary": "One Issue",
        "description": "This endpoint retrieves a Issue by its Agave UUID.",
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (BIM 360)": {
                "schema": {
                  "$ref": "#/components/schemas/Issue-2"
                }
              }
            }
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "404": {
            "$ref": "#/components/responses/404"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      }
    },
    "/locations": {
      "parameters": [
        {
          "$ref": "#/components/parameters/AgaveApiVersion"
        },
        {
          "$ref": "#/components/parameters/AgaveIncludeSourceData"
        },
        {
          "$ref": "#/components/parameters/RequiredProjectId"
        }
      ],
      "get": {
        "operationId": "listLocations",
        "tags": [
          "locations"
        ],
        "summary": "All Locations",
        "description": "This endpoint retrieves a list of Locations a Linked User can access for a Construction Project.",
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (Autodesk Build)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "The list of Locations a Linked User can access on a Project.",
                      "items": {
                        "$ref": "#/components/schemas/Location-2"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (BIM 360)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "The list of Locations a Linked User can access on a Project.",
                      "items": {
                        "$ref": "#/components/schemas/Location-2"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Procore)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "The list of Locations a Linked User can access on a Project.",
                      "items": {
                        "$ref": "#/components/schemas/Location-3"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/400"
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      }
    },
    "/locations/{id}": {
      "parameters": [
        {
          "$ref": "#/components/parameters/AgaveApiVersion"
        },
        {
          "$ref": "#/components/parameters/AgaveIncludeSourceData"
        },
        {
          "$ref": "#/components/parameters/RequiredProjectId"
        },
        {
          "name": "id",
          "in": "path",
          "description": "The UUID of the Location assigned by Agave.",
          "required": true,
          "schema": {
            "type": "string",
            "format": "uuid"
          }
        }
      ],
      "get": {
        "operationId": "getLocation",
        "tags": [
          "locations"
        ],
        "summary": "One Location",
        "description": "This endpoint retrieves a Location by its Agave UUID.",
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (Autodesk Build)": {
                "schema": {
                  "$ref": "#/components/schemas/Location-2"
                }
              },
              "application/json (BIM 360)": {
                "schema": {
                  "$ref": "#/components/schemas/Location-2"
                }
              },
              "application/json (Procore)": {
                "schema": {
                  "$ref": "#/components/schemas/Location-3"
                }
              }
            }
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "404": {
            "$ref": "#/components/responses/404"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      }
    },
    "/observations": {
      "parameters": [
        {
          "$ref": "#/components/parameters/AgaveApiVersion"
        },
        {
          "$ref": "#/components/parameters/AgaveIncludeSourceData"
        },
        {
          "$ref": "#/components/parameters/RequiredProjectId"
        }
      ],
      "get": {
        "operationId": "listObservations",
        "tags": [
          "observations"
        ],
        "summary": "All Observations",
        "description": "This endpoint retrieves a list of Observations a LInked User can access for a Construction Project.",
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (Procore)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "The list of Observations a Linked User can access for a Construction Project.",
                      "items": {
                        "$ref": "#/components/schemas/Observation-2"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/400"
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      },
      "post": {
        "operationId": "newObservations",
        "tags": [
          "observations"
        ],
        "summary": "Observation",
        "description": "This endpoint creates Observations for a Construction Project.\n",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewObservation"
                  },
                  {
                    "required": [
                      "name"
                    ]
                  }
                ]
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Observation"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/400"
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      }
    },
    "/observations/{id}": {
      "parameters": [
        {
          "$ref": "#/components/parameters/AgaveApiVersion"
        },
        {
          "$ref": "#/components/parameters/AgaveIncludeSourceData"
        },
        {
          "$ref": "#/components/parameters/RequiredProjectId"
        },
        {
          "name": "id",
          "in": "path",
          "description": "The UUID of the Observation assigned by Agave.",
          "required": true,
          "schema": {
            "type": "string",
            "format": "uuid"
          }
        }
      ],
      "get": {
        "operationId": "getObservation",
        "tags": [
          "observations"
        ],
        "summary": "One Observation",
        "description": "This endpoint retrieves an Observation by its Agave UUID.",
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (Procore)": {
                "schema": {
                  "$ref": "#/components/schemas/Observation-2"
                }
              }
            }
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "404": {
            "$ref": "#/components/responses/404"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      },
      "put": {
        "operationId": "updateObservation",
        "tags": [
          "observations"
        ],
        "summary": "One Observation",
        "description": "This endpoint updates an Observation by its Agave UUID.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewObservation"
                  },
                  {
                    "required": [
                      "id"
                    ]
                  }
                ]
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Observation"
                }
              }
            }
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "404": {
            "$ref": "#/components/responses/404"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      }
    },
    "/observations/{observation_id}/attachments": {
      "parameters": [
        {
          "$ref": "#/components/parameters/AgaveApiVersion"
        },
        {
          "$ref": "#/components/parameters/AgaveIncludeSourceData"
        },
        {
          "$ref": "#/components/parameters/RequiredProjectId"
        },
        {
          "$ref": "#/components/parameters/observation_id"
        }
      ],
      "post": {
        "operationId": "newObservationAttachments",
        "tags": [
          "observations"
        ],
        "summary": "Observation Attachment",
        "description": "This endpoint uploads Attachments to an Observation. \n\n**Note**: In order to upload an Attachment, you must use the `multipart/form-data` Content-Type when making the request. \nThe Content-Type is used to specify the media type of the resource.\n",
        "requestBody": {
          "content": {
            "multipart/form-data": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewAttachment"
                  },
                  {
                    "required": [
                      "name"
                    ]
                  }
                ]
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (Procore)": {
                "schema": {
                  "$ref": "#/components/schemas/Observation-2"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/400"
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      }
    },
    "/projects": {
      "parameters": [
        {
          "$ref": "#/components/parameters/AgaveApiVersion"
        },
        {
          "$ref": "#/components/parameters/AgaveIncludeSourceData"
        },
        {
          "name": "expand",
          "in": "query",
          "description": "This is an optional query parameter to expand the list of fields returned for certain Source Systems. Agave API optionally includes this parameter because including it makes additional API requests on the backend to retrieve more data, which adds latency.\n\nWith Procore, setting `expand=1` for returns values for the `description` and `logo_url` fields.\n\nWith Autodesk Build, it's default to `1` for backward compatibility. Set `expand=0` to avoid making extra calls.\n",
          "required": false,
          "schema": {
            "type": "number",
            "enum": [
              0,
              1
            ]
          },
          "example": 1
        }
      ],
      "get": {
        "operationId": "listProjects",
        "tags": [
          "projects"
        ],
        "summary": "All Projects",
        "description": "This endpoint retrieves a list of Construction Projects a Linked User can access.",
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (Aconex)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "The list of Construction Projects a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/Project-2"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Acumatica)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "The list of Construction Projects a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/Project-3"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Autodesk Build)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "The list of Construction Projects a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/Project-4"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (BIM 360)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "The list of Construction Projects a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/Project-4"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (BIM 360 Field)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "The list of Construction Projects a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/Project-5"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (BIM Track)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "The list of Construction Projects a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/Project-6"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (COINS)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "The list of Construction Projects a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/Project-7"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Cheops)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "The list of Construction Projects a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/Project-8"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (CMiC)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "The list of Construction Projects a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/Project-9"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (CompanyCam)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "The list of Construction Projects a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/Project-10"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (ComputerEase)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "The list of Construction Projects a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/Project-11"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Fieldwire)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "The list of Construction Projects a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/Project-12"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Foundation)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "The list of Construction Projects a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/Project-13"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (HCSS HeavyJob)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "The list of Construction Projects a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/Project-14"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Jonas Premier)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "The list of Construction Projects a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/Project-8"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (PlanGrid)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "The list of Construction Projects a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/Project-15"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Procore)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "The list of Construction Projects a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/Project-16"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Sage 100 Contractor)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "The list of Construction Projects a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/Project-17"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Sage 300 CRE)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "The list of Construction Projects a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/Project-18"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Sage Intacct)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "The list of Construction Projects a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/Project-19"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Viewpoint Jobpac)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "The list of Construction Projects a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/Project-20"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Viewpoint Spectrum)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "The list of Construction Projects a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/Project-21"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Viewpoint Vista)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "The list of Construction Projects a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/Project-22"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/400"
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      },
      "post": {
        "operationId": "newProject",
        "tags": [
          "projects"
        ],
        "summary": "Project",
        "description": "This endpoint creates Projects.\n",
        "requestBody": {
          "content": {
            "application/json (Acumatica)": {
              "schema": {
                "type": "object",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewProject"
                  }
                ]
              }
            },
            "application/json (Autodesk Build)": {
              "schema": {
                "type": "object",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewProject-2"
                  }
                ]
              }
            },
            "application/json (CMiC)": {
              "schema": {
                "type": "object",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewProject-3"
                  }
                ]
              }
            },
            "application/json (Foundation)": {
              "schema": {
                "type": "object",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewProject-4"
                  }
                ]
              }
            },
            "application/json (HCSS HeavyJob)": {
              "schema": {
                "type": "object",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewProject-5"
                  }
                ]
              }
            },
            "application/json (InEight)": {
              "schema": {
                "type": "object",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewProject-6"
                  }
                ]
              }
            },
            "application/json (Procore)": {
              "schema": {
                "type": "object",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewProject-7"
                  }
                ]
              }
            },
            "application/json (Sage 100 Contractor)": {
              "schema": {
                "type": "object",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewProject-8"
                  }
                ]
              }
            },
            "application/json (Sage 300 CRE)": {
              "schema": {
                "type": "object",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewProject-9"
                  }
                ]
              }
            },
            "application/json (Viewpoint Jobpac)": {
              "schema": {
                "type": "object",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewProject-10"
                  }
                ]
              }
            },
            "application/json (Viewpoint Spectrum)": {
              "schema": {
                "type": "object",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewProject-11"
                  }
                ]
              }
            },
            "application/json (Viewpoint Vista)": {
              "schema": {
                "type": "object",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewProject-12"
                  }
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (Aconex)": {
                "schema": {
                  "$ref": "#/components/schemas/Project-2"
                }
              },
              "application/json (Acumatica)": {
                "schema": {
                  "$ref": "#/components/schemas/Project-3"
                }
              },
              "application/json (Autodesk Build)": {
                "schema": {
                  "$ref": "#/components/schemas/Project-4"
                }
              },
              "application/json (BIM 360)": {
                "schema": {
                  "$ref": "#/components/schemas/Project-4"
                }
              },
              "application/json (BIM 360 Field)": {
                "schema": {
                  "$ref": "#/components/schemas/Project-5"
                }
              },
              "application/json (BIM Track)": {
                "schema": {
                  "$ref": "#/components/schemas/Project-6"
                }
              },
              "application/json (COINS)": {
                "schema": {
                  "$ref": "#/components/schemas/Project-7"
                }
              },
              "application/json (Cheops)": {
                "schema": {
                  "$ref": "#/components/schemas/Project-8"
                }
              },
              "application/json (CMiC)": {
                "schema": {
                  "$ref": "#/components/schemas/Project-9"
                }
              },
              "application/json (CompanyCam)": {
                "schema": {
                  "$ref": "#/components/schemas/Project-10"
                }
              },
              "application/json (ComputerEase)": {
                "schema": {
                  "$ref": "#/components/schemas/Project-11"
                }
              },
              "application/json (Fieldwire)": {
                "schema": {
                  "$ref": "#/components/schemas/Project-12"
                }
              },
              "application/json (Foundation)": {
                "schema": {
                  "$ref": "#/components/schemas/Project-13"
                }
              },
              "application/json (HCSS HeavyJob)": {
                "schema": {
                  "$ref": "#/components/schemas/Project-14"
                }
              },
              "application/json (Jonas Premier)": {
                "schema": {
                  "$ref": "#/components/schemas/Project-8"
                }
              },
              "application/json (PlanGrid)": {
                "schema": {
                  "$ref": "#/components/schemas/Project-15"
                }
              },
              "application/json (Procore)": {
                "schema": {
                  "$ref": "#/components/schemas/Project-16"
                }
              },
              "application/json (Sage 100 Contractor)": {
                "schema": {
                  "$ref": "#/components/schemas/Project-17"
                }
              },
              "application/json (Sage 300 CRE)": {
                "schema": {
                  "$ref": "#/components/schemas/Project-18"
                }
              },
              "application/json (Sage Intacct)": {
                "schema": {
                  "$ref": "#/components/schemas/Project-19"
                }
              },
              "application/json (Viewpoint Jobpac)": {
                "schema": {
                  "$ref": "#/components/schemas/Project-20"
                }
              },
              "application/json (Viewpoint Spectrum)": {
                "schema": {
                  "$ref": "#/components/schemas/Project-21"
                }
              },
              "application/json (Viewpoint Vista)": {
                "schema": {
                  "$ref": "#/components/schemas/Project-22"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/400"
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      }
    },
    "/projects/{id}": {
      "parameters": [
        {
          "$ref": "#/components/parameters/AgaveApiVersion"
        },
        {
          "$ref": "#/components/parameters/AgaveIncludeSourceData"
        },
        {
          "name": "id",
          "in": "path",
          "description": "The UUID of the Construction Project assigned by Agave.",
          "required": true,
          "schema": {
            "type": "string",
            "format": "uuid"
          }
        }
      ],
      "get": {
        "operationId": "getProject",
        "tags": [
          "projects"
        ],
        "summary": "One Project",
        "description": "This endpoint retrieves a Construction Project by an Agave UUID.",
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (Aconex)": {
                "schema": {
                  "$ref": "#/components/schemas/Project-2"
                }
              },
              "application/json (Acumatica)": {
                "schema": {
                  "$ref": "#/components/schemas/Project-3"
                }
              },
              "application/json (Autodesk Build)": {
                "schema": {
                  "$ref": "#/components/schemas/Project-4"
                }
              },
              "application/json (BIM 360)": {
                "schema": {
                  "$ref": "#/components/schemas/Project-4"
                }
              },
              "application/json (BIM 360 Field)": {
                "schema": {
                  "$ref": "#/components/schemas/Project-5"
                }
              },
              "application/json (BIM Track)": {
                "schema": {
                  "$ref": "#/components/schemas/Project-6"
                }
              },
              "application/json (COINS)": {
                "schema": {
                  "$ref": "#/components/schemas/Project-7"
                }
              },
              "application/json (Cheops)": {
                "schema": {
                  "$ref": "#/components/schemas/Project-8"
                }
              },
              "application/json (CMiC)": {
                "schema": {
                  "$ref": "#/components/schemas/Project-9"
                }
              },
              "application/json (CompanyCam)": {
                "schema": {
                  "$ref": "#/components/schemas/Project-10"
                }
              },
              "application/json (ComputerEase)": {
                "schema": {
                  "$ref": "#/components/schemas/Project-11"
                }
              },
              "application/json (Fieldwire)": {
                "schema": {
                  "$ref": "#/components/schemas/Project-12"
                }
              },
              "application/json (Foundation)": {
                "schema": {
                  "$ref": "#/components/schemas/Project-13"
                }
              },
              "application/json (HCSS HeavyJob)": {
                "schema": {
                  "$ref": "#/components/schemas/Project-14"
                }
              },
              "application/json (Jonas Premier)": {
                "schema": {
                  "$ref": "#/components/schemas/Project-8"
                }
              },
              "application/json (PlanGrid)": {
                "schema": {
                  "$ref": "#/components/schemas/Project-15"
                }
              },
              "application/json (Procore)": {
                "schema": {
                  "$ref": "#/components/schemas/Project-16"
                }
              },
              "application/json (Sage 100 Contractor)": {
                "schema": {
                  "$ref": "#/components/schemas/Project-17"
                }
              },
              "application/json (Sage 300 CRE)": {
                "schema": {
                  "$ref": "#/components/schemas/Project-18"
                }
              },
              "application/json (Sage Intacct)": {
                "schema": {
                  "$ref": "#/components/schemas/Project-19"
                }
              },
              "application/json (Viewpoint Jobpac)": {
                "schema": {
                  "$ref": "#/components/schemas/Project-20"
                }
              },
              "application/json (Viewpoint Spectrum)": {
                "schema": {
                  "$ref": "#/components/schemas/Project-21"
                }
              },
              "application/json (Viewpoint Vista)": {
                "schema": {
                  "$ref": "#/components/schemas/Project-22"
                }
              }
            }
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "404": {
            "$ref": "#/components/responses/404"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      },
      "put": {
        "operationId": "updateProject",
        "tags": [
          "projects"
        ],
        "summary": "One Project",
        "description": "This endpoint updates a Project by its Agave UUID.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewProject-13"
                  },
                  {
                    "required": [
                      "id"
                    ]
                  }
                ]
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (Aconex)": {
                "schema": {
                  "$ref": "#/components/schemas/Project-2"
                }
              },
              "application/json (Acumatica)": {
                "schema": {
                  "$ref": "#/components/schemas/Project-3"
                }
              },
              "application/json (Autodesk Build)": {
                "schema": {
                  "$ref": "#/components/schemas/Project-4"
                }
              },
              "application/json (BIM 360)": {
                "schema": {
                  "$ref": "#/components/schemas/Project-4"
                }
              },
              "application/json (BIM 360 Field)": {
                "schema": {
                  "$ref": "#/components/schemas/Project-5"
                }
              },
              "application/json (BIM Track)": {
                "schema": {
                  "$ref": "#/components/schemas/Project-6"
                }
              },
              "application/json (COINS)": {
                "schema": {
                  "$ref": "#/components/schemas/Project-7"
                }
              },
              "application/json (Cheops)": {
                "schema": {
                  "$ref": "#/components/schemas/Project-8"
                }
              },
              "application/json (CMiC)": {
                "schema": {
                  "$ref": "#/components/schemas/Project-9"
                }
              },
              "application/json (CompanyCam)": {
                "schema": {
                  "$ref": "#/components/schemas/Project-10"
                }
              },
              "application/json (ComputerEase)": {
                "schema": {
                  "$ref": "#/components/schemas/Project-11"
                }
              },
              "application/json (Fieldwire)": {
                "schema": {
                  "$ref": "#/components/schemas/Project-12"
                }
              },
              "application/json (Foundation)": {
                "schema": {
                  "$ref": "#/components/schemas/Project-13"
                }
              },
              "application/json (HCSS HeavyJob)": {
                "schema": {
                  "$ref": "#/components/schemas/Project-14"
                }
              },
              "application/json (Jonas Premier)": {
                "schema": {
                  "$ref": "#/components/schemas/Project-8"
                }
              },
              "application/json (PlanGrid)": {
                "schema": {
                  "$ref": "#/components/schemas/Project-15"
                }
              },
              "application/json (Procore)": {
                "schema": {
                  "$ref": "#/components/schemas/Project-16"
                }
              },
              "application/json (Sage 100 Contractor)": {
                "schema": {
                  "$ref": "#/components/schemas/Project-17"
                }
              },
              "application/json (Sage 300 CRE)": {
                "schema": {
                  "$ref": "#/components/schemas/Project-18"
                }
              },
              "application/json (Sage Intacct)": {
                "schema": {
                  "$ref": "#/components/schemas/Project-19"
                }
              },
              "application/json (Viewpoint Jobpac)": {
                "schema": {
                  "$ref": "#/components/schemas/Project-20"
                }
              },
              "application/json (Viewpoint Spectrum)": {
                "schema": {
                  "$ref": "#/components/schemas/Project-21"
                }
              },
              "application/json (Viewpoint Vista)": {
                "schema": {
                  "$ref": "#/components/schemas/Project-22"
                }
              }
            }
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "404": {
            "$ref": "#/components/responses/404"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      }
    },
    "/rfis": {
      "parameters": [
        {
          "$ref": "#/components/parameters/AgaveApiVersion"
        },
        {
          "$ref": "#/components/parameters/AgaveIncludeSourceData"
        },
        {
          "$ref": "#/components/parameters/RequiredProjectId"
        }
      ],
      "get": {
        "operationId": "listRfis",
        "tags": [
          "rfis"
        ],
        "summary": "All RFIs",
        "description": "This endpoint retrieves a list of RFIs a Linked User can access for a Construction Project.",
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (Autodesk Build)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "The list of RFIs a Linked User can access on a Construction Project.",
                      "items": {
                        "$ref": "#/components/schemas/Rfi-2"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (BIM 360)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "The list of RFIs a Linked User can access on a Construction Project.",
                      "items": {
                        "$ref": "#/components/schemas/Rfi-2"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Procore)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "The list of RFIs a Linked User can access on a Construction Project.",
                      "items": {
                        "$ref": "#/components/schemas/Rfi-3"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/400"
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      },
      "post": {
        "operationId": "newRfi",
        "tags": [
          "rfis"
        ],
        "summary": "RFI",
        "description": "This endpoint creates RFIs for a Construction Project.\n",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewRfi"
                  },
                  {
                    "required": [
                      "name"
                    ]
                  }
                ]
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (Autodesk Build)": {
                "schema": {
                  "$ref": "#/components/schemas/Rfi-2"
                }
              },
              "application/json (BIM 360)": {
                "schema": {
                  "$ref": "#/components/schemas/Rfi-2"
                }
              },
              "application/json (Procore)": {
                "schema": {
                  "$ref": "#/components/schemas/Rfi-3"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/400"
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      }
    },
    "/rfis/{id}": {
      "parameters": [
        {
          "$ref": "#/components/parameters/AgaveApiVersion"
        },
        {
          "$ref": "#/components/parameters/AgaveIncludeSourceData"
        },
        {
          "$ref": "#/components/parameters/RequiredProjectId"
        },
        {
          "name": "id",
          "in": "path",
          "description": "The UUID of the RFI assigned by Agave.",
          "required": true,
          "schema": {
            "type": "string",
            "format": "uuid"
          }
        }
      ],
      "get": {
        "operationId": "getRfi",
        "tags": [
          "rfis"
        ],
        "summary": "One RFI",
        "description": "This endpoint retrieves an RFI by its Agave UUID.",
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (Autodesk Build)": {
                "schema": {
                  "$ref": "#/components/schemas/Rfi-2"
                }
              },
              "application/json (BIM 360)": {
                "schema": {
                  "$ref": "#/components/schemas/Rfi-2"
                }
              },
              "application/json (Procore)": {
                "schema": {
                  "$ref": "#/components/schemas/Rfi-3"
                }
              }
            }
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "404": {
            "$ref": "#/components/responses/404"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      },
      "post": {
        "operationId": "newRfiResponse",
        "tags": [
          "rfis"
        ],
        "summary": "RFI Response",
        "description": "This endpoint creates RFI Responses.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewRfiResponse"
                  },
                  {
                    "required": [
                      "name"
                    ]
                  }
                ]
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (Autodesk Build)": {
                "schema": {
                  "$ref": "#/components/schemas/Rfi-2"
                }
              },
              "application/json (BIM 360)": {
                "schema": {
                  "$ref": "#/components/schemas/Rfi-2"
                }
              },
              "application/json (Procore)": {
                "schema": {
                  "$ref": "#/components/schemas/Rfi-3"
                }
              }
            }
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "404": {
            "$ref": "#/components/responses/404"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      }
    },
    "/rfis/{rfi_id}/attachments": {
      "parameters": [
        {
          "$ref": "#/components/parameters/AgaveApiVersion"
        },
        {
          "$ref": "#/components/parameters/AgaveIncludeSourceData"
        },
        {
          "$ref": "#/components/parameters/RequiredProjectId"
        },
        {
          "$ref": "#/components/parameters/rfi_id"
        }
      ],
      "post": {
        "operationId": "newRFIAttachments",
        "tags": [
          "rfis"
        ],
        "summary": "RFI Attachment",
        "description": "This endpoint uploads Attachments for an RFI using the RFI's Agave UUID.\n\n**Note**: In order to upload an Attachment, you must use the `multipart/form-data` Content-Type when making the request. \nThe Content-Type is used to specify the media type of the resource.\n",
        "requestBody": {
          "content": {
            "multipart/form-data": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewAttachment"
                  },
                  {
                    "required": [
                      "name"
                    ]
                  }
                ]
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (Autodesk Build)": {
                "schema": {
                  "$ref": "#/components/schemas/Rfi-2"
                }
              },
              "application/json (BIM 360)": {
                "schema": {
                  "$ref": "#/components/schemas/Rfi-2"
                }
              },
              "application/json (Procore)": {
                "schema": {
                  "$ref": "#/components/schemas/Rfi-3"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/400"
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      }
    },
    "/specification-sections": {
      "parameters": [
        {
          "$ref": "#/components/parameters/AgaveApiVersion"
        },
        {
          "$ref": "#/components/parameters/AgaveIncludeSourceData"
        },
        {
          "$ref": "#/components/parameters/RequiredProjectId"
        }
      ],
      "get": {
        "operationId": "listSpecificationSections",
        "tags": [
          "specification-sections"
        ],
        "summary": "All Specification Sections",
        "description": "This endpoint retrieves a list of Specification Sections a Linked User can access for a Construction Project.",
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (Procore)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "The list of Specification Sections a Linked User can access for a Construction Project.",
                      "items": {
                        "$ref": "#/components/schemas/SpecificationSection-2"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/400"
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      }
    },
    "/specification-sections/{id}": {
      "parameters": [
        {
          "$ref": "#/components/parameters/AgaveApiVersion"
        },
        {
          "$ref": "#/components/parameters/AgaveIncludeSourceData"
        },
        {
          "$ref": "#/components/parameters/RequiredProjectId"
        },
        {
          "name": "id",
          "in": "path",
          "description": "The UUID of the Specification Section assigned by Agave.",
          "required": true,
          "schema": {
            "type": "string",
            "format": "uuid"
          }
        }
      ],
      "get": {
        "operationId": "getSpecificationSection",
        "tags": [
          "specification-sections"
        ],
        "summary": "One Specification Section",
        "description": "This endpoint retrieves a Specification Section by its Agave UUID.",
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (Procore)": {
                "schema": {
                  "$ref": "#/components/schemas/SpecificationSection-2"
                }
              }
            }
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "404": {
            "$ref": "#/components/responses/404"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      }
    },
    "/specification-sections/{section_id}/versions": {
      "parameters": [
        {
          "$ref": "#/components/parameters/AgaveApiVersion"
        },
        {
          "$ref": "#/components/parameters/AgaveIncludeSourceData"
        },
        {
          "$ref": "#/components/parameters/RequiredProjectId"
        },
        {
          "$ref": "#/components/parameters/specification_section_id"
        }
      ],
      "get": {
        "operationId": "listSpecificationSectionVersions",
        "tags": [
          "specification-section-versions"
        ],
        "summary": "All Specification Section Versions",
        "description": "This endpoint retrieves a list of Specification Section Versions a Linked User can access for a Construction Project.",
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (Procore)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "The list of Specification Section Versions a Linked User can access for a Construction Project.",
                      "items": {
                        "$ref": "#/components/schemas/SpecificationSectionVersion-2"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/400"
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      }
    },
    "/specification-sections/{section_id}/versions/{id}": {
      "parameters": [
        {
          "$ref": "#/components/parameters/AgaveApiVersion"
        },
        {
          "$ref": "#/components/parameters/AgaveIncludeSourceData"
        },
        {
          "$ref": "#/components/parameters/RequiredProjectId"
        },
        {
          "$ref": "#/components/parameters/specification_section_id"
        },
        {
          "name": "id",
          "in": "path",
          "description": "The UUID of the Specification Section Version assigned by Agave.",
          "required": true,
          "schema": {
            "type": "string",
            "format": "uuid"
          }
        }
      ],
      "get": {
        "operationId": "getSpecificationSectionVersion",
        "tags": [
          "specification-section-versions"
        ],
        "summary": "One Specification Section Version",
        "description": "This endpoint retrieves a Specification Section Version by its Agave UUID.",
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (Procore)": {
                "schema": {
                  "$ref": "#/components/schemas/SpecificationSectionVersion-2"
                }
              }
            }
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "404": {
            "$ref": "#/components/responses/404"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      }
    },
    "/submittals": {
      "parameters": [
        {
          "$ref": "#/components/parameters/AgaveApiVersion"
        },
        {
          "$ref": "#/components/parameters/AgaveIncludeSourceData"
        },
        {
          "$ref": "#/components/parameters/RequiredProjectId"
        }
      ],
      "get": {
        "operationId": "listSubmittals",
        "tags": [
          "submittals"
        ],
        "summary": "All Submittals",
        "description": "This endpoint retrieves a list of Submittals a Linked User can access for a Construction Project.",
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (Procore)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "The list of Submittals a Linked User can access for a Construction Project.",
                      "items": {
                        "$ref": "#/components/schemas/Submittal-2"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/400"
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      },
      "post": {
        "operationId": "newSubmittal",
        "tags": [
          "submittals"
        ],
        "summary": "Submittal",
        "description": "This endpoint creates Submittals for a Construction Project.\n",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewSubmittal"
                  },
                  {
                    "required": [
                      "name"
                    ]
                  }
                ]
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (Procore)": {
                "schema": {
                  "$ref": "#/components/schemas/Submittal-2"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/400"
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      }
    },
    "/submittals/{id}": {
      "parameters": [
        {
          "$ref": "#/components/parameters/AgaveApiVersion"
        },
        {
          "$ref": "#/components/parameters/AgaveIncludeSourceData"
        },
        {
          "$ref": "#/components/parameters/RequiredProjectId"
        },
        {
          "name": "id",
          "in": "path",
          "description": "The UUID of the Submittal assigned by Agave.",
          "required": true,
          "schema": {
            "type": "string",
            "format": "uuid"
          }
        }
      ],
      "get": {
        "operationId": "getSubmittal",
        "tags": [
          "submittals"
        ],
        "summary": "One Submittal",
        "description": "This endpoint retrieves a Submittal by its Agave UUID.",
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (Procore)": {
                "schema": {
                  "$ref": "#/components/schemas/Submittal-2"
                }
              }
            }
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "404": {
            "$ref": "#/components/responses/404"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      },
      "put": {
        "operationId": "updateSubmittal",
        "tags": [
          "submittals"
        ],
        "summary": "One Submittal",
        "description": "This endpoint updates a Submittal by its Agave UUID.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewSubmittal"
                  },
                  {
                    "required": [
                      "id"
                    ]
                  }
                ]
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (Procore)": {
                "schema": {
                  "$ref": "#/components/schemas/Submittal-2"
                }
              }
            }
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "404": {
            "$ref": "#/components/responses/404"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      }
    },
    "/submittals/{submittal_id}/attachments": {
      "parameters": [
        {
          "$ref": "#/components/parameters/AgaveApiVersion"
        },
        {
          "$ref": "#/components/parameters/AgaveIncludeSourceData"
        },
        {
          "$ref": "#/components/parameters/RequiredProjectId"
        },
        {
          "$ref": "#/components/parameters/submittal_id"
        }
      ],
      "post": {
        "operationId": "newSubmittalAttachments",
        "tags": [
          "submittals"
        ],
        "summary": "Submittal Attachment",
        "description": "This endpoint uploads Attachments for a Submittal using the Submittal's Agave UUID.\n\n**Note**: In order to upload an Attachment, you must use the `multipart/form-data` Content-Type when making the request. \nThe Content-Type is used to specify the media type of the resource.\n",
        "requestBody": {
          "content": {
            "multipart/form-data": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewAttachment"
                  },
                  {
                    "required": [
                      "name"
                    ]
                  }
                ]
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (Procore)": {
                "schema": {
                  "$ref": "#/components/schemas/Submittal-2"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/400"
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      }
    },
    "/submittals/{submittal_id}/submittal-reviewers/{submittal_reviewer_id}/attachments": {
      "parameters": [
        {
          "$ref": "#/components/parameters/AgaveApiVersion"
        },
        {
          "$ref": "#/components/parameters/AgaveIncludeSourceData"
        },
        {
          "$ref": "#/components/parameters/RequiredProjectId"
        },
        {
          "$ref": "#/components/parameters/submittal_id"
        },
        {
          "$ref": "#/components/parameters/submittal_reviewer_id"
        }
      ],
      "post": {
        "operationId": "newSubmittalReviewerAttachments",
        "tags": [
          "submittals"
        ],
        "summary": "Submittal Reviewer Attachment",
        "description": "This endpoint uploads Attachments for a Submittal Reviewer using the Submittal and Submittal Reviewer's respective Agave UUIDs.\n\n**Note**: In order to upload an Attachment, you must use the `multipart/form-data` Content-Type when making the request. \nThe Content-Type is used to specify the media type of the resource.\n",
        "requestBody": {
          "content": {
            "multipart/form-data": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewAttachment"
                  },
                  {
                    "required": [
                      "name"
                    ]
                  }
                ]
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (Procore)": {
                "schema": {
                  "$ref": "#/components/schemas/Submittal-2"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/400"
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      }
    },
    "/submittal-packages": {
      "parameters": [
        {
          "$ref": "#/components/parameters/AgaveApiVersion"
        },
        {
          "$ref": "#/components/parameters/AgaveIncludeSourceData"
        },
        {
          "$ref": "#/components/parameters/RequiredProjectId"
        }
      ],
      "get": {
        "operationId": "listSubmittalPackages",
        "tags": [
          "submittal-packages"
        ],
        "summary": "All Submittal Packages",
        "description": "This endpoint retrieves a list of Submittal Packages a Linked User can access for a Construction Project.",
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (Procore)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "The list of Submittal Packages a Linked User can access for a Construction Project.",
                      "items": {
                        "$ref": "#/components/schemas/SubmittalPackage-2"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/400"
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      },
      "post": {
        "operationId": "newSubmittalPackage",
        "tags": [
          "submittal-packages"
        ],
        "summary": "Submittal Package",
        "description": "This endpoint creates a Submittal Package for a Construction Project.\n",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewSubmittalPackage"
                  },
                  {
                    "required": [
                      "name"
                    ]
                  }
                ]
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (Procore)": {
                "schema": {
                  "$ref": "#/components/schemas/SubmittalPackage-2"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/400"
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      }
    },
    "/submittal-packages/{id}": {
      "parameters": [
        {
          "$ref": "#/components/parameters/AgaveApiVersion"
        },
        {
          "$ref": "#/components/parameters/AgaveIncludeSourceData"
        },
        {
          "$ref": "#/components/parameters/RequiredProjectId"
        },
        {
          "name": "id",
          "in": "path",
          "description": "The UUID of the Submittal Package assigned by Agave.",
          "required": true,
          "schema": {
            "type": "string",
            "format": "uuid"
          }
        }
      ],
      "get": {
        "operationId": "getSubmittalPackage",
        "tags": [
          "submittal-packages"
        ],
        "summary": "One Submittal Package",
        "description": "This endpoint retrieve a Submittal Package by its Agave UUID.",
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (Procore)": {
                "schema": {
                  "$ref": "#/components/schemas/SubmittalPackage-2"
                }
              }
            }
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "404": {
            "$ref": "#/components/responses/404"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      },
      "put": {
        "operationId": "updateSubmittalPackage",
        "tags": [
          "submittal-packages"
        ],
        "summary": "One Submittal Package",
        "description": "This endpoint updates a Submittal Package by its Agave UUID.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewSubmittalPackage"
                  },
                  {
                    "required": [
                      "id"
                    ]
                  }
                ]
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (Procore)": {
                "schema": {
                  "$ref": "#/components/schemas/SubmittalPackage-2"
                }
              }
            }
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "404": {
            "$ref": "#/components/responses/404"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      }
    },
    "/transmittals": {
      "parameters": [
        {
          "$ref": "#/components/parameters/AgaveApiVersion"
        },
        {
          "$ref": "#/components/parameters/AgaveIncludeSourceData"
        },
        {
          "$ref": "#/components/parameters/RequiredProjectId"
        }
      ],
      "get": {
        "operationId": "listTransmittals",
        "tags": [
          "transmittals"
        ],
        "summary": "All Transmittals",
        "description": "This endpoint retrieves a list of Transmittals a Linked User can access for a Construction Project.",
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (Aconex)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "The list of Transmittals a Linked User can access for a Construction Project.",
                      "items": {
                        "$ref": "#/components/schemas/Transmittal-2"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/400"
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      }
    },
    "/transmittals/{id}": {
      "parameters": [
        {
          "$ref": "#/components/parameters/AgaveApiVersion"
        },
        {
          "$ref": "#/components/parameters/AgaveIncludeSourceData"
        },
        {
          "$ref": "#/components/parameters/RequiredProjectId"
        },
        {
          "name": "id",
          "in": "path",
          "description": "The UUID of the Transmittal assigned by Agave.",
          "required": true,
          "schema": {
            "type": "string",
            "format": "uuid"
          }
        }
      ],
      "get": {
        "operationId": "getTransmittal",
        "tags": [
          "transmittals"
        ],
        "summary": "One Transmittal",
        "description": "This endpoint retrieves a Transmittal by its Agave UUID.",
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (Aconex)": {
                "schema": {
                  "$ref": "#/components/schemas/Transmittal-2"
                }
              }
            }
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "404": {
            "$ref": "#/components/responses/404"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      }
    },
    "/vendors": {
      "parameters": [
        {
          "$ref": "#/components/parameters/AgaveApiVersion"
        },
        {
          "$ref": "#/components/parameters/AgaveIncludeSourceData"
        },
        {
          "$ref": "#/components/parameters/ProjectId"
        }
      ],
      "get": {
        "operationId": "listVendors",
        "tags": [
          "vendors"
        ],
        "summary": "All Vendors",
        "description": "This endpoint retrieves a list of Vendors a Linked User can access.\n\n**Note**: You can filter the list of Vendor by Project using the Project-ID header for the following Source Systems:\n- Autodesk Build\n- BIM 360\n- CMiC\n- Jobpac\n- Procore\n",
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (Aconex)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "The list of Vendors (Organizations) this Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/Vendor-2"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Acumatica)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "The list of Vendors this Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/Vendor-3"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Autodesk Build)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "The list of Vendors (Companies) this Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/Vendor-4"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (BIM 360)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "The list of Vendors (Companies) this Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/Vendor-4"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (COINS)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "The list of Vendors (Companies) this Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/Vendor-5"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Cheops)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "The list of Vendors (Subcontractors) this Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/Vendor-6"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (CMiC)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "The list of Vendors (Business Partners) this Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/Vendor-7"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (ComputerEase)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "The list of Construction Projects a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/Vendor-8"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Foundation)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "The list of Vendors this Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/Vendor-9"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (InEight)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "The list of Vendors this Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/Vendor-10"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Jonas Premier)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "The list of Vendors this Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/Vendor-6"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Procore)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "The list of Vendors this Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/Vendor-11"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (QuickBooks Desktop)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "The list of Vendors this Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/Vendor-12"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (QuickBooks Online)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "The list of Vendors this Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/Vendor-13"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Sage 100 Contractor)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "The list of Vendors this Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/Vendor-14"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Sage 300 CRE)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "The list of Vendors this Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/Vendor-15"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Sage Intacct)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "The list of Vendors this Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/Vendor-16"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (ServiceTitan)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "The list of Vendors this Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/Vendor-17"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Viewpoint Jobpac)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "The list of Vendors this Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/Vendor-18"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Viewpoint Spectrum)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "The list of Vendors this Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/Vendor-19"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Viewpoint Vista)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "The list of Vendors this Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/Vendor-20"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/400"
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      },
      "post": {
        "operationId": "newVendor",
        "tags": [
          "vendors"
        ],
        "summary": "Vendor",
        "description": "This endpoint creates Vendors.\n",
        "requestBody": {
          "content": {
            "application/json (Acuamtica)": {
              "schema": {
                "type": "object",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewVendor"
                  }
                ]
              }
            },
            "application/json (Autodesk Build)": {
              "schema": {
                "type": "object",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewVendor-2"
                  }
                ]
              }
            },
            "application/json (BIM 360)": {
              "schema": {
                "type": "object",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewVendor-3"
                  }
                ]
              }
            },
            "application/json (CMiC)": {
              "schema": {
                "type": "object",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewVendor-4"
                  }
                ]
              }
            },
            "application/json (InEight)": {
              "schema": {
                "type": "object",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewVendor-5"
                  }
                ]
              }
            },
            "application/json (Procore)": {
              "schema": {
                "type": "object",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewVendor-6"
                  }
                ]
              }
            },
            "application/json (QuickBooks Desktop)": {
              "schema": {
                "type": "object",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewVendor-7"
                  }
                ]
              }
            },
            "application/json (QuickBooks Online)": {
              "schema": {
                "type": "object",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewVendor-7"
                  }
                ]
              }
            },
            "application/json (Sage 300 CRE)": {
              "schema": {
                "type": "object",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewVendor-8"
                  }
                ]
              }
            },
            "application/json (ServiceTitan)": {
              "schema": {
                "type": "object",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewVendor-9"
                  }
                ]
              }
            },
            "application/json (Viewpoint Spectrum)": {
              "schema": {
                "type": "object",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewVendor-10"
                  }
                ]
              }
            },
            "application/json (Viewpoint Vista)": {
              "schema": {
                "type": "object",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewVendor-11"
                  }
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (Aconex)": {
                "schema": {
                  "$ref": "#/components/schemas/Vendor-2"
                }
              },
              "application/json (Acumatica)": {
                "schema": {
                  "$ref": "#/components/schemas/Vendor-3"
                }
              },
              "application/json (Autodesk Build)": {
                "schema": {
                  "$ref": "#/components/schemas/Vendor-4"
                }
              },
              "application/json (BIM 360)": {
                "schema": {
                  "$ref": "#/components/schemas/Vendor-4"
                }
              },
              "application/json (Cheops)": {
                "schema": {
                  "$ref": "#/components/schemas/Vendor-6"
                }
              },
              "application/json (CMiC)": {
                "schema": {
                  "$ref": "#/components/schemas/Vendor-7"
                }
              },
              "application/json (COINS)": {
                "schema": {
                  "$ref": "#/components/schemas/Vendor-5"
                }
              },
              "application/json (ComputerEase)": {
                "schema": {
                  "$ref": "#/components/schemas/Vendor-8"
                }
              },
              "application/json (Foundation)": {
                "schema": {
                  "$ref": "#/components/schemas/Vendor-9"
                }
              },
              "application/json (InEight)": {
                "schema": {
                  "$ref": "#/components/schemas/Vendor-10"
                }
              },
              "application/json (Jonas Premier)": {
                "schema": {
                  "$ref": "#/components/schemas/Vendor-6"
                }
              },
              "application/json (Procore)": {
                "schema": {
                  "$ref": "#/components/schemas/Vendor-11"
                }
              },
              "application/json (QuickBooks Desktop)": {
                "schema": {
                  "$ref": "#/components/schemas/Vendor-12"
                }
              },
              "application/json (QuickBooks Online)": {
                "schema": {
                  "$ref": "#/components/schemas/Vendor-13"
                }
              },
              "application/json (Sage 100 Contractor)": {
                "schema": {
                  "$ref": "#/components/schemas/Vendor-14"
                }
              },
              "application/json (Sage 300 CRE)": {
                "schema": {
                  "$ref": "#/components/schemas/Vendor-15"
                }
              },
              "application/json (Sage Intacct)": {
                "schema": {
                  "$ref": "#/components/schemas/Vendor-16"
                }
              },
              "application/json (ServiceTitan)": {
                "schema": {
                  "$ref": "#/components/schemas/Vendor-17"
                }
              },
              "application/json (Viewpoint Jobpac)": {
                "schema": {
                  "$ref": "#/components/schemas/Vendor-18"
                }
              },
              "application/json (Viewpoint Spectrum)": {
                "schema": {
                  "$ref": "#/components/schemas/Vendor-19"
                }
              },
              "application/json (Viewpoint Vista)": {
                "schema": {
                  "$ref": "#/components/schemas/Vendor-20"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/400"
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      }
    },
    "/vendors/{id}": {
      "parameters": [
        {
          "$ref": "#/components/parameters/AgaveApiVersion"
        },
        {
          "$ref": "#/components/parameters/AgaveIncludeSourceData"
        },
        {
          "$ref": "#/components/parameters/ProjectId"
        },
        {
          "name": "id",
          "in": "path",
          "description": "The UUID of the Vendor assigned by Agave.",
          "required": true,
          "schema": {
            "type": "string",
            "format": "uuid"
          }
        }
      ],
      "get": {
        "operationId": "getVendor",
        "tags": [
          "vendors"
        ],
        "summary": "One Vendor",
        "description": "This endpoint retrieves a Vendor by its Agave UUID.",
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (Aconex)": {
                "schema": {
                  "$ref": "#/components/schemas/Vendor-2"
                }
              },
              "application/json (Acumatica)": {
                "schema": {
                  "$ref": "#/components/schemas/Vendor-3"
                }
              },
              "application/json (Autodesk Build)": {
                "schema": {
                  "$ref": "#/components/schemas/Vendor-4"
                }
              },
              "application/json (BIM 360)": {
                "schema": {
                  "$ref": "#/components/schemas/Vendor-4"
                }
              },
              "application/json (Cheops)": {
                "schema": {
                  "$ref": "#/components/schemas/Vendor-6"
                }
              },
              "application/json (CMiC)": {
                "schema": {
                  "$ref": "#/components/schemas/Vendor-7"
                }
              },
              "application/json (COINS)": {
                "schema": {
                  "$ref": "#/components/schemas/Vendor-5"
                }
              },
              "application/json (ComputerEase)": {
                "schema": {
                  "$ref": "#/components/schemas/Vendor-8"
                }
              },
              "application/json (Foundation)": {
                "schema": {
                  "$ref": "#/components/schemas/Vendor-9"
                }
              },
              "application/json (InEight)": {
                "schema": {
                  "$ref": "#/components/schemas/Vendor-10"
                }
              },
              "application/json (Jonas Premier)": {
                "schema": {
                  "$ref": "#/components/schemas/Vendor-6"
                }
              },
              "application/json (Procore)": {
                "schema": {
                  "$ref": "#/components/schemas/Vendor-11"
                }
              },
              "application/json (QuickBooks Desktop)": {
                "schema": {
                  "$ref": "#/components/schemas/Vendor-12"
                }
              },
              "application/json (QuickBooks Online)": {
                "schema": {
                  "$ref": "#/components/schemas/Vendor-13"
                }
              },
              "application/json (Sage 100 Contractor)": {
                "schema": {
                  "$ref": "#/components/schemas/Vendor-14"
                }
              },
              "application/json (Sage 300 CRE)": {
                "schema": {
                  "$ref": "#/components/schemas/Vendor-15"
                }
              },
              "application/json (Sage Intacct)": {
                "schema": {
                  "$ref": "#/components/schemas/Vendor-16"
                }
              },
              "application/json (ServiceTitan)": {
                "schema": {
                  "$ref": "#/components/schemas/Vendor-17"
                }
              },
              "application/json (Viewpoint Jobpac)": {
                "schema": {
                  "$ref": "#/components/schemas/Vendor-18"
                }
              },
              "application/json (Viewpoint Spectrum)": {
                "schema": {
                  "$ref": "#/components/schemas/Vendor-19"
                }
              },
              "application/json (Viewpoint Vista)": {
                "schema": {
                  "$ref": "#/components/schemas/Vendor-20"
                }
              }
            }
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "404": {
            "$ref": "#/components/responses/404"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      },
      "put": {
        "operationId": "updateVendor",
        "tags": [
          "vendors"
        ],
        "summary": "One Vendor",
        "description": "This endpoint updates a Vendor by its Agave UUID.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewVendor-12"
                  },
                  {
                    "required": [
                      "id"
                    ]
                  }
                ]
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (Aconex)": {
                "schema": {
                  "$ref": "#/components/schemas/Vendor-2"
                }
              },
              "application/json (Acumatica)": {
                "schema": {
                  "$ref": "#/components/schemas/Vendor-3"
                }
              },
              "application/json (Autodesk Build)": {
                "schema": {
                  "$ref": "#/components/schemas/Vendor-4"
                }
              },
              "application/json (BIM 360)": {
                "schema": {
                  "$ref": "#/components/schemas/Vendor-4"
                }
              },
              "application/json (Cheops)": {
                "schema": {
                  "$ref": "#/components/schemas/Vendor-6"
                }
              },
              "application/json (CMiC)": {
                "schema": {
                  "$ref": "#/components/schemas/Vendor-7"
                }
              },
              "application/json (COINS)": {
                "schema": {
                  "$ref": "#/components/schemas/Vendor-5"
                }
              },
              "application/json (ComputerEase)": {
                "schema": {
                  "$ref": "#/components/schemas/Vendor-8"
                }
              },
              "application/json (Foundation)": {
                "schema": {
                  "$ref": "#/components/schemas/Vendor-9"
                }
              },
              "application/json (InEight)": {
                "schema": {
                  "$ref": "#/components/schemas/Vendor-10"
                }
              },
              "application/json (Jonas Premier)": {
                "schema": {
                  "$ref": "#/components/schemas/Vendor-6"
                }
              },
              "application/json (Procore)": {
                "schema": {
                  "$ref": "#/components/schemas/Vendor-11"
                }
              },
              "application/json (QuickBooks Desktop)": {
                "schema": {
                  "$ref": "#/components/schemas/Vendor-12"
                }
              },
              "application/json (QuickBooks Online)": {
                "schema": {
                  "$ref": "#/components/schemas/Vendor-13"
                }
              },
              "application/json (Sage 100 Contractor)": {
                "schema": {
                  "$ref": "#/components/schemas/Vendor-14"
                }
              },
              "application/json (Sage 300 CRE)": {
                "schema": {
                  "$ref": "#/components/schemas/Vendor-15"
                }
              },
              "application/json (Sage Intacct)": {
                "schema": {
                  "$ref": "#/components/schemas/Vendor-16"
                }
              },
              "application/json (ServiceTitan)": {
                "schema": {
                  "$ref": "#/components/schemas/Vendor-17"
                }
              },
              "application/json (Viewpoint Jobpac)": {
                "schema": {
                  "$ref": "#/components/schemas/Vendor-18"
                }
              },
              "application/json (Viewpoint Spectrum)": {
                "schema": {
                  "$ref": "#/components/schemas/Vendor-19"
                }
              },
              "application/json (Viewpoint Vista)": {
                "schema": {
                  "$ref": "#/components/schemas/Vendor-20"
                }
              }
            }
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "404": {
            "$ref": "#/components/responses/404"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      },
      "delete": {
        "operationId": "deleteVendor",
        "tags": [
          "vendors"
        ],
        "summary": "One Vendor",
        "description": "This endpoint can be used to delete a Vendor by its Agave UUID.\n**Note:** This will trigger an \"UPDATE\" not a \"DELETE\" event for QuickBooks Online webhooks.\n",
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (Aconex)": {
                "schema": {
                  "$ref": "#/components/schemas/Vendor-2"
                }
              },
              "application/json (Acumatica)": {
                "schema": {
                  "$ref": "#/components/schemas/Vendor-3"
                }
              },
              "application/json (Autodesk Build)": {
                "schema": {
                  "$ref": "#/components/schemas/Vendor-4"
                }
              },
              "application/json (BIM 360)": {
                "schema": {
                  "$ref": "#/components/schemas/Vendor-4"
                }
              },
              "application/json (Cheops)": {
                "schema": {
                  "$ref": "#/components/schemas/Vendor-6"
                }
              },
              "application/json (CMiC)": {
                "schema": {
                  "$ref": "#/components/schemas/Vendor-7"
                }
              },
              "application/json (COINS)": {
                "schema": {
                  "$ref": "#/components/schemas/Vendor-5"
                }
              },
              "application/json (ComputerEase)": {
                "schema": {
                  "$ref": "#/components/schemas/Vendor-8"
                }
              },
              "application/json (Foundation)": {
                "schema": {
                  "$ref": "#/components/schemas/Vendor-9"
                }
              },
              "application/json (InEight)": {
                "schema": {
                  "$ref": "#/components/schemas/Vendor-10"
                }
              },
              "application/json (Jonas Premier)": {
                "schema": {
                  "$ref": "#/components/schemas/Vendor-6"
                }
              },
              "application/json (Procore)": {
                "schema": {
                  "$ref": "#/components/schemas/Vendor-11"
                }
              },
              "application/json (QuickBooks Desktop)": {
                "schema": {
                  "$ref": "#/components/schemas/Vendor-12"
                }
              },
              "application/json (QuickBooks Online)": {
                "schema": {
                  "$ref": "#/components/schemas/Vendor-13"
                }
              },
              "application/json (Sage 100 Contractor)": {
                "schema": {
                  "$ref": "#/components/schemas/Vendor-14"
                }
              },
              "application/json (Sage 300 CRE)": {
                "schema": {
                  "$ref": "#/components/schemas/Vendor-15"
                }
              },
              "application/json (Sage Intacct)": {
                "schema": {
                  "$ref": "#/components/schemas/Vendor-16"
                }
              },
              "application/json (ServiceTitan)": {
                "schema": {
                  "$ref": "#/components/schemas/Vendor-17"
                }
              },
              "application/json (Viewpoint Jobpac)": {
                "schema": {
                  "$ref": "#/components/schemas/Vendor-18"
                }
              },
              "application/json (Viewpoint Spectrum)": {
                "schema": {
                  "$ref": "#/components/schemas/Vendor-19"
                }
              },
              "application/json (Viewpoint Vista)": {
                "schema": {
                  "$ref": "#/components/schemas/Vendor-20"
                }
              }
            }
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "404": {
            "$ref": "#/components/responses/404"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      }
    },
    "/vendors/{vendor_id}/contacts": {
      "parameters": [
        {
          "$ref": "#/components/parameters/AgaveApiVersion"
        },
        {
          "$ref": "#/components/parameters/AgaveIncludeSourceData"
        },
        {
          "$ref": "#/components/parameters/vendor_id"
        }
      ],
      "get": {
        "operationId": "listVendorContacts",
        "tags": [
          "vendors"
        ],
        "summary": "All Vendor Contacts",
        "description": "This endpoint retrieves a list of Contacts a Linked User can access for a Vendor.\n",
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (Viewpoint Spectrum)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Contacts the Linked User can access at a Vendor.",
                      "items": {
                        "$ref": "#/components/schemas/Contact-13"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/400"
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      }
    },
    "/vendors/{vendor_id}/contacts/{id}": {
      "parameters": [
        {
          "$ref": "#/components/parameters/AgaveApiVersion"
        },
        {
          "$ref": "#/components/parameters/AgaveIncludeSourceData"
        },
        {
          "$ref": "#/components/parameters/vendor_id"
        },
        {
          "name": "id",
          "in": "path",
          "description": "The UUID of the Contact assigned by Agave.",
          "required": true,
          "schema": {
            "type": "string",
            "format": "uuid"
          }
        }
      ],
      "get": {
        "operationId": "getVendorContact",
        "tags": [
          "vendors"
        ],
        "summary": "One Vendor Contact",
        "description": "This endpoint retrieves a Contact at a Vendor by its Agave UUID.",
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (Viewpoint Spectrum)": {
                "schema": {
                  "$ref": "#/components/schemas/Contact-13"
                }
              }
            }
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "404": {
            "$ref": "#/components/responses/404"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      }
    },
    "/vendors/compliances": {
      "parameters": [
        {
          "$ref": "#/components/parameters/AgaveApiVersion"
        },
        {
          "$ref": "#/components/parameters/AgaveIncludeSourceData"
        }
      ],
      "get": {
        "operationId": "listAllVendorCompliances",
        "tags": [
          "vendors"
        ],
        "summary": "All Vendor Compliances",
        "description": "This endpoint retrieves a list of Compliances a Linked User can access.\n",
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (CMiC)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Compliances the Linked User can access at a Vendor.",
                      "items": {
                        "$ref": "#/components/schemas/VendorCompliance-2"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Procore)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Compliances the Linked User can access at a Vendor.",
                      "items": {
                        "$ref": "#/components/schemas/VendorCompliance-3"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Viewpoint Spectrum)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Compliances the Linked User can access at a Vendor.",
                      "items": {
                        "$ref": "#/components/schemas/VendorCompliance-4"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Viewpoint Vista)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Compliances the Linked User can access at a Vendor.",
                      "items": {
                        "$ref": "#/components/schemas/VendorCompliance-5"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/400"
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      }
    },
    "/vendors/{vendor_id}/compliances": {
      "parameters": [
        {
          "$ref": "#/components/parameters/AgaveApiVersion"
        },
        {
          "$ref": "#/components/parameters/AgaveIncludeSourceData"
        },
        {
          "$ref": "#/components/parameters/vendor_id"
        },
        {
          "$ref": "#/components/parameters/ProjectId"
        }
      ],
      "get": {
        "operationId": "listVendorCompliances",
        "tags": [
          "vendor-compliances"
        ],
        "summary": "All Compliances for One Vendor",
        "description": "This endpoint retrieves a list of Compliances a Linked User can access for a Vendor.\n\n**Note**: You can create/retrieve project-level compliances using the `Project-Id` header for the following systems:\n - Procore\n",
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (CMiC)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Compliances the Linked User can access at a Vendor.",
                      "items": {
                        "$ref": "#/components/schemas/VendorCompliance-2"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Procore)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Compliances the Linked User can access at a Vendor.",
                      "items": {
                        "$ref": "#/components/schemas/VendorCompliance-3"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Viewpoint Spectrum)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Compliances the Linked User can access at a Vendor.",
                      "items": {
                        "$ref": "#/components/schemas/VendorCompliance-4"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Viewpoint Vista)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Compliances the Linked User can access at a Vendor.",
                      "items": {
                        "$ref": "#/components/schemas/VendorCompliance-5"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/400"
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      },
      "post": {
        "operationId": "newVendorCompliance",
        "tags": [
          "vendor-compliances"
        ],
        "summary": "New Vendor Compliances",
        "description": "This endpoint creates a new Vendor Compliance.\n",
        "requestBody": {
          "content": {
            "application/json (CMiC)": {
              "schema": {
                "type": "object",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewVendorCompliance-2"
                  }
                ]
              }
            },
            "application/json (Procore)": {
              "schema": {
                "type": "object",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewVendorCompliance-3"
                  }
                ]
              }
            },
            "application/json (Viewpoint Vista)": {
              "schema": {
                "type": "object",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewVendorCompliance-4"
                  }
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (CMiC)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Compliances the Linked User can access at a Vendor.",
                      "items": {
                        "$ref": "#/components/schemas/VendorCompliance-2"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Procore)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Compliances the Linked User can access at a Vendor.",
                      "items": {
                        "$ref": "#/components/schemas/VendorCompliance-3"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Viewpoint Spectrum)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Compliances the Linked User can access at a Vendor.",
                      "items": {
                        "$ref": "#/components/schemas/VendorCompliance-4"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Viewpoint Vista)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Compliances the Linked User can access at a Vendor.",
                      "items": {
                        "$ref": "#/components/schemas/VendorCompliance-5"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/400"
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      }
    },
    "/vendors/{vendor_id}/compliances/{id}": {
      "parameters": [
        {
          "$ref": "#/components/parameters/AgaveApiVersion"
        },
        {
          "$ref": "#/components/parameters/AgaveIncludeSourceData"
        },
        {
          "$ref": "#/components/parameters/vendor_id"
        },
        {
          "$ref": "#/components/parameters/ProjectId"
        },
        {
          "name": "id",
          "in": "path",
          "description": "The UUID of the Compliance assigned by Agave.",
          "required": true,
          "schema": {
            "type": "string",
            "format": "uuid"
          }
        }
      ],
      "get": {
        "operationId": "getVendorCompliance",
        "tags": [
          "vendor-compliances"
        ],
        "summary": "One Vendor Compliance",
        "description": "This endpoint retrieves a Compliance at a Vendor by its Agave UUID.\n\n**Note**: You can update/retrieve project-level Vendor Compliances using the `Project-Id` header for the following systems:\n- Procore\n",
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (CMiC)": {
                "schema": {
                  "$ref": "#/components/schemas/VendorCompliance-2"
                }
              },
              "application/json (Procore)": {
                "schema": {
                  "$ref": "#/components/schemas/VendorCompliance-3"
                }
              },
              "application/json (Viewpoint Spectrum)": {
                "schema": {
                  "$ref": "#/components/schemas/VendorCompliance-4"
                }
              },
              "application/json (Viewpoint Vista)": {
                "schema": {
                  "$ref": "#/components/schemas/VendorCompliance-5"
                }
              }
            }
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "404": {
            "$ref": "#/components/responses/404"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      },
      "put": {
        "operationId": "updateVendorCompliance",
        "tags": [
          "vendor-compliances"
        ],
        "summary": "One Vendor Compliance",
        "description": "This endpoint updates a Vendor Compliance by its Agave UUID.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewVendorCompliance"
                  },
                  {
                    "required": [
                      "id"
                    ]
                  }
                ]
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (CMiC)": {
                "schema": {
                  "$ref": "#/components/schemas/VendorCompliance-2"
                }
              },
              "application/json (Procore)": {
                "schema": {
                  "$ref": "#/components/schemas/VendorCompliance-3"
                }
              },
              "application/json (Viewpoint Spectrum)": {
                "schema": {
                  "$ref": "#/components/schemas/VendorCompliance-4"
                }
              },
              "application/json (Viewpoint Vista)": {
                "schema": {
                  "$ref": "#/components/schemas/VendorCompliance-5"
                }
              }
            }
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "404": {
            "$ref": "#/components/responses/404"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      },
      "delete": {
        "operationId": "deleteVendorCompliance",
        "tags": [
          "vendor-compliances"
        ],
        "summary": "One Vendor Compliance",
        "description": "This endpoint deletes a Vendor Compliance by its Agave UUID.",
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (CMiC)": {
                "schema": {
                  "$ref": "#/components/schemas/VendorCompliance-2"
                }
              },
              "application/json (Procore)": {
                "schema": {
                  "$ref": "#/components/schemas/VendorCompliance-3"
                }
              },
              "application/json (Viewpoint Spectrum)": {
                "schema": {
                  "$ref": "#/components/schemas/VendorCompliance-4"
                }
              },
              "application/json (Viewpoint Vista)": {
                "schema": {
                  "$ref": "#/components/schemas/VendorCompliance-5"
                }
              }
            }
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "404": {
            "$ref": "#/components/responses/404"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      }
    },
    "/activities": {
      "parameters": [
        {
          "$ref": "#/components/parameters/AgaveApiVersion"
        },
        {
          "$ref": "#/components/parameters/AgaveIncludeSourceData"
        }
      ],
      "get": {
        "operationId": "listActivities",
        "tags": [
          "activities"
        ],
        "summary": "All Activities",
        "description": "This endpoint retrieves a list of Activities a Linked User can access.",
        "parameters": [
          {
            "name": "type",
            "in": "query",
            "description": "Type of the Activity, e.g. \"note\". Required for HubSpot.",
            "required": false,
            "schema": {
              "type": "string",
              "format": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (HubSpot)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "The list of Activities.",
                      "items": {
                        "$ref": "#/components/schemas/Note"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Pipedrive)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "The list of Activities.",
                      "items": {
                        "$ref": "#/components/schemas/Activity-2"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/400"
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      },
      "post": {
        "operationId": "newActivities",
        "tags": [
          "activities"
        ],
        "summary": "Activity",
        "description": "This endpoint creates Activities.\n",
        "requestBody": {
          "content": {
            "application/json (HubSpot Note)": {
              "schema": {
                "type": "object",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewNote"
                  }
                ]
              }
            },
            "application/json (Pipedrive)": {
              "schema": {
                "type": "object",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewActivity"
                  }
                ]
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (HubSpot Note)": {
                "schema": {
                  "$ref": "#/components/schemas/Note"
                }
              },
              "application/json (Pipedrive)": {
                "schema": {
                  "$ref": "#/components/schemas/Activity-2"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/400"
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      }
    },
    "/activities/{id}": {
      "parameters": [
        {
          "$ref": "#/components/parameters/AgaveApiVersion"
        },
        {
          "$ref": "#/components/parameters/AgaveIncludeSourceData"
        },
        {
          "name": "id",
          "in": "path",
          "description": "The UUID of the Activity assigned by Agave.",
          "required": true,
          "schema": {
            "type": "string",
            "format": "uuid"
          }
        }
      ],
      "get": {
        "operationId": "getActivity",
        "tags": [
          "activities"
        ],
        "summary": "One  Activity",
        "description": "This endpoint retrieves an  Activity by its Agave UUID.",
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (HubSpot Note)": {
                "schema": {
                  "$ref": "#/components/schemas/Note"
                }
              },
              "application/json (Pipedrive)": {
                "schema": {
                  "$ref": "#/components/schemas/Activity-2"
                }
              }
            }
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "404": {
            "$ref": "#/components/responses/404"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      },
      "put": {
        "operationId": "updateActivity",
        "tags": [
          "activities"
        ],
        "summary": "One Activity",
        "description": "This endpoint updates an Activity by its Agave UUID.",
        "requestBody": {
          "content": {
            "application/json (HubSpot Note)": {
              "schema": {
                "type": "object",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewNote"
                  }
                ]
              }
            },
            "application/json (Pipedrive)": {
              "schema": {
                "type": "object",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewActivity"
                  }
                ]
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (HubSpot Note)": {
                "schema": {
                  "$ref": "#/components/schemas/Note"
                }
              },
              "application/json (Pipedrive)": {
                "schema": {
                  "$ref": "#/components/schemas/Activity-2"
                }
              }
            }
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "404": {
            "$ref": "#/components/responses/404"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      },
      "delete": {
        "operationId": "deleteActivity",
        "tags": [
          "activities"
        ],
        "summary": "One Activity",
        "description": "This endpoint can be used to delete a Activity by its Agave UUID. \n",
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (HubSpot Note)": {
                "schema": {
                  "$ref": "#/components/schemas/Note"
                }
              },
              "application/json (Pipedrive)": {
                "schema": {
                  "$ref": "#/components/schemas/Activity-2"
                }
              }
            }
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "404": {
            "$ref": "#/components/responses/404"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      }
    },
    "/activities/{activity_id}/attachments": {
      "parameters": [
        {
          "$ref": "#/components/parameters/AgaveApiVersion"
        },
        {
          "$ref": "#/components/parameters/AgaveIncludeSourceData"
        },
        {
          "$ref": "#/components/parameters/activity_id"
        }
      ],
      "post": {
        "operationId": "newActivityAttachments",
        "tags": [
          "activities"
        ],
        "summary": "Activity Attachment",
        "description": "This endpoint uploads Attachments to an Activity. \n\n**Note**: In order to upload an Attachment, you must use the `multipart/form-data` Content-Type when making the request. \nThe Content-Type is used to specify the media type of the resource.\n",
        "requestBody": {
          "content": {
            "multipart/form-data": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewAttachment"
                  },
                  {
                    "required": [
                      "contents"
                    ]
                  }
                ],
                "properties": {
                  "notes": {
                    "type": "string",
                    "description": "Notes of the Attachment.",
                    "example": "Example note"
                  }
                }
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (HubSpot Note)": {
                "schema": {
                  "$ref": "#/components/schemas/Note"
                }
              },
              "application/json (Pipedrive)": {
                "schema": {
                  "$ref": "#/components/schemas/Activity-2"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/400"
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      }
    },
    "/appointments": {
      "parameters": [
        {
          "$ref": "#/components/parameters/AgaveApiVersion"
        },
        {
          "$ref": "#/components/parameters/AgaveIncludeSourceData"
        }
      ],
      "get": {
        "operationId": "listAppointments",
        "tags": [
          "appointments"
        ],
        "summary": "All Appointments",
        "description": "This endpoint retrieves a list of Appointments a Linked User can access.",
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (ServiceTitan)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "The list of Appointments.",
                      "items": {
                        "$ref": "#/components/schemas/Appointment-2"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/400"
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      }
    },
    "/appointments/{id}": {
      "parameters": [
        {
          "$ref": "#/components/parameters/AgaveApiVersion"
        },
        {
          "$ref": "#/components/parameters/AgaveIncludeSourceData"
        },
        {
          "name": "id",
          "in": "path",
          "description": "The UUID of the Appointment assigned by Agave.",
          "required": true,
          "schema": {
            "type": "string",
            "format": "uuid"
          }
        }
      ],
      "get": {
        "operationId": "getAppointment",
        "tags": [
          "appointments"
        ],
        "summary": "One Appointment",
        "description": "This endpoint retrieves an Appointment by its Agave UUID.",
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (ServiceTitan)": {
                "schema": {
                  "$ref": "#/components/schemas/Appointment-2"
                }
              }
            }
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "404": {
            "$ref": "#/components/responses/404"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      }
    },
    "/customers": {
      "parameters": [
        {
          "$ref": "#/components/parameters/AgaveApiVersion"
        },
        {
          "$ref": "#/components/parameters/AgaveIncludeSourceData"
        }
      ],
      "get": {
        "operationId": "listCustomers",
        "tags": [
          "customers"
        ],
        "summary": "All Customers",
        "description": "This endpoint retrieves a list of Customers a Linked User can access.",
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (Acumatica)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "The list of Customers.",
                      "items": {
                        "$ref": "#/components/schemas/Customer-2"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (CMiC)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "The list of Customers.",
                      "items": {
                        "$ref": "#/components/schemas/Customer-3"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (ComputerEase)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "The list of Customers.",
                      "items": {
                        "$ref": "#/components/schemas/Customer-4"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Foundation)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "The list of Customers.",
                      "items": {
                        "$ref": "#/components/schemas/Customer-5"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Housecall Pro)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "The list of Customers.",
                      "items": {
                        "$ref": "#/components/schemas/Customer-6"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (HubSpot)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "The list of Customers.",
                      "items": {
                        "$ref": "#/components/schemas/Customer-7"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Pipedrive)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "The list of Customers.",
                      "items": {
                        "$ref": "#/components/schemas/Customer-8"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (QuickBooks Desktop)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "The list of Customers.",
                      "items": {
                        "$ref": "#/components/schemas/Customer-9"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (QuickBooks Online)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "The list of Customers.",
                      "items": {
                        "$ref": "#/components/schemas/Customer-9"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Sage 100 Contractor)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "The list of Customers.",
                      "items": {
                        "$ref": "#/components/schemas/Customer-10"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Sage 300 CRE)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "The list of Customers.",
                      "items": {
                        "$ref": "#/components/schemas/Customer-11"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Sage Intacct)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "The list of Customers.",
                      "items": {
                        "$ref": "#/components/schemas/Customer-12"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (ServiceTitan)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "The list of Customers.",
                      "items": {
                        "$ref": "#/components/schemas/Customer-13"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Viewpoint Spectrum)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "The list of Customers.",
                      "items": {
                        "$ref": "#/components/schemas/Customer-14"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Viewpoint Vista)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "The list of Customers.",
                      "items": {
                        "$ref": "#/components/schemas/Customer-15"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/400"
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      },
      "post": {
        "operationId": "newCustomers",
        "tags": [
          "customers"
        ],
        "summary": "Customer",
        "description": "This endpoint creates Customers.\n",
        "requestBody": {
          "content": {
            "application/json (Acumatica)": {
              "schema": {
                "type": "object",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewCustomer"
                  }
                ]
              }
            },
            "application/json (Foundation)": {
              "schema": {
                "type": "object",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewCustomer-2"
                  }
                ]
              }
            },
            "application/json (QuickBooks Desktop)": {
              "schema": {
                "type": "object",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewCustomer-3"
                  }
                ]
              }
            },
            "application/json (QuickBooks Online)": {
              "schema": {
                "type": "object",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewCustomer-4"
                  }
                ]
              }
            },
            "application/json (Sage 100 Contractor)": {
              "schema": {
                "type": "object",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewCustomer-5"
                  }
                ]
              }
            },
            "application/json (Sage 300 CRE)": {
              "schema": {
                "type": "object",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewCustomer-6"
                  }
                ]
              }
            },
            "application/json (Viewpoint Spectrum)": {
              "schema": {
                "type": "object",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewCustomer-7"
                  }
                ]
              }
            },
            "application/json (Viewpoint Vista)": {
              "schema": {
                "type": "object",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewCustomer-8"
                  }
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (Acumatica)": {
                "schema": {
                  "$ref": "#/components/schemas/Customer-2"
                }
              },
              "application/json (CMiC)": {
                "schema": {
                  "$ref": "#/components/schemas/Customer-3"
                }
              },
              "application/json (ComputerEase)": {
                "schema": {
                  "$ref": "#/components/schemas/Customer-4"
                }
              },
              "application/json (Foundation)": {
                "schema": {
                  "$ref": "#/components/schemas/Customer-5"
                }
              },
              "application/json (Housecall Pro)": {
                "schema": {
                  "$ref": "#/components/schemas/Customer-6"
                }
              },
              "application/json (HubSpot)": {
                "schema": {
                  "$ref": "#/components/schemas/Customer-7"
                }
              },
              "application/json (Pipedrive)": {
                "schema": {
                  "$ref": "#/components/schemas/Customer-8"
                }
              },
              "application/json (QuickBooks Desktop)": {
                "schema": {
                  "$ref": "#/components/schemas/Customer-9"
                }
              },
              "application/json (QuickBooks Online)": {
                "schema": {
                  "$ref": "#/components/schemas/Customer-9"
                }
              },
              "application/json (Sage 100 Contractor)": {
                "schema": {
                  "$ref": "#/components/schemas/Customer-10"
                }
              },
              "application/json (Sage 300 CRE)": {
                "schema": {
                  "$ref": "#/components/schemas/Customer-11"
                }
              },
              "application/json (Sage Intacct)": {
                "schema": {
                  "$ref": "#/components/schemas/Customer-12"
                }
              },
              "application/json (ServiceTitan)": {
                "schema": {
                  "$ref": "#/components/schemas/Customer-13"
                }
              },
              "application/json (Viewpoint Spectrum)": {
                "schema": {
                  "$ref": "#/components/schemas/Customer-14"
                }
              },
              "application/json (Viewpoint Vista)": {
                "schema": {
                  "$ref": "#/components/schemas/Customer-15"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/400"
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      }
    },
    "/customers/{id}": {
      "parameters": [
        {
          "$ref": "#/components/parameters/AgaveApiVersion"
        },
        {
          "$ref": "#/components/parameters/AgaveIncludeSourceData"
        },
        {
          "name": "id",
          "in": "path",
          "description": "The UUID of the Customer assigned by Agave.",
          "required": true,
          "schema": {
            "type": "string",
            "format": "uuid"
          }
        }
      ],
      "get": {
        "operationId": "getCustomer",
        "tags": [
          "customers"
        ],
        "summary": "One Customer",
        "description": "This endpoint enables you to retrieve an Appointment by its Agave UUID.",
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (Acumatica)": {
                "schema": {
                  "$ref": "#/components/schemas/Customer-2"
                }
              },
              "application/json (CMiC)": {
                "schema": {
                  "$ref": "#/components/schemas/Customer-3"
                }
              },
              "application/json (ComputerEase)": {
                "schema": {
                  "$ref": "#/components/schemas/Customer-4"
                }
              },
              "application/json (Foundation)": {
                "schema": {
                  "$ref": "#/components/schemas/Customer-5"
                }
              },
              "application/json (Housecall Pro)": {
                "schema": {
                  "$ref": "#/components/schemas/Customer-6"
                }
              },
              "application/json (HubSpot)": {
                "schema": {
                  "$ref": "#/components/schemas/Customer-7"
                }
              },
              "application/json (Pipedrive)": {
                "schema": {
                  "$ref": "#/components/schemas/Customer-8"
                }
              },
              "application/json (QuickBooks Desktop)": {
                "schema": {
                  "$ref": "#/components/schemas/Customer-9"
                }
              },
              "application/json (QuickBooks Online)": {
                "schema": {
                  "$ref": "#/components/schemas/Customer-9"
                }
              },
              "application/json (Sage 100 Contractor)": {
                "schema": {
                  "$ref": "#/components/schemas/Customer-10"
                }
              },
              "application/json (Sage 300 CRE)": {
                "schema": {
                  "$ref": "#/components/schemas/Customer-11"
                }
              },
              "application/json (Sage Intacct)": {
                "schema": {
                  "$ref": "#/components/schemas/Customer-12"
                }
              },
              "application/json (ServiceTitan)": {
                "schema": {
                  "$ref": "#/components/schemas/Customer-13"
                }
              },
              "application/json (Viewpoint Spectrum)": {
                "schema": {
                  "$ref": "#/components/schemas/Customer-14"
                }
              },
              "application/json (Viewpoint Vista)": {
                "schema": {
                  "$ref": "#/components/schemas/Customer-15"
                }
              }
            }
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "404": {
            "$ref": "#/components/responses/404"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      },
      "put": {
        "operationId": "updateCustomer",
        "tags": [
          "customers"
        ],
        "summary": "One Customer",
        "description": "This endpoint updates a Customer by its Agave UUID.",
        "requestBody": {
          "content": {
            "application/json (Acumatica)": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewCustomer"
                  },
                  {
                    "required": [
                      "id"
                    ]
                  }
                ]
              }
            },
            "application/json (Foundation)": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewCustomer-2"
                  },
                  {
                    "required": [
                      "id"
                    ]
                  }
                ]
              }
            },
            "application/json (QuickBooks Desktop)": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewCustomer-3"
                  },
                  {
                    "required": [
                      "id"
                    ]
                  }
                ]
              }
            },
            "application/json (QuickBooks Online)": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewCustomer-4"
                  },
                  {
                    "required": [
                      "id"
                    ]
                  }
                ]
              }
            },
            "application/json (Sage 100 Contractor)": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewCustomer-5"
                  },
                  {
                    "required": [
                      "id"
                    ]
                  }
                ]
              }
            },
            "application/json (Sage 300 CRE)": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewCustomer-6"
                  },
                  {
                    "required": [
                      "id"
                    ]
                  }
                ]
              }
            },
            "application/json (Viewpoint Vista)": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewCustomer-8"
                  },
                  {
                    "required": [
                      "id"
                    ]
                  }
                ]
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (Acumatica)": {
                "schema": {
                  "$ref": "#/components/schemas/Customer-2"
                }
              },
              "application/json (CMiC)": {
                "schema": {
                  "$ref": "#/components/schemas/Customer-3"
                }
              },
              "application/json (ComputerEase)": {
                "schema": {
                  "$ref": "#/components/schemas/Customer-4"
                }
              },
              "application/json (Foundation)": {
                "schema": {
                  "$ref": "#/components/schemas/Customer-5"
                }
              },
              "application/json (Housecall Pro)": {
                "schema": {
                  "$ref": "#/components/schemas/Customer-6"
                }
              },
              "application/json (HubSpot)": {
                "schema": {
                  "$ref": "#/components/schemas/Customer-7"
                }
              },
              "application/json (Pipedrive)": {
                "schema": {
                  "$ref": "#/components/schemas/Customer-8"
                }
              },
              "application/json (QuickBooks Desktop)": {
                "schema": {
                  "$ref": "#/components/schemas/Customer-9"
                }
              },
              "application/json (QuickBooks Online)": {
                "schema": {
                  "$ref": "#/components/schemas/Customer-9"
                }
              },
              "application/json (Sage 100 Contractor)": {
                "schema": {
                  "$ref": "#/components/schemas/Customer-10"
                }
              },
              "application/json (Sage 300 CRE)": {
                "schema": {
                  "$ref": "#/components/schemas/Customer-11"
                }
              },
              "application/json (Sage Intacct)": {
                "schema": {
                  "$ref": "#/components/schemas/Customer-12"
                }
              },
              "application/json (ServiceTitan)": {
                "schema": {
                  "$ref": "#/components/schemas/Customer-13"
                }
              },
              "application/json (Viewpoint Spectrum)": {
                "schema": {
                  "$ref": "#/components/schemas/Customer-14"
                }
              },
              "application/json (Viewpoint Vista)": {
                "schema": {
                  "$ref": "#/components/schemas/Customer-15"
                }
              }
            }
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "404": {
            "$ref": "#/components/responses/404"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      },
      "delete": {
        "operationId": "deleteCustomer",
        "tags": [
          "customers"
        ],
        "summary": "One Customer",
        "description": "This endpoint can be used to delete a Customer by its Agave UUID.\n**Note:** This will trigger an \"UPDATE\" not a \"DELETE\" event for QuickBooks Online webhooks.\n",
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (Acumatica)": {
                "schema": {
                  "$ref": "#/components/schemas/Customer-2"
                }
              },
              "application/json (CMiC)": {
                "schema": {
                  "$ref": "#/components/schemas/Customer-3"
                }
              },
              "application/json (ComputerEase)": {
                "schema": {
                  "$ref": "#/components/schemas/Customer-4"
                }
              },
              "application/json (Foundation)": {
                "schema": {
                  "$ref": "#/components/schemas/Customer-5"
                }
              },
              "application/json (Housecall Pro)": {
                "schema": {
                  "$ref": "#/components/schemas/Customer-6"
                }
              },
              "application/json (HubSpot)": {
                "schema": {
                  "$ref": "#/components/schemas/Customer-7"
                }
              },
              "application/json (Pipedrive)": {
                "schema": {
                  "$ref": "#/components/schemas/Customer-8"
                }
              },
              "application/json (QuickBooks Desktop)": {
                "schema": {
                  "$ref": "#/components/schemas/Customer-9"
                }
              },
              "application/json (QuickBooks Online)": {
                "schema": {
                  "$ref": "#/components/schemas/Customer-9"
                }
              },
              "application/json (Sage 100 Contractor)": {
                "schema": {
                  "$ref": "#/components/schemas/Customer-10"
                }
              },
              "application/json (Sage 300 CRE)": {
                "schema": {
                  "$ref": "#/components/schemas/Customer-11"
                }
              },
              "application/json (Sage Intacct)": {
                "schema": {
                  "$ref": "#/components/schemas/Customer-12"
                }
              },
              "application/json (ServiceTitan)": {
                "schema": {
                  "$ref": "#/components/schemas/Customer-13"
                }
              },
              "application/json (Viewpoint Spectrum)": {
                "schema": {
                  "$ref": "#/components/schemas/Customer-14"
                }
              },
              "application/json (Viewpoint Vista)": {
                "schema": {
                  "$ref": "#/components/schemas/Customer-15"
                }
              }
            }
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "404": {
            "$ref": "#/components/responses/404"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      }
    },
    "/customers/{customer_id}/contacts": {
      "parameters": [
        {
          "$ref": "#/components/parameters/AgaveApiVersion"
        },
        {
          "$ref": "#/components/parameters/AgaveIncludeSourceData"
        },
        {
          "$ref": "#/components/parameters/customer_id"
        }
      ],
      "get": {
        "operationId": "listCustomerContacts",
        "tags": [
          "customers"
        ],
        "summary": "All Customer Contacts",
        "description": "This endpoint retrieves a list of Contacts a Linked User can access for a Customer.\n",
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (Sage 100 Contractor)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Contacts the Linked User can access at a Vendor.",
                      "items": {
                        "$ref": "#/components/schemas/Contact-9"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Sage 300 CRE)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Contacts the Linked User can access at a Vendor.",
                      "items": {
                        "$ref": "#/components/schemas/Contact-10"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Viewpoint Spectrum)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Contacts the Linked User can access at a Vendor.",
                      "items": {
                        "$ref": "#/components/schemas/Contact-13"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/400"
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      },
      "post": {
        "operationId": "newCustomerContacts",
        "tags": [
          "customers"
        ],
        "summary": "Customer Contact",
        "description": "This endpoint creates Customer Contacts.\n",
        "requestBody": {
          "content": {
            "application/json (Sage 100 Contractor)": {
              "schema": {
                "type": "object",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewContact-2"
                  }
                ]
              }
            },
            "application/json (Sage 300 CRE)": {
              "schema": {
                "type": "object",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewContact-3"
                  }
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (Sage 100 Contractor)": {
                "schema": {
                  "$ref": "#/components/schemas/Contact-9"
                }
              },
              "application/json (Sage 300 CRE)": {
                "schema": {
                  "$ref": "#/components/schemas/Contact-10"
                }
              },
              "application/json (Viewpoint Spectrum)": {
                "schema": {
                  "$ref": "#/components/schemas/Contact-13"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/400"
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      }
    },
    "/customers/{customer_id}/contacts/{id}": {
      "parameters": [
        {
          "$ref": "#/components/parameters/AgaveApiVersion"
        },
        {
          "$ref": "#/components/parameters/AgaveIncludeSourceData"
        },
        {
          "$ref": "#/components/parameters/customer_id"
        },
        {
          "name": "id",
          "in": "path",
          "description": "The UUID of the Contact assigned by Agave.",
          "required": true,
          "schema": {
            "type": "string",
            "format": "uuid"
          }
        }
      ],
      "get": {
        "operationId": "getCustomerContact",
        "tags": [
          "customers"
        ],
        "summary": "One Customer Contact",
        "description": "This endpoint retrieves a Contact at a Customer by its Agave UUID.",
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (Sage 100 Contractor)": {
                "schema": {
                  "$ref": "#/components/schemas/Contact-9"
                }
              },
              "application/json (Sage 300 CRE)": {
                "schema": {
                  "$ref": "#/components/schemas/Contact-10"
                }
              },
              "application/json (Viewpoint Spectrum)": {
                "schema": {
                  "$ref": "#/components/schemas/Contact-13"
                }
              }
            }
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "404": {
            "$ref": "#/components/responses/404"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      },
      "put": {
        "operationId": "updateCustomerContact",
        "tags": [
          "customers"
        ],
        "summary": "One Customer Contact",
        "description": "This endpoint updates a Customer Contact by its Agave UUID.",
        "requestBody": {
          "content": {
            "application/json (Sage 100 Contractor)": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewContact-2"
                  },
                  {
                    "required": [
                      "id"
                    ]
                  }
                ]
              }
            },
            "application/json (Sage 300 CRE)": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewContact-3"
                  },
                  {
                    "required": [
                      "id"
                    ]
                  }
                ]
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (Sage 100 Contractor)": {
                "schema": {
                  "$ref": "#/components/schemas/Contact-9"
                }
              },
              "application/json (Sage 300 CRE)": {
                "schema": {
                  "$ref": "#/components/schemas/Contact-10"
                }
              },
              "application/json (Viewpoint Spectrum)": {
                "schema": {
                  "$ref": "#/components/schemas/Contact-13"
                }
              }
            }
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "404": {
            "$ref": "#/components/responses/404"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      }
    },
    "/leads": {
      "parameters": [
        {
          "$ref": "#/components/parameters/AgaveApiVersion"
        },
        {
          "$ref": "#/components/parameters/AgaveIncludeSourceData"
        }
      ],
      "get": {
        "operationId": "listLeads",
        "tags": [
          "leads"
        ],
        "summary": "All Leads",
        "description": "This endpoint retrieves a list of Leads a Linked User can access.",
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (ServiceTitan)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "The list of Leads.",
                      "items": {
                        "$ref": "#/components/schemas/Lead-2"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/400"
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      }
    },
    "/leads/{id}": {
      "parameters": [
        {
          "$ref": "#/components/parameters/AgaveApiVersion"
        },
        {
          "$ref": "#/components/parameters/AgaveIncludeSourceData"
        },
        {
          "name": "id",
          "in": "path",
          "description": "The UUID of the Lead assigned by Agave.",
          "required": true,
          "schema": {
            "type": "string",
            "format": "uuid"
          }
        }
      ],
      "get": {
        "operationId": "getLead",
        "tags": [
          "leads"
        ],
        "summary": "One Lead",
        "description": "This endpoint retrieves a Lead by its Agave UUID.",
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (ServiceTitan)": {
                "schema": {
                  "$ref": "#/components/schemas/Lead-2"
                }
              }
            }
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "404": {
            "$ref": "#/components/responses/404"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      }
    },
    "/opportunities": {
      "parameters": [
        {
          "$ref": "#/components/parameters/AgaveApiVersion"
        },
        {
          "$ref": "#/components/parameters/AgaveIncludeSourceData"
        }
      ],
      "get": {
        "operationId": "listOpportunities",
        "tags": [
          "opportunities"
        ],
        "summary": "All Opportunities",
        "description": "This endpoint retrieves a list of Opportunities a Linked User can access.",
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (HubSpot)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "The list of Opportunities the LinkedUser can access.",
                      "items": {
                        "$ref": "#/components/schemas/Opportunity-2"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Pipedrive)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "The list of Opportunities the LinkedUser can access.",
                      "items": {
                        "$ref": "#/components/schemas/Opportunity-3"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Salesforce)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "The list of Opportunities the LinkedUser can access.",
                      "items": {
                        "$ref": "#/components/schemas/Opportunity-4"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/400"
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      },
      "post": {
        "operationId": "newOpportunities",
        "tags": [
          "opportunities"
        ],
        "summary": "Opportunity",
        "description": "This endpoint creates Opportunities.\n",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewOpportunity"
                  }
                ]
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (HubSpot)": {
                "schema": {
                  "$ref": "#/components/schemas/Opportunity-2"
                }
              },
              "application/json (Pipedrive)": {
                "schema": {
                  "$ref": "#/components/schemas/Opportunity-3"
                }
              },
              "application/json (Salesforce)": {
                "schema": {
                  "$ref": "#/components/schemas/Opportunity-4"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/400"
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      }
    },
    "/opportunities/{id}": {
      "parameters": [
        {
          "$ref": "#/components/parameters/AgaveApiVersion"
        },
        {
          "$ref": "#/components/parameters/AgaveIncludeSourceData"
        },
        {
          "name": "id",
          "in": "path",
          "description": "The UUID of the Opportunity assigned by Agave.",
          "required": true,
          "schema": {
            "type": "string",
            "format": "uuid"
          }
        }
      ],
      "get": {
        "operationId": "getOpportunity",
        "tags": [
          "opportunities"
        ],
        "summary": "One Opportunity",
        "description": "This endpoint retrieves an Opportunity by its Agave UUID.",
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (HubSpot)": {
                "schema": {
                  "$ref": "#/components/schemas/Opportunity-2"
                }
              },
              "application/json (Pipedrive)": {
                "schema": {
                  "$ref": "#/components/schemas/Opportunity-3"
                }
              },
              "application/json (Salesforce)": {
                "schema": {
                  "$ref": "#/components/schemas/Opportunity-4"
                }
              }
            }
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "404": {
            "$ref": "#/components/responses/404"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      },
      "put": {
        "operationId": "updateOpportunity",
        "tags": [
          "opportunities"
        ],
        "summary": "One Opportunity",
        "description": "This endpoint updates a Opportunity by its Agave UUID.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewOpportunity"
                  },
                  {
                    "required": [
                      "id"
                    ]
                  }
                ]
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (HubSpot)": {
                "schema": {
                  "$ref": "#/components/schemas/Opportunity-2"
                }
              },
              "application/json (Pipedrive)": {
                "schema": {
                  "$ref": "#/components/schemas/Opportunity-3"
                }
              },
              "application/json (Salesforce)": {
                "schema": {
                  "$ref": "#/components/schemas/Opportunity-4"
                }
              }
            }
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "404": {
            "$ref": "#/components/responses/404"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      },
      "delete": {
        "operationId": "deleteOpportunity",
        "tags": [
          "opportunities"
        ],
        "summary": "One Opportunity",
        "description": "This endpoint can be used to delete a Opportunity by its Agave UUID. \n",
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (HubSpot)": {
                "schema": {
                  "$ref": "#/components/schemas/Opportunity-2"
                }
              },
              "application/json (Pipedrive)": {
                "schema": {
                  "$ref": "#/components/schemas/Opportunity-3"
                }
              },
              "application/json (Salesforce)": {
                "schema": {
                  "$ref": "#/components/schemas/Opportunity-4"
                }
              }
            }
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "404": {
            "$ref": "#/components/responses/404"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      }
    },
    "/folders/{folder_id}/files": {
      "parameters": [
        {
          "$ref": "#/components/parameters/AgaveApiVersion"
        },
        {
          "$ref": "#/components/parameters/AgaveIncludeSourceData"
        },
        {
          "$ref": "#/components/parameters/ProjectId"
        },
        {
          "$ref": "#/components/parameters/folder_id"
        }
      ],
      "get": {
        "operationId": "listFiles",
        "tags": [
          "files"
        ],
        "summary": "All Files",
        "description": "This endpoint retrieves a list of Files a Linked User can access.\n\n**Note**: The `Project-ID` is required for the following systems: \n  - Aconex\n  - Autodesk Build\n  - BIM 360\n  - PlanGrid\n  - Procore (if omitted, will use Company Documents)\n",
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (Aconex)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Files a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/File-2"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Autodesk Build)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Files a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/File-3"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (BIM 360)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Files a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/File-3"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (CompanyCam)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Files a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/File-4"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Dropbox)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Files a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/File-5"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Egnyte)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Files a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/File-6"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Fieldwire)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Files a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/File-7"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (HubSpot)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Files a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/File-8"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (OneDrive)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Files a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/File-9"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Pipedrive)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Files a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/File-10"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (PlanGrid)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Files a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/File-11"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Procore)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Files a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/File-12"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Sharepoint Online)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Files a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/File-9"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/400"
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      },
      "post": {
        "operationId": "uploadFile",
        "tags": [
          "files"
        ],
        "summary": "Upload File",
        "description": "This endpoint uploads a new File to a Folder.\n\n**Note**: The `Project-ID` is required for the following systems: \n  - BIM 360\n  - Procore (if omitted, will upload to Company Documents)\n\nCurrently, Agave enforces a maximum file size limit of 100MB per file for this endpoint. \nTo upload files larger than this limit, see [File Transfers](#tag--file-transfers).\n\n**Note**: In order to upload a file, you must use the `multipart/form-data` Content-Type when making the request. \nThe Content-Type is used to specify the media type of the resource.\n",
        "requestBody": {
          "content": {
            "multipart/form-data": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewFile"
                  },
                  {
                    "required": [
                      "name",
                      "contents"
                    ]
                  }
                ]
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (Aconex)": {
                "schema": {
                  "$ref": "#/components/schemas/File-2"
                }
              },
              "application/json (Autodesk Build)": {
                "schema": {
                  "$ref": "#/components/schemas/Folder-2"
                }
              },
              "application/json (BIM 360)": {
                "schema": {
                  "$ref": "#/components/schemas/File-3"
                }
              },
              "application/json (CompanyCam)": {
                "schema": {
                  "$ref": "#/components/schemas/File-4"
                }
              },
              "application/json (Dropbox)": {
                "schema": {
                  "$ref": "#/components/schemas/File-5"
                }
              },
              "application/json (Egnyte)": {
                "schema": {
                  "$ref": "#/components/schemas/File-6"
                }
              },
              "application/json (HubSpot)": {
                "schema": {
                  "$ref": "#/components/schemas/File-8"
                }
              },
              "application/json (OneDrive)": {
                "schema": {
                  "$ref": "#/components/schemas/File-9"
                }
              },
              "application/json (Pipedrive)": {
                "schema": {
                  "$ref": "#/components/schemas/File-10"
                }
              },
              "application/json (PlanGrid)": {
                "schema": {
                  "$ref": "#/components/schemas/File-11"
                }
              },
              "application/json (Procore)": {
                "schema": {
                  "$ref": "#/components/schemas/File-12"
                }
              },
              "application/json (Sharepoint Online)": {
                "schema": {
                  "$ref": "#/components/schemas/File-9"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/400"
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      }
    },
    "/files/{id}": {
      "parameters": [
        {
          "$ref": "#/components/parameters/AgaveApiVersion"
        },
        {
          "$ref": "#/components/parameters/AgaveIncludeSourceData"
        },
        {
          "$ref": "#/components/parameters/ProjectId"
        },
        {
          "name": "id",
          "in": "path",
          "description": "The UUID of the File assigned by Agave.",
          "required": true,
          "schema": {
            "type": "string",
            "format": "uuid"
          }
        }
      ],
      "get": {
        "operationId": "getFile",
        "tags": [
          "files"
        ],
        "summary": "One File",
        "description": "This endpoint retrieves a File by its Agave UUID.\n\n**Note**: The `Project-ID` is required for the following systems: \n  - Aconex\n  - Autodesk Build\n  - BIM 360\n  - PlanGrid\n  - Procore (if omitted, will use Company Documents)\n",
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (Aconex)": {
                "schema": {
                  "$ref": "#/components/schemas/File-2"
                }
              },
              "application/json (Autodesk Build)": {
                "schema": {
                  "$ref": "#/components/schemas/Folder-2"
                }
              },
              "application/json (BIM 360)": {
                "schema": {
                  "$ref": "#/components/schemas/File-3"
                }
              },
              "application/json (CompanyCam)": {
                "schema": {
                  "$ref": "#/components/schemas/File-4"
                }
              },
              "application/json (Dropbox)": {
                "schema": {
                  "$ref": "#/components/schemas/File-5"
                }
              },
              "application/json (Egnyte)": {
                "schema": {
                  "$ref": "#/components/schemas/File-6"
                }
              },
              "application/json (HubSpot)": {
                "schema": {
                  "$ref": "#/components/schemas/File-8"
                }
              },
              "application/json (OneDrive)": {
                "schema": {
                  "$ref": "#/components/schemas/File-9"
                }
              },
              "application/json (Pipedrive)": {
                "schema": {
                  "$ref": "#/components/schemas/File-10"
                }
              },
              "application/json (PlanGrid)": {
                "schema": {
                  "$ref": "#/components/schemas/File-11"
                }
              },
              "application/json (Procore)": {
                "schema": {
                  "$ref": "#/components/schemas/File-12"
                }
              },
              "application/json (Sharepoint Online)": {
                "schema": {
                  "$ref": "#/components/schemas/File-9"
                }
              }
            }
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "404": {
            "$ref": "#/components/responses/404"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      }
    },
    "/folders/{folder_id}/transfer": {
      "parameters": [
        {
          "$ref": "#/components/parameters/AgaveApiVersion"
        },
        {
          "$ref": "#/components/parameters/AgaveIncludeSourceData"
        },
        {
          "$ref": "#/components/parameters/ProjectId"
        },
        {
          "$ref": "#/components/parameters/folder_id"
        }
      ],
      "post": {
        "operationId": "initiateNewFileTransfer",
        "tags": [
          "file-transfers"
        ],
        "summary": "New File Transfer",
        "description": "This request initiates the asynchronous transfer of a publicly-available File into a specified Folder. \n\nIf a file with the same name already exists in that folder, this endpoint returns an error. If you want to transfer a new Version of an existing File, use the [/folders/{folder_id}/files/{id}/transfer](#post-/folders/-folder_id-/transfer) endpoint instead.\n\nThis endpoint immediately return the File Transfer ID that can be used in the [/file-transfers/{id}](#get-/file-transfers/-id-) \nendpoint to see the status of the File Transfer.\n\n**Note**: the header Project-ID is required for Aconex, BIM 360, and Procore.\n",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewFileTransfer"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/scheduled"
                }
              }
            }
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "404": {
            "$ref": "#/components/responses/404"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      }
    },
    "/files/{id}/transfer": {
      "parameters": [
        {
          "$ref": "#/components/parameters/AgaveApiVersion"
        },
        {
          "$ref": "#/components/parameters/AgaveIncludeSourceData"
        },
        {
          "$ref": "#/components/parameters/ProjectId"
        },
        {
          "name": "id",
          "in": "path",
          "description": "The UUID of the File assigned by Agave",
          "required": true,
          "schema": {
            "type": "string",
            "format": "uuid"
          }
        }
      ],
      "post": {
        "operationId": "initiateNewFileVersionTransfer",
        "tags": [
          "file-transfers"
        ],
        "summary": "New File Version Transfer",
        "description": "This request initiates the asynchronous transfer of a publicly-available File as a new Version of an existing File.\n\nThis endpoint immediately return the File Transfer ID that can be used in the [/file-transfers/{id}](#get-/file-transfers/-id-) \nendpoint to see the status of the File Transfer.\n\n**Note**: the header Project-ID is required for Aconex, BIM 360, and Procore.\n",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewFileTransfer"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/scheduled"
                }
              }
            }
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "404": {
            "$ref": "#/components/responses/404"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      }
    },
    "/file-transfers/{id}": {
      "parameters": [
        {
          "$ref": "#/components/parameters/AgaveApiVersion"
        },
        {
          "$ref": "#/components/parameters/AgaveIncludeSourceData"
        },
        {
          "$ref": "#/components/parameters/ProjectId"
        },
        {
          "name": "id",
          "in": "path",
          "description": "The UUID of the File Transfer assigned by Agave in [/folders/{folder_id}/transfer](#post-/folders/-folder_id-/transfer).",
          "required": true,
          "schema": {
            "type": "string",
            "format": "uuid"
          }
        }
      ],
      "get": {
        "operationId": "showFileTransfer",
        "tags": [
          "file-transfers"
        ],
        "summary": "Show File Transfer Status",
        "description": "This endpoint returns the status of the File Transfer (e.g. scheduled, finished).\n",
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (Scheduled)": {
                "schema": {
                  "$ref": "#/components/schemas/scheduled"
                }
              },
              "application/json (Initializing)": {
                "schema": {
                  "$ref": "#/components/schemas/initializing"
                }
              },
              "application/json (Downloading)": {
                "schema": {
                  "$ref": "#/components/schemas/downloading"
                }
              },
              "application/json (Chunking)": {
                "schema": {
                  "$ref": "#/components/schemas/chunking"
                }
              },
              "application/json (Copying)": {
                "schema": {
                  "$ref": "#/components/schemas/copying"
                }
              },
              "application/json (Finalizing)": {
                "schema": {
                  "$ref": "#/components/schemas/finalizing"
                }
              },
              "application/json (Finished)": {
                "schema": {
                  "$ref": "#/components/schemas/finished"
                }
              },
              "application/json (Failed)": {
                "schema": {
                  "$ref": "#/components/schemas/failed"
                }
              }
            }
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "404": {
            "$ref": "#/components/responses/404"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      }
    },
    "/files/{file_id}/versions": {
      "parameters": [
        {
          "$ref": "#/components/parameters/AgaveApiVersion"
        },
        {
          "$ref": "#/components/parameters/AgaveIncludeSourceData"
        },
        {
          "$ref": "#/components/parameters/ProjectId"
        },
        {
          "$ref": "#/components/parameters/file_id"
        }
      ],
      "get": {
        "operationId": "listFileVersions",
        "tags": [
          "file-versions"
        ],
        "summary": "All Versions of a File",
        "description": "This endpoint retrieves a list of current and past Versions of a File a Linked User can access.",
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (Aconex)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of File Versions a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/FileVersion-2"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Autodesk Build)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of File Versions a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/FileVersion-3"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (BIM 360)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of File Versions a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/FileVersion-3"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Procore)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of File Versions a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/FileVersion-4"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/400"
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      }
    },
    "/files/{file_id}/versions/{id}": {
      "parameters": [
        {
          "$ref": "#/components/parameters/AgaveApiVersion"
        },
        {
          "$ref": "#/components/parameters/AgaveIncludeSourceData"
        },
        {
          "$ref": "#/components/parameters/ProjectId"
        },
        {
          "$ref": "#/components/parameters/file_id"
        },
        {
          "name": "id",
          "in": "path",
          "description": "The UUID of the File Version assigned by Agave.",
          "required": true,
          "schema": {
            "type": "string",
            "format": "uuid"
          }
        }
      ],
      "get": {
        "operationId": "getFileVersion",
        "tags": [
          "file-versions"
        ],
        "summary": "One File Version",
        "description": "This endpoint retrieves a File Version by its Agave UUID.",
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (Aconex)": {
                "schema": {
                  "$ref": "#/components/schemas/FileVersion-2"
                }
              },
              "application/json (Autodesk Build)": {
                "schema": {
                  "$ref": "#/components/schemas/FileVersion-3"
                }
              },
              "application/json (BIM 360)": {
                "schema": {
                  "$ref": "#/components/schemas/FileVersion-3"
                }
              },
              "application/json (Procore)": {
                "schema": {
                  "$ref": "#/components/schemas/FileVersion-4"
                }
              }
            }
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "404": {
            "$ref": "#/components/responses/404"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      }
    },
    "/root-folder": {
      "parameters": [
        {
          "$ref": "#/components/parameters/AgaveApiVersion"
        },
        {
          "$ref": "#/components/parameters/AgaveIncludeSourceData"
        },
        {
          "$ref": "#/components/parameters/ProjectId"
        }
      ],
      "get": {
        "operationId": "getRootFolder",
        "tags": [
          "folders"
        ],
        "summary": "Root Folder",
        "description": "This endpoint returns a list of Files and Folders from the top-level Folder a Linked User can access.\n\n**Note**: The `Project-ID` is required for the following systems: \n  - Aconex\n  - Autodesk Build\n  - BIM 360\n  - Fieldwire\n  - PlanGrid\n  - Procore (if omitted, will return root folder of Company Documents)\n",
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (Aconex)": {
                "schema": {
                  "$ref": "#/components/schemas/RootFolder-2"
                }
              },
              "application/json (Autodesk Build)": {
                "schema": {
                  "$ref": "#/components/schemas/Folder-2"
                }
              },
              "application/json (BIM 360)": {
                "schema": {
                  "$ref": "#/components/schemas/RootFolder-3"
                }
              },
              "application/json (CompanyCam)": {
                "schema": {
                  "$ref": "#/components/schemas/RootFolder-4"
                }
              },
              "application/json (Dropbox)": {
                "schema": {
                  "$ref": "#/components/schemas/RootFolder-5"
                }
              },
              "application/json (Egnyte)": {
                "schema": {
                  "$ref": "#/components/schemas/RootFolder-6"
                }
              },
              "application/json (Fieldwire)": {
                "schema": {
                  "$ref": "#/components/schemas/RootFolder-7"
                }
              },
              "application/json (HubSpot)": {
                "schema": {
                  "$ref": "#/components/schemas/RootFolder-8"
                }
              },
              "application/json (OneDrive)": {
                "schema": {
                  "$ref": "#/components/schemas/RootFolder-9"
                }
              },
              "application/json (PlanGrid)": {
                "schema": {
                  "$ref": "#/components/schemas/RootFolder-7"
                }
              },
              "application/json (Procore)": {
                "schema": {
                  "$ref": "#/components/schemas/RootFolder-10"
                }
              },
              "application/json (Sharepoint Online)": {
                "schema": {
                  "$ref": "#/components/schemas/RootFolder-9"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/400"
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "404": {
            "$ref": "#/components/responses/404"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      }
    },
    "/folders/{id}": {
      "parameters": [
        {
          "$ref": "#/components/parameters/AgaveApiVersion"
        },
        {
          "$ref": "#/components/parameters/AgaveIncludeSourceData"
        },
        {
          "$ref": "#/components/parameters/ProjectId"
        },
        {
          "name": "id",
          "in": "path",
          "description": "The UUID of the Folder assigned by Agave.",
          "required": true,
          "schema": {
            "type": "string",
            "format": "uuid"
          }
        }
      ],
      "get": {
        "operationId": "getFolder",
        "tags": [
          "folders"
        ],
        "summary": "One Folder",
        "description": "This endpoint retrieves a Folder by its Agave UUID.\n\n**Note**: The `Project-ID` is required for the following systems: \n  - Aconex\n  - Autodesk Build\n  - BIM 360\n  - Fieldwire\n  - PlanGrid\n  - Procore (if omitted, will use Company Documents)\n",
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (Aconex)": {
                "schema": {
                  "$ref": "#/components/schemas/Folder-3"
                }
              },
              "application/json (Autodesk Build)": {
                "schema": {
                  "$ref": "#/components/schemas/Folder-2"
                }
              },
              "application/json (BIM 360)": {
                "schema": {
                  "$ref": "#/components/schemas/Folder-2"
                }
              },
              "application/json (CompanyCam)": {
                "schema": {
                  "$ref": "#/components/schemas/Folder-4"
                }
              },
              "application/json (Dropbox)": {
                "schema": {
                  "$ref": "#/components/schemas/Folder-5"
                }
              },
              "application/json (Egnyte)": {
                "schema": {
                  "$ref": "#/components/schemas/Folder-6"
                }
              },
              "application/json (Fieldwire)": {
                "schema": {
                  "$ref": "#/components/schemas/Folder-7"
                }
              },
              "application/json (HubSpot)": {
                "schema": {
                  "$ref": "#/components/schemas/Folder-8"
                }
              },
              "application/json (OneDrive)": {
                "schema": {
                  "$ref": "#/components/schemas/Folder-9"
                }
              },
              "application/json (PlanGrid)": {
                "schema": {
                  "$ref": "#/components/schemas/Folder-10"
                }
              },
              "application/json (Procore)": {
                "schema": {
                  "$ref": "#/components/schemas/Folder-11"
                }
              },
              "application/json (Sharepoint Online)": {
                "schema": {
                  "$ref": "#/components/schemas/Folder-9"
                }
              }
            }
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "404": {
            "$ref": "#/components/responses/404"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      },
      "put": {
        "operationId": "updateFolder",
        "tags": [
          "folders"
        ],
        "summary": "One Folder",
        "description": "This endpoint updates a Folder by its Agave UUID.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/UpdateFolder"
                  },
                  {
                    "required": [
                      "id"
                    ]
                  }
                ]
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (Aconex)": {
                "schema": {
                  "$ref": "#/components/schemas/Folder-3"
                }
              },
              "application/json (Autodesk Build)": {
                "schema": {
                  "$ref": "#/components/schemas/Folder-2"
                }
              },
              "application/json (BIM 360)": {
                "schema": {
                  "$ref": "#/components/schemas/Folder-2"
                }
              },
              "application/json (CompanyCam)": {
                "schema": {
                  "$ref": "#/components/schemas/Folder-4"
                }
              },
              "application/json (Dropbox)": {
                "schema": {
                  "$ref": "#/components/schemas/Folder-5"
                }
              },
              "application/json (Egnyte)": {
                "schema": {
                  "$ref": "#/components/schemas/Folder-6"
                }
              },
              "application/json (Fieldwire)": {
                "schema": {
                  "$ref": "#/components/schemas/Folder-7"
                }
              },
              "application/json (HubSpot)": {
                "schema": {
                  "$ref": "#/components/schemas/Folder-8"
                }
              },
              "application/json (OneDrive)": {
                "schema": {
                  "$ref": "#/components/schemas/Folder-9"
                }
              },
              "application/json (PlanGrid)": {
                "schema": {
                  "$ref": "#/components/schemas/Folder-10"
                }
              },
              "application/json (Procore)": {
                "schema": {
                  "$ref": "#/components/schemas/Folder-11"
                }
              },
              "application/json (Sharepoint Online)": {
                "schema": {
                  "$ref": "#/components/schemas/Folder-9"
                }
              }
            }
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "404": {
            "$ref": "#/components/responses/404"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      },
      "delete": {
        "operationId": "deleteFolder",
        "tags": [
          "folders"
        ],
        "summary": "One Folder",
        "description": "This endpoint deletes a Folder by its Agave UUID.\n",
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (Aconex)": {
                "schema": {
                  "$ref": "#/components/schemas/Folder-3"
                }
              },
              "application/json (Autodesk Build)": {
                "schema": {
                  "$ref": "#/components/schemas/Folder-2"
                }
              },
              "application/json (BIM 360)": {
                "schema": {
                  "$ref": "#/components/schemas/Folder-2"
                }
              },
              "application/json (CompanyCam)": {
                "schema": {
                  "$ref": "#/components/schemas/Folder-4"
                }
              },
              "application/json (Dropbox)": {
                "schema": {
                  "$ref": "#/components/schemas/Folder-5"
                }
              },
              "application/json (Egnyte)": {
                "schema": {
                  "$ref": "#/components/schemas/Folder-6"
                }
              },
              "application/json (Fieldwire)": {
                "schema": {
                  "$ref": "#/components/schemas/Folder-7"
                }
              },
              "application/json (HubSpot)": {
                "schema": {
                  "$ref": "#/components/schemas/Folder-8"
                }
              },
              "application/json (OneDrive)": {
                "schema": {
                  "$ref": "#/components/schemas/Folder-9"
                }
              },
              "application/json (PlanGrid)": {
                "schema": {
                  "$ref": "#/components/schemas/Folder-10"
                }
              },
              "application/json (Procore)": {
                "schema": {
                  "$ref": "#/components/schemas/Folder-11"
                }
              },
              "application/json (Sharepoint Online)": {
                "schema": {
                  "$ref": "#/components/schemas/Folder-9"
                }
              }
            }
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "404": {
            "$ref": "#/components/responses/404"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      }
    },
    "/folders": {
      "parameters": [
        {
          "$ref": "#/components/parameters/AgaveApiVersion"
        },
        {
          "$ref": "#/components/parameters/AgaveIncludeSourceData"
        },
        {
          "$ref": "#/components/parameters/ProjectId"
        }
      ],
      "post": {
        "operationId": "newFolder",
        "tags": [
          "folders"
        ],
        "summary": "Folder",
        "description": "This endpoint creates a new Folder under a Parent Folder.\n\n**Note**: The `Project-ID` is required for the following systems: \n  - Aconex\n  - Autodesk Build\n  - BIM 360\n  - Fieldwire\n  - Procore (if omitted, will return Company Documents)\n",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewFolder"
                  }
                ]
              }
            },
            "multipart/form-data": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewFolder"
                  }
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (Aconex)": {
                "schema": {
                  "$ref": "#/components/schemas/Folder-3"
                }
              },
              "application/json (Autodesk Build)": {
                "schema": {
                  "$ref": "#/components/schemas/Folder-2"
                }
              },
              "application/json (BIM 360)": {
                "schema": {
                  "$ref": "#/components/schemas/Folder-2"
                }
              },
              "application/json (CompanyCam)": {
                "schema": {
                  "$ref": "#/components/schemas/Folder-4"
                }
              },
              "application/json (Dropbox)": {
                "schema": {
                  "$ref": "#/components/schemas/Folder-5"
                }
              },
              "application/json (Egnyte)": {
                "schema": {
                  "$ref": "#/components/schemas/Folder-6"
                }
              },
              "application/json (Fieldwire)": {
                "schema": {
                  "$ref": "#/components/schemas/Folder-7"
                }
              },
              "application/json (HubSpot)": {
                "schema": {
                  "$ref": "#/components/schemas/Folder-8"
                }
              },
              "application/json (OneDrive)": {
                "schema": {
                  "$ref": "#/components/schemas/Folder-9"
                }
              },
              "application/json (PlanGrid)": {
                "schema": {
                  "$ref": "#/components/schemas/Folder-10"
                }
              },
              "application/json (Procore)": {
                "schema": {
                  "$ref": "#/components/schemas/Folder-11"
                }
              },
              "application/json (Sharepoint Online)": {
                "schema": {
                  "$ref": "#/components/schemas/Folder-9"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/400"
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      }
    },
    "/photos/{id}": {
      "parameters": [
        {
          "$ref": "#/components/parameters/AgaveApiVersion"
        },
        {
          "$ref": "#/components/parameters/AgaveIncludeSourceData"
        },
        {
          "$ref": "#/components/parameters/ProjectId"
        },
        {
          "name": "id",
          "in": "path",
          "description": "The UUID of the Photo assigned by Agave.",
          "required": true,
          "schema": {
            "type": "string",
            "format": "uuid"
          }
        }
      ],
      "get": {
        "operationId": "getPhoto",
        "tags": [
          "photos"
        ],
        "summary": "One Photo",
        "description": "This endpoint retrieves a Photo by its Agave UUID.\n",
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (CompanyCam)": {
                "schema": {
                  "$ref": "#/components/schemas/Photo-2"
                }
              },
              "application/json (Procore)": {
                "schema": {
                  "$ref": "#/components/schemas/Photo-3"
                }
              }
            }
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "404": {
            "$ref": "#/components/responses/404"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      }
    },
    "/photos": {
      "parameters": [
        {
          "$ref": "#/components/parameters/AgaveApiVersion"
        },
        {
          "$ref": "#/components/parameters/AgaveIncludeSourceData"
        },
        {
          "$ref": "#/components/parameters/ProjectId"
        }
      ],
      "get": {
        "operationId": "listPhotos",
        "tags": [
          "photos"
        ],
        "summary": "All Photos",
        "description": "This endpoint retrieves a list of Photos a Linked User can access.\n",
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (CompanyCam)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Photos a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/Photo-2"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Procore)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "A list of Photos a Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/Photo-3"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/400"
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      },
      "post": {
        "operationId": "uploadPhoto",
        "tags": [
          "photos"
        ],
        "summary": "Upload Photo",
        "description": "This endpoint uploads a new Photo.\n\n**Note**: In order to upload a Photo, you must use the `multipart/form-data` Content-Type when making the request. \nThe Content-Type is used to specify the media type of the resource.\n",
        "requestBody": {
          "content": {
            "multipart/form-data": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewPhoto"
                  },
                  {
                    "required": [
                      "name",
                      "contents"
                    ]
                  }
                ]
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (CompanyCam)": {
                "schema": {
                  "$ref": "#/components/schemas/Photo-2"
                }
              },
              "application/json (Procore)": {
                "schema": {
                  "$ref": "#/components/schemas/Photo-3"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/400"
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      }
    },
    "/webhooks": {
      "parameters": [
        {
          "$ref": "#/components/parameters/AgaveApiVersion"
        },
        {
          "$ref": "#/components/parameters/AgaveIncludeSourceData"
        },
        {
          "$ref": "#/components/parameters/ProjectId"
        }
      ],
      "get": {
        "operationId": "listWebhooks",
        "tags": [
          "webhooks"
        ],
        "summary": "All Webhooks",
        "description": "This endpoint retrieves a list of Webhooks a Linked User can access.\n",
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (HubSpot)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "The list of Webhooks this Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/Webhook-2"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Pipedrive)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "The list of Webhooks this Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/Webhook-3"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (Procore)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "The list of Webhooks this Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/Webhook-4"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              },
              "application/json (QuickBooks Online)": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "description": "The list of Webhooks this Linked User can access.",
                      "items": {
                        "$ref": "#/components/schemas/Webhook-5"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/400"
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      },
      "post": {
        "operationId": "newWebhook",
        "tags": [
          "webhooks"
        ],
        "summary": "Webhook",
        "description": "This endpoint creates Webhooks.\n",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/NewWebhook"
                  },
                  {
                    "required": [
                      "callback_url",
                      "event",
                      "type"
                    ]
                  }
                ]
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (HubSpot)": {
                "schema": {
                  "$ref": "#/components/schemas/Webhook-2"
                }
              },
              "application/json (Pipedrive)": {
                "schema": {
                  "$ref": "#/components/schemas/Webhook-3"
                }
              },
              "application/json (Procore)": {
                "schema": {
                  "$ref": "#/components/schemas/Webhook-4"
                }
              },
              "application/json (QuickBooks Online)": {
                "schema": {
                  "$ref": "#/components/schemas/Webhook-5"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/400"
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      }
    },
    "/webhooks/{id}": {
      "parameters": [
        {
          "$ref": "#/components/parameters/AgaveApiVersion"
        },
        {
          "$ref": "#/components/parameters/AgaveIncludeSourceData"
        },
        {
          "$ref": "#/components/parameters/ProjectId"
        },
        {
          "name": "id",
          "in": "path",
          "description": "The UUID of the Webhook assigned by Agave.",
          "required": true,
          "schema": {
            "type": "string",
            "format": "uuid"
          }
        }
      ],
      "get": {
        "operationId": "getWebhook",
        "tags": [
          "webhooks"
        ],
        "summary": "One Webhook",
        "description": "This endpoint retrieves a Webhook by its Agave UUID.",
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (HubSpot)": {
                "schema": {
                  "$ref": "#/components/schemas/Webhook-2"
                }
              },
              "application/json (Pipedrive)": {
                "schema": {
                  "$ref": "#/components/schemas/Webhook-3"
                }
              },
              "application/json (Procore)": {
                "schema": {
                  "$ref": "#/components/schemas/Webhook-4"
                }
              },
              "application/json (QuickBooks Online)": {
                "schema": {
                  "$ref": "#/components/schemas/Webhook-5"
                }
              }
            }
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "404": {
            "$ref": "#/components/responses/404"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      },
      "delete": {
        "operationId": "deleteWebhook",
        "tags": [
          "webhooks"
        ],
        "summary": "One Webhook",
        "description": "This endpoint deletes a Webhook by its Agave UUID.\n",
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Agave-Request-Id": {
                "$ref": "#/components/headers/AgaveRequestId"
              },
              "Agave-Data-Retrieved": {
                "$ref": "#/components/headers/AgaveDataRetrievedAt"
              }
            },
            "content": {
              "application/json (HubSpot)": {
                "schema": {
                  "$ref": "#/components/schemas/Webhook-2"
                }
              },
              "application/json (Pipedrive)": {
                "schema": {
                  "$ref": "#/components/schemas/Webhook-3"
                }
              },
              "application/json (Procore)": {
                "schema": {
                  "$ref": "#/components/schemas/Webhook-4"
                }
              },
              "application/json (QuickBooks Online)": {
                "schema": {
                  "$ref": "#/components/schemas/Webhook-5"
                }
              }
            }
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "404": {
            "$ref": "#/components/responses/404"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          },
          "503": {
            "$ref": "#/components/responses/503"
          }
        }
      }
    }
  },
  "components": {
    "securitySchemes": {
      "Client-Id": {
        "description": "The `Client-Id` request header is required for all API endpoints. For more information,\nsee [Headers](https://docs.agaveapi.com/agave-api/headers).\n",
        "type": "apiKey",
        "in": "header",
        "name": "Client-Id"
      },
      "Client-Secret": {
        "description": "The `Client-Secret` request header is required for all API endpoints. For more information,\nsee [Headers](https://docs.agaveapi.com/agave-api/headers).\n",
        "type": "apiKey",
        "in": "header",
        "name": "Client-Secret"
      },
      "Account-Token": {
        "description": "The `Account-Token` request header is required for all API endpoints accessing customer data. For more information,\nsee [Headers](https://docs.agaveapi.com/agave-api/headers).\n",
        "type": "apiKey",
        "in": "header",
        "name": "Account-Token"
      }
    },
    "parameters": {
      "AgaveApiVersion": {
        "name": "API-Version",
        "in": "header",
        "description": "This value specifies which [Agave API version](/agave-api/api-versioning) to use.\nThe current version is `\"2021-11-21\"`.\n",
        "required": true,
        "schema": {
          "type": "string"
        },
        "example": "2021-11-21"
      },
      "AgaveIncludeSourceData": {
        "name": "Include-Source-Data",
        "in": "header",
        "description": "Indicates whether you would like to also return the raw data from a Source System. Providing a comma-delimited list returns only a subset of the fields.",
        "required": false,
        "schema": {
          "oneOf": [
            {
              "type": "boolean",
              "description": "A flag denoting whether you would like to also return the entire raw data from a Source System.",
              "default": false
            },
            {
              "type": "string",
              "description": "A comma-delimited list of Source System fields to return (e.g., `source_field_1,source_field_2,source_field_3`)"
            }
          ]
        }
      },
      "ProjectId": {
        "name": "Project-Id",
        "in": "header",
        "description": "The UUID of the Project assigned by Agave. Depending on the endpoint and Source System, this may be required (see note above).",
        "required": false,
        "schema": {
          "type": "string",
          "format": "uuid"
        }
      },
      "Expand": {
        "name": "Expand",
        "in": "header",
        "description": "Indicates whether you would also like to return Line Item objects associated with the header value. Note, setting this to `true` will typically add latency to your request.",
        "required": false,
        "schema": {
          "type": "boolean",
          "description": "A flag denoting whether you would like to also return the Line Item objects. Note, this will typically add latency to your request.",
          "default": false
        }
      },
      "RequiredProjectId": {
        "name": "Project-Id",
        "in": "header",
        "description": "The UUID of the Project assigned by Agave.",
        "required": true,
        "schema": {
          "type": "string",
          "format": "uuid"
        }
      },
      "ap_invoice_id": {
        "name": "ap_invoice_id",
        "in": "path",
        "description": "The UUID of the AP Invoice assigned by Agave.",
        "required": true,
        "schema": {
          "type": "string",
          "format": "uuid"
        }
      },
      "ap_payment_id": {
        "name": "ap_payment_id",
        "in": "path",
        "description": "The UUID of the AP Payment assigned by Agave.",
        "required": true,
        "schema": {
          "type": "string",
          "format": "uuid"
        }
      },
      "ar_invoice_id": {
        "name": "ar_invoice_id",
        "in": "path",
        "description": "The UUID of the AR Invoice assigned by Agave.",
        "required": true,
        "schema": {
          "type": "string",
          "format": "uuid"
        }
      },
      "ar_payment_id": {
        "name": "ar_payment_id",
        "in": "path",
        "description": "The UUID of the AR Payment assigned by Agave.",
        "required": true,
        "schema": {
          "type": "string",
          "format": "uuid"
        }
      },
      "budget_transfer_id": {
        "name": "budget_transfer_id",
        "in": "path",
        "description": "The UUID of the Budget Transfer assigned by Agave.",
        "required": true,
        "schema": {
          "type": "string",
          "format": "uuid"
        }
      },
      "change_event_id": {
        "name": "change_event_id",
        "in": "path",
        "description": "The UUID of the Change Event assigned by Agave.",
        "required": true,
        "schema": {
          "type": "string",
          "format": "uuid"
        }
      },
      "change_order_id": {
        "name": "change_order_id",
        "in": "path",
        "description": "The UUID of the Change Order assigned by Agave.",
        "required": true,
        "schema": {
          "type": "string",
          "format": "uuid"
        }
      },
      "estimate_id": {
        "name": "estimate_id",
        "in": "path",
        "description": "The UUID of the Estimate assigned by Agave.",
        "required": true,
        "schema": {
          "type": "string",
          "format": "uuid"
        }
      },
      "Expense_id": {
        "name": "expense_id",
        "in": "path",
        "description": "The UUID of the Expense assigned by Agave.",
        "required": true,
        "schema": {
          "type": "string",
          "format": "uuid"
        }
      },
      "item_receipt_id": {
        "name": "item_receipt_id",
        "in": "path",
        "description": "The UUID of the Item Receipt assigned by Agave.",
        "required": true,
        "schema": {
          "type": "string",
          "format": "uuid"
        }
      },
      "ledger_journal_entry_id": {
        "name": "ledger_journal_entry_id",
        "in": "path",
        "description": "The UUID of the Ledger Journal Entry assigned by Agave.",
        "required": true,
        "schema": {
          "type": "string",
          "format": "uuid"
        }
      },
      "prime_contract_id": {
        "name": "prime_contract_id",
        "in": "path",
        "description": "The UUID of the Prime Contract assigned by Agave.",
        "required": true,
        "schema": {
          "type": "string",
          "format": "uuid"
        }
      },
      "purchase_order_id": {
        "name": "purchase_order_id",
        "in": "path",
        "description": "The UUID of the Purchase Order assigned by Agave.",
        "required": true,
        "schema": {
          "type": "string",
          "format": "uuid"
        }
      },
      "subcontract_id": {
        "name": "subcontract_id",
        "in": "path",
        "description": "The UUID of the Subcontract assigned by Agave.",
        "required": true,
        "schema": {
          "type": "string",
          "format": "uuid"
        }
      },
      "subcontract_claim_id": {
        "name": "subcontract_claim_id",
        "in": "path",
        "description": "The UUID of the Subcontract CLaim assigned by Agave.",
        "required": true,
        "schema": {
          "type": "string",
          "format": "uuid"
        }
      },
      "wbs_segment_id": {
        "name": "wbs_segment_id",
        "in": "path",
        "description": "The UUID of the WBS Segment assigned by Agave.",
        "required": true,
        "schema": {
          "type": "string",
          "format": "uuid"
        }
      },
      "coordination_issue_id": {
        "name": "coordination_issue_id",
        "in": "path",
        "description": "The UUID of the Coordination Issue assigned by Agave",
        "required": true,
        "schema": {
          "type": "string",
          "format": "uuid"
        }
      },
      "drawing_id": {
        "name": "drawing_id",
        "in": "path",
        "description": "The UUID of the Drawing assigned by Agave",
        "required": true,
        "schema": {
          "type": "string",
          "format": "uuid"
        }
      },
      "observation_id": {
        "name": "observation_id",
        "in": "path",
        "description": "The UUID of the Observation assigned by Agave",
        "required": true,
        "schema": {
          "type": "string",
          "format": "uuid"
        }
      },
      "rfi_id": {
        "name": "rfi_id",
        "in": "path",
        "description": "The UUID of the RFI assigned by Agave.",
        "required": true,
        "schema": {
          "type": "string",
          "format": "uuid"
        }
      },
      "specification_section_id": {
        "name": "section_id",
        "in": "path",
        "description": "The UUID of the Specification Section assigned by Agave",
        "required": true,
        "schema": {
          "type": "string",
          "format": "uuid"
        }
      },
      "submittal_id": {
        "name": "submittal_id",
        "in": "path",
        "description": "The UUID of the Submittal assigned by Agave.",
        "required": true,
        "schema": {
          "type": "string",
          "format": "uuid"
        }
      },
      "submittal_reviewer_id": {
        "name": "submittal_reviewer_id",
        "in": "path",
        "description": "The UUID of the Submittal Reviewer assigned by Agave.",
        "required": true,
        "schema": {
          "type": "string",
          "format": "uuid"
        }
      },
      "vendor_id": {
        "name": "vendor_id",
        "in": "path",
        "description": "The UUID of the Vendor assigned by Agave.",
        "required": true,
        "schema": {
          "type": "string",
          "format": "uuid"
        }
      },
      "activity_id": {
        "name": "activity_id",
        "in": "path",
        "description": "The UUID of the Activity assigned by Agave",
        "required": true,
        "schema": {
          "type": "string",
          "format": "uuid"
        }
      },
      "customer_id": {
        "name": "customer_id",
        "in": "path",
        "description": "The UUID of the Customer assigned by Agave.",
        "required": true,
        "schema": {
          "type": "string",
          "format": "uuid"
        }
      },
      "folder_id": {
        "name": "folder_id",
        "in": "path",
        "description": "The UUID of the Folder assigned by Agave",
        "required": true,
        "schema": {
          "type": "string",
          "format": "uuid"
        }
      },
      "file_id": {
        "name": "file_id",
        "in": "path",
        "description": "The UUID of the File assigned by Agave",
        "required": true,
        "schema": {
          "type": "string",
          "format": "uuid"
        }
      }
    },
    "schemas": {
      "CreateTokenRequest": {
        "type": "object",
        "properties": {
          "reference_id": {
            "type": "string",
            "description": "A unique identifier for the User in your app. To learn more, \nsee [Reference ID](https://docs.agaveapi.com/agave-api/reference-id).\n",
            "example": "user-123456"
          }
        },
        "required": [
          "reference_id"
        ]
      },
      "CreateTokenResponse": {
        "type": "object",
        "properties": {
          "link_token": {
            "type": "string",
            "description": "The link token that you can use to initialize the Agave Link frontend component. To learn more, see [Link Component](/agave-link/component).",
            "example": "ttq2FdbUe6_dMGe2fVAQwSl1o0G8_4wBac..."
          }
        },
        "required": [
          "token"
        ]
      },
      "ValidationErrors": {
        "type": "array",
        "items": {
          "type": "object",
          "properties": {
            "field": {
              "description": "The field with the error.",
              "type": "string"
            },
            "error": {
              "description": "The error message.",
              "type": "string"
            }
          }
        },
        "example": [
          {
            "field": "name",
            "error": "The field 'name' is required, but none was provided"
          },
          {
            "field": "address.country_code",
            "error": "The provided value ('United States') is not a valid ISO-3166 Alpha-2 country code"
          },
          {
            "field": "end_date",
            "error": "The provided value ('2018-10-19 16:46:45') is not a valid ISO 8601 date ('YYYY-MM-DD')"
          }
        ]
      },
      "PublicToken": {
        "type": "object",
        "properties": {
          "public_token": {
            "type": "string",
            "description": "The public token returned by the [Agave Link component](/agave-link/component).",
            "example": "e62FtdAQwSl1e2fb_dMG8_4wBtqUVo0Gac..."
          }
        },
        "required": [
          "public_token"
        ]
      },
      "IdPropertyReadOnly": {
        "type": "string",
        "format": "uuid",
        "example": "ee9b53e7-f982-4be6-bc12-75f716d3ee94"
      },
      "Connection": {
        "type": "object",
        "properties": {
          "type": {
            "type": "string",
            "description": "The type of Connection (e.g. oauth2).",
            "enum": [
              "api_token",
              "basic_auth",
              "oauth2"
            ]
          },
          "properties": {
            "type": "object",
            "description": "The properties of the Connection. Note, the fields in this object will differ by Connection type and Source System."
          }
        }
      },
      "LinkedUser": {
        "type": "object",
        "properties": {
          "id": {
            "allOf": [
              {
                "description": "The UUID of the Linked User assigned by Agave."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "source_id": {
            "type": "string",
            "readOnly": true,
            "example": "12345",
            "description": "The ID of the Linked User from the Source System."
          },
          "name": {
            "type": "string",
            "description": "The Linked User's name",
            "example": "John Smith"
          },
          "email": {
            "type": "string",
            "description": "The Linked User's email address",
            "example": "jsmith@example.com"
          }
        }
      },
      "LinkedAccount": {
        "type": "object",
        "properties": {
          "account_id": {
            "allOf": [
              {
                "description": "The Agave-generated UUID of the Account."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "connection": {
            "allOf": [
              {
                "description": "This field includes properties associated with each [Connection](#get-/link/connection) (e.g. oauth2, basic auth) associated with an `account_token`."
              },
              {
                "$ref": "#/components/schemas/Connection"
              }
            ]
          },
          "linked_company": {
            "type": "object",
            "description": "Information about the [Linked Company](#get-/link/company).",
            "properties": {
              "id": {
                "allOf": [
                  {
                    "description": "The UUID of the Company assigned by Agave."
                  },
                  {
                    "$ref": "#/components/schemas/IdPropertyReadOnly"
                  }
                ]
              },
              "source_id": {
                "type": "string",
                "readOnly": true,
                "example": "12345",
                "description": "The ID of the Company in the Source System."
              },
              "name": {
                "type": "string",
                "description": "The name of the Company.",
                "example": "Agave construction Inc."
              }
            }
          },
          "linked_user": {
            "allOf": [
              {
                "description": "Information about the [user who initiated the link](#get-/link/user)."
              },
              {
                "$ref": "#/components/schemas/LinkedUser"
              }
            ]
          },
          "status": {
            "type": "string",
            "enum": [
              "pending",
              "linked",
              "unlinked",
              "invalid"
            ],
            "example": "linked",
            "description": "The status of the Linked Account.\n- `pending`: New Linked Accounts are created in this state after a successful linking. In some cases, such as Procore, the account stays in the pending state until you choose a Company. Potential values include:\n- `linked`: The link is active and all API requests should work as expected.\n- `unlinked`: Either you or the user have requested the link to be revoked. To link the account again, the user needs to re-authorize.\n- `invalid`: The account has entered an invalid state, and requires a manual fix.\n"
          },
          "source_system": {
            "type": "object",
            "description": "Information about the linked [Source System](#get-/link/source-system).",
            "properties": {
              "slug": {
                "description": "The Source System's short identifier.",
                "type": "string",
                "example": "procore"
              },
              "name": {
                "type": "string",
                "description": "The Source System's user-facing name.",
                "example": "Procore"
              }
            }
          },
          "supports_cross_account_uuid": {
            "type": "boolean",
            "description": "If true, UUIDs for resources in this account are persistent _across_ accounts. For example, if you\nhave two users (user_1 and user_2) both linking their accounts to the same Procore company, the UUIDs\nreturned for the same project will be identical.\n",
            "example": true
          },
          "supports_cross_company_access": {
            "type": "boolean",
            "description": "If true, it means this user has granted you access to all companies they are a part of. These accounts require you to provide the `Company-Id` header\nfor all API requests. The list of companies can be obtained from the [/link/companies](#get-/link/companies) endpoint. \nFor more information, see [Headers](/agave-api/headers#request-headers).\n",
            "example": false
          }
        }
      },
      "AccountToken": {
        "type": "object",
        "allOf": [
          {
            "type": "object",
            "properties": {
              "account_token": {
                "type": "string",
                "description": "A permanent account token that you can store in your database for future API calls.",
                "example": "rxdBse2l1fb_dMw4UtwQBm62G8_GV0acqo..."
              }
            }
          },
          {
            "$ref": "#/components/schemas/LinkedAccount"
          }
        ],
        "required": [
          "account_token"
        ]
      },
      "CreateDebugSessionRequest": {
        "type": "object",
        "properties": {
          "reference_id": {
            "type": "string",
            "description": "A unique identifier for the User in your app. To learn more, \nsee [Reference ID](https://docs.agaveapi.com/agave-api/reference-id).\n",
            "example": "user-123456"
          },
          "source_system": {
            "type": "string",
            "description": "The name of the system you intend to connect to. To learn more, \nsee [Source System](https://docs.agaveapi.com/agave-api/source-system).\n",
            "enum": [
              "foundation-hosted",
              "spectrum",
              "vista-hosted"
            ]
          }
        },
        "required": [
          "reference_id",
          "source_system"
        ]
      },
      "CreateDebugSessionResponse": {
        "type": "object",
        "properties": {
          "reference_id": {
            "type": "string",
            "description": "A unique identifier for the User in your app. To learn more, \nsee [Reference ID](https://docs.agaveapi.com/agave-api/reference-id).\n",
            "example": "user-123456"
          },
          "source_system": {
            "type": "string",
            "description": "The name of the system you intend to connect to. To learn more, \nsee [Source System](https://docs.agaveapi.com/agave-api/source-system).\n",
            "enum": [
              "foundation-hosted",
              "spectrum",
              "vista-hosted"
            ]
          },
          "url": {
            "type": "string",
            "description": "The temporary URL that you can share with your customers to debug their connectivity issues.\n",
            "example": "https://app.agaveapi.com/tools/link-debug?token=xxxxx"
          }
        }
      },
      "Address": {
        "type": "object",
        "properties": {
          "street_1": {
            "description": "The first line of a street address.",
            "type": "string",
            "example": "123 Main Street"
          },
          "street_2": {
            "description": "The second line of a street address (e.g. a Unit, PO Box).",
            "type": "string",
            "example": "Unit 1"
          },
          "city": {
            "description": "The name of the city.",
            "type": "string",
            "example": "AnyTown"
          },
          "state": {
            "description": "The name of the state, region, or province.",
            "type": "string",
            "example": "CA"
          },
          "country": {
            "description": "The name of the country.",
            "type": "string",
            "example": "US"
          },
          "postal_code": {
            "description": "The postal or ZIP code.",
            "type": "string",
            "example": "19703"
          }
        }
      },
      "Office": {
        "type": "object",
        "properties": {
          "id": {
            "allOf": [
              {
                "description": "The UUID of the Office assigned by Agave."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "source_id": {
            "type": "string",
            "readOnly": true,
            "example": "12345",
            "description": "The ID of the Office in the Source System."
          },
          "address": {
            "$ref": "#/components/schemas/Address"
          },
          "phone": {
            "type": "string",
            "description": "The phone number for the Office.",
            "example": "8004444444"
          },
          "fax": {
            "type": "string",
            "description": "The fax number for the Office.",
            "example": "8004444444"
          }
        }
      },
      "LinkedCompany": {
        "type": "object",
        "properties": {
          "id": {
            "allOf": [
              {
                "description": "The UUID of the Company assigned by Agave."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "source_id": {
            "type": "string",
            "readOnly": true,
            "example": "12345",
            "description": "The ID of the Company in the Source System."
          },
          "name": {
            "type": "string",
            "description": "The name of the Company.",
            "example": "Agave construction Inc."
          },
          "offices": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Office"
            }
          }
        }
      },
      "SourceSystem": {
        "type": "object",
        "properties": {
          "id": {
            "allOf": [
              {
                "description": "The UUID of the Source System assigned by Agave"
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "slug": {
            "description": "The Source System's short identifier.",
            "type": "string",
            "example": "procore"
          },
          "name": {
            "type": "string",
            "description": "The Source System's user-facing name.",
            "example": "Procore"
          },
          "category": {
            "description": "The Source System's category.",
            "type": "string",
            "enum": [
              "accounting",
              "construction",
              "field-service"
            ],
            "example": "construction"
          },
          "cross_account_uuid_available": {
            "description": "If true, UUIDs for resources in this source system are persistent _across_ accounts. For example, if you have two users (user_1 and user_2) both linking their accounts to the same Procore company, the UUIDs returned for the same project will be identical.\n",
            "type": "boolean"
          },
          "file_upload_gb_size_limit": {
            "type": "number",
            "description": "This field specifies the maximum file size supported by this Source System for file uploads.",
            "example": 5
          },
          "passthrough_available": {
            "description": "This field specifies whether this Source System supports [passthrough requests](/agave-api/passthrough-requests), which let you make custom API requests to this  Source System on behalf of your user.\n",
            "type": "boolean"
          },
          "sandbox_environment_available": {
            "description": "This field specifies whether this Source System supports a [sandbox environment](/agave-api/sandbox-environments).\n",
            "type": "boolean"
          },
          "theme": {
            "description": "The Source System's theme color and image. You can use these fields to customize your application's UI.",
            "type": "object",
            "properties": {
              "color": {
                "description": "The Source System's theme color.",
                "type": "string",
                "example": "#FF5200"
              },
              "image": {
                "description": "The Source System's hero image.",
                "type": "string",
                "example": "https://cdn.agaveapi.com/media/procore.png"
              },
              "square_image": {
                "description": "The Source System's square image (128 by 128 pixels).",
                "type": "string",
                "example": "https://cdn.agaveapi.com/media/procore-square.png"
              }
            }
          }
        }
      },
      "RateLimit": {
        "type": "object",
        "properties": {
          "interval": {
            "type": "string",
            "description": "The timeframe for a rate limit.",
            "enum": [
              "concurrent",
              "per_day",
              "per_hour",
              "per_minute",
              "per_month",
              "per_second",
              "per_week"
            ]
          },
          "limit": {
            "type": "integer",
            "description": "The number of requests that can be made per interval.",
            "example": 10
          },
          "remaining": {
            "type": "integer",
            "description": "The number of remaining requests that can be made per an interval.",
            "example": 3
          }
        }
      },
      "CreateSessionRequestWithMode": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "description": "The name of the Session.",
            "example": "file manager demo"
          },
          "ttl": {
            "type": "number",
            "description": "The duration of the Session (in seconds).",
            "example": 1800
          },
          "mode": {
            "type": "string",
            "description": "A \"mode\" is a shorthand for a series of individual scopes. \n\nFor example, `'file-picker'` expands to:\n```\n[\n  'link:read', \n  'projects:read', \n  'documents:read', \n  'drawings:read', \n  'specification-sections:read'\n]\n```\nwhich is the full list of scopes required for the Agave File Manager component to work for a Construction Project.\n",
            "enum": [
              "file-picker",
              "file-uploader"
            ],
            "example": "file-picker"
          }
        },
        "required": [
          "name",
          "ttl",
          "mode"
        ]
      },
      "CreateSessionRequestWithScopes": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "description": "The name of the Session.",
            "example": "file manager demo"
          },
          "ttl": {
            "type": "number",
            "description": "The duration of the session (in seconds).",
            "example": 1800
          },
          "scopes": {
            "type": "array",
            "description": "A unique identifier for the Linked User in your app. For more information, \nsee [Reference ID](https://docs.agaveapi.com/agave-api/reference-id).\n",
            "items": {
              "enum": [
                "link:read",
                "projects:read",
                "projects:write",
                "documents:read",
                "documents:write",
                "drawings:read",
                "drawings:write",
                "specification-sections:read",
                "specification-sections:write",
                "storage:read",
                "storage:write"
              ]
            },
            "example": [
              "link:read",
              "projects:read",
              "documents:read",
              "drawings:read",
              "specification-sections:read"
            ]
          }
        },
        "required": [
          "name",
          "ttl",
          "scopes"
        ]
      },
      "DateTimeProperty": {
        "type": "string",
        "format": "date-time",
        "example": "2022-01-01T00:00:00Z"
      },
      "CreateSessionResponse": {
        "type": "object",
        "properties": {
          "id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave to this Session."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "session": {
            "type": "string",
            "description": "The Session value. To learn more about how to use Session values, see [Link Session](/agave-api/link-session).",
            "example": "ttq2FdbUe6_dMGe2fVAQwSl1o0G8_4wBac..."
          },
          "scopes": {
            "type": "string",
            "description": "A link token that you can use to initialize the [Agave Link frontend component](/agave-link/component).",
            "example": "ttq2FdbUe6_dMGe2fVAQwSl1o0G8_4wBac..."
          },
          "expires_at": {
            "allOf": [
              {
                "description": "The datetime when the Session expires."
              },
              {
                "$ref": "#/components/schemas/DateTimeProperty"
              }
            ]
          }
        }
      },
      "CreateAccount": {
        "type": "object",
        "properties": {
          "reference_id": {
            "type": "string",
            "description": "A unique identifier for the User in your app. To learn more, \nsee [Reference ID](https://docs.agaveapi.com/agave-api/reference-id).\n",
            "example": "user-123456"
          },
          "source_system": {
            "type": "string",
            "description": "The Source System you want to authenticate with.",
            "enum": [
              "pipedrive"
            ]
          },
          "source_system_environment": {
            "type": "string",
            "description": "The Source System environment you wnat to authenticate with",
            "enum": [
              "sandbox",
              "prod"
            ],
            "default": "prod",
            "example": "prod"
          },
          "connection": {
            "description": "The Connection information to use for authentication. This endpoint mirrors the values returned from the \n[/link/connection](#get-/link/connection) endpoint.\n",
            "type": "object",
            "properties": {
              "type": {
                "type": "string",
                "description": "The Connection type. Only OAuth2 is currently supported.",
                "enum": [
                  "oauth2"
                ]
              },
              "properties": {
                "type": "object",
                "description": "The Connection properties",
                "properties": {
                  "grant_type": {
                    "type": "string",
                    "description": "The OAuth2 [grant type](https://oauth.net/2/grant-types/). Only the Authorization Code grant type is currently supported.",
                    "enum": [
                      "authorization_code"
                    ]
                  },
                  "code": {
                    "type": "string",
                    "description": "The Authorization Code you've received from the Source System during the OAuth2 authentication flow.",
                    "example": "12577312.1724441237.9194c2a8eef17e3496ced2a9c86bac7a3e52d5cd"
                  }
                },
                "required": [
                  "grant_type",
                  "code"
                ]
              }
            },
            "required": [
              "type",
              "properties"
            ]
          }
        },
        "required": [
          "reference_id",
          "source_system",
          "connection"
        ]
      },
      "Account": {
        "type": "object",
        "properties": {
          "account_id": {
            "allOf": [
              {
                "description": "The Agave-generated UUID of the Account."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "created_at": {
            "allOf": [
              {
                "description": "The datetime the Account was created."
              },
              {
                "$ref": "#/components/schemas/DateTimeProperty"
              }
            ]
          },
          "linked_company": {
            "type": "object",
            "description": "Information about the [Linked Company](#get-/link/company).",
            "properties": {
              "id": {
                "allOf": [
                  {
                    "description": "The UUID of the Company assigned by Agave."
                  },
                  {
                    "$ref": "#/components/schemas/IdPropertyReadOnly"
                  }
                ]
              },
              "source_id": {
                "type": "string",
                "readOnly": true,
                "example": "12345",
                "description": "The ID of the Company in the Source System."
              },
              "name": {
                "type": "string",
                "description": "The name of the Company.",
                "example": "Agave construction Inc."
              }
            }
          },
          "linked_user": {
            "allOf": [
              {
                "description": "Information about the [user who initiated the link](#get-/link/user)."
              },
              {
                "$ref": "#/components/schemas/LinkedUser"
              }
            ]
          },
          "reference_id": {
            "type": "string",
            "description": "A unique identifier for the User in your app. To learn more, \nsee [Reference ID](https://docs.agaveapi.com/agave-api/reference-id).\n",
            "example": "user-123456"
          },
          "source_system": {
            "type": "object",
            "description": "Information about the linked [Source System](#get-/link/source-system).",
            "properties": {
              "slug": {
                "description": "The Source System's short identifier.",
                "type": "string",
                "example": "procore"
              },
              "name": {
                "type": "string",
                "description": "The Source System's user-facing name.",
                "example": "Procore"
              }
            }
          },
          "source_system_environment": {
            "type": "object",
            "description": "Information about the linked [Source System's](#get-/link/source-system) environment.",
            "properties": {
              "slug": {
                "description": "The Source System's short identifier.",
                "type": "string",
                "example": "prod"
              },
              "name": {
                "type": "string",
                "description": "The Source System's user-facing name.",
                "example": "Prod"
              }
            }
          },
          "status": {
            "type": "string",
            "enum": [
              "invalid",
              "linked",
              "offline",
              "pending",
              "unlinked"
            ],
            "example": "linked",
            "description": "The status of the Linked Account.\n- `pending`: New Linked Accounts are created in this state after a successful linking.\nIn some cases, such as Procore, the account stays in the pending state until you choose a Company. Potential values include:\n- `invalid`: The account has entered an invalid state, and requires a manual fix.\n- `linked`: The link is active and all API requests should work as expected.\n- `offline` : The account has entered an invalid state, and requires manual intervention.\n- `unlinked`: Either you or the user have requested the link to be revoked. To link the account again, the user needs to re-authorize.\n"
          },
          "supports_cross_account_uuid": {
            "type": "boolean",
            "description": "If true, UUIDs for resources in this account are persistent _across_ accounts. For example, if you\nhave two users (user_1 and user_2) both linking their accounts to the same Procore company, the UUIDs\nreturned for the same project will be identical.\n",
            "example": true
          },
          "supports_cross_company_access": {
            "type": "boolean",
            "description": "If true, it means this user has granted you access to all companies they are a part of. These accounts require you to provide the `Company-Id` header\nfor all API requests. The list of companies can be obtained from the [/link/companies](#get-/link/companies) endpoint. \nFor more information, see [Headers](/agave-api/headers#request-headers).\n",
            "example": false
          }
        }
      },
      "PassthroughJsonRequest": {
        "type": "object",
        "properties": {
          "method": {
            "type": "string",
            "description": "The method for the request to the source system",
            "enum": [
              "GET",
              "POST",
              "PUT",
              "PATCH",
              "DELETE"
            ],
            "example": "GET"
          },
          "path": {
            "type": "string",
            "description": "The path for the request to the source system",
            "example": "/rest/v1.0/me"
          },
          "data": {
            "type": "object",
            "description": "The data for the request body",
            "example": {
              "company_id": 31936
            }
          }
        },
        "required": [
          "method",
          "path"
        ]
      },
      "PassthroughJsonResponse": {
        "type": "object",
        "properties": {
          "status": {
            "type": "integer",
            "description": "The unmodified status type as returned by the source system.",
            "example": 200
          },
          "content_type": {
            "type": "string",
            "description": "The unmodified content type header as returned by the source system.",
            "example": "application/json; charset=utf-8"
          },
          "body": {
            "type": "object",
            "description": "The unmodified body as returned by the source system. This could be a JSON object, an array, or a string, depending on the source system and the path.",
            "example": {
              "id": 77742,
              "login": "procore-test-user@agaveapi.com",
              "name": "Procore Test User"
            }
          },
          "headers": {
            "type": "object",
            "description": "The unmodified list of headers as returned by the source system.",
            "example": {
              "Cache-Control": [
                "no-store, no-cache, must-revalidate",
                "no-cache=\"set-cookie\""
              ],
              "Content-Type": [
                "application/json; charset=utf-8"
              ],
              "ETag": [
                "W/\"fe2ae8facdecf9e5fe07a3aa9729a082\""
              ],
              "Referrer-Policy": [
                "strict-origin-when-cross-origin"
              ],
              "Status": [
                "200 OK"
              ],
              "Strict-Transport-Security": [
                "max-age=31536000; includeSubDomains"
              ],
              "Vary": [
                "Accept-Encoding"
              ]
            }
          }
        }
      },
      "PassthroughMultipartRequest": {
        "type": "object",
        "properties": {
          "varies_by_endpoint": {
            "type": "object",
            "description": "For examples, see [Pass-through Requests: Multipart](https://docs.agaveapi.com/agave-api/passthrough-requests#3-multipart-upload-requests)\n"
          }
        }
      },
      "PassthroughMultipartResponse": {
        "type": "object",
        "properties": {
          "status": {
            "type": "integer",
            "description": "The unmodified status type as returned by the source system.",
            "example": 200
          },
          "content_type": {
            "type": "string",
            "description": "The unmodified content type header as returned by the source system.",
            "example": "application/json; charset=utf-8"
          },
          "body": {
            "type": "object",
            "description": "The unmodified body as returned by the source system. This could be a JSON object, an array, or a string, depending on the source system and the path.",
            "example": {
              "id": 1187281,
              "url": "https://sandbox.procore.com/utilities/prostore_local/0d4b95d472bd65b25385069c6f4bd20d96d6?company_id=31936",
              "uploader": {
                "id": 77742,
                "login": "procore-test-user@agaveapi.com",
                "name": "Procore Test User"
              },
              "filename": "Sample File.png",
              "width": 263,
              "height": 159
            }
          },
          "headers": {
            "type": "object",
            "description": "The unmodified list of headers as returned by the source system.",
            "example": {
              "Cache-Control": [
                "no-store, no-cache, must-revalidate",
                "no-cache=\"set-cookie\""
              ],
              "Content-Type": [
                "application/json; charset=utf-8"
              ],
              "ETag": [
                "W/\"fe2ae8facdecf9e5fe07a3aa9729a082\""
              ],
              "Referrer-Policy": [
                "strict-origin-when-cross-origin"
              ],
              "Status": [
                "200 OK"
              ],
              "Strict-Transport-Security": [
                "max-age=31536000; includeSubDomains"
              ],
              "Vary": [
                "Accept-Encoding"
              ]
            }
          }
        }
      },
      "PassthroughUploadRequest": {
        "type": "object",
        "properties": {
          "varies_by_endpoint": {
            "type": "object",
            "description": "For examples, see [Pass-through Requests: Upload](https://docs.agaveapi.com/agave-api/passthrough-requests#4-file-upload-requests)\n"
          }
        }
      },
      "PassthroughUploadResponse": {
        "type": "object",
        "properties": {
          "status": {
            "type": "integer",
            "description": "The unmodified status type as returned by the source system.",
            "example": 200
          },
          "content_type": {
            "type": "string",
            "description": "The unmodified content type header as returned by the source system.",
            "example": "application/json; charset=utf-8"
          },
          "body": {
            "type": "object",
            "description": "The unmodified body as returned by the source system. This could be a JSON object, an array, or a string, depending on the source system and the path.",
            "example": {
              "id": 1187281,
              "url": "https://sandbox.procore.com/utilities/prostore_local/0d4b95d472bd65b25385069c6f4bd20d96d6?company_id=31936",
              "uploader": {
                "id": 77742,
                "login": "procore-test-user@agaveapi.com",
                "name": "Procore Test User"
              },
              "filename": "Sample File.png",
              "width": 263,
              "height": 159
            }
          },
          "headers": {
            "type": "object",
            "description": "The unmodified list of headers as returned by the source system.",
            "example": {
              "Cache-Control": [
                "no-store, no-cache, must-revalidate",
                "no-cache=\"set-cookie\""
              ],
              "Content-Type": [
                "application/json; charset=utf-8"
              ],
              "ETag": [
                "W/\"fe2ae8facdecf9e5fe07a3aa9729a082\""
              ],
              "Referrer-Policy": [
                "strict-origin-when-cross-origin"
              ],
              "Status": [
                "200 OK"
              ],
              "Strict-Transport-Security": [
                "max-age=31536000; includeSubDomains"
              ],
              "Vary": [
                "Accept-Encoding"
              ]
            }
          }
        }
      },
      "DateProperty": {
        "type": "string",
        "format": "date",
        "example": "2022-01-01"
      },
      "ActualProductionQuantity": {
        "type": "object",
        "properties": {
          "id": {
            "allOf": [
              {
                "description": "The UUID of the Actual Production Quantity assigned by Agave."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "source_id": {
            "type": "string",
            "readOnly": true,
            "example": "12345",
            "description": "The ID of the Actual Production Quantity in the Source System."
          },
          "cost_code_id": {
            "allOf": [
              {
                "description": "The UUID of the [Cost Code](#tag--cost-codes) for the Actual Production Quantity, assigned by Agave."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "cost_type_id": {
            "allOf": [
              {
                "description": "The UUID of the [Cost Type](#tag--cost-types) for the Actual Production Quantity, assigned by Agave."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "date": {
            "allOf": [
              {
                "description": "The date that the Actual Production Quantity was produced or logged."
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ]
          },
          "project_id": {
            "allOf": [
              {
                "description": "The UUID of the [Project](#tag--projects) for the Actual Production Quantity, assigned by Agave."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "quantity": {
            "type": "string",
            "example": "10.00",
            "description": "The quantity of unit planned for the Actual Production Quantity."
          },
          "status": {
            "type": "string",
            "description": "The status of the Actual Production Quantity.\n\n**Note for Viewpoint Spectrum**: Valid values include \"Imported\", \"Draft\", \"Pending\", and \"Posted\".\n",
            "example": "Posted"
          },
          "sub_job_id": {
            "allOf": [
              {
                "description": "The UUID of the [Sub Job](#tag--sub-jobs) for the Actual Production Quantity, assigned by Agave."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "wbs_id": {
            "allOf": [
              {
                "description": "The UUID of the [WBS Code](#tag--wbs) for the Actual Production Quantity, assigned by Agave. Note, this identifier is only available in Procore if WBS is enabled."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "source_create_time": {
            "allOf": [
              {
                "description": "The datetime the Actual Production Quantity was created in the Source System."
              },
              {
                "$ref": "#/components/schemas/DateTimeProperty"
              }
            ]
          },
          "source_update_time": {
            "allOf": [
              {
                "description": "The datetime the Actual Production Quantity was last updated in the Source System."
              },
              {
                "$ref": "#/components/schemas/DateTimeProperty"
              }
            ]
          }
        }
      },
      "ActualProductionQuantity-2": {
        "allOf": [
          {
            "$ref": "#/components/schemas/ActualProductionQuantity"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "https://api.procore.com/rest/v1.0/projects/562949954566896/actual_production_quantities"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "id": 562949953833823,
                      "cost_code": {
                        "id": 562950234240884,
                        "biller_id": 562949954566896,
                        "biller_type": "Project",
                        "code": "9650.000",
                        "created_at": "2024-02-08T00:15:27Z",
                        "deleted_at": null,
                        "full_code": "9650.000",
                        "name": "HVAC Units",
                        "parent_id": null,
                        "position": null,
                        "sortable_code": "9650.000",
                        "standard_cost_code_id": null,
                        "updated_at": "2022-01-01T00:00:00Z"
                      },
                      "created_at": "2022-01-01T00:00:00Z",
                      "crew": null,
                      "date": "2022-01-01",
                      "location": null,
                      "quantity": "10.0",
                      "sub_job": null,
                      "timesheet": null,
                      "timesheet_id": null,
                      "unit_of_measure": "EA",
                      "updated_at": "2022-01-01T00:00:00Z",
                      "wbs_code": {
                        "description": null,
                        "flat_code": "9650.000",
                        "flat_name": "Wood Flooring",
                        "id": 562950250120689
                      },
                      "wbs_code_id": 562950250120689
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "Meta": {
        "type": "object",
        "description": "The pagination metadata. See [Pagination](/agave-api/pagination) for more info.",
        "readOnly": true,
        "properties": {
          "current_page": {
            "type": "integer",
            "description": "The current page. Starts at 1."
          },
          "has_more_results": {
            "type": "boolean",
            "description": "Whether there are any more result pages. Can be `null` if we don't know the total number."
          }
        },
        "example": {
          "current_page": 1,
          "has_more_results": true
        }
      },
      "ActualProductionQuantity-3": {
        "allOf": [
          {
            "$ref": "#/components/schemas/ActualProductionQuantity"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "select top 10 * from [JC_QUANTITY_HISTORY_MC] where [JC_QUANTITY_HISTORY_MC].[Company_Code] = 'CCD' order by [JC_QUANTITY_HISTORY_MC].[Cost_Type] asc, [JC_QUANTITY_HISTORY_MC].[Day_Entered] asc, [JC_QUANTITY_HISTORY_MC].[Job_Number] asc, [JC_QUANTITY_HISTORY_MC].[Period_End_Date] asc, [JC_QUANTITY_HISTORY_MC].[Phase_Code] asc, [JC_QUANTITY_HISTORY_MC].[Quantity_Key] asc"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "Company_Code": "CCD",
                      "Job_Number": "      A123",
                      "Phase_Code": "1050",
                      "Cost_Type": "B",
                      "Period_End_Date": "20220101",
                      "Day_Entered": "-1",
                      "Quantity_Key": "20221113195418C00",
                      "Add_Amount": "100.00",
                      "Date_Entered": "2022-01-01 00:00:00.000",
                      "Crew_Number": "",
                      "Cost_Center": "1020",
                      "Period_End_Date_Year": "2022",
                      "Period_End_Date_Period": "01"
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "NewActualProductionQuantity": {
        "type": "object",
        "properties": {
          "cost_code_id": {
            "allOf": [
              {
                "description": "The UUID of the [Cost Code](#tag--cost-codes) for the Actual Production Quantity, assigned by Agave."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "date": {
            "allOf": [
              {
                "description": "The date that the Actual Production Quantity was produced or logged."
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ]
          },
          "quantity": {
            "type": "string",
            "example": "10.00",
            "description": "The quantity of unit planned for the Actual Production Quantity."
          }
        }
      },
      "NewActualProductionQuantity-2": {
        "type": "object",
        "properties": {
          "cost_code_id": {
            "allOf": [
              {
                "description": "The UUID of the [Cost Code](#tag--cost-codes) for the Actual Production Quantity, assigned by Agave."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "date": {
            "allOf": [
              {
                "description": "The date that the Actual Production Quantity was produced or logged."
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ]
          },
          "quantity": {
            "type": "string",
            "example": "10.00",
            "description": "The quantity of unit planned for the Actual Production Quantity."
          },
          "status": {
            "type": "string",
            "description": "The status of the Actual Production Quantity.\n\n**Note for Viewpoint Spectrum**: Only \"Imported\" Production Quantities can be created/updated.\n",
            "example": "Imported"
          },
          "source_data": {
            "type": "object",
            "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
            "properties": {
              "Batch_Code": {
                "type": "string",
                "example": "12",
                "description": "A Batch Code for this Actual Production Quantity entry."
              }
            }
          }
        }
      },
      "Attachment": {
        "type": "object",
        "properties": {
          "id": {
            "allOf": [
              {
                "description": "The UUID of the Attachment assigned by Agave."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "source_id": {
            "type": "string",
            "readOnly": true,
            "example": "12345",
            "description": "The ID of the Attachment in the Source System."
          },
          "name": {
            "type": "string",
            "description": "The name or title of the Attachment",
            "example": "Test_Attachment.pdf"
          },
          "url": {
            "type": "string",
            "description": "A URL at which the Attachment can be accessed.",
            "example": "https://www.agaveapi.com/"
          },
          "source_create_time": {
            "allOf": [
              {
                "description": "The datetime the Attachment was created."
              },
              {
                "$ref": "#/components/schemas/DateTimeProperty"
              }
            ]
          },
          "source_update_time": {
            "allOf": [
              {
                "description": "The datetime the Attachment was last updated."
              },
              {
                "$ref": "#/components/schemas/DateTimeProperty"
              }
            ]
          }
        }
      },
      "MoneyProperty": {
        "type": "string",
        "format": "string",
        "example": "100.00"
      },
      "ApInvoiceLineItem": {
        "type": "object",
        "properties": {
          "id": {
            "allOf": [
              {
                "description": "The UUID of the Line Item assigned by Agave."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "source_id": {
            "type": "string",
            "readOnly": true,
            "example": "12345",
            "description": "The ID of the Line Item in the Source System."
          },
          "amount": {
            "allOf": [
              {
                "$ref": "#/components/schemas/MoneyProperty"
              },
              {
                "description": "The amount of the Line Item."
              },
              {
                "example": "100.00"
              }
            ]
          },
          "change_order": {
            "type": "object",
            "description": "The Change Order associated with the AP Invoice Line Item.",
            "properties": {
              "id": {
                "allOf": [
                  {
                    "description": "The UUID of the Change Order assigned by Agave."
                  },
                  {
                    "$ref": "#/components/schemas/IdPropertyReadOnly"
                  }
                ]
              },
              "line_item_id": {
                "allOf": [
                  {
                    "description": "The UUID of the Change Order Line Item assigned by Agave."
                  },
                  {
                    "$ref": "#/components/schemas/IdPropertyReadOnly"
                  }
                ]
              }
            }
          },
          "contract": {
            "type": "object",
            "description": "The Contract (i.e. Purchase Order or Subcontract) associated with the AP Invoice Line Item.",
            "properties": {
              "id": {
                "allOf": [
                  {
                    "description": "The UUID of the Contract (i.e. Purchase Order or Subcontract) assigned by Agave."
                  },
                  {
                    "$ref": "#/components/schemas/IdPropertyReadOnly"
                  }
                ]
              },
              "line_item_id": {
                "allOf": [
                  {
                    "description": "The UUID of the Contract Line Item (i.e. Purchase Order Line Item or Subcontract Line Item) assigned by Agave."
                  },
                  {
                    "$ref": "#/components/schemas/IdPropertyReadOnly"
                  }
                ]
              },
              "type": {
                "type": "string",
                "description": "The type of Contract associated with the AP Invoice Line Item.",
                "example": "subcontract",
                "enum": [
                  "purchase_order",
                  "subcontract"
                ]
              }
            }
          },
          "cost_code_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Cost Code](#tag--cost-codes) for the Line Item."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "cost_type_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Cost Type](#tag--cost-types) for the Line Item."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "customer_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Customer](#tag--customers) for the Line Item."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "description": {
            "type": "string",
            "description": "A description of the Line Item.",
            "example": "Two tons of cement."
          },
          "discount_amount": {
            "type": "string",
            "description": "The amount in discounts for the AP Invoice Line Item.",
            "example": "10.0"
          },
          "item_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Item](#tag--items) for the Line Item."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "ledger_account_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Ledger Account](#tag--ledger-accounts) for the Line Item."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "project_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Project](#tag--projects) for the Line Item to be costed towards."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "quantity": {
            "type": "string",
            "description": "The estimated quantity of the unit in the Line Item.",
            "example": "2.0"
          },
          "retention_amount": {
            "type": "string",
            "description": "The amount in retention for the AP Invoice Line Item.",
            "example": "5.0"
          },
          "status": {
            "type": "string",
            "description": "The status of the Line Item. \n\n**Note for QuickBooks Online:** possible values include \"Billable\", \"NotBillable\", or \"HasBilled\".\n\n**Note for Sage 300 CRE**: possible values include \"Open\" and \"Paid\".\n",
            "example": "Billable"
          },
          "sub_job_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Sub Job](#tag--sub-jobs) for the Line Item."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "tax_amount": {
            "allOf": [
              {
                "$ref": "#/components/schemas/MoneyProperty"
              },
              {
                "description": "The tax amount of the Line Item."
              },
              {
                "example": "10.00"
              }
            ]
          },
          "tax_code_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Sales Tax Code](#tag--tax-codes) for the Line Item."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "type": {
            "type": "string",
            "description": "The type of the Line Item. \n\n**Note for Acumatica**: possible values include \"Regular\" and \"Tax\". For \"Tax\", only `tax_amount`, `tax_code_id`, and `type` are writeable.\n\n**Note for CMiC**: possible values include \"Regular\" and \"Subcontract\".\n\n**Note for Foundation**: possible values include \"Inventory\" or \"Regular\".\n\n**Note for Sage 100 Contractor**: possible values include \"Equipment\", \"Job\", and \"Regular\".\n      \n**Note for Viewpoint Vista:** possible values include \"Job\", \"Inventory\", \"Miscellaneous Expense\", \"Equipment\", \"Equipment Work Order\", \"Purchase Order\", \"Subcontract\", or \"Service Work Order\".       \n",
            "example": "Job"
          },
          "unit_cost": {
            "type": "string",
            "description": "The cost of each unit associated with the Line Item.",
            "example": "50"
          },
          "unit_of_measure": {
            "type": "string",
            "description": "The unit used for measuring the estimated quantity of the Line Item.",
            "example": "Tons"
          },
          "vendor_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Vendor](#tag--vendors) (aka Secondary Payee or Supplier) for the Line Item."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "wbs_id": {
            "allOf": [
              {
                "description": "The UUID of the [WBS Code](#tag--wbs) for the AP Invoice Line Item, assigned by Agave."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "source_create_time": {
            "allOf": [
              {
                "description": "The datetime the Line Item was created in the Source System."
              },
              {
                "$ref": "#/components/schemas/DateTimeProperty"
              }
            ]
          },
          "source_update_time": {
            "allOf": [
              {
                "description": "The datetime the Line Item was last updated in the Source System."
              },
              {
                "$ref": "#/components/schemas/DateTimeProperty"
              }
            ]
          }
        }
      },
      "ApInvoice": {
        "type": "object",
        "properties": {
          "id": {
            "allOf": [
              {
                "description": "The UUID of the AP Invoice assigned by Agave."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "source_id": {
            "type": "string",
            "readOnly": true,
            "example": "12345",
            "description": "The ID of the AP Invoice in the Source System."
          },
          "amount": {
            "type": "string",
            "description": "The total amount of the AP Invoice, including tax. \n\n**Note, this field is being deprecated in favor of `total_amount`.**\n",
            "example": "100.0"
          },
          "amount_due": {
            "type": "string",
            "description": "The amount remaining to be paid on the AP Invoice.",
            "example": "100.0"
          },
          "ap_payment_ids": {
            "type": "array",
            "description": "The UUIDs assigned by Agave of the [Accounts Payable (AP) Payments](#tag--ap-payments).",
            "items": {
              "$ref": "#/components/schemas/IdPropertyReadOnly"
            }
          },
          "attachments": {
            "type": "array",
            "description": "A list of Files associated with the AP Invoice.",
            "items": {
              "$ref": "#/components/schemas/Attachment"
            }
          },
          "batch": {
            "type": "string",
            "description": "The batch the AP Invoice is associated with.",
            "example": "4"
          },
          "batch_id": {
            "type": "string",
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Batch](#tag--batches)."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "contract": {
            "type": "object",
            "description": "The Contract (i.e. Purchase Order or Subcontract) associated with the AP Invoice.",
            "properties": {
              "id": {
                "allOf": [
                  {
                    "description": "The UUID of the Contract (i.e. Purchase Order or Subcontract) assigned by Agave."
                  },
                  {
                    "$ref": "#/components/schemas/IdPropertyReadOnly"
                  }
                ]
              },
              "type": {
                "type": "string",
                "description": "The type of Contract associated with the AP Invoice.",
                "example": "subcontract",
                "enum": [
                  "purchase_order",
                  "subcontract"
                ]
              }
            }
          },
          "creator_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Contact](#tag--contacts) that created the AP Invoice."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "currency_code": {
            "type": "string",
            "description": "The code of the AP Invoice's currency. Valid values are ISO 4217 codes.",
            "example": "USD"
          },
          "description": {
            "type": "string",
            "description": "A description (often internal) of the AP Invoice.",
            "example": "Materials for January."
          },
          "discount_amount": {
            "type": "string",
            "description": "The amount in discounts for the AP Invoice.",
            "example": "10.0"
          },
          "discount_date": {
            "allOf": [
              {
                "description": "The discount date of the AP Invoice."
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ]
          },
          "due_date": {
            "allOf": [
              {
                "description": "The date when payment for the AP Invoice is due."
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ]
          },
          "issue_date": {
            "allOf": [
              {
                "description": "The date the AP Invoice was issued."
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ]
          },
          "line_items": {
            "description": "The line items for the AP Invoice.",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ApInvoiceLineItem"
            }
          },
          "misc_amount": {
            "type": "string",
            "description": "The sum of any miscellaneous amounts for the AP Invoice (e.g. freight, adjustments).",
            "example": "10.0"
          },
          "net_amount": {
            "type": "string",
            "description": "The net amount of the AP Invoice, which is equal to `total_amount` minus `discount_amount` and `retention_amount`.",
            "example": "120"
          },
          "number": {
            "type": "string",
            "description": "The number of the AP Invoice.",
            "example": "A123"
          },
          "project_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Project](#tag--projects) associated with the AP Invoice."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "retention_amount": {
            "type": "string",
            "description": "The amount being held in retention for the AP Invoice.",
            "example": "10.0"
          },
          "retention_percent": {
            "type": "string",
            "description": "The percent of the AP Invoice being held in retention.",
            "example": "10.0"
          },
          "status": {
            "type": "string",
            "description": "The status of the AP Invoice. \n\n**Note for Acumatica**: possible values include \"On Hold\", \"Balanced\", and \"Open\" for updates, and \"On Hold\" for creates. When updating status, only the status field can be passed.\n\n**Note for CMiC:** possible values include \"Closed\", \"Open\", \"Partially Paid\", and \"Voided\".\n\n**Note for COINS:** possible values include \"Unposted\", \"Hold\", \"Approved\", \"Selected for Payment\", and \"Paid\". Updates can only be made in \"Unposted\" and \"Hold\" statuses.\n\n**Note for Foundation**: possible values include \"Pending\" and \"Posted\".\n\n**Note for Procore:** possible values include \"Approved\", \"Approved As Noted\", \"Draft\", \"Pending Owner Approval\", \"Revise and Resubmit\", and \"Under Review\".\n\n**Note for Sage 100 Contractor**: \n- **Open**: indicates an AP Invoice has been posted to the General Ledger. This is the default value for this field.\n- **Review**: indicates the management or bookkeepingstaff should review the AP Invoice.\n- **Dispute**: indicates an AP Invoice is disputed by the Vendor.\n- **Paid**: indicates an AP Invoice is paid in full.\n\n**Note for Sage 300 CRE**: \n- **Pending**: indicates a record that has been created but not yet posted to the General Ledger. When AP Invoices are created, they default to this status.\n- **Open**: indicates an AP Invoice has been posted to the General Ledger.\n- **Paid**: indicates an AP Invoice is paid in full.\n\n**Note for Sage Intacct**: valid values include \"Closed\", \"Declined\", \"Draft\", \"Exception\", \"In Progress\", \"Partially Approved\", \"Partially Converted\", \"Pending\", and \"Submitted\".\n\n**Note for ServiceTitan:** possible values include:\n- `Pending`: indicates that the AP Invoices has been created but not yet posted. When AP Invoices are created, they default to this status.\n- `Posted`: indicates that the AP Invoice and the respective batch has been posted.\n- `Exported`: indicates that edits are locked for the AP Invoice.\n\n**Note for Viewpoint Vista:** possible values include:\n- `Unapproved`: these are AP Invoices that are entered in the \"Unapproved AP Invoices\" status in Viewpoint Spectrum or form in Viewpoint Vista.\n- `Pending`: these are AP Invoices that are entered with a status of \"Approved\" in Viewpoint Spectrum or in the AP Invoice Transaction form in Viewpoint Vista. These are listed as \"Pending\" because they still need to be processed as part of a batch using Spectrum and Vista's pre-posting validation logic, but do not require a formal approval workflow.\n- `Posted`: these are AP Invoices that have been processed in a batch, validated with Viewpoint Spectrum and Vista's internal validation logic, and posted to Ledger Accounts. Once AP Invoices are posted, they can be associated with [AP Payments](#tag--ap-payments).\n",
            "example": "Approved"
          },
          "subtotal_amount": {
            "type": "string",
            "description": "The amount of the AP Invoice, excluding tax, discounts, and retention.",
            "example": "100.0"
          },
          "tax_amount": {
            "type": "string",
            "description": "The total tax amount for the AP Invoice.",
            "example": "10.0"
          },
          "total_amount": {
            "type": "string",
            "description": "The total amount of the AP Invoice, including tax and misc amounts.",
            "example": "120"
          },
          "type": {
            "type": "string",
            "description": "The type of AP Invoices.\n\n**Note for Acumatica**: possible values include \"Bill\", \"Debit Adj.\", \"Credit Adj.\", and \"Prepayment\". Writes are only supported for \"Bill\". \n\n**Note for COINS**: this is the user-configurable Transaction Type field, queryable via a [passthrough request](/agave-api/passthrough-requests) to `/rest/pages/company/{{company_num}}/co_jtype`.\n\n**Note for CMiC**: only \"Voucher\" is supported at the moment.\n\n**Note for Foundation**: possible values include \"Credit Invoice\" and \"Regular\".\n\n**Note for Sage Intacct**: valid values include \"Bill\" and types of Purchasing Transactions (e.g. Subcontract Invoices). Purchasing Transaction types can be customized, so ask your customer which ones they would like to use.\n"
          },
          "vendor_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Vendor](#tag--vendors)."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "source_create_time": {
            "allOf": [
              {
                "description": "The datetime the AP Invoice was created in the Source System."
              },
              {
                "$ref": "#/components/schemas/DateTimeProperty"
              }
            ]
          },
          "source_update_time": {
            "allOf": [
              {
                "description": "The datetime the AP Invoice was last updated in the Source System."
              },
              {
                "$ref": "#/components/schemas/DateTimeProperty"
              }
            ]
          }
        }
      },
      "ApInvoice-2": {
        "allOf": [
          {
            "$ref": "#/components/schemas/ApInvoice"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "https://{{hostname}}/AcumaticaU100/entity/Default/23.200.001/Bill"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "id": "a4672ab1-301a-ef11-ba52-0e1f07f567e3",
                      "rowNumber": 1,
                      "note": {
                        "value": ""
                      },
                      "Amount": {
                        "value": 120
                      },
                      "ApprovedForPayment": {
                        "value": false
                      },
                      "Balance": {
                        "value": 100
                      },
                      "BranchID": {
                        "value": "HEADOFFICE"
                      },
                      "CashAccount": {
                        "value": "10200WH"
                      },
                      "CurrencyID": {
                        "value": "USD"
                      },
                      "Date": {
                        "value": "2022-01-01T00:00:00-00:00"
                      },
                      "Description": {
                        "value": "Materials for January"
                      },
                      "Details": [
                        {
                          "id": "193ce6d0-301a-ef11-ba52-0e1f07f567e3",
                          "rowNumber": 1,
                          "note": {
                            "value": ""
                          },
                          "Account": {
                            "value": "54200"
                          },
                          "Amount": {
                            "value": 100
                          },
                          "Branch": {
                            "value": "HEADOFFICE"
                          },
                          "CalculateDiscountsOnImport": [],
                          "CostCode": {
                            "value": "02300"
                          },
                          "Description": {
                            "value": "Two tons of cement"
                          },
                          "ExtendedCost": {
                            "value": 100
                          },
                          "InventoryID": [],
                          "NonBillable": {
                            "value": false
                          },
                          "POLine": [],
                          "POOrderNbr": [],
                          "POOrderType": [],
                          "POReceiptLine": [],
                          "POReceiptNbr": [],
                          "POReceiptType": [],
                          "Project": {
                            "value": "SPACENEEDL"
                          },
                          "ProjectTask": {
                            "value": "02"
                          },
                          "Qty": {
                            "value": 2
                          },
                          "TaxCategory": {
                            "value": "TAXABLE"
                          },
                          "TransactionDescription": {
                            "value": "Test Line 1"
                          },
                          "UnitCost": {
                            "value": 50
                          },
                          "UOM": {
                            "value": "Tons"
                          },
                          "custom": [],
                          "_links": {
                            "files:put": "/AcumaticaERP/entity/Default/23.200.001/files/PX.Objects.AP.APInvoiceEntry/Transactions/193ce6d0-301a-ef11-ba52-0e1f07f567e3/{filename}"
                          },
                          "CostType": {
                            "value": "SUBCON"
                          }
                        }
                      ],
                      "DueDate": {
                        "value": "2022-01-01T00:00:00-00:00"
                      },
                      "Hold": {
                        "value": false
                      },
                      "IsTaxValid": [],
                      "LastModifiedDateTime": {
                        "value": "2022-01-01T00:00:00005-00:00"
                      },
                      "LocationID": {
                        "value": "MAIN"
                      },
                      "PostPeriod": {
                        "value": "012022"
                      },
                      "Project": {
                        "value": "SPACENEEDL"
                      },
                      "ReferenceNbr": {
                        "value": "12345"
                      },
                      "Status": {
                        "value": "Balanced"
                      },
                      "TaxDetails": [],
                      "TaxTotal": {
                        "value": 10
                      },
                      "Terms": {
                        "value": "30D"
                      },
                      "Type": {
                        "value": "Bill"
                      },
                      "Vendor": {
                        "value": "Peterson Construction"
                      },
                      "VendorRef": [],
                      "custom": []
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "ApInvoice-3": {
        "allOf": [
          {
            "$ref": "#/components/schemas/ApInvoice"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "https://developer.api.autodesk.com/cost/v1/containers/{Container_Id}/payments"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "id": "12345",
                      "containerId": "12345",
                      "billingPeriodId": "12345",
                      "associationId": "12345",
                      "associationType": "Contract",
                      "startDate": "2022-01-01",
                      "endDate": "2022-01-01",
                      "dueDate": "2022-01-01",
                      "number": "A123",
                      "name": "Partial payment for January AP invoice",
                      "description": null,
                      "amount": "100.0000",
                      "previousAmount": null,
                      "approvedChangeOrders": 0,
                      "previousApprovedChangeOrders": null,
                      "originalAmount": "100.0000",
                      "contractAmount": "100.0000",
                      "materialsOnStore": null,
                      "previousMaterialsOnStore": null,
                      "materialsBilled": null,
                      "previousMaterialsBilled": null,
                      "previousMaterialsBilledCurrency": null,
                      "recipients": [],
                      "completedWorkRetention": "0.0000",
                      "materialsOnStoreRetention": "0.0000",
                      "previousRetention": null,
                      "netAmount": 0,
                      "netRetention": 0,
                      "netMaterialsOnStore": 0,
                      "status": "draft",
                      "note": null,
                      "createdAt": "2022-01-01T00:00:00.000Z",
                      "updatedAt": "2022-01-01T00:00:00.000Z",
                      "approvedAt": null,
                      "budgetPaymentId": null,
                      "calculatedAt": null,
                      "calculatedBy": null,
                      "companyId": "12345",
                      "contactId": null,
                      "creatorId": "12345",
                      "paidAt": null,
                      "forecastDistributionAt": null,
                      "submittedAt": null,
                      "mainContractId": "56fffd64-3d44-4ae6-99b4-4d20ae689607",
                      "integrationState": null,
                      "integrationStateChangedAt": null,
                      "integrationStateChangedBy": null,
                      "exchangeRate": "1.00000000",
                      "previousExchangeRate": "1.00000000",
                      "originalAmountForeignCurrency": "100.0000",
                      "contractAmountForeignCurrency": "100.0000",
                      "approvedChangeOrdersForeignCurrency": null,
                      "previousAmountForeignCurrency": null,
                      "previousApprovedChangeOrdersForeignCurrency": null,
                      "previousRetentionForeignCurrency": null,
                      "completedWorkRetentionForeignCurrency": "0.0000",
                      "netAmountForeignCurrency": null,
                      "claimedAmount": null,
                      "previousClaimedAmount": null,
                      "previousClaimedAmountForeignCurrency": null,
                      "properties": [],
                      "paymentItems": [
                        {
                          "realizedGainOrLoss": null,
                          "id": "12345",
                          "containerId": "12345",
                          "paymentId": "12345",
                          "parentId": null,
                          "budgetId": "12345",
                          "number": null,
                          "name": "Concrete pour in January",
                          "description": null,
                          "associationId": "12345",
                          "associationType": "SOV",
                          "originalQuantity": 10,
                          "originalUnitPrice": "10.00000000",
                          "originalAmount": "100.0000",
                          "quantity": 10,
                          "unitPrice": "10.00000000",
                          "unit": "ea",
                          "amount": "100.0000",
                          "claimedQuantity": null,
                          "claimedUnitPrice": null,
                          "claimedAmount": null,
                          "materialsOnStoreQuantity": 1,
                          "materialsOnStoreUnit": "ea",
                          "materialsOnStoreUnitPrice": null,
                          "materialsOnStore": null,
                          "materialsBilledQuantity": null,
                          "materialsBilledUnit": null,
                          "materialsBilledUnitPrice": null,
                          "materialsBilled": null,
                          "previousMaterialsBilled": null,
                          "previousPaymentItemId": null,
                          "previousQuantity": 0,
                          "previousUnitPrice": null,
                          "previousAmount": null,
                          "previousClaimedQuantity": null,
                          "previousClaimedUnitPrice": null,
                          "previousClaimedAmount": null,
                          "previousMaterialsOnStore": null,
                          "completedWorkRetentionPercent": 0.1,
                          "materialsOnStoreRetentionPercent": 0,
                          "completedWorkReleased": null,
                          "materialsOnStoreReleased": null,
                          "netAmount": null,
                          "isPrivate": false,
                          "status": null,
                          "exchangeRate": "1.00000000",
                          "originalExchangeRate": "1.00000000",
                          "previousExchangeRate": "1.00000000",
                          "previousAmountForeignCurrency": null,
                          "previousClaimedAmountForeignCurrency": null,
                          "previousMaterialsBilledCurrency": null,
                          "netAmountForeignCurrency": null,
                          "creatorId": "12345",
                          "changedBy": "12345",
                          "aggregateBy": null,
                          "lastReviewedBy": null,
                          "createdAt": "2022-01-01T00:00:00.000Z",
                          "updatedAt": "2022-01-01T00:00:00.000Z",
                          "deletedAt": null
                        }
                      ],
                      "aggregateBy": null,
                      "hasItemRejected": false,
                      "hasItemUnReviewed": true
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "ApInvoice-4": {
        "allOf": [
          {
            "$ref": "#/components/schemas/ApInvoice"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "https://{{instance_name}}.coinscloud.com/env/{{environment}}/rest/pages/company/{{company}}/ap_invoice"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "kco": 1,
                      "avm_num": "ACM001",
                      "bns_code": "",
                      "ain_inv": "12345",
                      "ain_supref": "A123",
                      "ain_idate": "2022-01-01",
                      "ain_recddate": null,
                      "ain_cur_goods__1": 100,
                      "ain_cur_lab__1": 0,
                      "ain_cur_vat__1": 0,
                      "coj_type": "PINV",
                      "vat_code": "P1",
                      "ain_duedt": "2022-01-01",
                      "ain_discdt": "2022-01-01",
                      "ain_cur_disc__1": 0,
                      "ain_atotaxpay": "",
                      "ain_desc": "Materials for January",
                      "ain_hcode": "DFH",
                      "ain_hreason": "",
                      "ain_hcode2": "",
                      "ain_hreason2": "",
                      "ohd_num": "",
                      "ain_disttype": "C",
                      "ain_entry": 1,
                      "ain_anal": "A123 Project",
                      "ain_usejobvat": null,
                      "ain_pba": false,
                      "cur_code": "USD",
                      "ain_pih_from": null,
                      "ain_pih_to": null,
                      "ain_cur_retn__1": 10,
                      "ain_cur_merchandise__1": 0,
                      "ain_cur_charge1__1": 0,
                      "ain_chgtax__1": false,
                      "ain_discappchg__1": true,
                      "ain_cur_charge2__1": 0,
                      "ain_chgtax__2": false,
                      "ain_discappchg__2": true,
                      "ain_cur_charge3__1": 0,
                      "ain_chgtax__3": false,
                      "ain_discappchg__3": true,
                      "ain_cur_salestax__1": null,
                      "mainPohJob_num": null,
                      "mainPohJph_phase": null,
                      "mainPohPBA": null,
                      "job_num": "A123 Project",
                      "ain_ret_perc": 10,
                      "RO_ain_cur_retn": 10,
                      "RO_ain_cur_vat": 0,
                      "RO_ain_cur_tax": 10,
                      "RO_jtcreated": "2022-01-01T00:00:00.000",
                      "RO_jtchanged": "2022-01-01T00:00:00.000",
                      "ain_netamt": 90,
                      "ain_discamt": 10,
                      "ain_lastrev": 20220101,
                      "ain_balance": 100,
                      "ain_amount": 110,
                      "ain_taxamt": 10,
                      "ain_salestax": 10,
                      "ain_taxtype": "",
                      "cob_num": 4,
                      "RO_ain_status_entry": "Approved 07/12/11 ",
                      "RO_ain_status_cost": "Invoice not posted in this batch",
                      "RO_ain_status": "Approved"
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "APInvoice": {
        "type": "object",
        "properties": {
          "id": {
            "allOf": [
              {
                "description": "The UUID of the AP Invoice assigned by Agave."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "source_id": {
            "type": "string",
            "readOnly": true,
            "example": "12345",
            "description": "The ID of the AP Invoice in the Source System."
          },
          "amount": {
            "type": "string",
            "description": "The total amount of the AP Invoice, including tax. \n\n**Note, this field is being deprecated in favor of `total_amount`.**\n",
            "example": "100.0"
          },
          "amount_due": {
            "type": "string",
            "description": "The amount remaining to be paid on the AP Invoice.",
            "example": "100.0"
          },
          "ap_payment_ids": {
            "type": "array",
            "description": "The UUIDs assigned by Agave of the [Accounts Payable (AP) Payments](#tag--ap-payments).",
            "items": {
              "$ref": "#/components/schemas/IdPropertyReadOnly"
            }
          },
          "attachments": {
            "type": "array",
            "description": "A list of Files associated with the AP Invoice.",
            "items": {
              "$ref": "#/components/schemas/Attachment"
            }
          },
          "batch": {
            "type": "string",
            "description": "The batch the AP Invoice is associated with.",
            "example": "4"
          },
          "batch_id": {
            "type": "string",
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Batch](#tag--batches)."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "contract": {
            "type": "object",
            "description": "The Contract (i.e. Purchase Order or Subcontract) associated with the AP Invoice.",
            "properties": {
              "id": {
                "allOf": [
                  {
                    "description": "The UUID of the Contract (i.e. Purchase Order or Subcontract) assigned by Agave."
                  },
                  {
                    "$ref": "#/components/schemas/IdPropertyReadOnly"
                  }
                ]
              },
              "type": {
                "type": "string",
                "description": "The type of Contract associated with the AP Invoice.",
                "example": "subcontract",
                "enum": [
                  "purchase_order",
                  "subcontract"
                ]
              }
            }
          },
          "creator_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Contact](#tag--contacts) that created the AP Invoice."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "currency_code": {
            "type": "string",
            "description": "The code of the AP Invoice's currency. Valid values are ISO 4217 codes.",
            "example": "USD"
          },
          "description": {
            "type": "string",
            "description": "A description (often internal) of the AP Invoice.",
            "example": "Materials for January."
          },
          "discount_amount": {
            "type": "string",
            "description": "The amount in discounts for the AP Invoice.",
            "example": "10.0"
          },
          "discount_date": {
            "allOf": [
              {
                "description": "The discount date of the AP Invoice."
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ]
          },
          "due_date": {
            "allOf": [
              {
                "description": "The date when payment for the AP Invoice is due."
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ]
          },
          "issue_date": {
            "allOf": [
              {
                "description": "The date the AP Invoice was issued."
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ]
          },
          "line_items": {
            "description": "The line items for the AP Invoice.",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ApInvoiceLineItem"
            }
          },
          "misc_amount": {
            "type": "string",
            "description": "The sum of any miscellaneous amounts for the AP Invoice (e.g. freight, adjustments).",
            "example": "10.0"
          },
          "net_amount": {
            "type": "string",
            "description": "The net amount of the AP Invoice, which is equal to `total_amount` minus `discount_amount` and `retention_amount`.",
            "example": "120"
          },
          "number": {
            "type": "string",
            "description": "The number of the AP Invoice.",
            "example": "A123"
          },
          "project_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Project](#tag--projects) associated with the AP Invoice."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "retention_amount": {
            "type": "string",
            "description": "The amount being held in retention for the AP Invoice.",
            "example": "10.0"
          },
          "retention_percent": {
            "type": "string",
            "description": "The percent of the AP Invoice being held in retention.",
            "example": "10.0"
          },
          "status": {
            "type": "string",
            "description": "The status of the AP Invoice. \n\n**Note for Acumatica**: possible values include \"On Hold\", \"Balanced\", and \"Open\" for updates, and \"On Hold\" for creates. When updating status, only the status field can be passed.\n\n**Note for CMiC:** possible values include \"Closed\", \"Open\", \"Partially Paid\", and \"Voided\".\n\n**Note for COINS:** possible values include \"Unposted\", \"Hold\", \"Approved\", \"Selected for Payment\", and \"Paid\". Updates can only be made in \"Unposted\" and \"Hold\" statuses.\n\n**Note for Foundation**: possible values include \"Pending\" and \"Posted\".\n\n**Note for Procore:** possible values include \"Approved\", \"Approved As Noted\", \"Draft\", \"Pending Owner Approval\", \"Revise and Resubmit\", and \"Under Review\".\n\n**Note for Sage 100 Contractor**: \n- **Open**: indicates an AP Invoice has been posted to the General Ledger. This is the default value for this field.\n- **Review**: indicates the management or bookkeepingstaff should review the AP Invoice.\n- **Dispute**: indicates an AP Invoice is disputed by the Vendor.\n- **Paid**: indicates an AP Invoice is paid in full.\n\n**Note for Sage 300 CRE**: \n- **Pending**: indicates a record that has been created but not yet posted to the General Ledger. When AP Invoices are created, they default to this status.\n- **Open**: indicates an AP Invoice has been posted to the General Ledger.\n- **Paid**: indicates an AP Invoice is paid in full.\n\n**Note for Sage Intacct**: valid values include \"Closed\", \"Declined\", \"Draft\", \"Exception\", \"In Progress\", \"Partially Approved\", \"Partially Converted\", \"Pending\", and \"Submitted\".\n\n**Note for ServiceTitan:** possible values include:\n- `Pending`: indicates that the AP Invoices has been created but not yet posted. When AP Invoices are created, they default to this status.\n- `Posted`: indicates that the AP Invoice and the respective batch has been posted.\n- `Exported`: indicates that edits are locked for the AP Invoice.\n\n**Note for Viewpoint Vista:** possible values include:\n- `Unapproved`: these are AP Invoices that are entered in the \"Unapproved AP Invoices\" status in Viewpoint Spectrum or form in Viewpoint Vista.\n- `Pending`: these are AP Invoices that are entered with a status of \"Approved\" in Viewpoint Spectrum or in the AP Invoice Transaction form in Viewpoint Vista. These are listed as \"Pending\" because they still need to be processed as part of a batch using Spectrum and Vista's pre-posting validation logic, but do not require a formal approval workflow.\n- `Posted`: these are AP Invoices that have been processed in a batch, validated with Viewpoint Spectrum and Vista's internal validation logic, and posted to Ledger Accounts. Once AP Invoices are posted, they can be associated with [AP Payments](#tag--ap-payments).\n",
            "example": "Approved"
          },
          "subtotal_amount": {
            "type": "string",
            "description": "The amount of the AP Invoice, excluding tax, discounts, and retention.",
            "example": "100.0"
          },
          "tax_amount": {
            "type": "string",
            "description": "The total tax amount for the AP Invoice.",
            "example": "10.0"
          },
          "total_amount": {
            "type": "string",
            "description": "The total amount of the AP Invoice, including tax and misc amounts.",
            "example": "120"
          },
          "type": {
            "type": "string",
            "description": "The type of AP Invoices.\n\n**Note for Acumatica**: possible values include \"Bill\", \"Debit Adj.\", \"Credit Adj.\", and \"Prepayment\". Writes are only supported for \"Bill\". \n\n**Note for COINS**: this is the user-configurable Transaction Type field, queryable via a [passthrough request](/agave-api/passthrough-requests) to `/rest/pages/company/{{company_num}}/co_jtype`.\n\n**Note for CMiC**: only \"Voucher\" is supported at the moment.\n\n**Note for Foundation**: possible values include \"Credit Invoice\" and \"Regular\".\n\n**Note for Sage Intacct**: valid values include \"Bill\" and types of Purchasing Transactions (e.g. Subcontract Invoices). Purchasing Transaction types can be customized, so ask your customer which ones they would like to use.\n"
          },
          "vendor_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Vendor](#tag--vendors)."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "source_create_time": {
            "allOf": [
              {
                "description": "The datetime the AP Invoice was created in the Source System."
              },
              {
                "$ref": "#/components/schemas/DateTimeProperty"
              }
            ]
          },
          "source_update_time": {
            "allOf": [
              {
                "description": "The datetime the AP Invoice was last updated in the Source System."
              },
              {
                "$ref": "#/components/schemas/DateTimeProperty"
              }
            ]
          }
        }
      },
      "ApInvoice-5": {
        "allOf": [
          {
            "$ref": "#/components/schemas/APInvoice"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The database query for the Source System.",
                    "example": "select * from [ap_invoice_h]"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "company_no": 12345,
                      "voucher_no": 12345,
                      "posted_flag": "Y",
                      "vendor_no": "      12345",
                      "description": null,
                      "transaction_date": "2024-01-01 00:00:00.000",
                      "invoice_date": "2024-01-01 00:00:00.000",
                      "discount_date": "2024-01-01 00:00:00.000",
                      "due_date": "2024-01-01 00:00:00.000",
                      "post_date": "2024-01-01 00:00:00.000",
                      "check_date": null,
                      "closed_date": "2024-01-01 00:00:00.000",
                      "invoice_no": "       101",
                      "job_no": "     96020",
                      "tax_no": null,
                      "pay_class_no": null,
                      "check_no": null,
                      "invoice_amount": "11151.00",
                      "tax_base": ".00",
                      "discount_base": "11151.00",
                      "retainage_amount": ".00",
                      "discount_amount": "223.02",
                      "check_amount": ".00",
                      "discount_percent": "2.0000000",
                      "retainage_percent": ".0000000",
                      "gl_ap": "2010",
                      "gl_discount": "3070",
                      "gl_ret": "2020",
                      "gl_cash": "1010",
                      "name": null,
                      "address_1": null,
                      "address_2": null,
                      "city": null,
                      "state": null,
                      "zip_code": null,
                      "country": null,
                      "original_voucher_no": 100,
                      "original_invoice_amount": "11151.00",
                      "original_tax_base": ".00",
                      "original_discount_base": "11151.00",
                      "original_discount_amount": "223.02",
                      "original_retainage_amount": ".00",
                      "adjust_invoice_amount": ".00",
                      "adjust_tax_base": ".00",
                      "adjust_discount_base": ".00",
                      "adjust_discount_amount": ".00",
                      "adjust_retainage_amount": ".00",
                      "next_line_no": 1,
                      "voucher_source": "O",
                      "voucher_type": "R",
                      "pay_status": "R",
                      "closed_flag": "Y",
                      "use_tax_added": "N",
                      "record_status": "A",
                      "row_modified_by": "DBA",
                      "row_modified_on": "2024-01-01 00:00:00.000",
                      "row_unique_id": 1,
                      "internal_note": null,
                      "original_adjustment_no": 0,
                      "terms_no": null,
                      "PO_Sub_No": null,
                      "Change_Order_No": null,
                      "reporting_class_no": null,
                      "Change_Order_id": null,
                      "check_id": null,
                      "company_id": "1",
                      "invoice_id": "101",
                      "job_id": "96020",
                      "next_line_id": "1",
                      "original_adjustment_id": "0",
                      "original_voucher_id": "100",
                      "pay_class_id": null,
                      "PO_Sub_id": null,
                      "reporting_class_id": null,
                      "tax_id": null,
                      "terms_id": null,
                      "vendor_id": "104",
                      "voucher_id": "100",
                      "use_retainage": "Y",
                      "lien_waiver_flag": "N",
                      "waiver_description": null,
                      "waiver_trade_work": null,
                      "waiver_title": null,
                      "waiver_signature_name": null,
                      "link_inventory_receipt": "N",
                      "goods_service_amount": "11151.00",
                      "inventory_amount": ".00",
                      "other_amount": ".00",
                      "sales_tax_amount": ".00",
                      "use_tax_amount": ".00",
                      "tax_type": "N",
                      "verify_tax_to_po": "N",
                      "original_goods_service_amount": "11151.00",
                      "original_inventory_amount": ".00",
                      "original_other_amount": ".00",
                      "original_sales_tax_amount": ".00",
                      "original_use_tax_amount": ".00",
                      "adjust_goods_service_amount": ".00",
                      "adjust_inventory_amount": ".00",
                      "adjust_other_amount": ".00",
                      "adjust_sales_tax_amount": ".00",
                      "adjust_use_tax_amount": ".00",
                      "sales_tax_amt_changed": "N",
                      "postal_code_flag": "U",
                      "foreign_postal_code": null,
                      "reversal": "N",
                      "use_tax_selection": "N",
                      "auto_select": "N",
                      "auto_post": "N",
                      "pr_audit_number": null,
                      "recurring_flag": "N",
                      "recurring_voucher_no": null,
                      "recurring_frequency": "M",
                      "recurring_start_date": null,
                      "recurring_end_flag": "U",
                      "recurring_occurrences": 0,
                      "recurring_end_date": null,
                      "print_check_now": "N",
                      "recurring_voucher_id": null,
                      "provider": null,
                      "recurring_generate_invoice": "N",
                      "scanned_invoice_image": "M:\\Documents and Settings\\swa.FOUNDATIONSOFT\\My Documents\\Invoices\\American Hardwood.pdf",
                      "ppd_discount_taken": ".00",
                      "ppd_chk_amt_bf_disc_tkn": ".00",
                      "routing_status": "N",
                      "prepaid_credit_card_flag": "N",
                      "full_invoice_no": "       101",
                      "full_invoice_id": "101",
                      "easy_check": "N",
                      "check_memo": null,
                      "voucher_payment_type": "REG",
                      "default_cost": null,
                      "recurring_generate_flag": "Y",
                      "original_inv_date": null,
                      "use_alt_return_address": "N",
                      "alt_return_address_1": null,
                      "alt_return_address_2": null,
                      "alt_return_address_3": null,
                      "alt_return_address_4": null,
                      "alt_return_address_5": null,
                      "Internal_Batch_Number": null,
                      "source_id": null,
                      "Type": null,
                      "Vendor_No": null
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "ApInvoice-6": {
        "allOf": [
          {
            "$ref": "#/components/schemas/ApInvoice"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "https://api.procore.com/rest/v1.0/requisitions"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "id": 12345,
                      "billing_date": "2022-01-01",
                      "created_at": "2022-01-01T00:00:00Z",
                      "updated_at": "2022-01-01T00:00:00Z",
                      "commitment_id": 598134325530265,
                      "commitment_type": "WorkOrderContract",
                      "invoice_number": "A123",
                      "origin_id": "2022-01-01T00:00:00Z",
                      "payment_date": null,
                      "percent_complete": "100.00%",
                      "period_id": 12345,
                      "status": "pending",
                      "submitted_at": null,
                      "comment": "Materials for January",
                      "final": false,
                      "project_id": 12345,
                      "created_by": {
                        "id": 12345,
                        "login": "contact@agaveapi.com",
                        "name": "Accounting Approver",
                        "company_name": ""
                      },
                      "vendor_name": "AnyCompany Inc.",
                      "custom_fields": [],
                      "requisition_start": "2022-01-01",
                      "requisition_end": "2022-01-01",
                      "number": 1,
                      "summary": {
                        "balance_to_finish_including_retainage": "10.00",
                        "completed_work_retainage_amount": "10.00",
                        "completed_work_retainage_percent": "10.00",
                        "contract_sum_to_date": "100.00",
                        "current_payment_due": "110.00",
                        "formatted_period": "01/01/22 - 01/01/22",
                        "less_previous_certificates_for_payment": "0.00",
                        "negative_change_order_item_total": "0.00",
                        "negative_new_change_order_item_total": "0.00",
                        "negative_previous_change_order_item_total": "0.00",
                        "net_change_by_change_orders": "0.00",
                        "original_contract_sum": "100.00",
                        "positive_change_order_item_total": "0.00",
                        "positive_new_change_order_item_total": "0.00",
                        "positive_previous_change_order_item_total": "0.00",
                        "stored_materials_retainage_amount": "0.00",
                        "stored_materials_retainage_percent": "0.00",
                        "tax_applicable_to_this_payment": "10.00",
                        "total_completed_and_stored_to_date": "110.00",
                        "total_earned_less_retainage": "90.00",
                        "total_retainage": "10.00"
                      },
                      "attachments": []
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "ApInvoice-7": {
        "allOf": [
          {
            "$ref": "#/components/schemas/ApInvoice"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "BillQueryRq"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "TxnID": "12345",
                      "TimeCreated": "2022-01-01T00:00:00-08:00",
                      "TimeModified": "2022-01-01T00:00:00-08:00",
                      "EditSequence": "12345",
                      "TxnNumber": "12345",
                      "VendorRef": {
                        "ListID": "12345",
                        "FullName": "AnyCompany Inc"
                      },
                      "VendorAddress": {
                        "Addr1": "123 Main Street",
                        "Addr2": "Unit 1",
                        "Addr3": "AnyTown, CA 19703",
                        "Addr4": "USA",
                        "City": "AnyTown",
                        "State": "CA",
                        "PostalCode": "19703",
                        "Country": "USA"
                      },
                      "APAccountRef": {
                        "ListID": "12345",
                        "FullName": "Accounts Payable"
                      },
                      "TxnDate": "2022-01-01",
                      "DueDate": "2022-01-01",
                      "AmountDue": "100.00",
                      "RefNumber": "A123",
                      "Memo": "Materials for January.",
                      "IsPaid": "false",
                      "OpenAmount": "100.00"
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "ApInvoice-8": {
        "allOf": [
          {
            "$ref": "#/components/schemas/ApInvoice"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "https://quickbooks.api.intuit.com/v3/company/{companyId}/query"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "DueDate": "2022-01-01",
                      "Balance": 200,
                      "domain": "QBO",
                      "sparse": false,
                      "Id": "123",
                      "SyncToken": "0",
                      "MetaData": {
                        "CreateTime": "2022-01-01T00:00:00-00:00",
                        "LastUpdatedTime": "2022-01-01T00:00:00-00:00"
                      },
                      "TxnDate": "2022-01-01",
                      "CurrencyRef": {
                        "value": "USD",
                        "name": "United States Dollar"
                      },
                      "Line": [
                        {
                          "Id": "123",
                          "LineNum": 123,
                          "Amount": 200,
                          "DetailType": "AccountBasedExpenseLineDetail",
                          "AccountBasedExpenseLineDetail": {
                            "AccountRef": {
                              "value": "7",
                              "name": "Advertising"
                            },
                            "BillableStatus": "NotBillable",
                            "TaxCodeRef": {
                              "value": "NON"
                            }
                          }
                        }
                      ],
                      "VendorRef": {
                        "value": "123",
                        "name": "AnyCompany"
                      },
                      "APAccountRef": {
                        "value": "123",
                        "name": "Accounts Payable (A/P)"
                      },
                      "TotalAmt": 200,
                      "time": "2022-01-01T00:00:00-00:00"
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "ApInvoice-9": {
        "allOf": [
          {
            "$ref": "#/components/schemas/ApInvoice"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The SQL path on the Source System.",
                    "example": "select * from [apiinv]"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "APCo": "12345",
                      "UIMth": "2022-01-01 00:00:00",
                      "UISeq": "1",
                      "VendorGroup": "12345",
                      "Vendor": "12345",
                      "APRef": "A123",
                      "Description": "Materials for January",
                      "InvDate": "2022-01-01 00:00:00",
                      "DiscDate": null,
                      "DueDate": "2022-01-01 00:00:00",
                      "InvTotal": "200",
                      "HoldCode": null,
                      "PayControl": null,
                      "PayMethod": "C",
                      "CMCo": "12345",
                      "CMAcct": "12345",
                      "V1099YN": "Y",
                      "V1099Type": "MISC",
                      "V1099Box": "7",
                      "PayOverrideYN": "N",
                      "PayName": null,
                      "PayAddress": null,
                      "PayCity": null,
                      "PayState": null,
                      "PayZip": null,
                      "InUseMth": null,
                      "InUseBatchId": null,
                      "PayAddInfo": null,
                      "DocName": null,
                      "SeparatePayYN": "N",
                      "Notes": null,
                      "UniqueAttchID": null,
                      "AddressSeq": null,
                      "KeyID": "1",
                      "ReviewerGroup": null,
                      "SLKeyID": null,
                      "PayCountry": null,
                      "InvStatus": "0"
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "ApInvoice-10": {
        "allOf": [
          {
            "$ref": "#/components/schemas/APInvoice"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The SQL path on the Source System.",
                    "example": "select * from [MASTER_APM_RECORD_1]"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "OIVND": "12345",
                      "OIINV": "A123",
                      "OIDESC": "",
                      "OISTAT": "Open",
                      "OIAMT": 14555,
                      "OITAX": 0,
                      "OIDSC": 0,
                      "OIRET": 1455.5,
                      "OIMDED": 0,
                      "OIAMTPD": 0,
                      "OITAXPD": 0,
                      "OIDSCT": 0,
                      "OIDSCL": 0,
                      "OIRETH": 0,
                      "OIRETPD": 0,
                      "OIMDEDA": 0,
                      "OIPPSD": 0,
                      "OIDATE": "2022-01-01",
                      "OIDTRCV": null,
                      "OIDSCDT": null,
                      "OIPMTDT": "2022-01-01",
                      "OIACCDT": "2022-01-01",
                      "OICRTBY": "AP",
                      "OIAPPL": "AP",
                      "OIBATCH": "13",
                      "OISRC": "Enter invoices",
                      "OIDPLOC": "",
                      "OIDPMAP": "",
                      "OIRUN": 19,
                      "OISEQ": 1,
                      "OIPNDNG": "0",
                      "OISESSN": "",
                      "OIDUEDT": null,
                      "OICODE1": "",
                      "OICODE2": "",
                      "OIOJRN": 10,
                      "OISNAME": "",
                      "OISADR1": "",
                      "OISADR2": "",
                      "OISCITY": "",
                      "OISST": "",
                      "OISZIP": "",
                      "OIHOLD": 0,
                      "OIINCLD": "0",
                      "OIPAMT": 0,
                      "OIPRETP": 0,
                      "OIPDSC": 0,
                      "OIPRETH": 0,
                      "OIPMDED": 0,
                      "OIMEMO": "",
                      "OIOSTMP": "",
                      "OIDSTMP": "2022-01-01",
                      "OITSTMP": "00:00:00",
                      "OIRWID": "12345b4b-ee3f-e711-8bef-0019b9211094",
                      "OIRWVR": "1234567842",
                      "R1NTS": null,
                      "R1FLS": null
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "ApInvoice-11": {
        "allOf": [
          {
            "$ref": "#/components/schemas/APInvoice"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "https://api.intacct.com/ia/xml/xmlgw.phtml"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "RECORDNO": "770",
                      "TOTALDUE": "100.12",
                      "PRBATCH": "Bills - A123: 2025/03/06 13:45:52:3925 Batch",
                      "CREATEDUSERID": "agave-workshop",
                      "CURRENCY": "USD",
                      "DESCRIPTION": "Electrical materials for January",
                      "WHENDISCOUNT": "01/01/2022",
                      "WHENDUE": "02/01/2022",
                      "RECORDID": "A316",
                      "TOTALRETAINED": "0",
                      "RETAINAGEPERCENTAGE": null,
                      "WHENCREATED": "01/01/2022",
                      "WHENMODIFIED": "03/06/2025 21:45:52",
                      "STATE": "Submitted",
                      "VENDORID": "V100",
                      "RECORDTYPE": "pi",
                      "CONTACTTAXGROUP": null,
                      "FINANCIALENTITY": null,
                      "RAWSTATE": "S",
                      "VENDORNAME": "A-1 Electric Company",
                      "FORM1099TYPE": null,
                      "FORM1099BOX": null,
                      "VENDTYPE1099TYPE": null,
                      "TRX_ENTITYDUE": "226827",
                      "DOCNUMBER": null,
                      "DESCRIPTION2": null,
                      "TERMNAME": "Net 30",
                      "TERMKEY": "1",
                      "TERMVALUE": "::#30#:O:",
                      "WHENPOSTED": "01/01/2022",
                      "WHENPAID": null,
                      "RECPAYMENTDATE": null,
                      "PAYMENTPRIORITY": "normal",
                      "ONHOLD": "false",
                      "BASECURR": "USD",
                      "EXCH_RATE_DATE": null,
                      "EXCH_RATE_TYPE_ID": null,
                      "EXCHANGE_RATE": null,
                      "TOTALENTERED": "100.12",
                      "TOTALSELECTED": "0",
                      "TOTALPAID": "0",
                      "TRX_TOTALENTERED": "100.12",
                      "TRX_TOTALSELECTED": "0",
                      "TRX_TOTALPAID": "0",
                      "TRX_TOTALDUE": "100.12",
                      "BILLTOPAYTOCONTACTNAME": "A-1 Electric Company",
                      "SHIPTORETURNTOCONTACTNAME": "A-1 Electric Company",
                      "BILLTOPAYTOKEY": "8",
                      "SHIPTORETURNTOKEY": "8",
                      "PRBATCHKEY": "554",
                      "MODULEKEY": "3.AP",
                      "DOCUMENT_DOCPARID": null,
                      "SCHOPKEY": null,
                      "SYSTEMGENERATED": "F",
                      "AUWHENCREATED": "03/06/2025 21:45:52",
                      "CREATEDBY": "16",
                      "MODIFIEDBY": "16",
                      "DUE_IN_DAYS": null,
                      "INCLUSIVETAX": "false",
                      "TAXSOLUTIONKEY": null,
                      "TAXSOLUTIONID": null,
                      "SHOWMULTILINETAX": null,
                      "TAXMETHOD": null,
                      "TRX_TOTALRETAINED": "0",
                      "TRX_TOTALRELEASED": "0",
                      "SUPDOCID": null,
                      "BILLBACKTEMPLATE": null,
                      "USERID": "agave-workshop",
                      "DOCSOURCE": null,
                      "UPLOADSTATUS": null,
                      "RECIPIENTEMAIL": null,
                      "SENDEREMAIL": null,
                      "RETAINAGERELEASED": "false",
                      "MEGAENTITYKEY": "16",
                      "MEGAENTITYID": "A123",
                      "MEGAENTITYNAME": "AnyCompany Contractors"
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "ApInvoiceLineItem-2": {
        "type": "object",
        "properties": {
          "id": {
            "allOf": [
              {
                "description": "The UUID of the Line Item assigned by Agave."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "source_id": {
            "type": "string",
            "readOnly": true,
            "example": "12345",
            "description": "The ID of the Line Item in the Source System."
          },
          "amount": {
            "allOf": [
              {
                "$ref": "#/components/schemas/MoneyProperty"
              },
              {
                "description": "The amount of the Line Item."
              },
              {
                "example": "100.00"
              }
            ]
          },
          "contract": {
            "type": "object",
            "description": "The Contract (i.e. Purchase Order or Subcontract) associated with the AP Invoice Line Item.",
            "properties": {
              "id": {
                "allOf": [
                  {
                    "description": "The UUID of the Contract (i.e. Purchase Order or Subcontract) assigned by Agave."
                  },
                  {
                    "$ref": "#/components/schemas/IdPropertyReadOnly"
                  }
                ]
              },
              "type": {
                "type": "string",
                "description": "The type of Contract associated with the AP Invoice Line Item.",
                "example": "subcontract",
                "enum": [
                  "purchase_order",
                  "subcontract"
                ]
              }
            }
          },
          "description": {
            "type": "string",
            "description": "A description of the Line Item.",
            "example": "Two tons of cement."
          },
          "item_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Item](#tag--items) for the Line Item."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "ledger_account_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Ledger Account](#tag--ledger-accounts) for the Line Item."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "quantity": {
            "type": "string",
            "description": "The estimated quantity of the unit in the Line Item.",
            "example": "2.0"
          },
          "unit_cost": {
            "type": "string",
            "description": "The cost of each unit associated with the Line Item.",
            "example": "50"
          },
          "vendor_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Vendor](#tag--vendors) (aka Secondary Payee or Supplier) for the Line Item."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "wbs_id": {
            "allOf": [
              {
                "description": "The UUID of the [WBS Code](#tag--wbs) for the AP Invoice Line Item, assigned by Agave."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "source_data": {
            "type": "object",
            "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
            "properties": {
              "path": {
                "type": "string",
                "description": "The URL path on the Source System.",
                "example": "https://api.servicetitan.io/accounting/v2/tenant/{tenantId}/invoices"
              },
              "content_type": {
                "type": "string",
                "description": "The content type of the Source Data.",
                "example": "application/json"
              },
              "data": {
                "type": "string",
                "description": "The raw data from the Source System.",
                "example": {
                  "id": "1e683110-686c-5c70-9759-129bb8aed9cd",
                  "source_id": "3471243",
                  "amount": "7.50000000000000000000000000000",
                  "change_order": null,
                  "contract": {
                    "id": "8374c663-d57e-52d9-abf8-d52fa5616375",
                    "type": "purchase_order",
                    "line_item_id": null
                  },
                  "cost_code_id": null,
                  "cost_type_id": null,
                  "customer_id": null,
                  "description": "Dusk Testing Rebar",
                  "discount_amount": null,
                  "item_id": "e0a2f738-5e0f-5b70-9ba8-6decbc25db04",
                  "ledger_account_id": "d5947b63-e482-5674-b558-4bedb3ff4c2c",
                  "project_id": null,
                  "quantity": "0.5000000000000000000",
                  "retention_amount": null,
                  "status": null,
                  "sub_job_id": null,
                  "tax_amount": null,
                  "tax_code_id": null,
                  "type": null,
                  "unit_cost": "15.0000000000",
                  "unit_of_measure": null,
                  "vendor_id": null,
                  "wbs_code_id": null,
                  "wbs_id": null
                }
              }
            }
          }
        }
      },
      "ApInvoice-12": {
        "type": "object",
        "properties": {
          "id": {
            "allOf": [
              {
                "description": "The UUID of the AP Invoice assigned by Agave."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "source_id": {
            "type": "string",
            "readOnly": true,
            "example": "12345",
            "description": "The ID of the AP Invoice in the Source System."
          },
          "amount_due": {
            "type": "string",
            "description": "The amount remaining to be paid on the AP Invoice.",
            "example": "100.0"
          },
          "contract": {
            "type": "object",
            "description": "The Contract (i.e. Purchase Order or Subcontract) associated with the AP Invoice.",
            "properties": {
              "id": {
                "allOf": [
                  {
                    "description": "The UUID of the Contract (i.e. Purchase Order or Subcontract) assigned by Agave."
                  },
                  {
                    "$ref": "#/components/schemas/IdPropertyReadOnly"
                  }
                ]
              },
              "type": {
                "type": "string",
                "description": "The type of Contract associated with the AP Invoice.",
                "example": "purchase_order",
                "enum": [
                  "purchase_order",
                  "subcontract"
                ]
              }
            }
          },
          "description": {
            "type": "string",
            "description": "A description (often internal) of the AP Invoice.",
            "example": "Materials for January."
          },
          "discount_amount": {
            "type": "string",
            "description": "The amount in discounts for the AP Invoice.",
            "example": "10.0"
          },
          "discount_date": {
            "allOf": [
              {
                "description": "The discount date of the AP Invoice."
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ]
          },
          "due_date": {
            "allOf": [
              {
                "description": "The date when payment for the AP Invoice is due."
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ]
          },
          "issue_date": {
            "allOf": [
              {
                "description": "The date the AP Invoice was issued."
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ]
          },
          "line_items": {
            "description": "The line items for the AP Invoice.",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ApInvoiceLineItem-2"
            }
          },
          "misc_amount": {
            "type": "string",
            "description": "The sum of any miscellaneous amounts for the AP Invoice (e.g. shipping).",
            "example": "10.0"
          },
          "net_amount": {
            "type": "string",
            "description": "The net amount of the AP Invoice, which is equal to `total_amount` minus `discount_amount` and `retention_amount`.",
            "example": "120"
          },
          "number": {
            "type": "string",
            "description": "The number of the AP Invoice.",
            "example": "3519363-B1"
          },
          "status": {
            "type": "string",
            "description": "The status of the AP Invoice. \n\n**Note for Acumatica**: possible values include \"On Hold\", \"Balanced\", and \"Open\" for updates, and \"On Hold\" for creates. When updating status, only the status field can be passed.\n\n**Note for CMiC:** possible values include \"Closed\", \"Open\", \"Partially Paid\", and \"Voided\".\n\n**Note for COINS:** possible values include \"Unposted\", \"Hold\", \"Approved\", \"Selected for Payment\", and \"Paid\". Updates can only be made in \"Unposted\" and \"Hold\" statuses.\n\n**Note for Foundation**: possible values include \"Pending\" and \"Posted\".\n\n**Note for Procore:** possible values include \"Approved\", \"Approved As Noted\", \"Draft\", \"Pending Owner Approval\", \"Revise and Resubmit\", and \"Under Review\".\n\n**Note for Sage 100 Contractor**: \n- **Open**: indicates an AP Invoice has been posted to the General Ledger. This is the default value for this field.\n- **Review**: indicates the management or bookkeepingstaff should review the AP Invoice.\n- **Dispute**: indicates an AP Invoice is disputed by the Vendor.\n- **Paid**: indicates an AP Invoice is paid in full.\n\n**Note for Sage 300 CRE**: \n- **Pending**: indicates a record that has been created but not yet posted to the General Ledger. When AP Invoices are created, they default to this status.\n- **Open**: indicates an AP Invoice has been posted to the General Ledger.\n- **Paid**: indicates an AP Invoice is paid in full.\n\n**Note for ServiceTitan:** possible values include:\n- `Pending`: indicates that the AP Invoices has been created but not yet posted. When AP Invoices are created, they default to this status.\n- `Posted`: indicates that the AP Invoice and the respective batch has been posted.\n- `Exported`: indicates that edits are locked for the AP Invoice.\n\n**Note for Viewpoint Vista:** possible values include:\n- `Unapproved`: these are AP Invoices that are entered in the \"Unapproved AP Invoices\" status in Viewpoint Spectrum or form in Viewpoint Vista.\n- `Pending`: these are AP Invoices that are entered with a status of \"Approved\" in Viewpoint Spectrum or in the AP Invoice Transaction form in Viewpoint Vista. These are listed as \"Pending\" because they still need to be processed as part of a batch using Spectrum and Vista's pre-posting validation logic, but do not require a formal approval workflow.\n- `Posted`: these are AP Invoices that have been processed in a batch, validated with Viewpoint Spectrum and Vista's internal validation logic, and posted to Ledger Accounts. Once AP Invoices are posted, they can be associated with [AP Payments](#tag--ap-payments).\n",
            "example": "Pending"
          },
          "subtotal_amount": {
            "type": "string",
            "description": "The amount of the AP Invoice, excluding tax, discounts, and retention.",
            "example": "100.0"
          },
          "tax_amount": {
            "type": "string",
            "description": "The total tax amount for the AP Invoice.",
            "example": "10.0"
          },
          "total_amount": {
            "type": "string",
            "description": "The total amount of the AP Invoice, including tax and misc amounts.",
            "example": "120"
          },
          "vendor_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Vendor](#tag--vendors)."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "source_create_time": {
            "allOf": [
              {
                "description": "The datetime the AP Invoice was created in the Source System."
              },
              {
                "$ref": "#/components/schemas/DateTimeProperty"
              }
            ]
          },
          "source_data": {
            "type": "object",
            "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
            "properties": {
              "path": {
                "type": "string",
                "description": "The URL path on the Source System.",
                "example": "https://api.servicetitan.io/accounting/v2/tenant/{tenantId}/invoices"
              },
              "content_type": {
                "type": "string",
                "description": "The content type of the Source Data.",
                "example": "application/json"
              },
              "data": {
                "type": "string",
                "description": "The raw data from the Source System.",
                "example": {
                  "id": 977,
                  "syncStatus": "Exported",
                  "summary": null,
                  "referenceNumber": "975",
                  "invoiceDate": "2018-01-08T00:00:00Z",
                  "dueDate": "2018-01-08T00:00:00Z",
                  "subTotal": "25088.94",
                  "salesTax": "0.00",
                  "salesTaxCode": null,
                  "total": "25088.94",
                  "balance": "0.00",
                  "customer": {
                    "id": 759,
                    "name": "Max Ambrose"
                  },
                  "customerAddress": {
                    "street": "320 S Alexandria Ave",
                    "unit": null,
                    "city": "Los Angeles",
                    "state": "CA",
                    "zip": "90020",
                    "country": "USA"
                  },
                  "locationAddress": {
                    "street": "320 S Alexandria Ave",
                    "unit": null,
                    "city": "Los Angeles",
                    "state": "CA",
                    "zip": "90020",
                    "country": "USA"
                  },
                  "businessUnit": {
                    "id": 608,
                    "name": "Grumpy"
                  },
                  "termName": "",
                  "createdBy": "claybae",
                  "batch": {
                    "id": 8353,
                    "number": "3",
                    "name": "My Batch (3)"
                  },
                  "modifiedOn": "2019-02-22T20:12:37.9743389Z",
                  "adjustmentToId": null,
                  "job": {
                    "id": 975,
                    "number": "975",
                    "type": "Main line"
                  },
                  "projectId": null,
                  "royalty": {
                    "status": "Pending",
                    "date": null,
                    "sentOn": null,
                    "memo": null
                  },
                  "employeeInfo": {
                    "id": 15,
                    "name": "claybae",
                    "modifiedOn": "2022-03-16T14:39:04.4527243Z"
                  },
                  "commissionEligibilityDate": null,
                  "items": [
                    {
                      "id": 986,
                      "description": "Maximize style. Maximize Savings. Save the Environment. Caroma is at the forefront of product innovation. By choosing one of Caroma's toilet suites, you are making a smart choice. During the last 50 years, we have:\n\n* Proven water savings - up to 18,000 gallons (69,000 liters) per year\n* Proven reliability - created by the world leader in dual flush technology\n* Proven technology - industry-recognized, award-winning\n* Based on 1:4 solid/ liquid usage using a 3.5 gal/13 ltr toilet for an average family of four and and 5 flushes/person/day",
                      "quantity": "1.0000000000000000000",
                      "cost": "0.0000000000",
                      "totalCost": "0.00",
                      "inventoryLocation": null,
                      "price": "25088.94",
                      "type": "Service",
                      "skuName": "CRMPRFLTLT",
                      "skuId": 923,
                      "total": "25088.94",
                      "inventory": false,
                      "taxable": false,
                      "generalLedgerAccount": {
                        "name": "Drain",
                        "number": "0000",
                        "type": "Income",
                        "detailType": "Income"
                      },
                      "costOfSaleAccount": null,
                      "assetAccount": null,
                      "membershipTypeId": 0,
                      "itemGroup": null,
                      "displayName": "Carmona Profile Toilet",
                      "soldHours": 0,
                      "modifiedOn": "2019-01-10T22:16:46.7497625Z",
                      "serviceDate": null,
                      "order": 1
                    }
                  ],
                  "customFields": null
                }
              }
            }
          }
        }
      },
      "ApInvoice-13": {
        "allOf": [
          {
            "$ref": "#/components/schemas/ApInvoice"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The SQL path on the Source System.",
                    "example": "select * from [VN_GL_DISTRIBUTION_HEADER_MC]"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "Company_Code": "12345",
                      "Vendor_Code": "12345",
                      "Invoice_Number": "                A123",
                      "Invoice_Type_Code": "I",
                      "Batch_Code": "4",
                      "Contract_Number": "",
                      "Subcontract_Job": "A123",
                      "Status": "O",
                      "AP_GL_Account": "12345",
                      "Cash_GL_Account": "",
                      "Year": "2022",
                      "Period": "01",
                      "Check_Number": "",
                      "Check_Amount": ".00",
                      "Check_Date": null,
                      "Invoice_Amount": "120.00",
                      "Discount_Eligible_Amount": "10.00",
                      "Retention_Amount": ".00",
                      "Date_List1": "2022-01-01 00:00:00.000",
                      "Date_List2": "2022-01-01 00:00:00.000",
                      "Date_List3": "2022-01-01 00:00:00.000",
                      "Date_List4": "2022-01-01 00:00:00.000",
                      "Date_List5": "2022-01-01 00:00:00.000",
                      "PO_Number": "",
                      "Remarks": "Materials for January",
                      "Vendor_Name": "AnyCompany Inc.",
                      "Address_1": "123 Main Street",
                      "Address_2": "Unit 1",
                      "Address_3": "AnyTown",
                      "State": "DE",
                      "Zip_Code": "19703",
                      "Date_Stamp": null,
                      "Time_Stamp": "",
                      "Subcontract_Job_Company": "12345",
                      "Cost_Center": null,
                      "Date_List3_Year": "2022",
                      "Date_List3_Period": "01",
                      "Card_Number": "",
                      "Back_Charge_Subcontract": "",
                      "Entered_By": "001",
                      "Payment_Number": "",
                      "Currency_Code": "",
                      "Exchange_Rate": "1.000000",
                      "VAT_Code": "",
                      "VAT_Tax_Percent": ".0000",
                      "Total_VAT_Amt": ".00",
                      "Retention_VAT_Amt": ".00",
                      "VAT_Override": "",
                      "Pay_Loc_Code": ""
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "ApInvoice-14": {
        "allOf": [
          {
            "$ref": "#/components/schemas/ApInvoice"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The SQL path on the Source System.",
                    "example": "bAPUI"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "APCo": "12345",
                      "UIMth": "2022-01-01 00:00:00",
                      "UISeq": "1",
                      "VendorGroup": "12345",
                      "Vendor": "12345",
                      "APRef": "A123",
                      "Description": "Materials for January",
                      "InvDate": "2022-01-01 00:00:00",
                      "DiscDate": null,
                      "DueDate": "2022-01-01 00:00:00",
                      "InvTotal": "200",
                      "HoldCode": null,
                      "PayControl": null,
                      "PayMethod": "C",
                      "CMCo": "12345",
                      "CMAcct": "12345",
                      "V1099YN": "Y",
                      "V1099Type": "MISC",
                      "V1099Box": "7",
                      "PayOverrideYN": "N",
                      "PayName": null,
                      "PayAddress": null,
                      "PayCity": null,
                      "PayState": null,
                      "PayZip": null,
                      "InUseMth": null,
                      "InUseBatchId": null,
                      "PayAddInfo": null,
                      "DocName": null,
                      "SeparatePayYN": "N",
                      "Notes": null,
                      "UniqueAttchID": null,
                      "AddressSeq": null,
                      "KeyID": "1",
                      "ReviewerGroup": null,
                      "SLKeyID": null,
                      "PayCountry": null,
                      "InvStatus": "0"
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "IdPropertyWriteOnly": {
        "type": "string",
        "format": "uuid",
        "minLength": 36,
        "maxLength": 36,
        "example": "c840285e-e65f-4342-943f-5950ef8072dc"
      },
      "NewApInvoiceLineItem": {
        "type": "object",
        "required": [
          "cost_code_id",
          "ledger_account_id",
          "sub_job_id"
        ],
        "properties": {
          "cost_code_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Cost Code](#tag--cost-codes) for the Line Item."
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          },
          "description": {
            "type": "string",
            "description": "A description of the Line Item.",
            "example": "Two tons of cement."
          },
          "ledger_account_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Ledger Account](#tag--ledger-accounts) for the Line Item."
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          },
          "quantity": {
            "type": "string",
            "description": "The estimated quantity of the unit in the Line Item.",
            "example": "2.0"
          },
          "sub_job_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Sub Job](#tag--sub-jobs) for the Line Item."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "tax_amount": {
            "allOf": [
              {
                "$ref": "#/components/schemas/MoneyProperty"
              },
              {
                "description": "The tax amount of the Line Item."
              },
              {
                "example": "10.00"
              }
            ]
          },
          "tax_code_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Sales Tax Code](#tag--tax-codes) for the Line Item."
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          },
          "type": {
            "type": "string",
            "description": "The type of the Line Item. \n\n**Note for Acumatica**: possible values include \"Regular\" and \"Tax\". For \"Tax\", only `tax_amount`, `tax_code_id`, and `type` are writeable.\n",
            "example": "Regular"
          },
          "unit_cost": {
            "type": "string",
            "description": "The cost of each unit associated with the Line Item.",
            "example": "50"
          },
          "unit_of_measure": {
            "type": "string",
            "description": "The unit used for measuring the estimated quantity of the Line Item.",
            "example": "Tons"
          }
        }
      },
      "NewApInvoice": {
        "type": "object",
        "required": [
          "vendor_id"
        ],
        "properties": {
          "currency_code": {
            "type": "string",
            "description": "The code of the AP Invoice's currency. Valid values are ISO 4217 codes.",
            "example": "USD"
          },
          "description": {
            "type": "string",
            "description": "A description (often internal) of the AP Invoice.",
            "example": "Materials for January."
          },
          "due_date": {
            "allOf": [
              {
                "description": "The date when payment for the AP Invoice is due."
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ]
          },
          "issue_date": {
            "allOf": [
              {
                "description": "The date the AP Invoice was issued."
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ]
          },
          "line_items": {
            "description": "The line items for the AP Invoice.",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/NewApInvoiceLineItem"
            }
          },
          "status": {
            "type": "string",
            "description": "The status of the AP Invoice. \n\n**Note for Acumatica**: possible values include \"On Hold\", \"Balanced\", and \"Open\" for updates, and \"On Hold\" for creates.\n",
            "example": "Approved"
          },
          "type": {
            "type": "string",
            "description": "The type of AP Invoices.\n\n**Note for Acumatica**: possible values include \"Bill\", \"Debit Adj.\", \"Credit Adj.\", and \"Prepayment\". Writes are only supported for \"Bill\". \n",
            "example": "Bill"
          },
          "vendor_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Vendor](#tag--vendors)."
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          }
        }
      },
      "NewApInvoiceLineItem-2": {
        "type": "object",
        "properties": {
          "amount": {
            "allOf": [
              {
                "$ref": "#/components/schemas/MoneyProperty"
              },
              {
                "description": "The amount of the Line Item."
              },
              {
                "example": "100.00"
              }
            ]
          },
          "contract": {
            "type": "object",
            "description": "The Contract (i.e. Purchase Order or Subcontract) associated with the AP Invoice Line Item.",
            "properties": {
              "line_item_id": {
                "allOf": [
                  {
                    "description": "The UUID of the Contract Line Item (i.e. [Purchase Order](#tag--purchase-orders) Line Item or [Subcontract](#tag--subcontracts) Line Item) assigned by Agave."
                  },
                  {
                    "$ref": "#/components/schemas/IdPropertyWriteOnly"
                  }
                ]
              }
            }
          }
        }
      },
      "NewApInvoice-2": {
        "type": "object",
        "required": [
          "due_date",
          "issue_date",
          "number",
          "type",
          "vendor_id"
        ],
        "properties": {
          "batch": {
            "type": "string",
            "description": "The batch the AP Invoice is associated with.",
            "example": "4"
          },
          "contract": {
            "type": "object",
            "description": "The Contract (i.e. Purchase Order or Subcontract) associated with the AP Invoice Line Item.",
            "properties": {
              "id": {
                "allOf": [
                  {
                    "description": "The UUID of the Contract (i.e. [Purchase Order](#tag--purchase-orders) or [Subcontract](#tag--subcontracts)) assigned by Agave."
                  },
                  {
                    "$ref": "#/components/schemas/IdPropertyWriteOnly"
                  }
                ]
              },
              "line_item_id": {
                "allOf": [
                  {
                    "description": "The UUID of the Contract Line Item (i.e. [Purchase Order](#tag--purchase-orders) Line Item or [Subcontract](#tag--subcontracts) Line Item) assigned by Agave."
                  },
                  {
                    "$ref": "#/components/schemas/IdPropertyWriteOnly"
                  }
                ]
              },
              "type": {
                "type": "string",
                "description": "The type of Contract associated with the AP Invoice Line Itme.",
                "example": "subcontract",
                "enum": [
                  "purchase_order",
                  "subcontract"
                ]
              }
            }
          },
          "description": {
            "type": "string",
            "description": "A description (often internal) of the AP Invoice.",
            "example": "Materials for January."
          },
          "discount_amount": {
            "type": "string",
            "description": "The amount in discounts for the AP Invoice.",
            "example": "10.0"
          },
          "discount_date": {
            "allOf": [
              {
                "description": "The discount date of the AP Invoice."
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ]
          },
          "due_date": {
            "allOf": [
              {
                "description": "The date when payment for the AP Invoice is due."
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ]
          },
          "issue_date": {
            "allOf": [
              {
                "description": "The date the AP Invoice was issued."
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ]
          },
          "line_items": {
            "description": "The line items for the AP Invoice.",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/NewApInvoiceLineItem-2"
            }
          },
          "number": {
            "type": "string",
            "description": "The number of the AP Invoice.",
            "example": "A123"
          },
          "status": {
            "type": "string",
            "description": "The status of the AP Invoice. \n\n**Note for CMiC:** only \"Open\" is supported for write operations.\n",
            "example": "Open",
            "enum": [
              "Open"
            ]
          },
          "type": {
            "type": "string",
            "description": "The type of AP Invoice.\n\n**Note for CMiC**: only \"Voucher\" is supported as a type.\n",
            "example": "Voucher",
            "enum": [
              "Voucher"
            ]
          },
          "vendor_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Vendor](#tag--vendors)."
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          }
        }
      },
      "NewApInvoiceLineItem-3": {
        "required": [
          "amount",
          "contract",
          "quantity"
        ],
        "type": "object",
        "properties": {
          "amount": {
            "type": "string",
            "description": "The total monetary amount of the Line Item, excluding tax. Required if Quantity is not supplied.",
            "example": "100.00"
          },
          "contract": {
            "type": "object",
            "description": "The Contract (i.e. Purchase Order or Subcontract) associated with the AP Invoice Line Item.",
            "properties": {
              "id": {
                "allOf": [
                  {
                    "description": "The UUID of the Contract (i.e. [Purchase Order](#tag--purchase-orders) or [Subcontract](#tag--subcontracts)) assigned by Agave. \n\nCurrently, Agave only supports Purchase Orders for COINS.\n"
                  },
                  {
                    "$ref": "#/components/schemas/IdPropertyWriteOnly"
                  }
                ]
              },
              "line_item_id": {
                "allOf": [
                  {
                    "description": "The UUID of the Contract Line Item (i.e. Purchase Order Line Item or Subcontract Line Item) assigned by Agave."
                  },
                  {
                    "$ref": "#/components/schemas/IdPropertyWriteOnly"
                  }
                ]
              },
              "type": {
                "type": "string",
                "description": "The type of Contract associated with the AP Invoice Line Itme.",
                "example": "purchase_order",
                "enum": [
                  "purchase_order",
                  "subcontract"
                ]
              }
            }
          },
          "quantity": {
            "type": "string",
            "description": "The estimated quantity of the unit in the Line Item. Required if Amount is not supplied.\n",
            "example": "2.0"
          }
        }
      },
      "NewApInvoice-3": {
        "required": [
          "due_date",
          "issue_date",
          "number",
          "vendor_id",
          "source_data"
        ],
        "type": "object",
        "properties": {
          "description": {
            "type": "string",
            "description": "A description (often internal) of the AP Invoice.",
            "example": "Materials for January."
          },
          "discount_amount": {
            "type": "string",
            "description": "The amount in discounts for the AP Invoice.",
            "example": "10.0"
          },
          "discount_date": {
            "allOf": [
              {
                "description": "The discount date of the AP Invoice."
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ]
          },
          "due_date": {
            "allOf": [
              {
                "description": "The date when payment for the AP Invoice is due."
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ]
          },
          "issue_date": {
            "allOf": [
              {
                "description": "The date the AP Invoice was issued."
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ]
          },
          "line_items": {
            "description": "The line items for the AP Invoice.",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/NewApInvoiceLineItem-3"
            }
          },
          "number": {
            "type": "string",
            "description": "The number of the AP Invoice.",
            "example": "A123"
          },
          "vendor_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Vendor](#tag--vendors)."
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly",
                "source_data": null
              }
            ]
          },
          "source_data": {
            "type": "object",
            "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
            "properties": {
              "coj_type": {
                "allOf": [
                  {
                    "description": "The transaction type for the invoice batch. These are user configurable and can be queried via a [passthrough request](/agave-api/passthrough-requests) to `/rest/pages/company/{{company_num}}/co_jtype`."
                  },
                  {
                    "type": "string"
                  },
                  {
                    "example": "PINV"
                  }
                ]
              },
              "vat_code": {
                "allOf": [
                  {
                    "description": "The Tax Code for the invoice. Until COINS Tax Codes are supported, they can be queried via a [passthrough request](/agave-api/passthrough-requests) to `/rest/pages/company/{{company_num}}/co_vat`.\n"
                  },
                  {
                    "type": "string"
                  },
                  {
                    "example": "P1"
                  }
                ]
              },
              "ain_hcode": {
                "allOf": [
                  {
                    "description": "The Commercial Hold Code for the invoice may be required depending on COINS configuration. These are user configurable and can be queried via a [passthrough request](/agave-api/passthrough-requests) to `/rest/pages/company/{{company_num}}/co_table/hold_codes`.\n"
                  },
                  {
                    "type": "string"
                  },
                  {
                    "example": "DFH"
                  }
                ]
              }
            }
          }
        }
      },
      "NewApInvoiceLineItem-4": {
        "type": "object",
        "required": [
          "amount",
          "type"
        ],
        "properties": {
          "amount": {
            "allOf": [
              {
                "$ref": "#/components/schemas/MoneyProperty"
              },
              {
                "description": "The amount of the Line Item."
              },
              {
                "example": "100.00"
              }
            ]
          },
          "cost_code_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Cost Code](#tag--cost-codes) for the Line Item."
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          },
          "cost_type_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Cost Type](#tag--cost-types) for the Line Item."
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          },
          "description": {
            "type": "string",
            "description": "A description of the Line Item.",
            "example": "Two tons of cement."
          },
          "ledger_account_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Ledger Account](#tag--ledger-accounts) for the Line Item."
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          },
          "project_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Project](#tag--projects) for the Line Item to be costed towards.\n\n**Note for Foundation**: Project ID can be passed at the line item-level or in the `Project-ID` header.\n"
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          },
          "quantity": {
            "type": "string",
            "description": "The estimated quantity of the unit in the Line Item.",
            "example": "2.0"
          },
          "type": {
            "type": "string",
            "description": "The type of the Line Item. \n\n**Note for Foundation**: only \"Regular\" is supported at the moment.\n",
            "example": "Regular",
            "enum": [
              "Regular"
            ]
          }
        }
      },
      "NewApInvoice-4": {
        "type": "object",
        "required": [
          "issue_date",
          "line_items",
          "number",
          "type",
          "vendor_id"
        ],
        "properties": {
          "contract": {
            "type": "object",
            "description": "The Contract (i.e. Purchase Order or Subcontract) associated with the AP Invoice Line Item.",
            "properties": {
              "id": {
                "allOf": [
                  {
                    "description": "The UUID of the Contract (i.e. [Purchase Order](#tag--purchase-orders) or [Subcontract](#tag--subcontracts)) assigned by Agave."
                  },
                  {
                    "$ref": "#/components/schemas/IdPropertyWriteOnly"
                  }
                ]
              },
              "type": {
                "type": "string",
                "description": "The type of Contract associated with the AP Invoice Line Itme.",
                "example": "subcontract",
                "enum": [
                  "purchase_order",
                  "subcontract"
                ]
              }
            }
          },
          "description": {
            "type": "string",
            "description": "A description (often internal) of the AP Invoice.",
            "example": "Materials for January."
          },
          "discount_amount": {
            "type": "string",
            "description": "The amount in discounts for the AP Invoice.\n\n**Note for Foundation**: the field `discount_date` if you include `discount_amount`.\n",
            "example": "10.0"
          },
          "discount_date": {
            "allOf": [
              {
                "description": "The discount date of the AP Invoice.\n\n**Note for Foundation**: the field `discount_amount` if you include `discount_date`.\n"
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ]
          },
          "due_date": {
            "allOf": [
              {
                "description": "The date when payment for the AP Invoice is due."
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ]
          },
          "issue_date": {
            "allOf": [
              {
                "description": "The date the AP Invoice was issued."
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ]
          },
          "line_items": {
            "description": "The line items for the AP Invoice.",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/NewApInvoiceLineItem-4"
            }
          },
          "number": {
            "type": "string",
            "description": "The number of the AP Invoice.",
            "example": "A123"
          },
          "retention_amount": {
            "type": "string",
            "description": "The amount being held in retention for the AP Invoice.\n\n**Note for Foundation**: this field can only be passed at the header-level, and divides evenly at the line item-level.\n",
            "example": "10.0"
          },
          "type": {
            "type": "string",
            "description": "The type of AP Invoice.\n\n**Note for Foundation**: if you pass in \"Credit\", the AP Invoice must be negative.\n",
            "example": "Regular",
            "enum": [
              "Credit",
              "Regular"
            ]
          },
          "vendor_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Vendor](#tag--vendors)."
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          }
        }
      },
      "NewApInvoiceLineItem-5": {
        "type": "object",
        "required": [
          "amount",
          "quantity"
        ],
        "properties": {
          "amount": {
            "allOf": [
              {
                "$ref": "#/components/schemas/MoneyProperty"
              },
              {
                "description": "The amount of the Line Item."
              },
              {
                "example": "100.00"
              }
            ]
          },
          "change_order": {
            "type": "object",
            "description": "The Change Order associated with the AP Invoice Line Item.",
            "properties": {
              "line_item_id": {
                "allOf": [
                  {
                    "description": "The UUID of the Change Order Line Item assigned by Agave."
                  },
                  {
                    "$ref": "#/components/schemas/IdPropertyWriteOnly"
                  }
                ]
              }
            }
          },
          "contract": {
            "type": "object",
            "description": "The Contract (i.e. Purchase Order or Subcontract) associated with the AP Invoice Line Item.",
            "properties": {
              "id": {
                "allOf": [
                  {
                    "description": "The UUID of the Contract (i.e. [Purchase Order](#tag--purchase-orders) or [Subcontract](#tag--subcontracts)) assigned by Agave."
                  },
                  {
                    "$ref": "#/components/schemas/IdPropertyWriteOnly"
                  }
                ]
              },
              "line_item_id": {
                "allOf": [
                  {
                    "description": "The UUID of the Contract Line Item (i.e. [Purchase Order](#tag--purchase-orders) Line Item or [Subcontract](#tag--subcontracts) Line Item) assigned by Agave."
                  },
                  {
                    "$ref": "#/components/schemas/IdPropertyWriteOnly"
                  }
                ]
              },
              "type": {
                "type": "string",
                "description": "The type of Contract associated with the AP Invoice Line Itme. Note for Jonas Premier, only \"Subcontract\" is supported.",
                "example": "subcontract",
                "enum": [
                  "purchase_order",
                  "subcontract"
                ]
              }
            }
          },
          "cost_code_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Cost Code](#tag--cost-codes) for the Line Item."
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          },
          "cost_type_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Cost Type](#tag--cost-types) for the Line Item."
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          },
          "project_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Project](#tag--projects) for the Line Item to be costed towards."
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          },
          "quantity": {
            "type": "string",
            "description": "The estimated quantity of the unit in the Line Item.",
            "example": "2.0"
          },
          "tax_amount": {
            "allOf": [
              {
                "$ref": "#/components/schemas/MoneyProperty"
              },
              {
                "description": "The tax amount of the Line Item."
              },
              {
                "example": "10.00"
              }
            ]
          },
          "unit_cost": {
            "type": "string",
            "description": "The cost of each unit associated with the Line Item.",
            "example": "50"
          }
        }
      },
      "NewApInvoice-5": {
        "type": "object",
        "required": [
          "issue_date",
          "line_items",
          "number",
          "vendor_id"
        ],
        "properties": {
          "amount": {
            "type": "string",
            "description": "The total amount of the AP Invoice, including tax. Note, this field is being deprecated in favor of `total_amount`.",
            "example": "100.0"
          },
          "attachments": {
            "type": "array",
            "description": "A list of Files associated with the AP Invoice.",
            "items": {
              "$ref": "#/components/schemas/Attachment"
            }
          },
          "description": {
            "type": "string",
            "description": "A description (often internal) of the AP Invoice.",
            "example": "Materials for January."
          },
          "discount_amount": {
            "type": "string",
            "description": "The amount in discounts for the AP Invoice.",
            "example": "10.0"
          },
          "issue_date": {
            "allOf": [
              {
                "description": "The date the AP Invoice was issued."
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ]
          },
          "line_items": {
            "description": "The line items for the AP Invoice.",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/NewApInvoiceLineItem-5"
            }
          },
          "number": {
            "type": "string",
            "description": "The number of the AP Invoice.",
            "example": "A123"
          },
          "retention_amount": {
            "type": "string",
            "description": "The amount being held in retention for the AP Invoice.",
            "example": "10.0"
          },
          "retention_percent": {
            "type": "string",
            "description": "The percent of the AP Invoice being held in retention.",
            "example": "10.0"
          },
          "vendor_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Vendor](#tag--vendors)."
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          }
        }
      },
      "NewAPInvoiceLineItem": {
        "required": [
          "amount",
          "quantity"
        ],
        "type": "object",
        "properties": {
          "amount": {
            "type": "string",
            "description": "The monetary amount of the Line Item. \n\n**Note for Procore:** if the associated Purchase Order or Subcontract has a `type` of \"Unit\", this field cannot be updated.\n",
            "example": "100.00"
          },
          "description": {
            "type": "string",
            "description": "A description of the Line Item.",
            "example": "Two tons of cement."
          },
          "quantity": {
            "type": "string",
            "description": "The estimated quantity of the unit in the Line Item. \n\n**Note for Procore:** if the associated Purchase Order or Subcontract has a `type` of \"Amount\", this field cannot be updated.\n",
            "example": "2.0"
          }
        }
      },
      "NewApInvoice-6": {
        "type": "object",
        "required": [
          "contract",
          "description"
        ],
        "properties": {
          "contract": {
            "type": "object",
            "description": "The Contract (i.e. Purchase Order or Subcontract) associated with the AP Invoice Line Item.",
            "properties": {
              "id": {
                "allOf": [
                  {
                    "description": "The UUID of the Contract (i.e. [Purchase Order](#tag--purchase-orders) or [Subcontract](#tag--subcontracts)) assigned by Agave.           \n"
                  },
                  {
                    "$ref": "#/components/schemas/IdPropertyWriteOnly"
                  }
                ]
              },
              "type": {
                "type": "string",
                "description": "The type of Contract associated with the AP Invoice Line Itme.",
                "example": "subcontract",
                "enum": [
                  "purchase_order",
                  "subcontract"
                ]
              }
            }
          },
          "description": {
            "type": "string",
            "description": "A description (often internal) of the AP Invoice.",
            "example": "Materials for January."
          },
          "issue_date": {
            "allOf": [
              {
                "description": "The date the AP Invoice was issued."
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ]
          },
          "line_items": {
            "description": "The line items for the AP Invoice. To learn more about creating and updating Line Items, see [link](/agave-api/line-items).",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/NewAPInvoiceLineItem"
            }
          },
          "number": {
            "type": "string",
            "description": "The number of the AP Invoice.",
            "example": "A123"
          },
          "status": {
            "type": "string",
            "description": "The status of the AP Invoice.",
            "example": "Draft",
            "enum": [
              "Approved",
              "Approved As Noted",
              "Draft",
              "Pending Owner Approval",
              "Revise and Resubmit",
              "Under Review"
            ]
          }
        }
      },
      "NewApInvoiceLineItem-6": {
        "type": "object",
        "properties": {
          "amount": {
            "allOf": [
              {
                "$ref": "#/components/schemas/MoneyProperty"
              },
              {
                "description": "The total monetary amount of the Line Item, including tax."
              },
              {
                "example": "100.0"
              }
            ]
          },
          "customer_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Customer](#tag--customers) for the Line Item."
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          },
          "description": {
            "type": "string",
            "description": "A description of the Line Item.",
            "example": "Two tons of cement."
          },
          "item_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Item](#tag--items) for the Line Item. \n\n**Note for QuickBooks Desktop**: one of `ledger_account_id` or `item_id` is required. If an Item is included, this Line Item is considered an Item type. It cannot have values for the `ledger_account_id` field.\n\nItems that have a Type of `Discount`, `ItemGroup`, `Payment`, `SalesTax`, and `SalesTaxGroup` are not supported. Items that have a Type of `FixedAsset` or `Subtotal` cannot have amount or quantities associated with them.\n"
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          },
          "ledger_account_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Ledger Account](#tag--ledger-accounts) for the Line Item. \n\n**Note for QuickBooks Desktop**: one of `ledger_account_id` or `item_id` is required. If a Ledger Account is included, this Line Item is considered an Expense type. It cannot have values for the `item_id` and `status` fields. \n"
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          },
          "quantity": {
            "type": "string",
            "description": "The estimated quantity of the unit in the Line Item.",
            "example": "2.0"
          },
          "status": {
            "type": "string",
            "description": "The status of the Line Item.",
            "example": "Billable",
            "enum": [
              "Billable",
              "NotBillable"
            ]
          },
          "type": {
            "type": "string",
            "description": "The type of the Line Item. Note, the potential values for this field can be found with the ClassQueryRq endpoint in QuickBooks Desktop, which requires a passthrough request. To learn more about this passthrough request, see [link](/agave-api/passthrough-requests#quickbooks-desktop).",
            "example": "Material Costs - Job Related"
          },
          "unit_cost": {
            "type": "string",
            "description": "The cost of each unit associated with the Line Item.",
            "example": "50.0"
          },
          "unit_of_measure": {
            "type": "string",
            "description": "The unit used for measuring the estimated quantity of the Line Item.\n\n**Note for QuickBooks Desktop**: units of measure must be enabled to be used in the API. To enable them, see [link](https://docs.agaveapi.com/agave-link/source-systems/quickbooks-desktop#3-units-of-measure-are-not-enabled).\n",
            "example": "Tons"
          }
        }
      },
      "NewApInvoice-7": {
        "type": "object",
        "required": [
          "type",
          "vendor_id"
        ],
        "properties": {
          "description": {
            "type": "string",
            "description": "A description (often internal) of the AP Invoice.",
            "example": "Materials for January."
          },
          "due_date": {
            "allOf": [
              {
                "description": "The date when payment for the AP Invoice is due."
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ]
          },
          "issue_date": {
            "allOf": [
              {
                "description": "The date the AP Invoice was issued."
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ]
          },
          "line_items": {
            "description": "The line items for the AP Invoice. To learn more about creating and updating Line Items, see [link](/agave-api/line-items). Required for the Bill type.",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/NewApInvoiceLineItem-6"
            }
          },
          "number": {
            "type": "string",
            "description": "The number of the AP Invoice.",
            "example": "A123"
          },
          "type": {
            "type": "string",
            "description": "Either Bill or Vendor Credit",
            "enum": [
              "Bill",
              "Vendor Credit"
            ],
            "example": "Bill"
          },
          "vendor_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Vendor](#tag--vendors)."
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          }
        }
      },
      "NewApInvoiceLineItem-7": {
        "type": "object",
        "required": [
          "status"
        ],
        "properties": {
          "amount": {
            "allOf": [
              {
                "$ref": "#/components/schemas/MoneyProperty"
              },
              {
                "description": "The total monetary amount of the Line Item, including tax."
              },
              {
                "example": "100.0"
              }
            ]
          },
          "customer_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Customer](#tag--customers) for the Line Item. **Note for QuickBooks Online:** if the Line Item has a `status` of \"Billable\", `customer_id` is required."
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          },
          "description": {
            "type": "string",
            "description": "A description of the Line Item.",
            "example": "Two tons of cement."
          },
          "item_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Item](#tag--items) for the Line Item. Note, Items that have a Type of `Discount`, `ItemGroup`, `Payment`, `SalesTax`, and `SalesTaxGroup` are not supported. Items that have a Type of `FixedAsset` or `Subtotal` cannot have amount or quantities associated with them."
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          },
          "ledger_account_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Ledger Account](#tag--ledger-accounts) for the Line Item."
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          },
          "quantity": {
            "type": "string",
            "description": "The estimated quantity of the unit in the Line Item.",
            "example": "2.0"
          },
          "status": {
            "type": "string",
            "description": "The status of the Line Item.",
            "example": "Billable",
            "enum": [
              "Billable",
              "NotBillable"
            ]
          },
          "type": {
            "type": "string",
            "description": "The type of the Line Item. \n\n**Note for QuickBooks Online**: Note, the potential values for this field can be found with the Class endpoint in QuickBooks Online, which requires a passthrough request. To learn more about this passthrough request, see [link](/agave-api/passthrough-requests#example-requests).\n",
            "example": "Revenue - Job"
          },
          "unit_cost": {
            "type": "string",
            "description": "The cost of each unit associated with the Line Item.",
            "example": "50.0"
          },
          "unit_of_measure": {
            "type": "string",
            "description": "The unit used for measuring the estimated quantity of the Line Item.",
            "example": "Tons"
          }
        }
      },
      "NewApInvoice-8": {
        "type": "object",
        "required": [
          "line_items",
          "vendor_id"
        ],
        "properties": {
          "description": {
            "type": "string",
            "description": "A description (often internal) of the AP Invoice.",
            "example": "Materials for January."
          },
          "due_date": {
            "allOf": [
              {
                "description": "The date when payment for the AP Invoice is due."
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ]
          },
          "issue_date": {
            "allOf": [
              {
                "description": "The date the AP Invoice was issued."
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ]
          },
          "line_items": {
            "description": "The line items for the AP Invoice. To learn more about creating and updating Line Items, see [link](/agave-api/line-items).",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/NewApInvoiceLineItem-7"
            }
          },
          "number": {
            "type": "string",
            "description": "The number of the AP Invoice.",
            "example": "A123"
          },
          "vendor_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Vendor](#tag--vendors)."
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          }
        }
      },
      "NewApInvoiceLineItem-8": {
        "required": [
          "description",
          "type"
        ],
        "type": "object",
        "properties": {
          "amount": {
            "type": "string",
            "description": "The total monetary amount of the Line Item, excluding tax.\n\n**Note for Sage 100 Contractor**: \n  - For AP Invoice Line Items that have a `type` of \"Regular\", this value is calculated from multiplying the `quantity` by the `type` fields. This field is required\n  - For AP Invoice Line Items that have a `type` of \"Job Cost\", this field is required.\n",
            "example": "100.00"
          },
          "cost_code_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Cost Code](#tag--cost-codes) for the Line Item. \n\n**Note for Sage 100 Contractor:** if the value for Line Item `type` is \"Job Cost\", this field is required.\n"
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          },
          "cost_type_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Cost Type](#tag--cost-types) for the Line Item.\n\n**Note for Sage 100 Contractor:** if the value for Line Item `type` is \"Job Cost\", this field is required.\n"
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          },
          "description": {
            "type": "string",
            "description": "A description of the Line Item.",
            "example": "Two tons of cement."
          },
          "item_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Item](#tag--items) for the Line Item."
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          },
          "quantity": {
            "type": "string",
            "description": "The estimated quantity of the unit in the Line Item.\n",
            "example": "2.0000"
          },
          "type": {
            "type": "string",
            "description": "The type of the Line Item.\n\n**Note for Sage 100 Contractor**: if the `ledger_account_id` is a Direct Expense or WIP account, one or more AP Invoice Line Items that have a `type` of \"Job Cost\" must exist. The amount values from these AP Invoice Line Items must match the AP Invoice `subtotal_amount`.\n",
            "example": "Regular",
            "enum": [
              "Job Cost",
              "Regular"
            ]
          },
          "unit_cost": {
            "type": "string",
            "description": "The cost of each unit associated with the Line Item.\n",
            "example": "50.000000"
          },
          "source_data": {
            "type": "object",
            "properties": {
              "SubaccountRef": {
                "type": "object",
                "description": "The subsidiary account associated with the ledger account for the AP Invoice Line Item. \n\n**Note for Sage 100 Contractor**: if a ledger account has a subsidiary ledger account enabled, this field is required. \n",
                "properties": {
                  "ObjectID": {
                    "description": "The",
                    "type": "string",
                    "example": "1"
                  }
                }
              }
            }
          }
        }
      },
      "NewApInvoice-9": {
        "type": "object",
        "required": [
          "discount_date",
          "due_date",
          "issue_date",
          "line_items",
          "number",
          "status",
          "vendor_id",
          "source_data"
        ],
        "properties": {
          "batch": {
            "type": "string",
            "description": "The batch the AP Invoice is associated with. **Note for Viewpoint Vista:** the value must be an integer and an existing batch in the month. If a value for this is not supplied, a new batch will be generated.",
            "example": "4"
          },
          "contract": {
            "type": "object",
            "description": "The Contract (i.e. Purchase Order or Subcontract) associated with the AP Invoice.",
            "properties": {
              "id": {
                "allOf": [
                  {
                    "description": "The UUID of the Contract (i.e. [Purchase Order](#tag--purchase-orders) or [Subcontract](#tag--subcontracts)) assigned by Agave. \n"
                  },
                  {
                    "$ref": "#/components/schemas/IdPropertyWriteOnly"
                  }
                ]
              },
              "type": {
                "type": "string",
                "description": "The type of Contract associated with the AP Invoice.",
                "example": "subcontract",
                "enum": [
                  "purchase_order",
                  "subcontract"
                ]
              }
            }
          },
          "description": {
            "type": "string",
            "description": "A description (often internal) of the AP Invoice.",
            "example": "Materials for January."
          },
          "discount_amount": {
            "type": "string",
            "description": "The amount in discounts for the AP Invoice.",
            "example": "10.0"
          },
          "discount_date": {
            "allOf": [
              {
                "description": "The discount date of the AP Invoice."
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ]
          },
          "due_date": {
            "allOf": [
              {
                "description": "The date when payment for the AP Invoice is due. \n"
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ]
          },
          "issue_date": {
            "allOf": [
              {
                "description": "The date of the AP Invoice transaction or when it was issued.\n"
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ]
          },
          "line_items": {
            "description": "The line items for the AP Invoice. To learn more about creating and updating Line Items, see [link](/agave-api/line-items).",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/NewApInvoiceLineItem-8"
            }
          },
          "number": {
            "type": "string",
            "description": "The number of the AP Invoice.\n",
            "example": "A123"
          },
          "status": {
            "type": "string",
            "description": "The status of the AP Invoice.\n\n**Note for Sage 100 Contractor**: this value will default to \"Open\" if not provided. The value \"Paid\" is only available for AP Invoices that do not have Job Costs. For reference:\n  - **Open**: indicates an AP Invoice has been posted to the General Ledger. This is the default value for this field.\n  - **Review**: indicates the management or bookkeepingstaff should review the AP Invoice.\n  - **Dispute**: indicates an AP Invoice is disputed by the Vendor.\n  - **Paid**: indicates an AP Invoice is paid in full.\n",
            "example": "Open",
            "enum": [
              "Dispute",
              "Open",
              "Paid",
              "Review"
            ]
          },
          "vendor_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Vendor](#tag--vendors)."
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          },
          "source_data": {
            "type": "object",
            "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
            "properties": {
              "InvoiceType": {
                "description": "The type of AP Invoice.\n\n**Note for Sage 100 Contractor**: there are two types fo AP Invoices:\n- 1 for **Contract**: use when the AP Invoice affects the billing for a referenced Subcontract. \n- 2 for **Memo**: use when the AP Invoice does not affect the billing for a Subcontract.\n",
                "enum": [
                  1,
                  2
                ],
                "example": "1"
              }
            }
          }
        }
      },
      "NewApInvoiceLineItem-9": {
        "required": [
          "amount"
        ],
        "type": "object",
        "properties": {
          "amount": {
            "allOf": [
              {
                "$ref": "#/components/schemas/MoneyProperty"
              },
              {
                "description": "The amount of the Line Item."
              },
              {
                "example": "100.00"
              }
            ]
          },
          "contract": {
            "type": "object",
            "description": "The Contract (i.e. Purchase Order or Subcontract) associated with the AP Invoice Line Item.",
            "properties": {
              "id": {
                "allOf": [
                  {
                    "description": "The UUID of the Contract (i.e. [Subcontract](#tag--subcontracts)) assigned by Agave."
                  },
                  {
                    "$ref": "#/components/schemas/IdPropertyWriteOnly"
                  }
                ]
              },
              "line_item_id": {
                "allOf": [
                  {
                    "description": "The UUID of the Contract Line Item (i.e. [Purchase Order](#tag--purchase-orders) Line Item or [Subcontract](#tag--subcontracts) Line Item) assigned by Agave."
                  },
                  {
                    "$ref": "#/components/schemas/IdPropertyWriteOnly"
                  }
                ]
              },
              "type": {
                "type": "string",
                "description": "The type of Contract associated with the AP Invoice Line Itme.",
                "example": "subcontract",
                "enum": [
                  "subcontract"
                ]
              }
            }
          },
          "cost_code_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Cost Code](#tag--cost-codes) for the Line Item."
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          },
          "cost_type_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Cost Type](#tag--cost-types) for the Line Item."
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          },
          "description": {
            "type": "string",
            "description": "A description of the Line Item.",
            "example": "Two tons of cement."
          },
          "discount_amount": {
            "allOf": [
              {
                "$ref": "#/components/schemas/MoneyProperty"
              },
              {
                "description": "The discount amount of the Line Item."
              },
              {
                "example": "2.50"
              }
            ]
          },
          "ledger_account_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Ledger Account](#tag--ledger-accounts) for the Line Item."
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          },
          "project_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Project](#tag--projects) for the Line Item to be costed towards."
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          },
          "quantity": {
            "type": "string",
            "description": "The estimated quantity of the unit in the Line Item.",
            "example": "2.0"
          },
          "retention_amount": {
            "allOf": [
              {
                "$ref": "#/components/schemas/MoneyProperty"
              },
              {
                "description": "The retention amount of the Line Item."
              },
              {
                "example": "5.00"
              }
            ]
          },
          "sub_job_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Sub Job](#tag--sub-jobs) for the Line Item to be costed towards."
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          },
          "tax_amount": {
            "allOf": [
              {
                "$ref": "#/components/schemas/MoneyProperty"
              },
              {
                "description": "The tax amount of the Line Item."
              },
              {
                "example": "10.00"
              }
            ]
          },
          "tax_code_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Sales Tax Code](#tag--tax-codes) for the Line Item."
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          },
          "unit_cost": {
            "type": "string",
            "description": "The cost of each unit associated with the Line Item.",
            "example": "50"
          }
        }
      },
      "NewApInvoice-10": {
        "required": [
          "issue_date",
          "line_items",
          "number",
          "vendor_id"
        ],
        "type": "object",
        "properties": {
          "description": {
            "type": "string",
            "description": "A description (often internal) of the AP Invoice.",
            "example": "Materials for January."
          },
          "discount_date": {
            "allOf": [
              {
                "description": "The discount date of the AP Invoice."
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ]
          },
          "due_date": {
            "allOf": [
              {
                "description": "The date when payment for the AP Invoice is due."
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ]
          },
          "issue_date": {
            "allOf": [
              {
                "description": "The date the AP Invoice was issued."
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ]
          },
          "line_items": {
            "description": "The line items for the AP Invoice.",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/NewApInvoiceLineItem-9"
            }
          },
          "number": {
            "type": "string",
            "description": "The number of the AP Invoice.",
            "example": "A123"
          },
          "retention_percent": {
            "type": "string",
            "description": "The percent of the AP Invoice being held in retention.",
            "example": "10.0"
          },
          "vendor_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Vendor](#tag--vendors)."
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          }
        }
      },
      "NewApInvoiceLineItem-10": {
        "required": [
          "amount",
          "cost_code_id",
          "cost_type_id",
          "ledger_account_id",
          "project_id"
        ],
        "type": "object",
        "properties": {
          "amount": {
            "type": "string",
            "description": "The total monetary amount of the Line Item, excluding tax.",
            "example": "100.00"
          },
          "cost_code_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Cost Code](#tag--cost-codes) for the Line Item."
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          },
          "cost_type_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Cost Type](#tag--cost-types) for the Line Item.\n\n**Note for Viewpoint Spectrum**: the Cost Type must be valid for the Ledger Account. You can see if the Cost Type is valid by looking at the `source_data.Cost_Type` field in the response object when making a request to [Ledger Account](#tag--ledger-accounts).\n"
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          },
          "description": {
            "type": "string",
            "description": "A description of the Line Item.",
            "example": "Two tons of cement."
          },
          "ledger_account_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Ledger Account](#tag--ledger-accounts) for the Line Item. \n"
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          },
          "project_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Project](#tag--projects) for the Line Item."
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          },
          "quantity": {
            "type": "string",
            "description": "The estimated quantity of the unit in the Line Item. \n",
            "example": "2.0"
          }
        }
      },
      "NewApInvoice-11": {
        "required": [
          "line_items",
          "number",
          "status",
          "vendor_id"
        ],
        "type": "object",
        "properties": {
          "attachments": {
            "type": "array",
            "description": "A list of Files associated with the AP Invoice.\n\n**Note for Viewpoint Spectrum**: you can only add attachments to _new_ AP Invoices. To add an attachment, you would need to use the multipart/form-data Content-Type when making the request.\n",
            "items": {
              "$ref": "#/components/schemas/Attachment"
            }
          },
          "batch": {
            "type": "string",
            "description": "The batch the AP Invoice is associated with.\n\n**Note for Viewpoint Spectrum**: if a batch number is not provided, Viewpoint Spectrum will auto-assign the AP Invoice to one.\n",
            "example": "4"
          },
          "description": {
            "type": "string",
            "description": "A description of the AP Invoice.",
            "example": "Materials for January."
          },
          "discount_amount": {
            "type": "string",
            "description": "The amount in discounts for the AP Invoice.",
            "example": "10.0"
          },
          "discount_date": {
            "allOf": [
              {
                "description": "The discount date of the AP Invoice.\n\n**Note for Viewpoint Spectrum**: if this value is not provided, it will default to the value fo the `due_date`.\n"
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ]
          },
          "due_date": {
            "allOf": [
              {
                "description": "The date when payment for the AP Invoice is due."
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ]
          },
          "issue_date": {
            "allOf": [
              {
                "description": "The date the AP Invoice was issued."
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ]
          },
          "line_items": {
            "description": "The line items for the AP Invoice.",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/NewApInvoiceLineItem-10"
            }
          },
          "number": {
            "type": "string",
            "description": "The number of the AP Invoice.",
            "example": "A123"
          },
          "retention_amount": {
            "type": "string",
            "description": "The amount being held in retention for the AP Invoice.",
            "example": "10.0"
          },
          "status": {
            "type": "string",
            "description": "The status of the AP Invoice.",
            "example": "Pending",
            "enum": [
              "Pending",
              "Unapproved"
            ]
          },
          "tax_amount": {
            "type": "string",
            "description": "The tax amount for the AP Invoice.",
            "example": "10.0"
          },
          "vendor_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Vendor](#tag--vendors)."
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          }
        }
      },
      "NewApInvoiceLineItem-11": {
        "required": [
          "amount",
          "quantity",
          "type",
          "unit_cost",
          "unit_of_measure"
        ],
        "type": "object",
        "properties": {
          "amount": {
            "type": "string",
            "description": "The total monetary amount of the Line Item, excluding tax.",
            "example": "100.00"
          },
          "contract": {
            "type": "object",
            "description": "The Contract (i.e. Purchase Order or Subcontract) associated with the AP Invoice Line Item.",
            "properties": {
              "id": {
                "allOf": [
                  {
                    "description": "The UUID of the Contract (i.e. [Purchase Order](#tag--purchase-orders) or [Subcontract](#tag--subcontracts)) assigned by Agave. \n\n**Notes for Viewpoint Vista:** \n- The `vendor_id` associated with this Contract must match the `vendor_id` in the AP Invoice header.\n- The Purchase Order or Subcontract must not already be included in the Line Items of another pending AP Invoice.\n"
                  },
                  {
                    "$ref": "#/components/schemas/IdPropertyWriteOnly"
                  }
                ]
              },
              "line_item_id": {
                "allOf": [
                  {
                    "description": "The UUID of the Contract Line Item (i.e. Purchase Order Line Item or Subcontract Line Item) assigned by Agave."
                  },
                  {
                    "$ref": "#/components/schemas/IdPropertyWriteOnly"
                  }
                ]
              },
              "type": {
                "type": "string",
                "description": "The type of Contract associated with the AP Invoice Line Itme.",
                "example": "subcontract",
                "enum": [
                  "purchase_order",
                  "subcontract"
                ]
              }
            }
          },
          "cost_code_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Cost Code](#tag--cost-codes) for the Line Item. **Note:** if the value for Line Item `type` is `Job`, this field is required."
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          },
          "cost_type_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Cost Type](#tag--cost-types) for the Line Item. **Note:** if the value for Line Item `type` is `Job`, this field is required."
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          },
          "description": {
            "type": "string",
            "description": "A description of the Line Item.",
            "example": "Two tons of cement."
          },
          "item_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Item](#tag--items) for the Line Item. **Note:** if the value for Line Item `type` is `Purchase Order` or `Subcontract`, this value will be ignored."
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          },
          "project_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Project](#tag--projects) for the Line Item. **Note:** if the value for Line Item `type` is `Job`, this field is required. If the value for Line Item `type` is `Purchase Order` or `Subcontract`, this value will be ignored."
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          },
          "quantity": {
            "type": "string",
            "description": "The estimated quantity of the unit in the Line Item. **Note**: if the value for `type` is set to \"Other\", this value will be ignored.\n",
            "example": "2.0"
          },
          "retention_amount": {
            "type": "string",
            "description": "The retention amount for the Line Item.",
            "example": "5.00"
          },
          "tax_amount": {
            "type": "string",
            "description": "The tax amount of the Line Item, excluding tax.",
            "example": "10.00"
          },
          "tax_code_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Sales Tax Code](#tag--tax-codes) for the Line Item."
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          },
          "type": {
            "type": "string",
            "description": "The type of the Line Item.\n",
            "example": "Job",
            "enum": [
              "Job",
              "Purchase Order",
              "Subcontract"
            ]
          },
          "unit_cost": {
            "type": "string",
            "description": "The cost of each unit associated with the Line Item.\n",
            "example": "50.00000"
          },
          "unit_of_measure": {
            "type": "string",
            "description": "The unit used for measuring the quantity of the Line Item.",
            "example": "EA"
          }
        }
      },
      "NewApInvoice-12": {
        "type": "object",
        "required": [
          "batch",
          "issue_date",
          "line_items",
          "number",
          "vendor_id",
          "source_data"
        ],
        "properties": {
          "batch": {
            "type": "string",
            "description": "The batch the AP Invoice is associated with. **Note for Viewpoint Vista:** the value must be an integer and an existing batch in the month. If a value for this is not supplied, a new batch will be generated.",
            "example": "4"
          },
          "batch_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Batch](#tag--batches)."
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          },
          "description": {
            "type": "string",
            "description": "A description (often internal) of the AP Invoice.",
            "example": "Materials for January."
          },
          "discount_date": {
            "allOf": [
              {
                "description": "The discount date of the AP Invoice."
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ]
          },
          "due_date": {
            "allOf": [
              {
                "description": "The date when payment for the AP Invoice is due. **Note**: if a value is not included for this field, a due date will be calculated from the Vendor's payment terms (e.g. net 30).\n"
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ]
          },
          "issue_date": {
            "allOf": [
              {
                "description": "The date of the AP Invoice transaction or when it was issued.\n"
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ]
          },
          "line_items": {
            "description": "The line items for the AP Invoice. To learn more about creating and updating Line Items, see [link](/agave-api/line-items).",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/NewApInvoiceLineItem-11"
            }
          },
          "number": {
            "type": "string",
            "description": "The number of the AP Invoice.\n",
            "example": "A123"
          },
          "vendor_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Vendor](#tag--vendors)."
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          },
          "source_data": {
            "type": "object",
            "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
            "properties": {
              "Mth": {
                "allOf": [
                  {
                    "description": "The batch month for the AP Invoice. Note, you cannot write batches to months outside of a General Ledger window that is configured for your Vista company."
                  },
                  {
                    "$ref": "#/components/schemas/DateTimeProperty"
                  },
                  {
                    "example": "2022-01-01 00:00:00"
                  }
                ]
              }
            }
          }
        }
      },
      "NewAPInvoice": {
        "required": [
          "issue_date",
          "line_items",
          "number",
          "vendor_id"
        ],
        "type": "object",
        "properties": {
          "description": {
            "type": "string",
            "description": "A description (often internal) of the AP Invoice.",
            "example": "Materials for January."
          },
          "discount_date": {
            "allOf": [
              {
                "description": "The discount date of the AP Invoice."
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ]
          },
          "due_date": {
            "allOf": [
              {
                "description": "The date when payment for the AP Invoice is due."
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ]
          },
          "issue_date": {
            "allOf": [
              {
                "description": "The date the AP Invoice was issued."
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ]
          },
          "line_items": {
            "description": "The line items for the AP Invoice.",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/NewApInvoiceLineItem-9"
            }
          },
          "number": {
            "type": "string",
            "description": "The number of the AP Invoice.",
            "example": "A123"
          },
          "retention_percent": {
            "type": "string",
            "description": "The percent of the AP Invoice being held in retention.",
            "example": "10.0"
          },
          "vendor_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Vendor](#tag--vendors)."
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          }
        }
      },
      "BulkNewAPInvoice": {
        "required": [
          "creates"
        ],
        "type": "object",
        "properties": {
          "creates": {
            "type": "array",
            "description": "An array of objects including new Purchase Orders and Line Items.",
            "items": {
              "$ref": "#/components/schemas/NewAPInvoice"
            }
          }
        }
      },
      "ApInvoiceLineItem-3": {
        "allOf": [
          {
            "$ref": "#/components/schemas/ApInvoiceLineItem"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The SQL path on the Source System.",
                    "example": "https://{{hostname}}/AcumaticaU100/entity/Default/23.200.001/Bill{id}?%24expand=Details%2CTaxDetails"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "id": "193ce6d0-301a-ef11-ba52-0e1f07f567e3",
                      "rowNumber": 1,
                      "note": {
                        "value": ""
                      },
                      "Account": {
                        "value": "54200"
                      },
                      "Amount": {
                        "value": 100
                      },
                      "Branch": {
                        "value": "HEADOFFICE"
                      },
                      "CalculateDiscountsOnImport": [],
                      "CostCode": {
                        "value": "02300"
                      },
                      "Description": {
                        "value": "Project Subcontract Expense"
                      },
                      "ExtendedCost": {
                        "value": 100
                      },
                      "InventoryID": [],
                      "NonBillable": {
                        "value": false
                      },
                      "POLine": [],
                      "POOrderNbr": [],
                      "POOrderType": [],
                      "POReceiptLine": [],
                      "POReceiptNbr": [],
                      "POReceiptType": [],
                      "Project": {
                        "value": "SPACENEEDL"
                      },
                      "ProjectTask": {
                        "value": "02"
                      },
                      "Qty": {
                        "value": 50
                      },
                      "TaxCategory": {
                        "value": "TAXABLE"
                      },
                      "TransactionDescription": {
                        "value": "Two tons of cement"
                      },
                      "UnitCost": {
                        "value": 50
                      },
                      "UOM": {
                        "value": "Tons"
                      },
                      "custom": [],
                      "_links": {
                        "files:put": "/AcumaticaERP/entity/Default/23.200.001/files/PX.Objects.AP.APInvoiceEntry/Transactions/193ce6d0-301a-ef11-ba52-0e1f07f567e3/{filename}"
                      },
                      "CostType": {
                        "value": "SUBCON"
                      }
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "ApInvoiceLineItem-4": {
        "allOf": [
          {
            "$ref": "#/components/schemas/ApInvoiceLineItem"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "https://developer.api.autodesk.com/cost/v1/containers/{Container_Id}/payments"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "id": "12345",
                      "containerId": "12345",
                      "billingPeriodId": "12345",
                      "associationId": "12345",
                      "associationType": "Contract",
                      "startDate": "2022-01-01",
                      "endDate": "2022-01-01",
                      "dueDate": "2022-01-01",
                      "number": "A123",
                      "name": "Partial payment for January AP invoice",
                      "description": null,
                      "amount": "100.0000",
                      "previousAmount": null,
                      "approvedChangeOrders": 0,
                      "previousApprovedChangeOrders": null,
                      "originalAmount": "100.0000",
                      "contractAmount": "100.0000",
                      "materialsOnStore": null,
                      "previousMaterialsOnStore": null,
                      "materialsBilled": null,
                      "previousMaterialsBilled": null,
                      "previousMaterialsBilledCurrency": null,
                      "recipients": [],
                      "completedWorkRetention": "0.0000",
                      "materialsOnStoreRetention": "0.0000",
                      "previousRetention": null,
                      "netAmount": 0,
                      "netRetention": 0,
                      "netMaterialsOnStore": 0,
                      "status": "draft",
                      "note": null,
                      "createdAt": "2022-01-01T00:00:00.000Z",
                      "updatedAt": "2022-01-01T00:00:00.000Z",
                      "approvedAt": null,
                      "budgetPaymentId": null,
                      "calculatedAt": null,
                      "calculatedBy": null,
                      "companyId": "12345",
                      "contactId": null,
                      "creatorId": "12345",
                      "paidAt": null,
                      "forecastDistributionAt": null,
                      "submittedAt": null,
                      "mainContractId": "56fffd64-3d44-4ae6-99b4-4d20ae689607",
                      "integrationState": null,
                      "integrationStateChangedAt": null,
                      "integrationStateChangedBy": null,
                      "exchangeRate": "1.00000000",
                      "previousExchangeRate": "1.00000000",
                      "originalAmountForeignCurrency": "100.0000",
                      "contractAmountForeignCurrency": "100.0000",
                      "approvedChangeOrdersForeignCurrency": null,
                      "previousAmountForeignCurrency": null,
                      "previousApprovedChangeOrdersForeignCurrency": null,
                      "previousRetentionForeignCurrency": null,
                      "completedWorkRetentionForeignCurrency": "0.0000",
                      "netAmountForeignCurrency": null,
                      "claimedAmount": null,
                      "previousClaimedAmount": null,
                      "previousClaimedAmountForeignCurrency": null,
                      "properties": [],
                      "paymentItems": [
                        {
                          "realizedGainOrLoss": null,
                          "id": "12345",
                          "containerId": "12345",
                          "paymentId": "12345",
                          "parentId": null,
                          "budgetId": "12345",
                          "number": null,
                          "name": "Concrete pour in January",
                          "description": null,
                          "associationId": "12345",
                          "associationType": "SOV",
                          "originalQuantity": 10,
                          "originalUnitPrice": "10.00000000",
                          "originalAmount": "100.0000",
                          "quantity": 10,
                          "unitPrice": "10.00000000",
                          "unit": "ea",
                          "amount": "100.0000",
                          "claimedQuantity": null,
                          "claimedUnitPrice": null,
                          "claimedAmount": null,
                          "materialsOnStoreQuantity": 1,
                          "materialsOnStoreUnit": "ea",
                          "materialsOnStoreUnitPrice": null,
                          "materialsOnStore": null,
                          "materialsBilledQuantity": null,
                          "materialsBilledUnit": null,
                          "materialsBilledUnitPrice": null,
                          "materialsBilled": null,
                          "previousMaterialsBilled": null,
                          "previousPaymentItemId": null,
                          "previousQuantity": 0,
                          "previousUnitPrice": null,
                          "previousAmount": null,
                          "previousClaimedQuantity": null,
                          "previousClaimedUnitPrice": null,
                          "previousClaimedAmount": null,
                          "previousMaterialsOnStore": null,
                          "completedWorkRetentionPercent": 0.1,
                          "materialsOnStoreRetentionPercent": 0,
                          "completedWorkReleased": null,
                          "materialsOnStoreReleased": null,
                          "netAmount": null,
                          "isPrivate": false,
                          "status": null,
                          "exchangeRate": "1.00000000",
                          "originalExchangeRate": "1.00000000",
                          "previousExchangeRate": "1.00000000",
                          "previousAmountForeignCurrency": null,
                          "previousClaimedAmountForeignCurrency": null,
                          "previousMaterialsBilledCurrency": null,
                          "netAmountForeignCurrency": null,
                          "creatorId": "12345",
                          "changedBy": "12345",
                          "aggregateBy": null,
                          "lastReviewedBy": null,
                          "createdAt": "2022-01-01T00:00:00.000Z",
                          "updatedAt": "2022-01-01T00:00:00.000Z",
                          "deletedAt": null
                        }
                      ],
                      "aggregateBy": null,
                      "hasItemRejected": false,
                      "hasItemUnReviewed": true
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "ApInvoiceLineItem-5": {
        "allOf": [
          {
            "$ref": "#/components/schemas/ApInvoiceLineItem"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "https://{{instance_name}}.coinscloud.com/env/{{environment}}/rest/pages/company/{{company}}/ap_vendor/:avm_num/ap_invoice/:ain_inv/po_iline/pending?avm_num={{avm_num}}&ain_inv={{ain_inv}}"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "kco": 1,
                      "avm_num": "",
                      "ain_inv": "",
                      "poh_ordno": "SM-v7n/0009",
                      "poi_item": "12345",
                      "pil_code": "M215-0080",
                      "pil_ticketNumber": null,
                      "pgh_grnno": "SHE001  23120119",
                      "pgl_seq": 1,
                      "pgh_deldate": "2022-01-01",
                      "pil_qtyinv": 2,
                      "pil_unitinv": "EA",
                      "pil_priceinv": 50,
                      "pil_perinv": "EA",
                      "pil_overamt": false,
                      "pil_invamt": 100,
                      "jwb_code": "",
                      "jsc_cc": "M215",
                      "pil_cat": "M",
                      "pil_desc": "Two tons of cement",
                      "vat_code": "P1",
                      "jph_phase": null,
                      "pil_disc": 1.23,
                      "pil_tax": 10,
                      "RO_job_num": "A123 Project",
                      "tip_type": "MATERIAL",
                      "pil_seq": 1
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "APInvoiceLineItem": {
        "type": "object",
        "properties": {
          "id": {
            "allOf": [
              {
                "description": "The UUID of the Line Item assigned by Agave."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "source_id": {
            "type": "string",
            "readOnly": true,
            "example": "12345",
            "description": "The ID of the Line Item in the Source System."
          },
          "amount": {
            "allOf": [
              {
                "$ref": "#/components/schemas/MoneyProperty"
              },
              {
                "description": "The amount of the Line Item."
              },
              {
                "example": "100.00"
              }
            ]
          },
          "change_order": {
            "type": "object",
            "description": "The Change Order associated with the AP Invoice Line Item.",
            "properties": {
              "id": {
                "allOf": [
                  {
                    "description": "The UUID of the Change Order assigned by Agave."
                  },
                  {
                    "$ref": "#/components/schemas/IdPropertyReadOnly"
                  }
                ]
              },
              "line_item_id": {
                "allOf": [
                  {
                    "description": "The UUID of the Change Order Line Item assigned by Agave."
                  },
                  {
                    "$ref": "#/components/schemas/IdPropertyReadOnly"
                  }
                ]
              }
            }
          },
          "contract": {
            "type": "object",
            "description": "The Contract (i.e. Purchase Order or Subcontract) associated with the AP Invoice Line Item.",
            "properties": {
              "id": {
                "allOf": [
                  {
                    "description": "The UUID of the Contract (i.e. Purchase Order or Subcontract) assigned by Agave."
                  },
                  {
                    "$ref": "#/components/schemas/IdPropertyReadOnly"
                  }
                ]
              },
              "line_item_id": {
                "allOf": [
                  {
                    "description": "The UUID of the Contract Line Item (i.e. Purchase Order Line Item or Subcontract Line Item) assigned by Agave."
                  },
                  {
                    "$ref": "#/components/schemas/IdPropertyReadOnly"
                  }
                ]
              },
              "type": {
                "type": "string",
                "description": "The type of Contract associated with the AP Invoice Line Item.",
                "example": "subcontract",
                "enum": [
                  "purchase_order",
                  "subcontract"
                ]
              }
            }
          },
          "cost_code_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Cost Code](#tag--cost-codes) for the Line Item."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "cost_type_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Cost Type](#tag--cost-types) for the Line Item."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "customer_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Customer](#tag--customers) for the Line Item."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "description": {
            "type": "string",
            "description": "A description of the Line Item.",
            "example": "Two tons of cement."
          },
          "discount_amount": {
            "type": "string",
            "description": "The amount in discounts for the AP Invoice Line Item.",
            "example": "10.0"
          },
          "item_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Item](#tag--items) for the Line Item."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "ledger_account_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Ledger Account](#tag--ledger-accounts) for the Line Item."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "project_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Project](#tag--projects) for the Line Item to be costed towards."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "quantity": {
            "type": "string",
            "description": "The estimated quantity of the unit in the Line Item.",
            "example": "2.0"
          },
          "retention_amount": {
            "type": "string",
            "description": "The amount in retention for the AP Invoice Line Item.",
            "example": "5.0"
          },
          "status": {
            "type": "string",
            "description": "The status of the Line Item. \n\n**Note for QuickBooks Online:** possible values include \"Billable\", \"NotBillable\", or \"HasBilled\".\n\n**Note for Sage 300 CRE**: possible values include \"Open\" and \"Paid\".\n",
            "example": "Billable"
          },
          "sub_job_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Sub Job](#tag--sub-jobs) for the Line Item."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "tax_amount": {
            "allOf": [
              {
                "$ref": "#/components/schemas/MoneyProperty"
              },
              {
                "description": "The tax amount of the Line Item."
              },
              {
                "example": "10.00"
              }
            ]
          },
          "tax_code_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Sales Tax Code](#tag--tax-codes) for the Line Item."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "type": {
            "type": "string",
            "description": "The type of the Line Item. \n\n**Note for Acumatica**: possible values include \"Regular\" and \"Tax\". For \"Tax\", only `tax_amount`, `tax_code_id`, and `type` are writeable.\n\n**Note for CMiC**: possible values include \"Regular\" and \"Subcontract\".\n\n**Note for Foundation**: possible values include \"Inventory\" or \"Regular\".\n\n**Note for Sage 100 Contractor**: possible values include \"Equipment\", \"Job\", and \"Regular\".\n      \n**Note for Viewpoint Vista:** possible values include \"Job\", \"Inventory\", \"Miscellaneous Expense\", \"Equipment\", \"Equipment Work Order\", \"Purchase Order\", \"Subcontract\", or \"Service Work Order\".       \n",
            "example": "Job"
          },
          "unit_cost": {
            "type": "string",
            "description": "The cost of each unit associated with the Line Item.",
            "example": "50"
          },
          "unit_of_measure": {
            "type": "string",
            "description": "The unit used for measuring the estimated quantity of the Line Item.",
            "example": "Tons"
          },
          "vendor_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Vendor](#tag--vendors) (aka Secondary Payee or Supplier) for the Line Item."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "wbs_id": {
            "allOf": [
              {
                "description": "The UUID of the [WBS Code](#tag--wbs) for the AP Invoice Line Item, assigned by Agave."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "source_create_time": {
            "allOf": [
              {
                "description": "The datetime the Line Item was created in the Source System."
              },
              {
                "$ref": "#/components/schemas/DateTimeProperty"
              }
            ]
          },
          "source_update_time": {
            "allOf": [
              {
                "description": "The datetime the Line Item was last updated in the Source System."
              },
              {
                "$ref": "#/components/schemas/DateTimeProperty"
              }
            ]
          }
        }
      },
      "ApInvoiceLineItem-6": {
        "allOf": [
          {
            "$ref": "#/components/schemas/APInvoiceLineItem"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The database query for the Source System.",
                    "example": "select * from [ap_invoice_d]"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "company_no": 12345,
                      "voucher_no": 12345,
                      "line_no": 1,
                      "posted_flag": "Y",
                      "account_no": "4040",
                      "job_no": "     96020",
                      "phase_no": "         1",
                      "cost_code_no": "      1030",
                      "cost_class_no": "    2",
                      "tax_no": null,
                      "equip_no": null,
                      "description": null,
                      "transaction_date": "2001-01-05 00:00:00.000",
                      "amount": "11151.00",
                      "units": ".000",
                      "voucher_source": "O",
                      "adjustment_flag": "N",
                      "record_status": "A",
                      "row_modified_by": "DBA",
                      "row_modified_on": "2008-02-18 12:36:34.063",
                      "row_unique_id": 1,
                      "retainage_amount": ".00",
                      "adjustment_no": null,
                      "div_level_1": null,
                      "div_level_2": null,
                      "div_level_3": null,
                      "div_level_4": null,
                      "full_account_no": "4040",
                      "use_tax": "N",
                      "account_id": "4040",
                      "adjustment_id": null,
                      "company_id": "1",
                      "cost_class_id": "2",
                      "cost_code_id": "1030",
                      "equip_id": null,
                      "full_account_id": "4040",
                      "job_id": "96020",
                      "line_id": "1",
                      "phase_id": "1",
                      "tax_id": null,
                      "voucher_id": "100",
                      "eq_wo_no": null,
                      "service_code_no": null,
                      "eq_wo_id": null,
                      "service_code_id": null,
                      "goods_service_amount": "11151.00",
                      "tax_flag": "N",
                      "tax_base": ".00",
                      "sales_tax_amount": ".00",
                      "use_tax_amount": ".00",
                      "tax_rate": ".0000000",
                      "sales_tax_amt_changed": "N",
                      "inventory_payable_flag": "N",
                      "gl_sales_tax_expense": null,
                      "sales_tax_job_no": null,
                      "sales_tax_phase_no": null,
                      "sales_tax_cost_code_no": null,
                      "sales_tax_cost_class_no": null,
                      "sales_tax_div_level_1": null,
                      "sales_tax_div_level_2": null,
                      "sales_tax_div_level_3": null,
                      "sales_tax_div_level_4": null,
                      "gl_sales_tax_exp_full": null,
                      "sales_tax_cost_class_id": null,
                      "sales_tax_cost_code_id": null,
                      "sales_tax_job_id": null,
                      "sales_tax_phase_id": null,
                      "tax_by_effdate_flag": "N",
                      "state_tax_percent": null,
                      "state_taxable_limit": null,
                      "state_tax_amount": null,
                      "local_tax_percent": null,
                      "local_taxable_limit": null,
                      "local_tax_amount": null,
                      "other_tax_percent": null,
                      "other_taxable_limit": null,
                      "other_tax_amount": null,
                      "state_limit_applied": null,
                      "local_limit_applied": null,
                      "other_limit_applied": null,
                      "fuel_payable_flag": "N",
                      "Internal_Batch_Number": null,
                      "agave:contract_source_id": null,
                      "agave:contract_type_source_id": null,
                      "agave:change_order_source_id": null,
                      "agave:tax_amount": 0,
                      "contract_line_item_id": null
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "ApInvoiceLineItem-7": {
        "allOf": [
          {
            "$ref": "#/components/schemas/ApInvoiceLineItem"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "https://quickbooks.api.intuit.com/v3/company/{companyId}/query"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "id": 12345,
                      "comment": null,
                      "cost_code_id": 12345,
                      "description_of_work": "Two tons of Cement",
                      "item_type": "contract_item",
                      "line_item_id": 12345,
                      "materials_presently_stored": "0.00",
                      "materials_stored_retainage_currently_retained": "0.00",
                      "materials_stored_retainage_percent_this_period": "10.00",
                      "materials_stored_retainage_released_this_period": "0.00",
                      "position": 1,
                      "scheduled_value": "100.00",
                      "ssr_manual_override": false,
                      "status": "no_action",
                      "subcontractor_claimed_amount": "100.0",
                      "total_completed_and_stored_to_date": "100.00",
                      "total_completed_and_stored_to_date_percent": "100.00",
                      "wbs_code": {
                        "description": "Concrete",
                        "flat_code": "03-000.L",
                        "id": 12345
                      },
                      "work_completed_from_previous_application": "0.00",
                      "work_completed_retainage_from_previous_application": "0.00",
                      "work_completed_retainage_percent_this_period": "10.00",
                      "work_completed_retainage_released_this_period": "0.00",
                      "work_completed_retainage_retained_this_period": "10.00",
                      "work_completed_this_period": "100.00"
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "ApInvoiceLineItem-8": {
        "allOf": [
          {
            "$ref": "#/components/schemas/ApInvoiceLineItem"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "BillQueryRq"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "TxnLineID": "12345",
                      "ItemRef": {
                        "ListID": "12345",
                        "FullName": "Inventory"
                      },
                      "Desc": "Two tons of cement.",
                      "Quantity": "2",
                      "Cost": "50",
                      "Amount": "100.00",
                      "CustomerRef": {
                        "ListID": "12345",
                        "FullName": "AnyCustomer Inc."
                      },
                      "ClassRef": {
                        "ListID": "20000-852029285",
                        "FullName": "Material Costs - Job Related"
                      },
                      "BillableStatus": "NotBillable"
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "ApInvoiceLineItem-9": {
        "allOf": [
          {
            "$ref": "#/components/schemas/ApInvoiceLineItem"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "https://quickbooks.api.intuit.com/v3/company/{companyId}/query"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "Id": "123",
                      "LineNum": 123,
                      "Amount": 200,
                      "DetailType": "AccountBasedExpenseLineDetail",
                      "AccountBasedExpenseLineDetail": {
                        "AccountRef": {
                          "value": "7",
                          "name": "Advertising"
                        },
                        "BillableStatus": "NotBillable",
                        "TaxCodeRef": {
                          "value": "NON"
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "ApInvoiceLineItem-10": {
        "allOf": [
          {
            "$ref": "#/components/schemas/ApInvoiceLineItem"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The SQL path on the Source System.",
                    "example": "bAPUL"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "APCo": "12345",
                      "Line": "12345",
                      "UIMth": "2022-01-01 00:00:00",
                      "UISeq": "1",
                      "LineType": "1",
                      "PO": null,
                      "POItem": null,
                      "ItemType": null,
                      "SL": null,
                      "SLItem": null,
                      "JCCo": "12345",
                      "Job": "A123",
                      "PhaseGroup": "12345",
                      "Phase": "08.79.00",
                      "JCCType": null,
                      "EMCo": null,
                      "WO": null,
                      "WOItem": null,
                      "Equip": null,
                      "EMGroup": null,
                      "CostCode": null,
                      "EMCType": null,
                      "CompType": null,
                      "Component": null,
                      "INCo": null,
                      "Loc": null,
                      "MatlGroup": "12345",
                      "Material": "A123",
                      "GLCo": "12345",
                      "GLAcct": "12345",
                      "Description": "Two Tons of Cement",
                      "UM": "LBS",
                      "Units": "2.000",
                      "UnitCost": "100.00000",
                      "ECM": "E",
                      "VendorGroup": "12345",
                      "Supplier": "12345",
                      "PayType": "12345",
                      "GrossAmt": "200.00",
                      "MiscAmt": ".00",
                      "MiscYN": "Y",
                      "TaxGroup": "12345",
                      "TaxCode": null,
                      "TaxType": null,
                      "TaxBasis": ".00",
                      "TaxAmt": ".00",
                      "Retainage": ".00",
                      "Discount": ".00",
                      "Notes": null,
                      "UniqueAttchID": null,
                      "PayCategory": null,
                      "KeyID": "12345",
                      "ReviewerGroup": "12345",
                      "InvOriginator": null,
                      "SLDetailKeyID": null,
                      "Receiver#": null,
                      "SLKeyID": null,
                      "SMCo": null,
                      "SMWorkOrder": null,
                      "Scope": null,
                      "POItemLine": null,
                      "SMCostType": null,
                      "SMJCCostType": null,
                      "SMPhaseGroup": null,
                      "SMPhase": null,
                      "FieldTicket": null
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "ApInvoiceLineItem-11": {
        "allOf": [
          {
            "$ref": "#/components/schemas/APInvoiceLineItem"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The SQL path on the Source System.",
                    "example": "select * from [MASTER_APM_RECORD_2]"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "ODVND": "12345",
                      "ODINV": "A123",
                      "ODDSEQ": 1,
                      "ODDESC": "Eletrical Rough In",
                      "ODSTAT": "Open",
                      "ODAMT": 14555,
                      "ODTXGRP": "",
                      "ODTAX": 0,
                      "ODTXLB": 0,
                      "ODDSC": 0,
                      "ODRET": 1455.5,
                      "ODMDED": 0,
                      "ODPPS": 0,
                      "ODAMTPD": 0,
                      "ODTAXPD": 0,
                      "ODTXLBA": 0,
                      "ODDSCT": 0,
                      "ODDSCL": 0,
                      "ODRETH": 0,
                      "ODRETPD": 0,
                      "ODMDEDA": 0,
                      "ODPPSD": 0,
                      "ODEXMPT": "0",
                      "ODAUTH": "MP",
                      "ODCMPLT": "0",
                      "ODAPRVD": "0",
                      "ODCODE": "",
                      "ODGLEXP": "21-5002",
                      "ODGLAP": "21-2003",
                      "ODGLRP": "21-2004",
                      "ODGLMDC": "",
                      "ODCCID": 0,
                      "ODJCJOB": "03-003",
                      "ODJCEXT": "",
                      "ODJCPHS": "16-100",
                      "ODJCCAT": "S",
                      "ODJCSUB": "01003-04",
                      "ODJCLIN": 1,
                      "ODJCUNT": 0,
                      "ODJCUC": 0,
                      "ODJCDRW": "",
                      "ODEQID": "",
                      "ODEQCOS": "",
                      "ODEQQC1": "",
                      "ODEQQU1": 0,
                      "ODEQQC2": "",
                      "ODEQQU2": 0,
                      "ODEQMET": 0,
                      "ODBLSTI": "",
                      "ODPMCHB": "0",
                      "ODPMPTY": "",
                      "ODPMUNT": "",
                      "ODPMLSE": "",
                      "ODPMLRV": 0,
                      "ODPMTNT": "",
                      "ODPMCHT": "",
                      "ODPMCHD": null,
                      "ODPMIID": "",
                      "ODPMCBD": "",
                      "ODPMMUP": 0,
                      "ODPMMUA": 0,
                      "ODPMMCT": "",
                      "ODBANK": "",
                      "ODJNAME": "",
                      "OD2VID": 0,
                      "ODALLOC": "",
                      "ODHOLD": 0,
                      "ODFLW": "0",
                      "ODCPILW": 0,
                      "ODUPILW": 0,
                      "ODCSPLW": 0,
                      "ODUSPLW": 0,
                      "ODINCLD": "0",
                      "ODPAMT": 0,
                      "ODPRETP": 0,
                      "ODPDSC": 0,
                      "ODPRETH": 0,
                      "ODPMDED": 0,
                      "ODPTYPE": "Check",
                      "ODFLAGS": 1,
                      "ODOSTMP": "",
                      "ODDSTMP": "2022-01-01",
                      "ODTSTMP": "00:00:00",
                      "ODRWID": "12345b4b-ee3f-e711-8bef-0019b9211094",
                      "ODRWVR": "1495567842",
                      "STYPE": "Subcontract"
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "ApInvoiceLineItem-12": {
        "allOf": [
          {
            "$ref": "#/components/schemas/APInvoiceLineItem"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "https://api.intacct.com/ia/xml/xmlgw.phtml"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "RECORDNO": "2757",
                      "AMOUNT": "100.12",
                      "TASKID": "R3-03-340",
                      "COSTTYPEID": "LAB",
                      "CUSTOMERID": null,
                      "DEPARTMENTID": null,
                      "ENTRYDESCRIPTION": "Line 1 of AP Invoices",
                      "ITEMID": null,
                      "ACCOUNTNO": "5001",
                      "PROJECTID": "A123",
                      "VENDORID": null,
                      "RECORDKEY": "770",
                      "ACCOUNTKEY": "54",
                      "OFFSETACCOUNTKEY": "25",
                      "OFFSETGLACCOUNTNO": "2000",
                      "OFFSETGLACCOUNTTITLE": "Accounts Payable",
                      "ACCOUNTTITLE": "Cost of Sales - Labor",
                      "ACCOUNTLABELKEY": null,
                      "ACCOUNTLABEL": null,
                      "PRENTRYOFFSETACCOUNTNO": "2000",
                      "ENTRY_DATE": "01/01/2022",
                      "TRX_AMOUNT": "100.12",
                      "DEPARTMENTNAME": null,
                      "LOCATIONID": "A123",
                      "LOCATIONNAME": "AnyCompany Contractors",
                      "EXCH_RATE_DATE": null,
                      "EXCH_RATE_TYPE_ID": null,
                      "EXCHANGE_RATE": "1",
                      "ALLOCATION": null,
                      "ALLOCATIONKEY": null,
                      "FORM1099": "false",
                      "LINEITEM": "T",
                      "LINE_NO": "1",
                      "CURRENCY": "USD",
                      "BASECURR": "USD",
                      "TOTALPAID": "0",
                      "TRX_TOTALPAID": "0",
                      "TOTALSELECTED": "0",
                      "TRX_TOTALSELECTED": "0",
                      "BILLABLE": "false",
                      "BILLED": "false",
                      "RELEASETOPAY": null,
                      "PARENTENTRY": null,
                      "BASELOCATION": "16",
                      "STATE": "S",
                      "RECORDTYPE": "pi",
                      "FORM1099TYPE": null,
                      "FORM1099BOX": null,
                      "DETAILKEY": null,
                      "WHENCREATED": "03/06/2025 21:45:52",
                      "WHENMODIFIED": "03/06/2025 21:45:52",
                      "CREATEDBY": "16",
                      "MODIFIEDBY": "16",
                      "RETAINAGEPERCENTAGE": null,
                      "TRX_AMOUNTRETAINED": null,
                      "AMOUNTRETAINED": null,
                      "TRX_AMOUNTRELEASED": null,
                      "SUBTOTAL": null,
                      "PARENTTAXENTRY": null,
                      "PARTIALEXEMPT": "false",
                      "PAYMENTTAXCAPTURE": "false",
                      "PRIMARYDOCKEY": null,
                      "PRIMARYDOCLINEKEY": null,
                      "PROJECTDIMKEY": "47",
                      "PROJECTNAME": "West Coast Arena",
                      "CUSTOMERDIMKEY": null,
                      "CUSTOMERNAME": null,
                      "VENDORDIMKEY": null,
                      "VENDORNAME": null,
                      "EMPLOYEEDIMKEY": null,
                      "EMPLOYEEID": null,
                      "EMPLOYEENAME": null,
                      "ITEMDIMKEY": null,
                      "ITEMNAME": null,
                      "TASKDIMKEY": "1178",
                      "TASKNAME": "CONCRETE",
                      "COSTTYPEDIMKEY": "1960",
                      "COSTTYPENAME": "Labor"
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "ApInvoiceLineItem-13": {
        "allOf": [
          {
            "$ref": "#/components/schemas/ApInvoiceLineItem"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The SQL path on the Source System.",
                    "example": "select * from [VN_GL_DISTRIBUTION_DETAIL_MC]"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "Company_Code": "12345",
                      "Vendor_Code": "     12345",
                      "Invoice_Number": "               A123",
                      "Invoice_Type_Code": "I",
                      "Sequence": "001",
                      "GL_Distribution_Account": "12345",
                      "Debit_Amount": "100.00",
                      "Credit_Amount": ".00",
                      "Job_Number": "",
                      "Phase_Code": "",
                      "Cost_Type": "",
                      "Remarks": "Two tons of cement",
                      "Equipment_Code": "",
                      "Equipment_Category": "",
                      "Company_Code_2": "12345",
                      "This_Company_GL": "12345",
                      "Other_Company_GL": "12345",
                      "Unit_Of_Measure": "",
                      "Quantity": "2.00",
                      "Use_Tax_Code": "",
                      "Tax_Extension": ".00",
                      "Tax_GL_Account": "",
                      "PM_Work_Order": "",
                      "Tax_Code": "CA-SF",
                      "Taxable_Flag": "Y",
                      "Tax_Amount": "8.60",
                      "Tax_Percent": "8.6000",
                      "Bid_Item_Number": "",
                      "Subcontractor_Worked_Hours1": ".00",
                      "Subcontractor_Worked_Hours2": ".00",
                      "Subcontractor_Worked_Hours3": ".00",
                      "Subcontractor_Worked_Ext1": ".00",
                      "Subcontractor_Worked_Ext2": ".00",
                      "Subcontractor_Worked_Ext3": ".00",
                      "Subcontractor_Message": "",
                      "Labor_Bill_Rate_Code": "",
                      "Cost_Center": "",
                      "WO_Number": "",
                      "Item_Code": "12345",
                      "Item_Desc": "",
                      "WO_Equipment": "",
                      "WO_Component": "",
                      "SC_Contract": "",
                      "Control_Code": "",
                      "WO_Unit_Price": ".00",
                      "Unit_Price": ".0000",
                      "Current_Bill_Quantity": ".00",
                      "Current_Bill_Amount": ".00",
                      "Quantity_Billed_To_Date": ".000",
                      "Amount_Billed_To_Date": ".000",
                      "Estimated_Quantity": ".00",
                      "Estimated_Bid": ".00",
                      "Retention_Flag": "",
                      "Currency_Code": "",
                      "Exchange_Rate": "1.000000",
                      "PO_Line_Sequence": "",
                      "Accrued_Cost": ".00",
                      "Accrued_Cost_Exchange_Rate": ".000000"
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "ApPaymentLineItem": {
        "type": "object",
        "properties": {
          "id": {
            "allOf": [
              {
                "description": "The UUID of the Line Item assigned by Agave."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "source_id": {
            "type": "string",
            "readOnly": true,
            "example": "12345",
            "description": "The ID of the Line Item in the Source System."
          },
          "ap_invoice_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [AP Invoice](#tag--ap-invoices) for the Line Item."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "ap_invoice_line_item_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [AP Invoice Line Item](#tag--ap-invoices) for the Line Item."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "description": {
            "type": "string",
            "description": "A description of the AP Payment Line Item.",
            "example": "Concrete pour in January"
          },
          "discount_taken_amount": {
            "allOf": [
              {
                "$ref": "#/components/schemas/MoneyProperty"
              },
              {
                "description": "The amount of discount taken with the Line Item."
              },
              {
                "example": "100.00"
              }
            ]
          },
          "retention_amount": {
            "allOf": [
              {
                "$ref": "#/components/schemas/MoneyProperty"
              },
              {
                "description": "The total monetary retention amount of the Line Item."
              },
              {
                "example": "10.00"
              }
            ]
          },
          "total_amount": {
            "allOf": [
              {
                "$ref": "#/components/schemas/MoneyProperty"
              },
              {
                "description": "The total monetary amount of the Line Item, including tax."
              },
              {
                "example": "100.00"
              }
            ]
          },
          "type": {
            "type": "string",
            "description": "The type of Line Item.\n\n**Note for Sage 300CRE**: valid values include \"Regular\" and \"Tax\".\n",
            "example": "Regular"
          },
          "source_create_time": {
            "allOf": [
              {
                "description": "The datetime the Line Item was created in the Source System."
              },
              {
                "$ref": "#/components/schemas/DateTimeProperty"
              }
            ]
          },
          "source_update_time": {
            "allOf": [
              {
                "description": "The datetime the Line Item was last updated in the Source System."
              },
              {
                "$ref": "#/components/schemas/DateTimeProperty"
              }
            ]
          }
        }
      },
      "ApPayment": {
        "type": "object",
        "properties": {
          "id": {
            "allOf": [
              {
                "description": "The UUID of the AP Payment assigned by Agave."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "source_id": {
            "type": "string",
            "readOnly": true,
            "example": "12345",
            "description": "The ID of the AP Payment in the Source System."
          },
          "bank_account_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the Bank Account from which you are drawing money to pay the AP Payment."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "contract": {
            "type": "object",
            "description": "The Contract (i.e. Purchase Order or Subcontract) associated with the AP Payment.",
            "properties": {
              "id": {
                "allOf": [
                  {
                    "description": "The UUID of the Contract (i.e. Purchase Order or Subcontract) assigned by Agave."
                  },
                  {
                    "$ref": "#/components/schemas/IdPropertyReadOnly"
                  }
                ]
              },
              "type": {
                "type": "string",
                "description": "The type of Contract associated with the AP Payment.",
                "example": "subcontract",
                "enum": [
                  "purchase_order",
                  "subcontract"
                ]
              }
            }
          },
          "description": {
            "type": "string",
            "description": "A description of the AP Payment.",
            "example": "Partial payment for January AP invoice."
          },
          "ledger_account_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Ledger Account](#tag--ledger-accounts) for the AP Payment."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "line_items": {
            "type": "array",
            "description": "The line items for the AP Payment.",
            "items": {
              "$ref": "#/components/schemas/ApPaymentLineItem"
            }
          },
          "number": {
            "type": "string",
            "description": "The number associated with the AP Payment.",
            "example": "A123"
          },
          "payment_date": {
            "allOf": [
              {
                "description": "The date of the AP Payment."
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ]
          },
          "payment_method": {
            "type": "string",
            "description": "The method of the AP Payment. \n\n**Note for Foundation**: valid values include \"Credit Card\", \"EFT/ACH\", \"Handwritten Check\", and \"Printed Check\".\n\n**Note for QuickBooks Desktop:** valid values include \"Check\", \"CreditCardCharge\", and \"CreditCardCredit\".      \n\n**Note for Sage 300 CRE**: valid values include \"Check\", \"Credit Card\", \"Electronic\", and \"None\".\n\n**Note for Sage Intacct**: valid values include \"ACH\", \"Amex ACH\", \"Amex Charge Card\", \"Cash\", \"Check Delivery\", \"Credit Card\", \"EFT\", \"Printed Check\", \"WF Check\", \"WF Domestic ACH\", and \"WF USD Wire\".\n\n**Note for Viewpoint Spectrum:** valid values include \"Check\" and \"Credit Card\".\n\n**Note for Viewpoint Vista:** valid values include \"Check\", \"Credit Service\", \"EFT\", and \"Viewpoint ePayments\".\n",
            "example": "Check"
          },
          "status": {
            "type": "string",
            "description": "The status of the AP Payment. \n\n**Note for Autodesk Build and BIM 360:** possible values include \"accepted\", \"approved\", \"draft\", \"paid\", \"pendingInput\", \"revise\", and \"submitted\".\n\n**Note for CMiC**: possible values include \"Closed\", \"Open\", \"Partially Paid\", and \"Voided\".\n\n**Note for Foundation**: valid values include \"Posted\" and \"Voided\".\n\n**Note for QuickBooks Desktop:** the only value for this field is \"Paid\". \n\n**Note for Sage Intacct**: valid values include \"Approved\", \"Draft\", \"Posted\", \"Submitted\", and \"Voided\".\n\n**Note for Viewpoint Spectrum:** possible values include \"Pending\" and \"Posted\"\n\n**Note for Viewpoint Vista:** only \"Initialized\" and \"Posted\" AP Payments are returned. \n",
            "example": "Posted"
          },
          "tax_amount": {
            "type": "string",
            "description": "The total tax amount for the AP Payment.",
            "example": "10.00"
          },
          "total_amount": {
            "type": "string",
            "description": "The total amount of the AP Payment, inclusive of tax.",
            "example": "100.00"
          },
          "vendor_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Vendor](#tag--vendors)."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "source_create_time": {
            "allOf": [
              {
                "description": "The datetime the AP Payment was created in the Source System."
              },
              {
                "$ref": "#/components/schemas/DateTimeProperty"
              }
            ]
          },
          "source_update_time": {
            "allOf": [
              {
                "description": "The datetime the AP Payment was last updated in the Source System."
              },
              {
                "$ref": "#/components/schemas/DateTimeProperty"
              }
            ]
          }
        }
      },
      "ApPayment-2": {
        "allOf": [
          {
            "$ref": "#/components/schemas/ApPayment"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "https://developer.api.autodesk.com/cost/v1/containers/{Container_Id}/payments"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "id": "12345",
                      "containerId": "12345",
                      "billingPeriodId": "12345",
                      "associationId": "12345",
                      "associationType": "Contract",
                      "startDate": "2022-01-01",
                      "endDate": "2022-01-01",
                      "dueDate": "2022-01-01",
                      "number": "A123",
                      "name": "Partial payment for January AP invoice",
                      "description": null,
                      "amount": "100.0000",
                      "previousAmount": null,
                      "approvedChangeOrders": 0,
                      "previousApprovedChangeOrders": null,
                      "originalAmount": "100.0000",
                      "contractAmount": "100.0000",
                      "materialsOnStore": null,
                      "previousMaterialsOnStore": null,
                      "materialsBilled": null,
                      "previousMaterialsBilled": null,
                      "previousMaterialsBilledCurrency": null,
                      "recipients": [],
                      "completedWorkRetention": "0.0000",
                      "materialsOnStoreRetention": "0.0000",
                      "previousRetention": null,
                      "netAmount": 0,
                      "netRetention": 0,
                      "netMaterialsOnStore": 0,
                      "status": "draft",
                      "note": null,
                      "createdAt": "2022-01-01T00:00:00.000Z",
                      "updatedAt": "2022-01-01T00:00:00.000Z",
                      "approvedAt": null,
                      "budgetPaymentId": null,
                      "calculatedAt": null,
                      "calculatedBy": null,
                      "companyId": "12345",
                      "contactId": null,
                      "creatorId": "12345",
                      "paidAt": null,
                      "forecastDistributionAt": null,
                      "submittedAt": null,
                      "mainContractId": "56fffd64-3d44-4ae6-99b4-4d20ae689607",
                      "integrationState": null,
                      "integrationStateChangedAt": null,
                      "integrationStateChangedBy": null,
                      "exchangeRate": "1.00000000",
                      "previousExchangeRate": "1.00000000",
                      "originalAmountForeignCurrency": "100.0000",
                      "contractAmountForeignCurrency": "100.0000",
                      "approvedChangeOrdersForeignCurrency": null,
                      "previousAmountForeignCurrency": null,
                      "previousApprovedChangeOrdersForeignCurrency": null,
                      "previousRetentionForeignCurrency": null,
                      "completedWorkRetentionForeignCurrency": "0.0000",
                      "netAmountForeignCurrency": null,
                      "claimedAmount": null,
                      "previousClaimedAmount": null,
                      "previousClaimedAmountForeignCurrency": null,
                      "properties": [],
                      "paymentItems": [
                        {
                          "realizedGainOrLoss": null,
                          "id": "12345",
                          "containerId": "12345",
                          "paymentId": "12345",
                          "parentId": null,
                          "budgetId": "12345",
                          "number": null,
                          "name": "Concrete pour in January",
                          "description": null,
                          "associationId": "12345",
                          "associationType": "SOV",
                          "originalQuantity": 10,
                          "originalUnitPrice": "10.00000000",
                          "originalAmount": "100.0000",
                          "quantity": 10,
                          "unitPrice": "10.00000000",
                          "unit": "ea",
                          "amount": "100.0000",
                          "claimedQuantity": null,
                          "claimedUnitPrice": null,
                          "claimedAmount": null,
                          "materialsOnStoreQuantity": 1,
                          "materialsOnStoreUnit": "ea",
                          "materialsOnStoreUnitPrice": null,
                          "materialsOnStore": null,
                          "materialsBilledQuantity": null,
                          "materialsBilledUnit": null,
                          "materialsBilledUnitPrice": null,
                          "materialsBilled": null,
                          "previousMaterialsBilled": null,
                          "previousPaymentItemId": null,
                          "previousQuantity": 0,
                          "previousUnitPrice": null,
                          "previousAmount": null,
                          "previousClaimedQuantity": null,
                          "previousClaimedUnitPrice": null,
                          "previousClaimedAmount": null,
                          "previousMaterialsOnStore": null,
                          "completedWorkRetentionPercent": 0.1,
                          "materialsOnStoreRetentionPercent": 0,
                          "completedWorkReleased": null,
                          "materialsOnStoreReleased": null,
                          "netAmount": null,
                          "isPrivate": false,
                          "status": null,
                          "exchangeRate": "1.00000000",
                          "originalExchangeRate": "1.00000000",
                          "previousExchangeRate": "1.00000000",
                          "previousAmountForeignCurrency": null,
                          "previousClaimedAmountForeignCurrency": null,
                          "previousMaterialsBilledCurrency": null,
                          "netAmountForeignCurrency": null,
                          "creatorId": "12345",
                          "changedBy": "12345",
                          "aggregateBy": null,
                          "lastReviewedBy": null,
                          "createdAt": "2022-01-01T00:00:00.000Z",
                          "updatedAt": "2022-01-01T00:00:00.000Z",
                          "deletedAt": null
                        }
                      ],
                      "aggregateBy": null,
                      "hasItemRejected": false,
                      "hasItemUnReviewed": true
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "ApPayment-3": {
        "allOf": [
          {
            "$ref": "#/components/schemas/ApPayment"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "{{server}}/{{environemnt}}/ap-rest-api/rest/1/apallvouchers"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "VouMemoTax2Amt": null,
                      "VouMemoHldbkAmt": null,
                      "VouMemoDiscAmt": null,
                      "VouMemoAmt": null,
                      "VouMaterialInvFlag": "N",
                      "VouLastPayAmt": 100,
                      "VouJobCompCode": "12345",
                      "VouJobCode": "12345",
                      "VouInvSeriesCode": null,
                      "VouInvOutstandAmt": 0,
                      "VouInvHldbkTaxFlag": "N",
                      "VouInvDate": "2022-01-01T00:00:00-00:00",
                      "VouInvCode": "12345",
                      "VouInvAmt": 100,
                      "VouImportInfo": null,
                      "VouImportingGoodsFlag": "N",
                      "VouImageFilename": null,
                      "VouHoldPaymentFlag": "Y",
                      "VouHoldPaymentDays": 7,
                      "VouHoldFlag": "N",
                      "VouHldbkPc": 0,
                      "VouHldbkPaid": 0,
                      "VouHldbkAmt": 0,
                      "VouGsthldbkCode": "G",
                      "VouFuncFactorNum": null,
                      "VouFrtDiscCode": "N",
                      "VouFrtAmt": null,
                      "VouFiscalCode": null,
                      "VouFinalRfpFlag": "N",
                      "VouExpDeptCode": null,
                      "VouEnteredAmt": 3500,
                      "VouEftFlag": null,
                      "VouDuplicateId": null,
                      "VouDueDate": "2016-01-21T00:00:00-05:00",
                      "VouDrawNum": 8,
                      "VouDistTypeCode": "J",
                      "VouDiscTaken": 0,
                      "VouDiscPc": null,
                      "VouDiscDate": "2015-12-22T00:00:00-05:00",
                      "VouDiscAmt": 0,
                      "VouDiscAllocMethCode": "A",
                      "VouDiscreteChqFlag": "N",
                      "VouDfttaxFromCode": null,
                      "VouDesc2": null,
                      "VouDesc1": "Partial payment for January AP invoice.",
                      "VouDeptCodeDist": null,
                      "VouDeptCode": "00",
                      "VouDeptAcct": null,
                      "VouCurrCode": "USD",
                      "VouCurcFactorNum": 1,
                      "VouCreatedByJbFlag": null,
                      "VouCostCode": "15900",
                      "VouContExceedHoldFlag": "N",
                      "VouContCode": null,
                      "VouContractorPrelimFlag": "N",
                      "VouContactCode": "BG",
                      "VouCompCode": "001",
                      "VouCisPc": null,
                      "VouCisPayableAmt": null,
                      "VouCisApplicableAmt": null,
                      "VouChqPayeeName": null,
                      "VouChqHandleCode": null,
                      "VouChgCode": null,
                      "VouCatCode": "S",
                      "VouCashAccCode": "10001",
                      "VouBchNum": 198781,
                      "VouBchrgInvFlag": null,
                      "VouAppr2": null,
                      "VouAppr1": null,
                      "Vou1099Code": "X",
                      "VouTax2TaxableAmt": null,
                      "VouTax2IncFlag": "N",
                      "VouTax2HldbkCode": "G",
                      "VouTax2HldbkAmt": 0,
                      "VouTax2HldbkAdjAmt": null,
                      "VouTax2DiscCode": "N",
                      "VouTax2DirectFlag": "N",
                      "VouTax2CreditFlag": "N",
                      "VouTax2Code": null,
                      "VouTax2Amt": 0,
                      "VouTax1TaxableFlag": "N",
                      "VouTax1TaxableAmt": null,
                      "VouTax1IncFlag": "N",
                      "VouTax1HldbkAdjAmt": null,
                      "VouTax1DirectFlag": "N",
                      "VouTax1CreditFlag": "N",
                      "VouTax1Code": null,
                      "VouSubcontrCode": null,
                      "VouStatusCode": "O",
                      "VouSplitGroupNum": null,
                      "VouSplitByApplCode": null,
                      "VouSourceTypeCode": null,
                      "VouSourceToDate": null,
                      "VouSourceObjectOraseq": null,
                      "VouSourceFromDate": null,
                      "VouSktAmt": null,
                      "VouShplCode": null,
                      "VouShipOraseq": null,
                      "VouSeparateBillingRefCode": null,
                      "VouSelForVoidFlag": null,
                      "VouScSelfBilledFlag": null,
                      "VouScModifiedFlag": "N",
                      "VouScApprovedFlag": "N",
                      "VouScApplyBchNum": null,
                      "VouScmstJobCode": null,
                      "VouRoutJob": null,
                      "VouRlsWAmt": null,
                      "VouRlsTax2Code": null,
                      "VouRlsTax2Amt": null,
                      "VouRlsTax1Code": null,
                      "VouRlsTax1Amt": null,
                      "VouRlsNum": null,
                      "VouRlsInvCode": null,
                      "VouRlsDate": null,
                      "VouRlsBchNum": null,
                      "VouRlsAmt": null,
                      "VouRevDate": null,
                      "VouRevBchNum": null,
                      "VouRevisionNum": null,
                      "VouResaleInfo": null,
                      "VouRemitDesc": null,
                      "VouRegInvNum": null,
                      "VouRecordStatus": "SUBMITTED",
                      "VouPyTaxVoucherFlag": null,
                      "VouPyIrsTaxType": null,
                      "VouPyIrsTaxPerEndDate": null,
                      "VouPyIrsTaxInfoId": null,
                      "VouPrepaidExpAmt": null,
                      "VouPrelienComplPayCode": null,
                      "VouPoReleaseNum": null,
                      "VouPoPrtCode": null,
                      "VouPoPickFlag": null,
                      "VouPoNum": null,
                      "VouPostDate": "2022-01-01T00:00:00-00:00",
                      "VouPayNotes": null,
                      "VouPayCode": "N",
                      "VouPayByManualChqFlag": "N",
                      "VouPartnTypeCode": "C",
                      "VouPartnCode": "HIKUU",
                      "VouPartialApprovedAmt": null,
                      "VouPaidAmt": 3500,
                      "VouOrigTaxHldbkAmt": 0,
                      "VouOrigHldbkAmt": 0,
                      "VouOrigBchNum": null,
                      "VouOrigAmt": null,
                      "VouOriginatingVouNum": null,
                      "VouOperationCode": null,
                      "VouNum": 12345,
                      "VouNonZeroOweCompVenCode": null,
                      "VouNodiscAmt": 0,
                      "VouNatureOfServices": null,
                      "VouMultiControlJobFlag": "1",
                      "VouMiscDiscCode": "N",
                      "VouMiscAmt": null,
                      "VouMemoTaxHldbkAmt": null,
                      "VouMemoTaxAmt": "10",
                      "VouMemoTax5Amt": null,
                      "VouMemoTax4Amt": null,
                      "VouMemoTax3Amt": null,
                      "VouMemoTax2HldbkAmt": null,
                      "VouIuUpdateUser": "JohnDoe",
                      "VouIuUpdateDate": "2022-01-01T00:00:00-00:00",
                      "VouIuCreateUser": "JohnDoe",
                      "VouIuCreateDate": "2022-01-01T00:00:00-00:00",
                      "VouVenCode": "12345",
                      "VouVenAddCode": null,
                      "VouVendorInvCode": null,
                      "VouValuateToDate": null,
                      "VouValuateFromDate": null,
                      "VouUnpostedRfpInfo": null,
                      "VouUnpostedPayCodeOverride": null,
                      "VouTranCode": "V",
                      "VouTpPaymodeTypeCode": null,
                      "VouTppayCode": null,
                      "VouTermPc": 0,
                      "VouTaxTreatmentPercent": null,
                      "VouTaxHldbkAmt": 0,
                      "VouTaxDiscCode": "N",
                      "VouTaxAmt": 0,
                      "VouTax5TaxableFlag": "Y",
                      "VouTax5TaxableAmt": null,
                      "VouTax5IncFlag": "N",
                      "VouTax5DiscCode": "N",
                      "VouTax5DirectFlag": "N",
                      "VouTax5CreditFlag": "N",
                      "VouTax5Code": null,
                      "VouTax5Amt": 0,
                      "VouTax4TaxableFlag": "Y",
                      "VouTax4TaxableAmt": null,
                      "VouTax4IncFlag": "N",
                      "VouTax4DiscCode": "N",
                      "VouTax4DirectFlag": "N",
                      "VouTax4CreditFlag": "N",
                      "VouTax4Code": null,
                      "VouTax4Amt": 0,
                      "VouTax3TaxableFlag": "N",
                      "VouTax3TaxableAmt": null,
                      "VouTax3IncFlag": "N",
                      "VouTax3DiscCode": "N",
                      "VouTax3DirectFlag": "N",
                      "VouTax3CreditFlag": "N",
                      "VouTax3Code": null,
                      "VouTax3Amt": 0,
                      "VouTax2TaxableFlag": "N",
                      "VouCreatedByManchqFlag": null,
                      "VouAcctDescription": null
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "APPayment": {
        "type": "object",
        "properties": {
          "id": {
            "allOf": [
              {
                "description": "The UUID of the AP Payment assigned by Agave."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "source_id": {
            "type": "string",
            "readOnly": true,
            "example": "12345",
            "description": "The ID of the AP Payment in the Source System."
          },
          "bank_account_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the Bank Account from which you are drawing money to pay the AP Payment."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "contract": {
            "type": "object",
            "description": "The Contract (i.e. Purchase Order or Subcontract) associated with the AP Payment.",
            "properties": {
              "id": {
                "allOf": [
                  {
                    "description": "The UUID of the Contract (i.e. Purchase Order or Subcontract) assigned by Agave."
                  },
                  {
                    "$ref": "#/components/schemas/IdPropertyReadOnly"
                  }
                ]
              },
              "type": {
                "type": "string",
                "description": "The type of Contract associated with the AP Payment.",
                "example": "subcontract",
                "enum": [
                  "purchase_order",
                  "subcontract"
                ]
              }
            }
          },
          "description": {
            "type": "string",
            "description": "A description of the AP Payment.",
            "example": "Partial payment for January AP invoice."
          },
          "ledger_account_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Ledger Account](#tag--ledger-accounts) for the AP Payment."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "line_items": {
            "type": "array",
            "description": "The line items for the AP Payment.",
            "items": {
              "$ref": "#/components/schemas/ApPaymentLineItem"
            }
          },
          "number": {
            "type": "string",
            "description": "The number associated with the AP Payment.",
            "example": "A123"
          },
          "payment_date": {
            "allOf": [
              {
                "description": "The date of the AP Payment."
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ]
          },
          "payment_method": {
            "type": "string",
            "description": "The method of the AP Payment. \n\n**Note for Foundation**: valid values include \"Credit Card\", \"EFT/ACH\", \"Handwritten Check\", and \"Printed Check\".\n\n**Note for QuickBooks Desktop:** valid values include \"Check\", \"CreditCardCharge\", and \"CreditCardCredit\".      \n\n**Note for Sage 300 CRE**: valid values include \"Check\", \"Credit Card\", \"Electronic\", and \"None\".\n\n**Note for Sage Intacct**: valid values include \"ACH\", \"Amex ACH\", \"Amex Charge Card\", \"Cash\", \"Check Delivery\", \"Credit Card\", \"EFT\", \"Printed Check\", \"WF Check\", \"WF Domestic ACH\", and \"WF USD Wire\".\n\n**Note for Viewpoint Spectrum:** valid values include \"Check\" and \"Credit Card\".\n\n**Note for Viewpoint Vista:** valid values include \"Check\", \"Credit Service\", \"EFT\", and \"Viewpoint ePayments\".\n",
            "example": "Check"
          },
          "status": {
            "type": "string",
            "description": "The status of the AP Payment. \n\n**Note for Autodesk Build and BIM 360:** possible values include \"accepted\", \"approved\", \"draft\", \"paid\", \"pendingInput\", \"revise\", and \"submitted\".\n\n**Note for CMiC**: possible values include \"Closed\", \"Open\", \"Partially Paid\", and \"Voided\".\n\n**Note for Foundation**: valid values include \"Posted\" and \"Voided\".\n\n**Note for QuickBooks Desktop:** the only value for this field is \"Paid\". \n\n**Note for Sage Intacct**: valid values include \"Approved\", \"Draft\", \"Posted\", \"Submitted\", and \"Voided\".\n\n**Note for Viewpoint Spectrum:** possible values include \"Pending\" and \"Posted\"\n\n**Note for Viewpoint Vista:** only \"Initialized\" and \"Posted\" AP Payments are returned. \n",
            "example": "Posted"
          },
          "tax_amount": {
            "type": "string",
            "description": "The total tax amount for the AP Payment.",
            "example": "10.00"
          },
          "total_amount": {
            "type": "string",
            "description": "The total amount of the AP Payment, inclusive of tax.",
            "example": "100.00"
          },
          "vendor_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Vendor](#tag--vendors)."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "source_create_time": {
            "allOf": [
              {
                "description": "The datetime the AP Payment was created in the Source System."
              },
              {
                "$ref": "#/components/schemas/DateTimeProperty"
              }
            ]
          },
          "source_update_time": {
            "allOf": [
              {
                "description": "The datetime the AP Payment was last updated in the Source System."
              },
              {
                "$ref": "#/components/schemas/DateTimeProperty"
              }
            ]
          }
        }
      },
      "ApPayment-4": {
        "allOf": [
          {
            "$ref": "#/components/schemas/APPayment"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The database query for the Source System.",
                    "example": "select * from [ap_pmt]"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "company_no": 1,
                      "gl_cash": "1015",
                      "transaction_no": 103,
                      "void_flag": "N",
                      "vendor_no": "       116",
                      "multi_pmt": 1,
                      "pmt_date": "22022-01-01 00:00:00.000",
                      "pmt_type": "R",
                      "first_pmt_in_set": 103,
                      "last_pmt_in_set": 103,
                      "pmt_name": "ABC Office supply",
                      "joint_name": null,
                      "reference_no": null,
                      "source": "D",
                      "type": "R",
                      "trans_description": null,
                      "record_status": "A",
                      "row_modified_by": "12345",
                      "row_modified_on": "2022-01-01 00:00:00.000",
                      "row_unique_id": 2,
                      "company_id": "1",
                      "reference_id": null,
                      "transaction_id": "103",
                      "vendor_id": "116",
                      "ach_flag": "N",
                      "vnd_dir_pay_batch_no": null,
                      "vnd_dir_pay_batch_id": null,
                      "prepaid_flag": "Y",
                      "audit_number": null
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "ApPayment-5": {
        "allOf": [
          {
            "$ref": "#/components/schemas/ApPayment"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "https://api.procore.com/rest/v1.0/payments"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "id": 12345,
                      "amount": "100.0",
                      "check_number": "A123",
                      "created_at": "2022-01-01T00:00:00Z",
                      "date": "2022-01-01",
                      "draw_request_number": null,
                      "invoice_number": "12345",
                      "requisition_id": 12345,
                      "payment_number": "A123",
                      "payment_method": "check",
                      "project_id": 12345,
                      "status": "paid",
                      "attachments": []
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "ApPayment-6": {
        "allOf": [
          {
            "$ref": "#/components/schemas/ApPayment"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "BillQueryRq"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "TxnID": "12345",
                      "TimeCreated": "2022-01-01T00:00:00-00:00",
                      "TimeModified": "2022-01-01T00:00:00-00:00",
                      "EditSequence": "12345",
                      "TxnNumber": "12345",
                      "PayeeEntityRef": {
                        "ListID": "12345",
                        "FullName": "AnyCompany Inc."
                      },
                      "APAccountRef": {
                        "ListID": "12345",
                        "FullName": "Accounts Payable"
                      },
                      "TxnDate": "2022-01-01",
                      "CreditCardAccountRef": {
                        "ListID": "12345",
                        "FullName": "AnyCredit Card Payable"
                      },
                      "Amount": "100.00",
                      "RefNumber": "12345",
                      "Memo": "Partial payment for January AP invoice."
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "ApPayment-7": {
        "allOf": [
          {
            "$ref": "#/components/schemas/ApPayment"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "https://quickbooks.api.intuit.com/v3/company/{companyId}/query"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "TxnID": "12345",
                      "TimeCreated": "2022-01-01T00:00:00-00:00",
                      "TimeModified": "2022-01-01T00:00:00-00:00",
                      "EditSequence": "12345",
                      "TxnNumber": "12345",
                      "PayeeEntityRef": {
                        "ListID": "12345",
                        "FullName": "AnyCompany Inc."
                      },
                      "APAccountRef": {
                        "ListID": "12345",
                        "FullName": "Accounts Payable"
                      },
                      "TxnDate": "2022-01-01",
                      "CreditCardAccountRef": {
                        "ListID": "12345",
                        "FullName": "AnyCredit Card Payable"
                      },
                      "Amount": "100.00",
                      "RefNumber": "12345",
                      "Memo": "Partial payment for January AP invoice."
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "ApPayment-8": {
        "allOf": [
          {
            "$ref": "#/components/schemas/ApPayment"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The SQL path on the Source System.",
                    "example": "select * from [apipay]"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "_idnum": "12345AD1-407C-EE11-8424-1213C2B0AF47",
                      "recnum": "1",
                      "vndnum": "12345",
                      "payee1": "John Doe",
                      "addrs1": "123 Main Street",
                      "addrs2": "Unit B",
                      "ctynme": "AnyTown",
                      "state_": "CA",
                      "zipcde": "19703",
                      "paymth": 3,
                      "actnum": "12345",
                      "subact": null,
                      "trnnum": "A123",
                      "dscrpt": "Partial payment for January AP invoice.",
                      "trndte": "2022-01-01T00:00:00.000Z",
                      "actper": 1,
                      "postyr": 2022,
                      "lgrrec": "12345",
                      "wrnnte": "",
                      "insdte": "2022-01-01T00:00:00.000Z",
                      "insusr": "John-Doe",
                      "upddte": "2022-01-01T00:00:00.000Z",
                      "updusr": "John-Doe"
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "ApPayment-9": {
        "allOf": [
          {
            "$ref": "#/components/schemas/APPayment"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The SQL path on the Source System.",
                    "example": "select * from [MASTER_APM_RECORD_6]"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "PIVND": "104",
                      "PIINV": "23131",
                      "PIPMTID": 1,
                      "PIDESC": "Company liability insurance",
                      "PIPTYPE": "Check",
                      "PIBANK": "First",
                      "PICHECK": 24353,
                      "PIAMTPD": 9350.03,
                      "PITAXPD": 0,
                      "PIDSCT": 0,
                      "PIDSCL": 0,
                      "PIRETH": 0,
                      "PIRETPD": 0,
                      "PIMDEDA": 0,
                      "PIPPSD": 0,
                      "PIPDOPN": "1",
                      "PIPJRN": 11,
                      "PIMEMO": "",
                      "PIOSTMP": "",
                      "PIDSTMP": "2022-01-01",
                      "PITSTMP": "15:56:15",
                      "PIRWID": "12345b4b-ee3f-e711-8bef-0019b9211094",
                      "PIRWVR": "1234595375"
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "ApPayment-10": {
        "allOf": [
          {
            "$ref": "#/components/schemas/APPayment"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "https://api.intacct.com/ia/xml/xmlgw.phtml"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "RECORDNO": "305",
                      "PRBATCHKEY": "77",
                      "RECORDTYPE": "pp",
                      "RECORDID": null,
                      "FINANCIALENTITY": "TCG WF Checking",
                      "FINANCIALENTITYTYPE": "ba",
                      "FINANCIALACCOUNTNAME": "Wells Fargo",
                      "FINANCIALACCOUNTCURRENCY": "USD",
                      "STATE": "A",
                      "RAWSTATE": "A",
                      "PAYMENTPROVIDER": null,
                      "PAYMENTMETHOD": "Printed Check",
                      "PAYMENTMETHODKEY": "1",
                      "ENTITY": "VV101",
                      "VENDORID": "V101",
                      "VENDORNAME": "Alpha Insulation",
                      "DOCNUMBER": null,
                      "DESCRIPTION": null,
                      "DESCRIPTION2": null,
                      "WHENCREATED": "2023-10-01",
                      "WHENDUE": "2023-10-01",
                      "WHENPAID": null,
                      "BASECURR": "USD",
                      "CURRENCY": "USD",
                      "EXCH_RATE_DATE": null,
                      "EXCH_RATE_TYPE_ID": null,
                      "EXCHANGE_RATE": null,
                      "TOTALENTERED": "500",
                      "TOTALSELECTED": "500",
                      "TOTALPAID": "0",
                      "TOTALDUE": "500",
                      "TRX_TOTALENTERED": "500",
                      "TRX_TOTALSELECTED": "500",
                      "TRX_TOTALPAID": "0",
                      "TRX_TOTALDUE": "500",
                      "BILLTOPAYTOCONTACTNAME": "Alpha Insulation",
                      "PRBATCH": "Hidden AP Batch",
                      "AUWHENCREATED": "2023-10-01T17:29:09Z",
                      "WHENMODIFIED": "2023-10-01T17:29:09Z",
                      "CREATEDBY": "7",
                      "MODIFIEDBY": "7",
                      "USERKEY": "7",
                      "CLEARED": "F",
                      "CLRDATE": null,
                      "STATUS": "T",
                      "SYSTEMGENERATED": "F",
                      "PAYMENTPRIORITY": "N",
                      "BILLTOPAYTOKEY": "181",
                      "ONHOLD": null,
                      "PARENTPAYMENTKEY": null,
                      "WHENPOSTED": "2023-09-29",
                      "INCLUSIVETAX": "false",
                      "TAXSOLUTIONKEY": null,
                      "TAXSOLUTIONID": null,
                      "TAXMETHOD": null,
                      "PAYMENTREQUESTMETHOD": "vendorpref",
                      "EMAILCONTACT": "Emma",
                      "VENDORKEY": "2",
                      "PROVIDERPAYMETHODKEY": null,
                      "JOINTPAYEENAME": null,
                      "JOINTPAYEEPRINTAS": null,
                      "PROVIDERKEY": null,
                      "PROVIDERNAME": null,
                      "MEGAENTITYKEY": "16",
                      "MEGAENTITYID": "A123",
                      "MEGAENTITYNAME": "AnyCompany Contractors"
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "ApPayment-11": {
        "allOf": [
          {
            "$ref": "#/components/schemas/ApPayment"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The SQL path on the Source System.",
                    "example": "select top 10 [VN_MANUAL_CHECK_WORK_MC].*, [BR_BANK_ACCOUNT_MC].[Account_Type] as [Bank_Account_Type], [BR_BANK_ACCOUNT_MC].[GL_Account] as [Bank_Account_GL_Account], [VN_GL_DISTRIBUTION_HEADER_MC].[Contract_Number], [VN_GL_DISTRIBUTION_HEADER_MC].[PO_Number], [VN_GL_DISTRIBUTION_HEADER_MC].[Remarks] as [Invoice_Remarks] from [VN_MANUAL_CHECK_WORK_MC] left join [BR_BANK_ACCOUNT_MC] on [BR_BANK_ACCOUNT_MC].[Company_Code] = [VN_MANUAL_CHECK_WORK_MC].[Company_Code] and [BR_BANK_ACCOUNT_MC].[Bank_Account_Code] = [VN_MANUAL_CHECK_WORK_MC].[Bank_Account_Code] left join [VN_GL_DISTRIBUTION_HEADER_MC] on [VN_GL_DISTRIBUTION_HEADER_MC].[Company_Code] = [VN_MANUAL_CHECK_WORK_MC].[Company_Code] and [VN_GL_DISTRIBUTION_HEADER_MC].[Vendor_Code] = [VN_MANUAL_CHECK_WORK_MC].[Vendor_Code] and [VN_GL_DISTRIBUTION_HEADER_MC].[Invoice_Number] = [VN_MANUAL_CHECK_WORK_MC].[Invoice_Number] and [VN_GL_DISTRIBUTION_HEADER_MC].[Invoice_Type_Code] = [VN_MANUAL_CHECK_WORK_MC].[Invoice_Type_Code] where [VN_MANUAL_CHECK_WORK_MC].[Company_Code] = 'CCD' order by [VN_MANUAL_CHECK_WORK_MC].[Check_Number] asc"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "Company_Code": "CCD",
                      "Vendor_Code": "      A123",
                      "Invoice_Number": "                A103",
                      "Invoice_Type_Code": "I",
                      "Payment_Number": "  1",
                      "Check_Number": "000049",
                      "Tran_Number": "",
                      "Check_Date": "2023-10-20 00:00:00.000",
                      "Payment_Amount": "10.00",
                      "Subcontract_Job": "",
                      "Remarks": "Applied $20 discount afterward",
                      "Original_Invoice_Amount": "4783.75",
                      "Original_Retention_Amount": ".00",
                      "Invoice_and_Due_Date1": "2017-05-15 00:00:00.000",
                      "Invoice_and_Due_Date2": "2023-08-28 00:00:00.000",
                      "Retention_Paid": ".00",
                      "Discount_Taken": "20.00",
                      "Contract_Number": "",
                      "Trans_Date": "2020-03-03 00:00:00.000",
                      "Bank_Account_Code": "2165",
                      "Cost_Center": "1010",
                      "Check_Date_Year": "2023",
                      "Check_Date_Period": "10",
                      "Comdata_Temp_Credit_Card": "",
                      "Subcontract_Payment_Number": "",
                      "Back_Charge_Subcontract": "",
                      "Pay_Loc_Code": "",
                      "Payment_Type": "",
                      "Remarks_List1": "",
                      "Remarks_List2": "",
                      "Remarks_List3": "",
                      "Bank_Account_Type": "C",
                      "Bank_Account_GL_Account": "2165",
                      "PO_Number": "",
                      "Invoice_Remarks": "Applied $20 discount afterward"
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "ApPayment-12": {
        "allOf": [
          {
            "$ref": "#/components/schemas/ApPayment"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The SQL path on the Source System.",
                    "example": "Select * from [APPH] where [APPH].[ARCo] = {Company}"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {}
                  }
                }
              }
            }
          }
        ]
      },
      "NewApPaymentLineItem": {
        "type": "object",
        "properties": {
          "description": {
            "type": "string",
            "description": "A description of the AP Payment Line Item.",
            "example": "Concrete pour in January"
          },
          "retention_amount": {
            "allOf": [
              {
                "$ref": "#/components/schemas/MoneyProperty"
              },
              {
                "description": "The total monetary retention amount of the Line Item."
              },
              {
                "example": "10.00"
              }
            ]
          },
          "total_amount": {
            "allOf": [
              {
                "$ref": "#/components/schemas/MoneyProperty"
              },
              {
                "description": "The total monetary amount of the Line Item, including tax."
              },
              {
                "example": "100.00"
              }
            ]
          }
        }
      },
      "NewApPayment": {
        "type": "object",
        "required": [
          "description",
          "number",
          "source_data",
          "total_amount"
        ],
        "properties": {
          "description": {
            "type": "string",
            "description": "A description of the AP Payment.",
            "example": "Partial payment for January AP invoice."
          },
          "line_items": {
            "type": "array",
            "description": "The line items for the AP Payment.",
            "items": {
              "$ref": "#/components/schemas/NewApPaymentLineItem"
            }
          },
          "number": {
            "type": "string",
            "description": "The number associated with the AP Payment.",
            "example": "A123"
          },
          "status": {
            "type": "string",
            "description": "The status of the AP Payment. Create operations will always write the value for this field as \"draft\".\n",
            "example": "paid",
            "enum": [
              "accepted",
              "approved",
              "draft",
              "paid",
              "pendingInput",
              "revise",
              "submitted"
            ]
          },
          "total_amount": {
            "type": "string",
            "description": "The total amount of the AP Payment, inclusive of tax.",
            "example": "100.00"
          },
          "source_data": {
            "type": "object",
            "properties": {
              "associationId": {
                "type": "string",
                "description": "The ID of the Contract or Main Contract that the payment is associated with. Note, this value can be retrieved from the \"source_id\" field in the [Prime Contracts](#tag--prime-contracts), [Purchase Orders](#tag--purchase-orders), or [Subcontracts](#tag--subcontracts) endpoints.",
                "example": "386be590-e56b-11ed-b389-df9da3ea2d1d"
              },
              "associationType": {
                "type": "string",
                "description": "The type of contract associated with this payment.",
                "example": "Contract",
                "enum": [
                  "Contract",
                  "MainContract"
                ]
              },
              "billingPeriodId": {
                "type": "string",
                "description": "The ID of the Billing Period associated with the Contract or Main Contract. Note, this value can be retrieved by calling Autodesk Build's [Billing Periods endpoint](https://aps.autodesk.com/en/docs/bim360-private/v1/reference/http/cost-billing-periods-GET/) using Agave's [passthrough endpoint](/agave-api/passthrough-requests).",
                "example": "386be590-e56b-11ed-b389-df9da3ea2d1d"
              }
            }
          }
        }
      },
      "NewApPaymentLineItem-2": {
        "type": "object",
        "required": [
          "ap_invoice_id",
          "total_amount"
        ],
        "properties": {
          "ap_invoice_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [AP Invoice](#tag--ap-invoices) for the Line Item."
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          },
          "total_amount": {
            "allOf": [
              {
                "$ref": "#/components/schemas/MoneyProperty"
              },
              {
                "description": "The total monetary amount of the Line Item, including tax."
              },
              {
                "example": "100.00"
              }
            ]
          }
        }
      },
      "NewApPayment-2": {
        "type": "object",
        "required": [
          "contract",
          "line_items"
        ],
        "properties": {
          "contract": {
            "type": "object",
            "description": "The Contract (i.e. Purchase Order or Subcontract) associated with the AP Payment.",
            "properties": {
              "id": {
                "allOf": [
                  {
                    "description": "The UUID of the Contract (i.e. Purchase Order or Subcontract) assigned by Agave."
                  },
                  {
                    "$ref": "#/components/schemas/IdPropertyReadOnly"
                  }
                ]
              },
              "type": {
                "type": "string",
                "description": "The type of Contract associated with the AP Payment.",
                "example": "subcontract",
                "enum": [
                  "purchase_order",
                  "subcontract"
                ]
              }
            }
          },
          "description": {
            "type": "string",
            "description": "A description of the AP Payment.",
            "example": "Partial payment for January AP invoice."
          },
          "line_items": {
            "type": "array",
            "description": "The line items for the AP Payment.",
            "items": {
              "$ref": "#/components/schemas/NewApPaymentLineItem-2"
            }
          },
          "number": {
            "type": "string",
            "description": "The number associated with the AP Payment. \n",
            "example": "A123"
          },
          "payment_date": {
            "allOf": [
              {
                "description": "The date of the AP Payment."
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ]
          },
          "payment_method": {
            "type": "string",
            "description": "The method of the AP Payment. \n",
            "example": "Check",
            "enum": [
              "Check",
              "Credit Card",
              "Electronic"
            ]
          }
        }
      },
      "NewApPaymentLineItem-3": {
        "type": "object",
        "required": [
          "ap_invoice_id",
          "total_amount"
        ],
        "properties": {
          "ap_invoice_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [AP Invoice](#tag--ap-invoices) for the Line Item."
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          },
          "discount_taken_amount": {
            "allOf": [
              {
                "$ref": "#/components/schemas/MoneyProperty"
              },
              {
                "description": "The amount of discount taken with the Line Item."
              },
              {
                "example": "10.00"
              }
            ]
          },
          "total_amount": {
            "allOf": [
              {
                "$ref": "#/components/schemas/MoneyProperty"
              },
              {
                "description": "The total monetary amount of the Line Item, including tax. Note, if the value submitted for this field exceeds the `amount_due` on the [AP Invoice](#tag--ap-invoices), the value will return the `amount_due`."
              },
              {
                "example": "100.00"
              }
            ]
          }
        }
      },
      "NewApPayment-3": {
        "type": "object",
        "required": [
          "bank_account_id",
          "line_items",
          "payment_method",
          "vendor_id"
        ],
        "properties": {
          "bank_account_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Bank Account](#tag--bank-accounts) from which you are drawing money to pay the AP Payment.\n\n**Note for QuickBooks Desktop:** you must use a [Bank Account](#tag--bank-accounts) that has a type of \"Bank\" when `payment_method` is set to \"Check\", or \"CreditCard\" when `payment_method` is set to \"CreditCardCharge\" or \"CreditCardCredit\".\n"
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          },
          "description": {
            "type": "string",
            "description": "A description of the AP Payment.",
            "example": "Partial payment for January AP invoice."
          },
          "ledger_account_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Ledger Account](#tag--ledger-accounts) for the AP Payment."
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          },
          "line_items": {
            "type": "array",
            "description": "The line items for the AP Payment.",
            "items": {
              "$ref": "#/components/schemas/NewApPaymentLineItem-3"
            }
          },
          "number": {
            "type": "string",
            "description": "The number associated with the AP Payment. \n\n**Note for QuickBooks Desktop**: this field is requried if the `payment_method` is set to \"Check\". If the AP Payment is an ACH, use \"ACH\" as the value for this field and set the `payment_method` to \"Check\".\n",
            "example": "A123"
          },
          "payment_date": {
            "allOf": [
              {
                "description": "The date of the AP Payment."
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ]
          },
          "payment_method": {
            "type": "string",
            "description": "The method of the AP Payment. \n",
            "example": "Check",
            "enum": [
              "Check",
              "CreditCardCharge",
              "CreditCardCredit"
            ]
          },
          "vendor_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Vendor](#tag--vendors)."
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          }
        }
      },
      "NewApPayment-4": {
        "type": "object",
        "required": [
          "bank_account_id",
          "line_items",
          "payment_method",
          "vendor_id"
        ],
        "properties": {
          "bank_account_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Bank Account](#tag--bank-accounts) from which you are drawing money to pay the AP Payment.\n\n**Note for QuickBooks Online:** you must use a [Bank Account](#tag--bank-accounts) that has a type of \"Bank\" when `payment_method` is set to \"Check\", or \"CreditCard\" when `payment_method` \"CreditCard\"\n"
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          },
          "description": {
            "type": "string",
            "description": "A description of the AP Payment.",
            "example": "Partial payment for January AP invoice."
          },
          "line_items": {
            "type": "array",
            "description": "The line items for the AP Payment.",
            "items": {
              "$ref": "#/components/schemas/NewApPaymentLineItem-2"
            }
          },
          "number": {
            "type": "string",
            "description": "The number associated with the AP Payment. \n\n**Note for QuickBooks DOnline**: this field is requried if the `payment_method` is set to \"Check\". If the AP Payment is an ACH, use \"ACH\" as the value for this field and set the `payment_method` to \"Check\".\n",
            "example": "A123"
          },
          "payment_date": {
            "allOf": [
              {
                "description": "The date of the AP Payment."
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ]
          },
          "payment_method": {
            "type": "string",
            "description": "The method of the AP Payment. \n",
            "example": "Check",
            "enum": [
              "Check",
              "CreditCard"
            ]
          },
          "vendor_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Vendor](#tag--vendors)."
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          }
        }
      },
      "NewApPaymentLineItem-4": {
        "required": [
          "ap_invoice_id",
          "total_amount"
        ],
        "type": "object",
        "properties": {
          "ap_invoice_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [AP Invoice](#tag--ap-invoices) for the Line Item."
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          },
          "discount_taken_amount": {
            "allOf": [
              {
                "$ref": "#/components/schemas/MoneyProperty"
              },
              {
                "description": "The amount of discount taken with the Line Item."
              },
              {
                "example": "5.00"
              }
            ]
          },
          "total_amount": {
            "allOf": [
              {
                "$ref": "#/components/schemas/MoneyProperty"
              },
              {
                "description": "The total monetary amount of the Line Item, including tax."
              },
              {
                "example": "100.00"
              }
            ]
          }
        }
      },
      "NewApPayment-5": {
        "required": [
          "bank_account_id",
          "line_items",
          "number",
          "payment_date",
          "payment_method",
          "vendor_id"
        ],
        "type": "object",
        "properties": {
          "bank_account_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Bank Account](#tag--bank-accounts) from which you are drawing money to pay the AP Payment.\n\n**Note for Sage 100C**: if the `payment_method` is set to \"ACH\" or \"Check\", the Bank Account must have a `type` of \"Bank\". If the `payment_method` is set to \"Credit Card\", the Bank Account must have a type of \"Credit Card\".\n"
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          },
          "description": {
            "type": "string",
            "description": "A description of the AP Payment.",
            "example": "Partial payment for January AP invoice"
          },
          "line_items": {
            "type": "array",
            "description": "The line items for the AP Payment.",
            "items": {
              "$ref": "#/components/schemas/NewApPaymentLineItem-4"
            }
          },
          "number": {
            "type": "string",
            "description": "The number associated with the AP Payment.",
            "example": "A123"
          },
          "payment_date": {
            "allOf": [
              {
                "description": "The date of the AP Payment."
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ]
          },
          "payment_method": {
            "type": "string",
            "description": "The method of the AP Payment. \n",
            "example": "Check",
            "enum": [
              "ACH",
              "Check",
              "Credit Card"
            ]
          },
          "vendor_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Vendor](#tag--vendors)."
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          }
        }
      },
      "NewApPaymentLineItem-5": {
        "required": [
          "ap_invoice_id",
          "ap_invoice_line_item_id",
          "total_amount"
        ],
        "type": "object",
        "properties": {
          "ap_invoice_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [AP Invoice](#tag--ap-invoices) for the Line Item."
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          },
          "ap_invoice_line_item_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [AP Invoice Line Item](#tag--ap-invoices) for the Line Item."
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          },
          "discount_taken_amount": {
            "allOf": [
              {
                "$ref": "#/components/schemas/MoneyProperty"
              },
              {
                "description": "The amount of discount taken with the Line Item."
              },
              {
                "example": "5.00"
              }
            ]
          },
          "tax_amount": {
            "allOf": [
              {
                "$ref": "#/components/schemas/MoneyProperty"
              },
              {
                "description": "The tax monetary amount of the Line Item, including tax."
              },
              {
                "example": "10.00"
              }
            ]
          },
          "total_amount": {
            "allOf": [
              {
                "$ref": "#/components/schemas/MoneyProperty"
              },
              {
                "description": "The total monetary amount of the Line Item, including tax."
              },
              {
                "example": "100.00"
              }
            ]
          }
        }
      },
      "NewApPayment-6": {
        "required": [
          "line_items",
          "number",
          "payment_date",
          "payment_method",
          "status",
          "vendor_id"
        ],
        "type": "object",
        "properties": {
          "bank_account_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Bank Account](#tag--bank-accounts) from which you are drawing money to pay the AP Payment."
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          },
          "line_items": {
            "type": "array",
            "description": "The line items for the AP Payment.",
            "items": {
              "$ref": "#/components/schemas/NewApPaymentLineItem-5"
            }
          },
          "number": {
            "type": "string",
            "description": "The number associated with the AP Payment.",
            "example": "A123"
          },
          "payment_date": {
            "allOf": [
              {
                "description": "The date of the AP Payment."
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ]
          },
          "payment_method": {
            "type": "string",
            "description": "The method of the AP Payment. \n\n**Note for Viewpoint Vista:** only \"Check\" and \"EFT\" are supported.\n",
            "example": "Check",
            "enum": [
              "Check",
              "EFT"
            ]
          },
          "status": {
            "type": "string",
            "description": "The status of the AP Payment. \n\n**Note for Viewpoint Vista:** only \"Initialized\" is supported for write requests.\n",
            "example": "Initialized",
            "enum": [
              "Initialized"
            ]
          },
          "vendor_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Vendor](#tag--vendors)."
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          }
        }
      },
      "ApPaymentLineItem-2": {
        "allOf": [
          {
            "$ref": "#/components/schemas/ApPaymentLineItem"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "https://developer.api.autodesk.com/cost/v1/containers/{Container_Id}/payments/{Payment_Id}/items"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "realizedGainOrLoss": null,
                      "id": "12345",
                      "containerId": "12345",
                      "paymentId": "12345",
                      "parentId": null,
                      "budgetId": "12345",
                      "number": null,
                      "name": "Concrete pour in January",
                      "description": null,
                      "associationId": "12345",
                      "associationType": "SOV",
                      "originalQuantity": 10,
                      "originalUnitPrice": "10.00000000",
                      "originalAmount": "100.0000",
                      "quantity": 10,
                      "unitPrice": "10.00000000",
                      "unit": "ea",
                      "amount": "100.0000",
                      "claimedQuantity": null,
                      "claimedUnitPrice": null,
                      "claimedAmount": null,
                      "materialsOnStoreQuantity": 1,
                      "materialsOnStoreUnit": "ea",
                      "materialsOnStoreUnitPrice": null,
                      "materialsOnStore": null,
                      "materialsBilledQuantity": null,
                      "materialsBilledUnit": null,
                      "materialsBilledUnitPrice": null,
                      "materialsBilled": null,
                      "previousMaterialsBilled": null,
                      "previousPaymentItemId": null,
                      "previousQuantity": 0,
                      "previousUnitPrice": null,
                      "previousAmount": null,
                      "previousClaimedQuantity": null,
                      "previousClaimedUnitPrice": null,
                      "previousClaimedAmount": null,
                      "previousMaterialsOnStore": null,
                      "completedWorkRetentionPercent": 0.1,
                      "materialsOnStoreRetentionPercent": 0,
                      "completedWorkReleased": null,
                      "materialsOnStoreReleased": null,
                      "netAmount": null,
                      "isPrivate": false,
                      "status": null,
                      "exchangeRate": "1.00000000",
                      "originalExchangeRate": "1.00000000",
                      "previousExchangeRate": "1.00000000",
                      "previousAmountForeignCurrency": null,
                      "previousClaimedAmountForeignCurrency": null,
                      "previousMaterialsBilledCurrency": null,
                      "netAmountForeignCurrency": null,
                      "creatorId": "12345",
                      "changedBy": "12345",
                      "aggregateBy": null,
                      "lastReviewedBy": null,
                      "createdAt": "2022-01-01T00:00:00.000Z",
                      "updatedAt": "2022-01-01T00:00:00.000Z",
                      "deletedAt": null
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "ApPaymentLineItem-3": {
        "allOf": [
          {
            "$ref": "#/components/schemas/ApPaymentLineItem"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "{{server}}/{{environemnt}}/ap-rest-api/rest/1/apallvouchers"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "VdistVouNum": 12345,
                      "VdistLineNum": 1,
                      "VdistBchNum": 12345,
                      "VdistPostDate": "2022-01-00T00:00:00-00:00",
                      "VdistAccTypeCode": "P",
                      "VdistCompCode": "12345",
                      "VdistDeptCode": "12345",
                      "VdistAccCode": "12345",
                      "VdistAmt": 100,
                      "VdistFuncAmt": 100,
                      "VdistLocAmt": 100,
                      "VdistPoNum": null,
                      "VdistPoLineNum": null,
                      "VdistItmCode": null,
                      "VdistQty": null,
                      "VdistWmCode": "NA",
                      "VdistCurrCode": "USD",
                      "VdistSourceCode": null,
                      "VdistPoPrtCode": null,
                      "VdistTypeCode": "G",
                      "VdistJobCode": null,
                      "VdistJobCtrlCode": null,
                      "VdistPhsCode": null,
                      "VdistPhsCtrlCode": null,
                      "VdistCatCode": null,
                      "VdistCatCtrlCode": null,
                      "VdistEqpCode": null,
                      "VdistEcstCode": null,
                      "VdistContCode": null,
                      "VdistChgCode": null,
                      "VdistWbsvCode1": null,
                      "VdistWbsvCode2": null,
                      "VdistWbsvCode3": null,
                      "VdistWbsvCode4": null,
                      "VdistWbsvCode5": null,
                      "VdistWbsvCode6": null,
                      "VdistWbsvCode7": null,
                      "VdistWbsvCode8": null,
                      "VdistWbsvCode9": null,
                      "VdistWbsvCode10": null,
                      "VdistWbsvCode11": null,
                      "VdistWbsvCode12": null,
                      "VdistGlWmconvNum": null,
                      "VdistApplCode": "AP",
                      "VdistPmCode": null,
                      "VdistPoReleaseNum": null,
                      "VdistSubcontrCode": null,
                      "VdistComponCode": null,
                      "VdistTrancodeCode": null,
                      "VouComponCode": null,
                      "VouTrancodeCode": null,
                      "VdistTavCode1": null,
                      "VdistTavCode2": null,
                      "VdistTavCode3": null,
                      "VdistTavCode4": null,
                      "VdistDebitAmt": null,
                      "VdistCreditAmt": 100,
                      "VdistDesc": null,
                      "VdistShipOraseq": null,
                      "VdistShipLine": null,
                      "VdistMsaOraseq": null,
                      "VdistUserTypeCode": null,
                      "VdistUserField1": null,
                      "VdistUserField2": null,
                      "VdistUserField3": null,
                      "VdistUserField4": null,
                      "VdistUserField5": null,
                      "VdistUserField6": null,
                      "VdistUserField7": null,
                      "VdistUserField8": null,
                      "VdistScschOraseq": null,
                      "VdistApexpCode": null,
                      "VdistOverrideBillRate": null,
                      "VdistOverrideBillAmt": null,
                      "VdistOverrideTradeCode": null,
                      "VdistWoCode": null,
                      "VdistWitmLineNumber": null,
                      "VdistExpCode": null,
                      "VdistWDetailCode": null,
                      "VdistHldbkAmt": null,
                      "VdistHldbkRlsAmt": null,
                      "VdistEntryTypeCode": null,
                      "VdistDesc2": null,
                      "VdistIuCreateDate": "2022-01-00T00:00:00-00:00",
                      "VdistIuCreateUser": "BILL",
                      "VdistIuUpdateDate": "2022-01-00T00:00:00-00:00",
                      "VdistIuUpdateUser": "BILL",
                      "VdistMatchingBchNum": null,
                      "VdistSrcDesc": null,
                      "VdistRefDate": null,
                      "VdistRefCode": null,
                      "VdistCn": null,
                      "VdistSrcCode": null,
                      "VdistOrigBchNum": null,
                      "VdistWbsvPciLineOraseq": null,
                      "VdistOrgVouNum": null
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "APPaymentLineItem": {
        "type": "object",
        "properties": {
          "id": {
            "allOf": [
              {
                "description": "The UUID of the Line Item assigned by Agave."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "source_id": {
            "type": "string",
            "readOnly": true,
            "example": "12345",
            "description": "The ID of the Line Item in the Source System."
          },
          "ap_invoice_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [AP Invoice](#tag--ap-invoices) for the Line Item."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "ap_invoice_line_item_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [AP Invoice Line Item](#tag--ap-invoices) for the Line Item."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "description": {
            "type": "string",
            "description": "A description of the AP Payment Line Item.",
            "example": "Concrete pour in January"
          },
          "discount_taken_amount": {
            "allOf": [
              {
                "$ref": "#/components/schemas/MoneyProperty"
              },
              {
                "description": "The amount of discount taken with the Line Item."
              },
              {
                "example": "100.00"
              }
            ]
          },
          "retention_amount": {
            "allOf": [
              {
                "$ref": "#/components/schemas/MoneyProperty"
              },
              {
                "description": "The total monetary retention amount of the Line Item."
              },
              {
                "example": "10.00"
              }
            ]
          },
          "total_amount": {
            "allOf": [
              {
                "$ref": "#/components/schemas/MoneyProperty"
              },
              {
                "description": "The total monetary amount of the Line Item, including tax."
              },
              {
                "example": "100.00"
              }
            ]
          },
          "type": {
            "type": "string",
            "description": "The type of Line Item.\n\n**Note for Sage 300CRE**: valid values include \"Regular\" and \"Tax\".\n",
            "example": "Regular"
          },
          "source_create_time": {
            "allOf": [
              {
                "description": "The datetime the Line Item was created in the Source System."
              },
              {
                "$ref": "#/components/schemas/DateTimeProperty"
              }
            ]
          },
          "source_update_time": {
            "allOf": [
              {
                "description": "The datetime the Line Item was last updated in the Source System."
              },
              {
                "$ref": "#/components/schemas/DateTimeProperty"
              }
            ]
          }
        }
      },
      "ApPaymentLineItem-4": {
        "allOf": [
          {
            "$ref": "#/components/schemas/APPaymentLineItem"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The database query for the Source System.",
                    "example": "select * from [ap_pmt_vch]"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "company_no": 1,
                      "gl_cash": "1015",
                      "transaction_no": 103,
                      "void_flag": "N",
                      "voucher_no": 471,
                      "line_no": 1,
                      "type": "R",
                      "cash_amount": "75.00",
                      "discount_amount": ".00",
                      "retainage_amount": ".00",
                      "ap_amount": "75.00",
                      "tax_no": null,
                      "tax_base_paid": ".00",
                      "record_status": "A",
                      "row_modified_by": "12345",
                      "row_modified_on": "2022-01-01 00:00:00.000",
                      "row_unique_id": 2,
                      "company_id": "1",
                      "line_id": "1",
                      "tax_id": null,
                      "transaction_id": "103",
                      "voucher_id": "471",
                      "prepaid_flag": "Y"
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "ApPaymentLineItem-5": {
        "allOf": [
          {
            "$ref": "#/components/schemas/ApPaymentLineItem"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "https://api.procore.com/rest/v1.0/payments"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "id": 12345,
                      "amount": "100.0",
                      "check_number": "A123",
                      "created_at": "2022-01-01T00:00:00Z",
                      "date": "2022-01-01",
                      "draw_request_number": null,
                      "invoice_number": "12345",
                      "requisition_id": 12345,
                      "payment_number": "A123",
                      "payment_method": "check",
                      "project_id": 12345,
                      "status": "paid",
                      "attachments": []
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "ApPaymentLineItem-6": {
        "allOf": [
          {
            "$ref": "#/components/schemas/ApPaymentLineItem"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "BillQueryRq"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "TxnID": "12345",
                      "TxnType": "Bill",
                      "TxnDate": "2022-01-01",
                      "RefNumber": "12345",
                      "BalanceRemaining": "50.00",
                      "Amount": "100.00"
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "ApPaymentLineItem-7": {
        "allOf": [
          {
            "$ref": "#/components/schemas/ApPaymentLineItem"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "https://quickbooks.api.intuit.com/v3/company/{companyId}/query"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "TxnID": "12345",
                      "TxnType": "Bill",
                      "TxnDate": "2022-01-01",
                      "RefNumber": "12345",
                      "BalanceRemaining": "50.00",
                      "Amount": "100.00"
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "ApPaymentLineItem-8": {
        "allOf": [
          {
            "$ref": "#/components/schemas/ApPaymentLineItem"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The SQL path on the Source System.",
                    "example": "select * from [apipyl]"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "_idnum": "12345AD1-407C-EE11-8424-1213C2B0AF47",
                      "_idref": "12345AD1-407C-EE11-8424-1213C2B0AF47",
                      "recnum": "1",
                      "invrec": "12345",
                      "amount": "100.00",
                      "dsctkn": ".00",
                      "insdte": "2022-01-01T00:00:00.-000Z",
                      "insusr": "John-Doe",
                      "upddte": null,
                      "updusr": null
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "ApPaymentLineItem-9": {
        "allOf": [
          {
            "$ref": "#/components/schemas/APPaymentLineItem"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The SQL path on the Source System.",
                    "example": "select * from [MASTER_APM_RECORD_6]"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "PIVND": "104",
                      "PIINV": "23131",
                      "PIPMTID": 1,
                      "PIDESC": "Company liability insurance",
                      "PIPTYPE": "Check",
                      "PIBANK": "First",
                      "PICHECK": 24353,
                      "PIAMTPD": 9350.03,
                      "PITAXPD": 0,
                      "PIDSCT": 0,
                      "PIDSCL": 0,
                      "PIRETH": 0,
                      "PIRETPD": 0,
                      "PIMDEDA": 0,
                      "PIPPSD": 0,
                      "PIPDOPN": "1",
                      "PIPJRN": 11,
                      "PIMEMO": "",
                      "PIOSTMP": "",
                      "PIDSTMP": "2022-01-01",
                      "PITSTMP": "15:56:15",
                      "PIRWID": "12345b4b-ee3f-e711-8bef-0019b9211094",
                      "PIRWVR": "1234595375"
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "ApPaymentLineItem-10": {
        "allOf": [
          {
            "$ref": "#/components/schemas/APPaymentLineItem"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "https://api.intacct.com/ia/xml/xmlgw.phtml"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "RECORDNO": "8",
                      "RECORDKEY": "304",
                      "ENTRYKEY": "1154",
                      "DISCOUNTAMOUNT": null,
                      "TRX_PAYMENTAMOUNT": "500",
                      "POSADJKEY": null,
                      "POSADJENTRYKEY": null,
                      "PAYMENTKEY": "305",
                      "PAYMENTENTRYKEY": "1156",
                      "PAYMENTDATE": "10/01/2023",
                      "PAYMENTAMOUNT": "500",
                      "INLINEKEY": null,
                      "INLINEENTRYKEY": null,
                      "INLINEAMOUNT": null,
                      "TRX_INLINEAMOUNT": null,
                      "DISCOUNTKEY": null,
                      "DISCOUNTENTRYKEY": null,
                      "DISCOUNTDATE": null,
                      "TRX_DISCOUNTAMOUNT": null,
                      "ADJUSTMENTKEY": null,
                      "ADJUSTMENTENTRYKEY": null,
                      "ADJUSTMENTAMOUNT": null,
                      "TRX_ADJUSTMENTAMOUNT": null,
                      "ADVANCEKEY": null,
                      "ADVANCEENTRYKEY": null,
                      "POSTEDADVANCEKEY": null,
                      "POSTEDADVANCEENTRYKEY": null,
                      "POSTEDADVANCEAMOUNT": null,
                      "TRX_POSTEDADVANCEAMOUNT": null,
                      "CURRENCY": "USD",
                      "STATE": "D",
                      "MODULEKEY": "3.AP",
                      "WHENCREATED": "10/01/2023 17:29:09",
                      "WHENMODIFIED": "10/01/2023 17:29:09",
                      "CREATEDBY": "7",
                      "MODIFIEDBY": "7",
                      "EXCHGAINLOSSKEY": null,
                      "EXCHGAINLOSSENTRYKEY": null,
                      "EXCHGAINLOSSAMOUNT": null,
                      "EXCHGAINLOSSPARENTPYMTKEY": null
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "ApPaymentLineItem-11": {
        "allOf": [
          {
            "$ref": "#/components/schemas/ApPaymentLineItem"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The SQL path on the Source System.",
                    "example": null
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {}
                  }
                }
              }
            }
          }
        ]
      },
      "NewApPayment-7": {
        "type": "object",
        "properties": {
          "bank_account_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the Bank Account from which you are drawing money to pay the AP Payment."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "description": {
            "type": "string",
            "description": "A description of the AP Payment.",
            "example": "Partial payment for January AP invoice."
          },
          "ledger_account_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Ledger Account](#tag--ledger-accounts) for the AP Payment."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "line_items": {
            "type": "array",
            "description": "The line items for the AP Payment.",
            "items": {
              "$ref": "#/components/schemas/ApPaymentLineItem"
            }
          },
          "number": {
            "type": "string",
            "description": "The number associated with the AP Payment.",
            "example": "A123"
          },
          "payment_date": {
            "allOf": [
              {
                "description": "The date of the AP Payment."
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ]
          },
          "payment_method": {
            "type": "string",
            "description": "The method of the AP Payment. \n\n**Note for QuickBooks Desktop:** valid values include \"Check\" and \"CreditCard\".\n\n**Note for Viewpoint Vista:** valid values include \"Check\", \"Credit Service\", \"EFT\", and \"Viewpoint ePayments\".\n",
            "example": "Check"
          },
          "status": {
            "type": "string",
            "description": "The status of the AP Payment. \n\n**Note for QuickBooks Desktop:** the only value for this field is \"Paid\". \n\n**Note for Viewpoint Vista:** only \"Initialized\" and \"Posted\" AP Payments are returned. \n",
            "example": "Posted"
          },
          "tax_amount": {
            "type": "string",
            "description": "The total tax amount for the AP Payment.",
            "example": "10.00"
          },
          "total_amount": {
            "type": "string",
            "description": "The total amount of the AP Payment, inclusive of tax.",
            "example": "100.00"
          },
          "vendor_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Vendor](#tag--vendors)."
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          }
        }
      },
      "ArInvoiceLineItem": {
        "type": "object",
        "properties": {
          "id": {
            "allOf": [
              {
                "description": "The UUID of the Line Item assigned by Agave."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "source_id": {
            "type": "string",
            "readOnly": true,
            "example": "12345",
            "description": "The ID of the Line Item in the Source System."
          },
          "amount": {
            "type": "string",
            "description": "The total monetary amount of the Line Item, including tax.\n\n**Note for Sage 100 Contractor**: For type=\"Progress Bill\", this is equal to Current Work Completed + Current Work Stored.\n",
            "example": "100.00"
          },
          "cost_code_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Cost Code](#tag--cost-codes) for the Line Item."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ],
            "type": "string"
          },
          "description": {
            "type": "string",
            "description": "A description of the Line Item.",
            "example": "Two tons of cement."
          },
          "item_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Item](#tag--items) for the Line Item."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "ledger_account_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Ledger Account](#tag--ledger-accounts) for the Line Item."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "prime_contract_line_item_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Prime Contract Line Item](#tag--prime-contracts)."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "quantity": {
            "type": "string",
            "description": "The estimated quantity of the unit in the Line Item.",
            "example": "2.0"
          },
          "retention_amount": {
            "type": "string",
            "description": "The retention amount of the Line Item.",
            "example": "10.00"
          },
          "retention_percent": {
            "type": "string",
            "description": "The retention percent of the Line Item.",
            "example": "10.00"
          },
          "sub_job_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Sub Job](#tag--sub-jobs) for the Line Item."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "type": {
            "type": "string",
            "description": "The type of the Line Item.\n\n**Note for ComputerEase**: valid values include \"Item\" and \"Job Distribution\".\n\n**Note for Foundation**: valid values for AIA Billing AR Invoices include \"Change Order\" and \"Original\". For AR Invoices, they include \"General Ledger\" and \"Job Cost\".\n\n**Note for Sage 300 CRE**: valid values include\n  - Add-on: distributions entered with this amount type are applied to the add-on section of the invoice. The add-on section applies additional charges and deductions to the billed total.\n  - Deduction: distributions entered with this amount type are subtracted from the billed total.\n  - Equipment: distributions entered with this amount type are accumulated in the Equipment section of the invoice.\n  - Labor: distributions entered with this amount type are accumulated in the Labor section of the invoice.\n  - Material: distributions entered with this amount type are accumulated in the Material section of the invoice.\n  - Other: distributions entered with this amount type are accumulated in the Other (miscellaneous) section of the invoice.\n  - Overhead: distributions entered with this amount type are accumulated in the Overhead section of the invoice.\n  - Subcontract: distributions entered with this amount type are accumulated in the Subcontract section of the invoice.\n  - Tax: distributions entered with this amount type are applied to the tax section of the invoice and included on all tax reporting.\n  - Total billed: distributions entered with this amount type are applied to the billed total (or the sum of all cost types-labor, material, subcontract, equipment, overhead, and other).\n\n**Note for Sage Intacct**: valid values for Project Contract AR Invoices include \"Price\" and \"Quantity\".\n\n**Note for ServiceTitan**: valid values for these include \"Equipment\", \"Material\", \"Price Modifier\", \"Service\", and \"Unspecified\".\n\n**Note for Viewpoint Vista:** possible values include \"Material\", \"Contract\", or \"Other\".\n",
            "example": "Material"
          },
          "unit_of_measure": {
            "type": "string",
            "description": "The unit of measure of the Line Item.",
            "example": "Tons"
          },
          "unit_price": {
            "type": "string",
            "description": "The price of each unit associated with the Line Item.",
            "example": "50"
          },
          "source_create_time": {
            "allOf": [
              {
                "description": "The datetime the Line Item was created in the Source System."
              },
              {
                "$ref": "#/components/schemas/DateTimeProperty"
              }
            ]
          },
          "source_update_time": {
            "allOf": [
              {
                "description": "The datetime the Line Item was last updated in the Source System."
              },
              {
                "$ref": "#/components/schemas/DateTimeProperty"
              }
            ]
          }
        }
      },
      "ArInvoice": {
        "type": "object",
        "properties": {
          "id": {
            "allOf": [
              {
                "description": "The UUID of the AR Invoice assigned by Agave."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "source_id": {
            "type": "string",
            "readOnly": true,
            "example": "12345",
            "description": "The ID of the AR Invoice in the Source System."
          },
          "amount_due": {
            "type": "string",
            "description": "The amount remaining to be paid on the AR Invoice.\n\n**Note for Sage 100 Contractor**: This is equal to Current Work Completed + Current Work Stored - Current Completed Retention.\n",
            "example": "100.00"
          },
          "ar_payment_ids": {
            "type": "array",
            "description": "The UUIDs assigned by Agave of the [Accounts Receivable (AR) Payments](#tag--ar-payments).",
            "items": {
              "$ref": "#/components/schemas/IdPropertyReadOnly"
            }
          },
          "batch": {
            "type": "string",
            "description": "The batch the AR Invoice is associated with.",
            "example": "4"
          },
          "currency_code": {
            "type": "string",
            "description": "The code of the AR Invoice's currency. Valid values are ISO 4217 codes.",
            "example": "USD"
          },
          "customer_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Customer](#tag--customers)."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "description": {
            "type": "string",
            "description": "A description of the AR Invoice.",
            "example": "AR Invoice for concrete pour in January."
          },
          "discount_date": {
            "allOf": [
              {
                "description": "The discount date of the AR Invoice."
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ]
          },
          "due_date": {
            "allOf": [
              {
                "description": "The date when payment for the AR Invoice is due."
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ]
          },
          "issue_date": {
            "allOf": [
              {
                "description": "The date the AR Invoice was issued."
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ]
          },
          "line_items": {
            "description": "The line items for the AR Invoice.",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ArInvoiceLineItem"
            }
          },
          "number": {
            "type": "string",
            "description": "The number of the AR Invoice.",
            "example": "A123"
          },
          "prime_contract_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Prime Contract](#tag--prime-contracts)."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "project_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Project](#tag--projects)."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "retention_amount": {
            "type": "string",
            "description": "The total retention amount on the AR Invoice.",
            "example": "10.00"
          },
          "status": {
            "type": "string",
            "description": "The current status of the AR Invoice. Note, \"Pending\" means the AR Invoice has not been posted yet.\n\n**Note for most systems**: valid statuses include \"Allowed\": \"Pending\", \"Open\", \"Paid\", \"Voided\", and \"Unknown\".\n\n**Note for Acumatica**: default values include \"Credit Hold\", \"Pending Processing\", \"On Hold\", \"Balanced\", \"Voided\", \"Scheduled\", \"Open\", \"Closed\", \"Pending Print\", \"Pending Email\", \"Reserved\", \"Pending Approval\", \"Rejected\", and \"Canceled\".\n\n**Note for ComputerEase**: valid statuses include \"Pending\" and \"Posted\".\n\n**Note for Foundation**: valid statuses include \"Pending\" and \"Posted\".\n\n**Note for Sage 100C** valid statuses include:\n- For Receivable Invoices, \"Open\", \"Review\", \"Dispute\", \"Paid\", \"Void\"\n- For Service Invoices, \"Open\", \"Review\", \"Dispute\", \"Paid\", \"Void\", \"Quote\", \"Work Order\", \"Complete\", \"Route\", \"Contract\"\n- For Progress Billings, \"Open\", \"Submitted\", \"Posted\", \"Closed\", \"Void\"\n\n**Note for Sage 300 CRE**: valid statuses include \"Pending\", \"Posted\", and \"Void\".\n\n**Note for Sage Intacct**: valid statuses include:\n- For Project Contract AR Invoices, \"Closed\", \"Draft\", \"Exception\", \"Partially converted by Line\", and \"Pending\".\n- For Regular AR Invoices, \"Draft\", \"No Value\", \"Paid\", \"Partially Paid\", \"Posted\", \"Reversal\", \"Reversed\", and \"Selected\".\n\n**Note for ServiceTitan**: valid statuses include \"Exported\", \"Pending\", and \"Posted\".\n\n**Note for Viewpoint Spectrum and Vista**: the only valid values for Status are \"Pending\" and \"Posted\".\n",
            "example": "Pending"
          },
          "subtotal_amount": {
            "type": "string",
            "description": "The total amount of the AR Invoice excluding any taxes.",
            "example": "95.00"
          },
          "tax_amount": {
            "type": "string",
            "description": "The total tax amount for the AR Invoice.",
            "example": "5.00"
          },
          "total_amount": {
            "type": "string",
            "description": "The total amount of the AR Invoice, including tax.",
            "example": "100.00"
          },
          "type": {
            "type": "string",
            "description": "The type of AR Invoice. \n\n**Note for Acumatica**: valid values include \"Invoice\", \"Pro Forma\", \"Credit Memo\", and \"Credit WO\".\n\n**Note for ComputerEase**: valid values include \"Freeform Invoice and \"Retention\".\n\n**Note for Foundation**: valid values include \"Adjustment\", \"AIA Billing\", \"Percent\", \"Regular\", and \"Time and Materials\".\n\n**Note for Sage 100 Contractor**: valid values include \"Contract\", \"Memo\", \"Service\" and \"Progress Bill\".\n- \"Contract\": these are Receivable Invoices that affect the job balance.\n- \"Memo\": these are Receivable Invoices that do not affect the job billing.\n- \"Service\": these are Service Invoices in Sage 100 Contractor.\n- \"Progress Bill\": these are Progress Bills in Sage 100 Contractor\n\n**Note for Sage 300 CRE**: valid statuses include \"Adjustment\", \"Invoice\", \"Retainage released\", and \"Tax Retainage released\".\n\n**Note for Sage Intacct**: valid values include:\n- \"Project Contract\": these are Prime Contract-related AR Invoices created from the Order Entry module.\n- \"Regular\": these are AR Invoices creaed in the Accounts Receivable module. Note, all Project Contract AR Invoices will also appear here when they have a status of \"Posted\".\n\n**Note for Viewpoint Spectrum**: valid values include \"Invoice\" and \"Credit Memo\".\n\n**Note for Viewpoint Vista**: valid values include \"Adjustment\", \"Credit Memo\", \"Invoice\", \"Retention Release\", and \"Write Off\".\n",
            "example": "Regular"
          },
          "work_order_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Work Order](#tag--work-orders)."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "source_create_time": {
            "allOf": [
              {
                "description": "The datetime the AR Invoice was created in the Source System."
              },
              {
                "$ref": "#/components/schemas/DateTimeProperty"
              }
            ]
          },
          "source_update_time": {
            "allOf": [
              {
                "description": "The datetime the AR Invoice was last updated in the Source System."
              },
              {
                "$ref": "#/components/schemas/DateTimeProperty"
              }
            ]
          }
        }
      },
      "ArInvoice-2": {
        "allOf": [
          {
            "$ref": "#/components/schemas/ArInvoice"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "https://{{hostname}}/AcumaticaU100/entity/Default/20.200.001/Invoice"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "id": "2338e8b9-498e-ee11-8427-0e03bb6fbb09",
                      "rowNumber": 1,
                      "note": {
                        "value": ""
                      },
                      "Amount": {
                        "value": 95
                      },
                      "Balance": {
                        "value": 95
                      },
                      "BillingPrinted": {
                        "value": false
                      },
                      "BillToContactOverride": {
                        "value": false
                      },
                      "CreatedDateTime": {
                        "value": "2023-11-29T00:22:19.613+00:00"
                      },
                      "Customer": {
                        "value": "ABAKERY"
                      },
                      "CustomerOrder": [],
                      "Date": {
                        "value": "2022-01-01T00:00:00+00:00"
                      },
                      "Description": {
                        "value": "AR Invoice for concrete pour in January."
                      },
                      "Details": [
                        {
                          "id": "70db4af5-4c8e-ee11-8427-0e03bb6fbb09",
                          "rowNumber": 1,
                          "note": {
                            "value": ""
                          },
                          "Account": {
                            "value": "40000"
                          },
                          "Amount": {
                            "value": 90
                          },
                          "Branch": {
                            "value": "HEADOFFICE"
                          },
                          "CalculateDiscountsOnImport": [],
                          "CostCode": {
                            "value": "00000"
                          },
                          "DiscountAmount": {
                            "value": 0
                          },
                          "ExtendedPrice": {
                            "value": 100
                          },
                          "InventoryID": {
                            "value": "CONCRMX"
                          },
                          "LastModifiedDateTime": {
                            "value": "2023-11-29T00:22:59.957+00:00"
                          },
                          "LineNbr": {
                            "value": 1
                          },
                          "ProjectTask": {
                            "value": "CONCRETE"
                          },
                          "Qty": {
                            "value": 2
                          },
                          "TransactionDescription": {
                            "value": "Two tons of cement"
                          },
                          "UnitPrice": {
                            "value": 50
                          },
                          "UOM": {
                            "value": "EA"
                          },
                          "custom": [],
                          "_links": {
                            "files:put": "/AcumaticaU100/entity/Default/20.200.001/files/PX.Objects.AR.ARInvoiceEntry/Transactions/70db4af5-4c8e-ee11-8427-0e03bb6fbb09/{filename}"
                          }
                        }
                      ],
                      "DiscountDetails": [],
                      "DueDate": {
                        "value": "2022-01-31T00:00:00+00:00"
                      },
                      "Hold": {
                        "value": true
                      },
                      "IsTaxValid": [],
                      "LastModifiedDateTime": {
                        "value": "2023-11-29T01:53:31.19+00:00"
                      },
                      "LinkARAccount": {
                        "value": "11000"
                      },
                      "LinkBranch": {
                        "value": "HEADOFFICE"
                      },
                      "LocationID": {
                        "value": "MAIN"
                      },
                      "PostPeriod": {
                        "value": "012022"
                      },
                      "Project": {
                        "value": "BIGPROJECT"
                      },
                      "ReferenceNbr": {
                        "value": "000162"
                      },
                      "ShipToContactOverride": {
                        "value": false
                      },
                      "Status": {
                        "value": "On Hold"
                      },
                      "TaxTotal": {
                        "value": 5
                      },
                      "Terms": {
                        "value": "30D"
                      },
                      "Type": {
                        "value": "Invoice"
                      },
                      "custom": [],
                      "_links": {
                        "self": "/AcumaticaU100/entity/Default/20.200.001/Invoice/2338e8b9-498e-ee11-8427-0e03bb6fbb09",
                        "files:put": "/AcumaticaU100/entity/Default/20.200.001/files/PX.Objects.AR.ARInvoiceEntry/Document/2338e8b9-498e-ee11-8427-0e03bb6fbb09/{filename}"
                      }
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "ArInvoice-3": {
        "allOf": [
          {
            "$ref": "#/components/schemas/ArInvoice"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "https://developer.api.autodesk.com/cost/v1/containers/{Container_Id}/payments"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "id": "12345",
                      "containerId": "12345",
                      "billingPeriodId": "12345",
                      "associationId": "12345",
                      "associationType": "MainContract",
                      "startDate": "2022-01-01",
                      "endDate": "2022-01-01",
                      "dueDate": "2022-01-01",
                      "number": "A123",
                      "name": "Partial payment for January AP invoice",
                      "description": null,
                      "amount": "100.0000",
                      "previousAmount": null,
                      "approvedChangeOrders": 0,
                      "previousApprovedChangeOrders": null,
                      "originalAmount": "100.0000",
                      "contractAmount": "100.0000",
                      "materialsOnStore": null,
                      "previousMaterialsOnStore": null,
                      "materialsBilled": null,
                      "previousMaterialsBilled": null,
                      "previousMaterialsBilledCurrency": null,
                      "recipients": [],
                      "completedWorkRetention": "0.0000",
                      "materialsOnStoreRetention": "0.0000",
                      "previousRetention": null,
                      "netAmount": 0,
                      "netRetention": 0,
                      "netMaterialsOnStore": 0,
                      "status": "draft",
                      "note": null,
                      "createdAt": "2022-01-01T00:00:00.000Z",
                      "updatedAt": "2022-01-01T00:00:00.000Z",
                      "approvedAt": null,
                      "budgetPaymentId": null,
                      "calculatedAt": null,
                      "calculatedBy": null,
                      "companyId": "12345",
                      "contactId": null,
                      "creatorId": "12345",
                      "paidAt": null,
                      "forecastDistributionAt": null,
                      "submittedAt": null,
                      "mainContractId": "56fffd64-3d44-4ae6-99b4-4d20ae689607",
                      "integrationState": null,
                      "integrationStateChangedAt": null,
                      "integrationStateChangedBy": null,
                      "exchangeRate": "1.00000000",
                      "previousExchangeRate": "1.00000000",
                      "originalAmountForeignCurrency": "100.0000",
                      "contractAmountForeignCurrency": "100.0000",
                      "approvedChangeOrdersForeignCurrency": null,
                      "previousAmountForeignCurrency": null,
                      "previousApprovedChangeOrdersForeignCurrency": null,
                      "previousRetentionForeignCurrency": null,
                      "completedWorkRetentionForeignCurrency": "0.0000",
                      "netAmountForeignCurrency": null,
                      "claimedAmount": null,
                      "previousClaimedAmount": null,
                      "previousClaimedAmountForeignCurrency": null,
                      "properties": [],
                      "paymentItems": [
                        {
                          "realizedGainOrLoss": null,
                          "id": "12345",
                          "containerId": "12345",
                          "paymentId": "12345",
                          "parentId": null,
                          "budgetId": "12345",
                          "number": null,
                          "name": "Concrete pour in January",
                          "description": null,
                          "associationId": "12345",
                          "associationType": "SOV",
                          "originalQuantity": 10,
                          "originalUnitPrice": "10.00000000",
                          "originalAmount": "100.0000",
                          "quantity": 10,
                          "unitPrice": "10.00000000",
                          "unit": "ea",
                          "amount": "100.0000",
                          "claimedQuantity": null,
                          "claimedUnitPrice": null,
                          "claimedAmount": null,
                          "materialsOnStoreQuantity": 1,
                          "materialsOnStoreUnit": "ea",
                          "materialsOnStoreUnitPrice": null,
                          "materialsOnStore": null,
                          "materialsBilledQuantity": null,
                          "materialsBilledUnit": null,
                          "materialsBilledUnitPrice": null,
                          "materialsBilled": null,
                          "previousMaterialsBilled": null,
                          "previousPaymentItemId": null,
                          "previousQuantity": 0,
                          "previousUnitPrice": null,
                          "previousAmount": null,
                          "previousClaimedQuantity": null,
                          "previousClaimedUnitPrice": null,
                          "previousClaimedAmount": null,
                          "previousMaterialsOnStore": null,
                          "completedWorkRetentionPercent": 0.1,
                          "materialsOnStoreRetentionPercent": 0,
                          "completedWorkReleased": null,
                          "materialsOnStoreReleased": null,
                          "netAmount": null,
                          "isPrivate": false,
                          "status": null,
                          "exchangeRate": "1.00000000",
                          "originalExchangeRate": "1.00000000",
                          "previousExchangeRate": "1.00000000",
                          "previousAmountForeignCurrency": null,
                          "previousClaimedAmountForeignCurrency": null,
                          "previousMaterialsBilledCurrency": null,
                          "netAmountForeignCurrency": null,
                          "creatorId": "12345",
                          "changedBy": "12345",
                          "aggregateBy": null,
                          "lastReviewedBy": null,
                          "createdAt": "2022-01-01T00:00:00.000Z",
                          "updatedAt": "2022-01-01T00:00:00.000Z",
                          "deletedAt": null
                        }
                      ],
                      "aggregateBy": null,
                      "hasItemRejected": false,
                      "hasItemUnReviewed": true
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "ArInvoice-4": {
        "allOf": [
          {
            "$ref": "#/components/schemas/ArInvoice"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The database query for the Source System.",
                    "example": "select * from [ffinvoice]"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "cusnum": "AGAVE",
                      "cusname": "Agave Properties",
                      "cusaddr1": "123 Main Street",
                      "cusaddr2": "Anytown, CA 19703",
                      "cusaddr3": "",
                      "invnum": "355758",
                      "jobnum": "94128",
                      "jobname": "Integrity Properties",
                      "jobaddr1": "123 Main Street",
                      "jobaddr2": "Anytown, CA 19703",
                      "jobaddr3": "",
                      "jobaddr4": "",
                      "notes1": "",
                      "notes2": "",
                      "notes3": "",
                      "ponum": "",
                      "shipvia": "",
                      "taxnum": "CA",
                      "repnum": "PM",
                      "invdate": "2025-05-05",
                      "duedate": "2025-01-01",
                      "discdate": "2025-05-05",
                      "billfrom": null,
                      "billto": null,
                      "itemtotal": 143970.25,
                      "taxabletotal": 143970.25,
                      "salestax": 11517.62,
                      "tradediscamt": 0,
                      "tradediscpcnt": 0,
                      "financediscpcnt": 0,
                      "retamt": 5.55,
                      "retpcnt": 5.55,
                      "freightamt": 0,
                      "terms": 1,
                      "termsday": 0,
                      "type": 1,
                      "printedsw": 0,
                      "pricecode": 6,
                      "freighttype": 1,
                      "detailtype": 1,
                      "readjob": 2,
                      "blurb": "",
                      "shipdate": "2025-05-05",
                      "salesacct": "400.0",
                      "deptnum": "",
                      "nolookup": 0,
                      "billcycle": 0,
                      "deposit": 0,
                      "des": "Metz LLC",
                      "source": "",
                      "sourceid": "",
                      "retpcntisamt": 1,
                      "notesid": "",
                      "taxinfo": "",
                      "tmcode": "",
                      "phasenum": "",
                      "catnum": "",
                      "labormarkuppcnt": 0,
                      "materialmarkuppcnt": 0,
                      "servicesmarkuppcnt": 0,
                      "othermarkuppcnt": 0,
                      "txlabormarkupamt": 0,
                      "ntxlabormarkupamt": 0,
                      "txmaterialmarkupamt": 0,
                      "ntxmaterialmarkupamt": 0,
                      "txservicesmarkupamt": 0,
                      "ntxservicesmarkupamt": 0,
                      "txothermarkupamt": 0,
                      "ntxothermarkupamt": 0,
                      "sourceid2": ""
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "ARInvoice": {
        "type": "object",
        "properties": {
          "id": {
            "allOf": [
              {
                "description": "The UUID of the AR Invoice assigned by Agave."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "source_id": {
            "type": "string",
            "readOnly": true,
            "example": "12345",
            "description": "The ID of the AR Invoice in the Source System."
          },
          "amount_due": {
            "type": "string",
            "description": "The amount remaining to be paid on the AR Invoice.\n\n**Note for Sage 100 Contractor**: This is equal to Current Work Completed + Current Work Stored - Current Completed Retention.\n",
            "example": "100.00"
          },
          "ar_payment_ids": {
            "type": "array",
            "description": "The UUIDs assigned by Agave of the [Accounts Receivable (AR) Payments](#tag--ar-payments).",
            "items": {
              "$ref": "#/components/schemas/IdPropertyReadOnly"
            }
          },
          "batch": {
            "type": "string",
            "description": "The batch the AR Invoice is associated with.",
            "example": "4"
          },
          "currency_code": {
            "type": "string",
            "description": "The code of the AR Invoice's currency. Valid values are ISO 4217 codes.",
            "example": "USD"
          },
          "customer_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Customer](#tag--customers)."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "description": {
            "type": "string",
            "description": "A description of the AR Invoice.",
            "example": "AR Invoice for concrete pour in January."
          },
          "discount_date": {
            "allOf": [
              {
                "description": "The discount date of the AR Invoice."
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ]
          },
          "due_date": {
            "allOf": [
              {
                "description": "The date when payment for the AR Invoice is due."
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ]
          },
          "issue_date": {
            "allOf": [
              {
                "description": "The date the AR Invoice was issued."
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ]
          },
          "line_items": {
            "description": "The line items for the AR Invoice.",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ArInvoiceLineItem"
            }
          },
          "number": {
            "type": "string",
            "description": "The number of the AR Invoice.",
            "example": "A123"
          },
          "prime_contract_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Prime Contract](#tag--prime-contracts)."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "project_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Project](#tag--projects)."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "retention_amount": {
            "type": "string",
            "description": "The total retention amount on the AR Invoice.",
            "example": "10.00"
          },
          "status": {
            "type": "string",
            "description": "The current status of the AR Invoice. Note, \"Pending\" means the AR Invoice has not been posted yet.\n\n**Note for most systems**: valid statuses include \"Allowed\": \"Pending\", \"Open\", \"Paid\", \"Voided\", and \"Unknown\".\n\n**Note for Acumatica**: default values include \"Credit Hold\", \"Pending Processing\", \"On Hold\", \"Balanced\", \"Voided\", \"Scheduled\", \"Open\", \"Closed\", \"Pending Print\", \"Pending Email\", \"Reserved\", \"Pending Approval\", \"Rejected\", and \"Canceled\".\n\n**Note for ComputerEase**: valid statuses include \"Pending\" and \"Posted\".\n\n**Note for Foundation**: valid statuses include \"Pending\" and \"Posted\".\n\n**Note for Sage 100C** valid statuses include:\n- For Receivable Invoices, \"Open\", \"Review\", \"Dispute\", \"Paid\", \"Void\"\n- For Service Invoices, \"Open\", \"Review\", \"Dispute\", \"Paid\", \"Void\", \"Quote\", \"Work Order\", \"Complete\", \"Route\", \"Contract\"\n- For Progress Billings, \"Open\", \"Submitted\", \"Posted\", \"Closed\", \"Void\"\n\n**Note for Sage 300 CRE**: valid statuses include \"Pending\", \"Posted\", and \"Void\".\n\n**Note for Sage Intacct**: valid statuses include:\n- For Project Contract AR Invoices, \"Closed\", \"Draft\", \"Exception\", \"Partially converted by Line\", and \"Pending\".\n- For Regular AR Invoices, \"Draft\", \"No Value\", \"Paid\", \"Partially Paid\", \"Posted\", \"Reversal\", \"Reversed\", and \"Selected\".\n\n**Note for ServiceTitan**: valid statuses include \"Exported\", \"Pending\", and \"Posted\".\n\n**Note for Viewpoint Spectrum and Vista**: the only valid values for Status are \"Pending\" and \"Posted\".\n",
            "example": "Pending"
          },
          "subtotal_amount": {
            "type": "string",
            "description": "The total amount of the AR Invoice excluding any taxes.",
            "example": "95.00"
          },
          "tax_amount": {
            "type": "string",
            "description": "The total tax amount for the AR Invoice.",
            "example": "5.00"
          },
          "total_amount": {
            "type": "string",
            "description": "The total amount of the AR Invoice, including tax.",
            "example": "100.00"
          },
          "type": {
            "type": "string",
            "description": "The type of AR Invoice. \n\n**Note for Acumatica**: valid values include \"Invoice\", \"Pro Forma\", \"Credit Memo\", and \"Credit WO\".\n\n**Note for ComputerEase**: valid values include \"Freeform Invoice and \"Retention\".\n\n**Note for Foundation**: valid values include \"Adjustment\", \"AIA Billing\", \"Percent\", \"Regular\", and \"Time and Materials\".\n\n**Note for Sage 100 Contractor**: valid values include \"Contract\", \"Memo\", \"Service\" and \"Progress Bill\".\n- \"Contract\": these are Receivable Invoices that affect the job balance.\n- \"Memo\": these are Receivable Invoices that do not affect the job billing.\n- \"Service\": these are Service Invoices in Sage 100 Contractor.\n- \"Progress Bill\": these are Progress Bills in Sage 100 Contractor\n\n**Note for Sage 300 CRE**: valid statuses include \"Adjustment\", \"Invoice\", \"Retainage released\", and \"Tax Retainage released\".\n\n**Note for Sage Intacct**: valid values include:\n- \"Project Contract\": these are Prime Contract-related AR Invoices created from the Order Entry module.\n- \"Regular\": these are AR Invoices creaed in the Accounts Receivable module. Note, all Project Contract AR Invoices will also appear here when they have a status of \"Posted\".\n\n**Note for Viewpoint Spectrum**: valid values include \"Invoice\" and \"Credit Memo\".\n\n**Note for Viewpoint Vista**: valid values include \"Adjustment\", \"Credit Memo\", \"Invoice\", \"Retention Release\", and \"Write Off\".\n",
            "example": "Regular"
          },
          "work_order_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Work Order](#tag--work-orders)."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "source_create_time": {
            "allOf": [
              {
                "description": "The datetime the AR Invoice was created in the Source System."
              },
              {
                "$ref": "#/components/schemas/DateTimeProperty"
              }
            ]
          },
          "source_update_time": {
            "allOf": [
              {
                "description": "The datetime the AR Invoice was last updated in the Source System."
              },
              {
                "$ref": "#/components/schemas/DateTimeProperty"
              }
            ]
          }
        }
      },
      "ArInvoice-5": {
        "allOf": [
          {
            "$ref": "#/components/schemas/ARInvoice"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The database query for the Source System.",
                    "example": "select * from [ar_invoice]"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "company_no": 12345,
                      "invoice_source": "O",
                      "invoice_no": "       234",
                      "posted_flag": "Y",
                      "customer_no": "A123",
                      "description": "Test Regular AR Invoice",
                      "invoice_date": "2024-02-17 00:00:00.000",
                      "transaction_date": "2024-02-18 00:00:00.000",
                      "due_date": "2024-03-18 00:00:00.000",
                      "discount_date": null,
                      "post_date": "2024-02-18 00:00:00.000",
                      "closed_date": null,
                      "estimate_no": null,
                      "job_no": "A123",
                      "tax_no": "NY",
                      "invoice_amount": "1000.00",
                      "tax_amount": "100.00",
                      "amount_due": "1100.00",
                      "retainage_amount": "100.00",
                      "discount_amount": ".00",
                      "tax_base": "1000.00",
                      "use_tax_base": ".00",
                      "original_invoice_amount": "1000.00",
                      "original_tax_amount": "100.00",
                      "original_amount_due": "1100.00",
                      "original_retainage_amount": "100.00",
                      "original_discount_amount": ".00",
                      "original_tax_base": "1000.00",
                      "adjust_tax_amount": ".00",
                      "adjust_amount_due": ".00",
                      "adjust_retainage_amount": ".00",
                      "adjust_discount_amount": ".00",
                      "adjust_tax_base": ".00",
                      "adjust_use_tax_base": ".00",
                      "gl_ar": "1040",
                      "gl_retainage": "1050",
                      "discount_percent": ".00000",
                      "retainage_percent": "10.00000",
                      "release_retainage_percent": ".00000",
                      "release_retainage_amount": ".00",
                      "hidden_sales_tax": "N",
                      "aia_section_no": null,
                      "closed_flag": "N",
                      "hold_flag": "N",
                      "income_type_no": "C",
                      "service_charge": "N",
                      "invoice_type": "U",
                      "original_invoice_no": "       234",
                      "purge_reversal": "N",
                      "cash_receipt_no": null,
                      "record_status": "A",
                      "row_modified_by": "98053",
                      "row_modified_on": "2024-02-18 00:18:24.093",
                      "row_unique_id": 114,
                      "original_use_tax_base": ".00",
                      "adjust_invoice_amount": ".00",
                      "original_adjustment_no": null,
                      "printable_invoice": "N",
                      "design_no": null,
                      "terms_no": "   30",
                      "gl_tax": "2010",
                      "reversal": "N",
                      "use_retainage": "Y",
                      "original_retainage_percent": "10.00000",
                      "original_release_retainage_amount": ".00",
                      "adjust_release_retainage_amount": ".00",
                      "provider": "FSI",
                      "aia_section_id": null,
                      "cash_receipt_id": null,
                      "company_id": "1",
                      "customer_id": "A123",
                      "design_id": null,
                      "estimate_id": null,
                      "income_type_id": "C",
                      "invoice_id": "234",
                      "job_id": "A123",
                      "original_adjustment_id": null,
                      "original_invoice_id": "234",
                      "tax_id": "NY",
                      "terms_id": "30",
                      "tm_reversal_mode": "N",
                      "update_inventory": "N",
                      "printable_invoice_entry": "S",
                      "include_in_percent_complete": "Y",
                      "service_charge_eligible": "N",
                      "service_charge_based_on": "C",
                      "proposal_flag": "N",
                      "proposal_status": "P",
                      "from_invoice_no": null,
                      "from_invoice_id": null,
                      "recurring_flag": "N",
                      "recurring_invoice_no": null,
                      "recurring_frequency": "M",
                      "recurring_start_date": null,
                      "recurring_end_flag": "U",
                      "recurring_occurrences": 0,
                      "recurring_end_date": null,
                      "from_invoice_source": null,
                      "recurring_generate_invoice": "N",
                      "recurring_invoice_id": null,
                      "aia_invoice": "N",
                      "up_bid_no": null,
                      "up_bid_id": null,
                      "ship_to_no": null,
                      "ship_to_id": null,
                      "payment_amount": "1000.00",
                      "payment_type": "CK",
                      "payment_date": "2024-02-18 00:00:00.000",
                      "check_number": "123457910",
                      "sb_unique_idn": null,
                      "deposit_amount": ".00",
                      "deposit_type": "NA",
                      "deposit_date": null,
                      "deposit_check_number": null,
                      "payment_gl": "1010",
                      "deposit_gl": null,
                      "payment_to_holding_account": "N",
                      "deposit_to_holding_account": null,
                      "payment_discount": ".00",
                      "tax_by_effdate_flag": "N",
                      "state_tax_percent": ".0000000",
                      "state_taxable_limit": ".00",
                      "state_tax_amount": ".00",
                      "local_tax_percent": ".0000000",
                      "local_taxable_limit": ".00",
                      "local_tax_amount": ".00",
                      "other_tax_percent": ".0000000",
                      "other_taxable_limit": ".00",
                      "other_tax_amount": ".00",
                      "payment_description": "Payment for Regular invoice",
                      "sd_contract_string": null,
                      "sd_renewal_num": null,
                      "sd_bill_num": null,
                      "original_tax_tracked": "Y",
                      "original_state_tax_amount": ".00",
                      "original_local_tax_amount": ".00",
                      "original_other_tax_amount": ".00",
                      "internal_batch_number": null,
                      "quick_reversal": "N"
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "ArInvoice-6": {
        "allOf": [
          {
            "$ref": "#/components/schemas/ArInvoice"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "https://api.procore.com/rest/v1.0/payment_applications"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "id": 598134325575022,
                      "billing_date": null,
                      "invoice_number": "835-1-1",
                      "percent_complete": "50.00",
                      "period_start": "2024-04-01",
                      "period_end": "2024-04-30",
                      "period_id": 598134325602694,
                      "status": "approved",
                      "description_type": "automatic",
                      "total_amount_paid": "0.00",
                      "total_amount_accrued_this_period": "50000.00",
                      "formatted_contract_company": "AnyCompany Inc.",
                      "created_at": "2024-04-20T16:33:23Z",
                      "updated_at": "2024-04-20T16:39:17Z",
                      "currency_configuration": {
                        "currency_iso_code": null
                      },
                      "origin_id": null,
                      "origin_data": null,
                      "number": 1,
                      "g703": [
                        {
                          "added_from_source": "contract",
                          "added_from_source_id": 598134325850349,
                          "balance_to_finish": "50000.00",
                          "cost_code": {
                            "id": 598134363245188,
                            "biller": "West Portal Properties",
                            "biller_id": 598134325710009,
                            "biller_origin_id": null,
                            "biller_type": "Project",
                            "budgeted": true,
                            "code": "10100",
                            "created_at": "2024-03-21T22:18:40Z",
                            "deleted_at": null,
                            "full_code": "10100",
                            "line_item_types": [
                              {
                                "id": 598134326235731,
                                "base_type": "other",
                                "code": "AC",
                                "name": "Accomodation",
                                "origin_id": null
                              },
                              {
                                "id": 598134326194756,
                                "base_type": null,
                                "code": "LA",
                                "name": "Labour",
                                "origin_id": null
                              }
                            ],
                            "name": "General Conditions",
                            "origin_data": null,
                            "origin_id": null,
                            "parent": {
                              "id": null
                            },
                            "position": null,
                            "sortable_code": "10100",
                            "standard_cost_code_id": null,
                            "updated_at": "2024-03-21T22:18:40Z"
                          },
                          "currency_configuration": {
                            "currency_iso_code": null
                          },
                          "description_of_work": "Sample Line Item",
                          "id": 598134327877008,
                          "item_number": 1,
                          "materials_presently_stored": "0.00",
                          "materials_stored_retainage_currently_retained": "0.00",
                          "materials_stored_retainage_from_previous_application": "0.00",
                          "materials_stored_retainage_percent_this_period": "10.0",
                          "materials_stored_retainage_released_this_period": "0.00",
                          "materials_stored_retainage_retained_this_period": "0.00",
                          "origin_id": 598134332631754,
                          "origin_type": "LineItem",
                          "scheduled_value": "100000.00",
                          "total_completed_and_stored_to_date": "50000.00",
                          "total_completed_and_stored_to_date_percent": "50.00",
                          "total_retainage_currently_retained": "5000.00",
                          "total_retainage_from_previous_application": "0.00",
                          "type": "payment_application_line_item",
                          "wbs_code": {
                            "description": "10100.AC",
                            "flat_code": "10100.AC",
                            "id": 598134380033725,
                            "segment_items": [
                              {
                                "code": "10100",
                                "id": 598134363245188,
                                "name": "General Conditions",
                                "path_codes": [
                                  "10100 - General Conditions"
                                ],
                                "path_ids": [
                                  598134363245188
                                ],
                                "segment_id": 598134325553944,
                                "segment_type": "cost_code"
                              },
                              {
                                "code": "AC",
                                "id": 598134326235731,
                                "name": "Accomodation",
                                "path_codes": [
                                  "AC"
                                ],
                                "path_ids": [
                                  598134326235731
                                ],
                                "segment_id": 598134325553945,
                                "segment_type": "line_item_type"
                              }
                            ]
                          },
                          "work_completed_from_previous_application": "0.00",
                          "work_completed_retainage_currently_retained": "5000.00",
                          "work_completed_retainage_from_previous_application": "0.00",
                          "work_completed_retainage_percent_this_period": "10.0",
                          "work_completed_retainage_released_this_period": "0.00",
                          "work_completed_retainage_retained_this_period": "5000.00",
                          "work_completed_this_period": "50000.00"
                        }
                      ],
                      "g702": {
                        "balance_to_finish_including_retainage": "55000.00",
                        "completed_work_retainage_amount": "5000.00",
                        "completed_work_retainage_percent": "10.00",
                        "contract_sum_to_date": "100000.00",
                        "current_payment_due": "45000.00",
                        "formatted_period": "04/01/24 - 04/30/24",
                        "less_previous_certificates_for_payment": "0.00",
                        "negative_change_order_item_total": "0.00",
                        "negative_new_change_order_item_total": "0.00",
                        "negative_previous_change_order_item_total": "0.00",
                        "net_change_by_change_orders": "0.00",
                        "original_contract_sum": "100000.00",
                        "positive_change_order_item_total": "0.00",
                        "positive_new_change_order_item_total": "0.00",
                        "positive_previous_change_order_item_total": "0.00",
                        "stored_materials_retainage_amount": "0.00",
                        "stored_materials_retainage_percent": "0.00",
                        "tax_applicable_to_this_payment": "4500.00",
                        "total_completed_and_stored_to_date": "50000.00",
                        "total_earned_less_retainage": "45000.00",
                        "total_retainage": "5000.00"
                      },
                      "contract": {
                        "id": 598134325850349,
                        "title": "Prime Contract - One Line Item",
                        "type": "PrimeContract"
                      },
                      "billing_period": {
                        "start_date": "2024-04-01",
                        "end_date": "2024-04-30"
                      },
                      "attachments": [
                        {
                          "id": 598134408353832,
                          "name": "logo-square-agave.png",
                          "url": "https://storage.procore.com",
                          "filename": "logo-square-agave.png"
                        }
                      ],
                      "project_id": "598134325710009"
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "ArInvoice-7": {
        "allOf": [
          {
            "$ref": "#/components/schemas/ArInvoice"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The XML path on the Source System.",
                    "example": "InvoiceQueryRq"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "TxnID": "12345",
                      "TimeCreated": "2022-01-01T00:00:00-00:00",
                      "TimeModified": "2022-01-01T00:00:00-00:00",
                      "EditSequence": "12345",
                      "TxnNumber": "12345",
                      "CustomerRef": {
                        "ListID": "812345",
                        "FullName": "AnyCustomer Inc."
                      },
                      "ARAccountRef": {
                        "ListID": "12345",
                        "FullName": "Accounts Receivable"
                      },
                      "TemplateRef": {
                        "ListID": "12345",
                        "FullName": "Intuit Product Invoice"
                      },
                      "TxnDate": "2022-01-01",
                      "RefNumber": "A123",
                      "IsPending": "true",
                      "IsFinanceCharge": "false",
                      "DueDate": "2022-01-01",
                      "ShipDate": "2022-01-01",
                      "Subtotal": "95.00",
                      "SalesTaxPercentage": "5.26",
                      "SalesTaxTotal": "5.00",
                      "AppliedAmount": "0.00",
                      "BalanceRemaining": "100.00",
                      "Memo": "AR Invoice for concrete pour in January.",
                      "IsPaid": "false",
                      "IsToBePrinted": "true",
                      "IsToBeEmailed": "false"
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "ArInvoice-8": {
        "allOf": [
          {
            "$ref": "#/components/schemas/ArInvoice"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "https://quickbooks.api.intuit.com/v3/company/{companyId}/query"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "AllowIPNPayment": false,
                      "AllowOnlinePayment": false,
                      "AllowOnlineCreditCardPayment": false,
                      "AllowOnlineACHPayment": false,
                      "domain": "QBO",
                      "sparse": false,
                      "Id": "123",
                      "SyncToken": "0",
                      "MetaData": {
                        "CreateTime": "2022-01-01T00:00:00-00:00",
                        "LastUpdatedTime": "2022-01-01T00:00:00-00:00"
                      },
                      "CustomField": [
                        {
                          "DefinitionId": "1",
                          "Name": "Crew #",
                          "Type": "StringType",
                          "StringValue": "123"
                        }
                      ],
                      "DocNumber": "A123",
                      "TxnDate": "2022-01-01",
                      "CurrencyRef": {
                        "value": "USD",
                        "name": "United States Dollar"
                      },
                      "LinkedTxn": [
                        {
                          "TxnId": "123",
                          "TxnType": "Estimate"
                        }
                      ],
                      "Line": [
                        {
                          "Id": "123",
                          "LineNum": 1,
                          "Description": "Payment for July invoice.",
                          "Amount": 123,
                          "LinkedTxn": [
                            {
                              "TxnId": "123",
                              "TxnType": "Estimate"
                            }
                          ],
                          "DetailType": "SalesItemLineDetail",
                          "SalesItemLineDetail": {
                            "ItemRef": {
                              "value": "5",
                              "name": "Payment for July invoice."
                            },
                            "UnitPrice": 295,
                            "Qty": 1,
                            "TaxCodeRef": {
                              "value": "TAX"
                            }
                          }
                        },
                        {
                          "Amount": 318.6,
                          "DetailType": "SubTotalLineDetail",
                          "SubTotalLineDetail": []
                        }
                      ],
                      "TxnTaxDetail": {
                        "TxnTaxCodeRef": {
                          "value": "2"
                        },
                        "TotalTax": 23.6,
                        "TaxLine": [
                          {
                            "Amount": 23.6,
                            "DetailType": "TaxLineDetail",
                            "TaxLineDetail": {
                              "TaxRateRef": {
                                "value": "3"
                              },
                              "PercentBased": true,
                              "TaxPercent": 8,
                              "NetAmountTaxable": 295
                            }
                          }
                        ]
                      },
                      "CustomerRef": {
                        "value": "123",
                        "name": "AnyCompany Inc."
                      },
                      "CustomerMemo": {
                        "value": "Thank you for your business and have a great day!"
                      },
                      "BillAddr": {
                        "Id": "123",
                        "Line1": "AnyCompany Inc.",
                        "Line2": "123 Main Street",
                        "Line3": "AnyTown",
                        "Line4": "California 19703",
                        "Lat": "37.4238562",
                        "Long": "-122.1141681"
                      },
                      "ShipAddr": {
                        "Id": "123",
                        "Line1": "123 Main Street",
                        "City": "AnyTown",
                        "CountrySubDivisionCode": "CA",
                        "PostalCode": "19703",
                        "Lat": "37.4238562",
                        "Long": "-122.1141681"
                      },
                      "SalesTermRef": {
                        "value": "3",
                        "name": "Net 30"
                      },
                      "DueDate": "2021-12-25",
                      "TotalAmt": 318.6,
                      "ApplyTaxAfterDiscount": false,
                      "PrintStatus": "NeedToPrint",
                      "EmailStatus": "NotSet",
                      "BillEmail": {
                        "Address": "contact@agaveapi.com"
                      },
                      "Balance": 318.6
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "ArInvoiceLineItem-2": {
        "type": "object",
        "properties": {
          "id": {
            "allOf": [
              {
                "description": "The UUID of the Line Item assigned by Agave."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "source_id": {
            "type": "string",
            "readOnly": true,
            "example": "12345",
            "description": "The ID of the Line Item in the Source System."
          },
          "amount": {
            "type": "string",
            "description": "The total monetary amount of the Line Item, including tax.",
            "example": "100.00"
          },
          "cost_code_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Cost Code](#tag--cost-codes) for the Line Item."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ],
            "type": "string"
          },
          "description": {
            "type": "string",
            "description": "A description of the Line Item.",
            "example": "Two tons of cement."
          },
          "item_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Item](#tag--items) for the Line Item."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "ledger_account_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Ledger Account](#tag--ledger-accounts) for the Line Item."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "quantity": {
            "type": "string",
            "description": "The estimated quantity of the unit in the Line Item.",
            "example": "2.0"
          },
          "retention_amount": {
            "type": "string",
            "description": "The retention amount of the Line Item.",
            "example": "10.00"
          },
          "retention_percent": {
            "type": "string",
            "description": "The retention percent of the Line Item.",
            "example": "10.00"
          },
          "sub_job_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Phase](#tag--sub-jobs) for the Line Item."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ],
            "example": "Material"
          },
          "unit_of_measure": {
            "type": "string",
            "description": "The unit of measure of the Line Item.",
            "example": "Tons"
          },
          "unit_price": {
            "type": "string",
            "description": "The price of each unit associated with the Line Item.",
            "example": "50"
          },
          "source_data": {
            "type": "object",
            "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
            "properties": {
              "path": {
                "type": "string",
                "description": "The SQL path on the Source System.",
                "example": "bAPUL"
              },
              "content_type": {
                "type": "string",
                "description": "The content type of the Source Data.",
                "example": "application/json"
              },
              "data": {
                "type": "string",
                "description": "The raw data from the Source System.",
                "example": {
                  "_idnum": "D9AFBCEE-8156-EF11-8438-1213C2B0AF47",
                  "_idref": "D8AFBCEE-8156-EF11-8438-1213C2B0AF47",
                  "recnum": "58",
                  "linnum": 1,
                  "prtnum": "5",
                  "dscrpt": "Table Leg 001",
                  "alpnum": "",
                  "untdsc": "Each",
                  "linqty": "10.0000",
                  "linprc": "50.000000",
                  "extprc": "500.00",
                  "taxabl": "",
                  "hldrte": ".00",
                  "hldamt": ".00",
                  "bllamt": ".00",
                  "gstsbj": "",
                  "gstamt": ".0000",
                  "pstsbj": "",
                  "pstamt": ".0000",
                  "hstsbj": "",
                  "hstamt": ".0000",
                  "lgract": "1007",
                  "subact": null,
                  "cstcde": "101.000",
                  "usrdf1": "",
                  "ntetxt": "",
                  "invrec": "0",
                  "insdte": "2024-08-09T19:02:33.933Z",
                  "insusr": "agave-admin-2",
                  "upddte": null,
                  "updusr": null,
                  "phsnum": "0",
                  "jobnum": "3"
                }
              }
            }
          }
        }
      },
      "ArInvoice-9": {
        "type": "object",
        "properties": {
          "id": {
            "allOf": [
              {
                "description": "The UUID of the AR Invoice assigned by Agave."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "source_id": {
            "type": "string",
            "readOnly": true,
            "example": "12345",
            "description": "The ID of the AR Invoice in the Source System."
          },
          "amount_due": {
            "type": "string",
            "description": "Remaining balance of the AR Invoice.\n\n**Note for Progress Bills**: This is equal to Current Work Completed + Current Work Stored - Current Completed Retention.\n",
            "example": "500.00"
          },
          "description": {
            "type": "string",
            "description": "Description of the AR Invoice.",
            "example": "25% progress billing."
          },
          "discount_amount": {
            "type": "string",
            "description": "The discount amount taken on the AR Invoice. (Not available for Progress Bills)",
            "example": "0.00"
          },
          "discount_date": {
            "allOf": [
              {
                "description": "The discount date of the AR Invoice. (Not available for Progress Bills)"
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ]
          },
          "due_date": {
            "allOf": [
              {
                "description": "The date when payment for the AR Invoice is due. \n"
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ]
          },
          "issue_date": {
            "allOf": [
              {
                "description": "The date the AR Invoice was issued.\n"
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ]
          },
          "number": {
            "type": "string",
            "description": "The number of the AR Invoice.\n",
            "example": 1000125
          },
          "prime_contract_id": {
            "type": "string",
            "description": "The job number of the AR Invoice.\n",
            "example": "A1001"
          },
          "project_id": {
            "type": "string",
            "description": "The job number of the AR Invoice.\n",
            "example": "A1001"
          },
          "retention_amount": {
            "type": "string",
            "description": "The current amount of retention in the AR Invoice.\n",
            "example": "20.00"
          },
          "source_create_time": {
            "allOf": [
              {
                "description": "The datetime the Line Item was created in the Source System."
              },
              {
                "$ref": "#/components/schemas/DateTimeProperty"
              }
            ]
          },
          "source_update_time": {
            "allOf": [
              {
                "description": "The datetime the Line Item was last updated in the Source System."
              },
              {
                "$ref": "#/components/schemas/DateTimeProperty"
              }
            ]
          },
          "subtotal_amount": {
            "type": "string",
            "description": "The subtotal amount of the AR Invoice.\n",
            "example": "1000.00"
          },
          "status": {
            "type": "string",
            "description": "The status of the AR Invoice.\n\n**Note for Sage 100C** valid statuses include:\n- For Receivable Invoices, \"Open\", \"Review\", \"Dispute\", \"Paid\", \"Void\"\n- For Service Invoices, \"Open\", \"Review\", \"Dispute\", \"Paid\", \"Void\", \"Quote\", \"Work Order\", \"Complete\", \"Route\", \"Contract\"\n- For Progress Billings, \"Open\", \"Submitted\", \"Posted\", \"Closed\", \"Void\"\n",
            "example": "Open"
          },
          "tax_amount": {
            "type": "string",
            "description": "The total tax amount of the AR Invoice.\n",
            "example": "10.00"
          },
          "tax_code_id": {
            "type": "string",
            "description": "The Tax District of the AR Invoice.\n",
            "example": "101"
          },
          "total_amount": {
            "type": "string",
            "description": "The total amount of the AR Invoice.\n\n**Note for Service Invoices**: This includes any markup.\n",
            "example": "215.00"
          },
          "type": {
            "type": "string",
            "description": "The AR Invoice type.\n\n**Note for Sage 100 Contractor**: valid values include \"Contract\", \"Memo\", \"Service\" and \"Progress Bill\".\n- \"Contract\": these are Receivable Invoices that affect the job balance.\n- \"Memo\": these are Receivable Invoices that do not affect the job billing.\n- \"Service\": these are Service Invoices in Sage 100 Contractor.\n- \"Progress Bill\": these are Progress Bills in Sage 100 Contractor\n",
            "enum": [
              "Contract",
              "Memo",
              "Progress Bill"
            ]
          },
          "work_order_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Work Order](#tag--work-orders)."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "line_items": {
            "description": "The line items for the AR Invoice. To learn more about creating and updating Line Items, see [link](/agave-api/line-items).",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ArInvoiceLineItem-2"
            }
          },
          "source_data": {
            "type": "object",
            "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
            "properties": {
              "path": {
                "type": "string",
                "description": "The SQL path on the Source System.",
                "example": "sselect * from [acrinv]"
              },
              "content_type": {
                "type": "string",
                "description": "The content type of the Source Data.",
                "example": "application/json"
              },
              "data": {
                "type": "string",
                "description": "The raw data from the Source System.",
                "example": {
                  "_idnum": "D8AFBCEE-8156-EF11-8438-1213C2B0AF47",
                  "recnum": "58",
                  "invnum": "10001",
                  "invdte": "2024-07-09T00:00:00.000Z",
                  "jobnum": "3",
                  "phsnum": "0",
                  "dscrpt": "Table stations",
                  "taxdst": null,
                  "pchord": "",
                  "duedte": "2024-08-09T00:00:00.000Z",
                  "refnum": "",
                  "dscdte": "2024-08-01T00:00:00.000Z",
                  "invtyp": 1,
                  "status": 1,
                  "usrdf1": "",
                  "usrdf2": "",
                  "dscavl": ".00",
                  "retain": "50.00",
                  "slstax": ".00",
                  "amtpad": ".00",
                  "dsctkn": ".00",
                  "invttl": "500.00",
                  "invbal": "500.00",
                  "invnet": "450.00",
                  "taxabl": ".00",
                  "actper": 3,
                  "lgrrec": "802",
                  "nontax": "500.00",
                  "entdte": "2024-08-09T00:00:00.000Z",
                  "ttlpad": ".00",
                  "usrnme": "agave-admin-2",
                  "hotlst": 0,
                  "ntetxt": "",
                  "imgfle": "",
                  "vodrec": "0",
                  "subttl": ".00",
                  "hldamt": ".00",
                  "hldbll": ".00",
                  "hldrem": ".00",
                  "pstsbj": ".00",
                  "pstamt": ".00",
                  "gstsbj": ".00",
                  "gstamt": ".00",
                  "hstsbj": ".00",
                  "hstamt": ".00",
                  "invamt": ".00",
                  "postyr": 2024,
                  "insdte": "2024-08-09T19:02:33.920Z",
                  "insusr": "agave-admin-2",
                  "upddte": null,
                  "updusr": null
                }
              }
            }
          }
        }
      },
      "ArInvoice-10": {
        "allOf": [
          {
            "$ref": "#/components/schemas/ARInvoice"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The SQL path on the Source System.",
                    "example": "select * from [ACTIVITY_ARA_RECORD_2]"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "ACUST": "GA",
                      "ASTYPE": "Invoice",
                      "ADATE": "2022-04-01",
                      "ASSEQ": 6,
                      "ASEQ": 1,
                      "ATYPE": "Invoice",
                      "ASTAT": "Pending post",
                      "AINV": "2003",
                      "ADRAW": "010010000022",
                      "AINVDAT": "2022-04-01",
                      "ADUEDAT": "2022-04-30",
                      "AACTDAT": "2022-04-01",
                      "APMTTYP": "Not Used",
                      "APMT": "",
                      "APMTBNK": "",
                      "APMTDDT": null,
                      "APMTDID": "",
                      "APMTDIM": 0,
                      "AADJACT": "0",
                      "AADJDAT": null,
                      "AADJTA": "Not Used",
                      "AADJTYN": 999,
                      "AADJTYA": "Not Used",
                      "AADJ": "",
                      "ACNTRT": "0300100",
                      "ACNTRTI": "",
                      "AJOB": "03-001",
                      "AEXTRA": "",
                      "APHASE": "",
                      "AREF": "",
                      "ADESC": "Sample import",
                      "AAMT": 500,
                      "AFCAMT": 0,
                      "ARETHLD": -50,
                      "ARETBLD": 0,
                      "APPAMT": 0,
                      "AOSTAMP": "johndoe",
                      "ADSTAMP": "2024-09-18",
                      "ATSTAMP": "17:51:06",
                      "ARWID": "67251a40-2176-ef11-843e-0e8f85e0b28b",
                      "ARWVR": "1726707066",
                      "R2NTS": null,
                      "R2FLS": null
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "ArInvoice-11": {
        "allOf": [
          {
            "$ref": "#/components/schemas/ARInvoice"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "https://api.intacct.com/ia/xml/xmlgw.phtml"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "RECORDNO": "12345",
                      "pcbinvsummary": {
                        "CURRENTAMOUNTDUE": "36",
                        "TOTAL_DISCOUNT": "0",
                        "INVAMTRETAINED": "4",
                        "TOTAL_TAX": "0",
                        "ORGCONTRACTAMT": "17000.23",
                        "TOTAL_CHARGE": "0",
                        "CHGAPPRPMONTADD": "0",
                        "CHGAPPRPMONTDED": "0",
                        "CHGAPPRCMONTADD": "200",
                        "CHGAPPRCMONTDED": "0",
                        "TOTNETAPPRCHNGS": "200",
                        "TOTREVSDCONAMT": "17200.23",
                        "COMPPRIORAPPLNS": "2390",
                        "TOTCOMPTODATE": "2430",
                        "INVRETAINGEBILLD": "0",
                        "NETCHNGERETHELD": "4",
                        "RETHELDTODATE": "101.75",
                        "RETBILLEDTODATE": "0",
                        "RETBALANCETODATE": "101.75",
                        "PREVRETBALANCE": "97.75",
                        "TOTEARNEDLESSRETGE": "2328.25",
                        "LESSPREVBILLINGS": "2292.25",
                        "BALANCETOFINISH": "14871.98",
                        "ARINVOICENUMBER": "PCINV000000053",
                        "DOCID": "Project Contract Invoice-PCINV000000053"
                      },
                      "CURRENCY": "USD",
                      "CUSTVENDID": "A124",
                      "MESSAGE": "AR Invoice for concrete pour in January. 02",
                      "WHENDUE": "06/29/2024",
                      "WHENCREATED": "06/26/2024",
                      "DOCNO": "PCINV000000053",
                      "PROJECTCONTRACTID": "A100",
                      "PROJECT": null,
                      "WHENMODIFIED": "07/05/2024 01:45:42",
                      "STATE": "Closed",
                      "DOCPARID": "Project Contract Invoice",
                      "DOCID": "Project Contract Invoice-PCINV000000053",
                      "CREATEDFROM": null,
                      "CLOSED": null,
                      "AUWHENCREATED": "07/05/2024 01:39:44",
                      "CREATEDBY": "16",
                      "MODIFIEDBY": "16",
                      "STATUS": "active",
                      "PONUMBER": null,
                      "VENDORDOCNO": null,
                      "DOCPARKEY": "56",
                      "DOCPARCLASS": "INVOICE",
                      "UPDATES_INV": "No",
                      "TERM": {
                        "NAME": null
                      },
                      "NOTE": null,
                      "WAREHOUSE": {
                        "LOCATIONID": null
                      },
                      "SHIPVIA": null,
                      "USER": "16",
                      "CREATEDUSER": "16",
                      "USERID": "agave-workshop",
                      "CREATEDUSERID": "agave-workshop",
                      "CONTACT": {
                        "CONTACTNAME": "Prestige Developments Ltd.(CA124)",
                        "PREFIX": null,
                        "FIRSTNAME": null,
                        "INITIAL": null,
                        "LASTNAME": null,
                        "COMPANYNAME": "Prestige Developments Ltd.",
                        "PRINTAS": "Prestige Developments Ltd.",
                        "PHONE1": null,
                        "PHONE2": null,
                        "CELLPHONE": null,
                        "PAGER": null,
                        "FAX": null,
                        "EMAIL1": null,
                        "EMAIL2": null,
                        "URL1": null,
                        "URL2": null,
                        "VISIBLE": "true",
                        "MAILADDRESS": {
                          "ADDRESS1": null,
                          "ADDRESS2": null,
                          "ADDRESS3": null,
                          "CITY": null,
                          "STATE": null,
                          "ZIP": null,
                          "COUNTRY": "United States",
                          "COUNTRYCODE": "US"
                        }
                      },
                      "SHIPTOKEY": "414",
                      "SHIPTO": {
                        "CONTACTNAME": "Prestige Developments Ltd.(CA124)",
                        "PREFIX": null,
                        "FIRSTNAME": null,
                        "INITIAL": null,
                        "LASTNAME": null,
                        "COMPANYNAME": "Prestige Developments Ltd.",
                        "PRINTAS": "Prestige Developments Ltd.",
                        "PHONE1": null,
                        "PHONE2": null,
                        "CELLPHONE": null,
                        "PAGER": null,
                        "FAX": null,
                        "EMAIL1": null,
                        "EMAIL2": null,
                        "URL1": null,
                        "URL2": null,
                        "VISIBLE": "true",
                        "MAILADDRESS": {
                          "ADDRESS1": null,
                          "ADDRESS2": null,
                          "ADDRESS3": null,
                          "CITY": null,
                          "STATE": null,
                          "ZIP": null,
                          "COUNTRY": "United States",
                          "COUNTRYCODE": "US"
                        }
                      },
                      "BILLTOKEY": "414",
                      "BILLTO": {
                        "CONTACTNAME": "Prestige Developments Ltd.(CA124)",
                        "PREFIX": null,
                        "FIRSTNAME": null,
                        "INITIAL": null,
                        "LASTNAME": null,
                        "COMPANYNAME": "Prestige Developments Ltd.",
                        "PRINTAS": "Prestige Developments Ltd.",
                        "PHONE1": null,
                        "PHONE2": null,
                        "CELLPHONE": null,
                        "PAGER": null,
                        "FAX": null,
                        "EMAIL1": null,
                        "EMAIL2": null,
                        "URL1": null,
                        "URL2": null,
                        "VISIBLE": "true",
                        "MAILADDRESS": {
                          "ADDRESS1": null,
                          "ADDRESS2": null,
                          "ADDRESS3": null,
                          "CITY": null,
                          "STATE": null,
                          "ZIP": null,
                          "COUNTRY": "United States",
                          "COUNTRYCODE": "US"
                        }
                      },
                      "INVBATCHKEY": null,
                      "PRINVBATCHKEY": null,
                      "ADDGLBATCHKEY": null,
                      "PRINTED": "No",
                      "BACKORDER": "No",
                      "SUBTOTAL": "40",
                      "TOTAL": "40",
                      "ENTGLGROUP": null,
                      "EXCHRATEDATE": "06/25/2024",
                      "EXCHRATETYPES": {
                        "NAME": null
                      },
                      "EXCHRATE": "1",
                      "SCHOPKEY": null,
                      "SALESCONTRACT": "N",
                      "USEDASCONTRACT": null,
                      "TRX_SUBTOTAL": "40",
                      "TRX_TOTAL": "40",
                      "EXCH_RATE_TYPE_ID": null,
                      "RENEWEDDOC": null,
                      "BASECURR": "USD",
                      "SYSTEMGENERATED": "false",
                      "INVOICERUNKEY": null,
                      "DOCPAR_IN_OUT": "Increase",
                      "WHENPOSTED": "06/26/2024",
                      "PRINTEDUSERID": null,
                      "DATEPRINTED": null,
                      "PRINTEDBY": null,
                      "ADJ": "false",
                      "TAXSOLUTIONKEY": null,
                      "TAXSOLUTIONID": null,
                      "DOCSOURCE": null,
                      "CUSTVENDNAME": "Prestige Developments Ltd.",
                      "CUSTVENDEMAILOPTIN": "false",
                      "HASPOSTEDREVREC": null,
                      "CONTRACTID": null,
                      "CONTRACTDESC": null,
                      "PRRECORDKEY": "424",
                      "TRX_TOTALPAID": "0",
                      "TOTALPAID": "0",
                      "TRX_TOTALENTERED": "40",
                      "TOTALENTERED": "40",
                      "TRX_TOTALDUE": "36",
                      "TOTALDUE": "36",
                      "PAYMENTSTATUS": "Open",
                      "SIGN_FLAG": "1",
                      "VSOEPRICELIST": null,
                      "VSOEPRCLSTKEY": null,
                      "ORIGDOCDATE": null,
                      "HASADVBILLING": null,
                      "INVOICERUN_EXPENSEPRICEMARKUP": null,
                      "INVOICERUN_DESCRIPTION": null,
                      "PROJECTKEY": null,
                      "PROJECTNAME": null,
                      "CNCONTRACTID": null,
                      "CNCONTRACTNAME": null,
                      "NEEDBYDATE": null,
                      "SHIPBYDATE": null,
                      "CANCELAFTERDATE": null,
                      "DONOTSHIPBEFOREDATE": null,
                      "DONOTSHIPAFTERDATE": null,
                      "SERVICEDELIVERYDATE": null,
                      "TRACKINGNUMBER": null,
                      "SHIPPEDDATE": null,
                      "CUSTOMERPONUMBER": null,
                      "RETAINAGEPERCENTAGE": null,
                      "SCOPE": null,
                      "INCLUSIONS": null,
                      "EXCLUSIONS": null,
                      "TERMS": null,
                      "SCHEDULESTARTDATE": null,
                      "ACTUALSTARTDATE": null,
                      "SCHEDULEDCOMPLETIONDATE": null,
                      "REVISEDCOMPLETIONDATE": null,
                      "SUBSTANTIALCOMPLETIONDATE": null,
                      "ACTUALCOMPLETIONDATE": null,
                      "NOTICETOPROCEED": null,
                      "RESPONSEDUE": null,
                      "EXECUTEDON": null,
                      "SCHEDULEIMPACT": null,
                      "INTERNALREFNO": null,
                      "INTERNALINITIATEDBYKEY": null,
                      "INTERNALINITIATEDBY": null,
                      "INTERNALINITIATEDBYNAME": null,
                      "INTERNALVERBALBYKEY": null,
                      "INTERNALVERBALBY": null,
                      "INTERNALVERBALBYNAME": null,
                      "INTERNALISSUEDBYKEY": null,
                      "INTERNALISSUEDBY": null,
                      "INTERNALISSUEDBYNAME": null,
                      "INTERNALISSUEDON": null,
                      "INTERNALAPPROVEDBYKEY": null,
                      "INTERNALAPPROVEDBY": null,
                      "INTERNALAPPROVEDBYNAME": null,
                      "INTERNALAPPROVEDON": null,
                      "INTERNALSIGNEDBYKEY": null,
                      "INTERNALSIGNEDBY": null,
                      "INTERNALSIGNEDBYNAME": null,
                      "INTERNALSIGNEDON": null,
                      "INTERNALSOURCE": null,
                      "INTERNALSOURCEREFNO": null,
                      "EXTERNALREFNO": null,
                      "EXTERNALVERBALBYKEY": null,
                      "EXTERNALVERBALBY": null,
                      "EXTERNALAPPROVEDBYKEY": null,
                      "EXTERNALAPPROVEDBY": null,
                      "EXTERNALAPPROVEDON": null,
                      "EXTERNALSIGNEDBYKEY": null,
                      "EXTERNALSIGNEDBY": null,
                      "EXTERNALSIGNEDON": null,
                      "PERFORMANCEBONDREQUIRED": null,
                      "PERFORMANCEBONDRECEIVED": null,
                      "PERFORMANCEBONDAMOUNT": null,
                      "PERFORMANCESURETYCOMPANYKEY": null,
                      "PERFORMANCESURETYCOMPANY": null,
                      "PERFORMANCESURETYCOMPANYNAME": null,
                      "PAYMENTBONDREQUIRED": null,
                      "PAYMENTBONDRECEIVED": null,
                      "PAYMENTBONDAMOUNT": null,
                      "PAYMENTSURETYCOMPANYKEY": null,
                      "PAYMENTSURETYCOMPANY": null,
                      "PAYMENTSURETYCOMPANYNAME": null,
                      "HASCHANGE": "false",
                      "REVISEDTOTAL": null,
                      "REVISEDSUBTOTAL": null,
                      "TRX_REVISEDTOTAL": null,
                      "TRX_REVISEDSUBTOTAL": null,
                      "POSTEDCHANGESTOTAL": null,
                      "RELATEDDOCNO": null,
                      "CHANGELOGNUMBER": null,
                      "PROJECTCONTRACTNAME": "West Coast Arena Contract",
                      "PROJECTCONTRACTKEY": "2",
                      "PCBEXTERNALREFNO": null,
                      "PCBDESCRIPTION": null,
                      "PCBDATE": null,
                      "ARCHITECTKEY": null,
                      "BILLTHROUGHDATE": null,
                      "BILLAPPLICATIONNO": null,
                      "ORGCONTRACTAMT": "17000.23",
                      "NETCHANGES": "0",
                      "REVISEDCONTRACTAMT": "22437.44",
                      "TOTALCOMPLETEDTODATE": "9430.46",
                      "RETCOMPLETEDAMT": "447.77",
                      "RETSTOREDMATERIALS": null,
                      "TOTALRETAINAGE": "451.77",
                      "TOTALEARNEDLESSRET": "8978.69",
                      "LESSPRIORAPPLICATION": "8942.69",
                      "CURRENTAMTDUE": "36",
                      "BALANCETOFINISH": "13458.75",
                      "TCAPMADDITION": null,
                      "TCAPMDEDUCTION": null,
                      "TCATMADDITION": null,
                      "TCATMDEDUCTION": null,
                      "TOTALNETCHANGESADDITION": "0",
                      "TOTALNETCHANGESDEDUCTION": "0",
                      "TOTALNETCHANGES": "0",
                      "ARCHITECT": null,
                      "PROJECTCONTRACTTOTALRETAINAGEHELD": "455.77",
                      "PREVIOUSRETAINAGEBALANCE": "447.77",
                      "TOTALRETAINAGEONTHISINVOICE": "4",
                      "RETAINAGEBILLED": "0",
                      "RETAINAGEBALANCE": "451.77",
                      "RETAINAGEHELD": "4",
                      "TOTALLESSRETAINAGEHELD": "36",
                      "MEGAENTITYKEY": "16",
                      "MEGAENTITYID": "A123",
                      "MEGAENTITYNAME": "AnyCompany Contractors",
                      "RECORD_URL": "https://www.intacct.com/ia/acct/ur.phtml?.r=v16atICip9tlf-KkkmYlgt6qZavowHREo4zS0v12345"
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "ArInvoice-12": {
        "allOf": [
          {
            "$ref": "#/components/schemas/ArInvoice"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "https://api.servicetitan.io/accounting/v2/tenant/{tenantId}/invoices"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "id": 977,
                      "syncStatus": "Exported",
                      "summary": null,
                      "referenceNumber": "975",
                      "invoiceDate": "2018-01-08T00:00:00Z",
                      "dueDate": "2018-01-08T00:00:00Z",
                      "subTotal": "25088.94",
                      "salesTax": "0.00",
                      "salesTaxCode": null,
                      "total": "25088.94",
                      "balance": "0.00",
                      "customer": {
                        "id": 759,
                        "name": "Max Ambrose"
                      },
                      "customerAddress": {
                        "street": "320 S Alexandria Ave",
                        "unit": null,
                        "city": "Los Angeles",
                        "state": "CA",
                        "zip": "90020",
                        "country": "USA"
                      },
                      "locationAddress": {
                        "street": "320 S Alexandria Ave",
                        "unit": null,
                        "city": "Los Angeles",
                        "state": "CA",
                        "zip": "90020",
                        "country": "USA"
                      },
                      "businessUnit": {
                        "id": 608,
                        "name": "Grumpy"
                      },
                      "termName": "",
                      "createdBy": "claybae",
                      "batch": {
                        "id": 8353,
                        "number": "3",
                        "name": "My Batch (3)"
                      },
                      "modifiedOn": "2019-02-22T20:12:37.9743389Z",
                      "adjustmentToId": null,
                      "job": {
                        "id": 975,
                        "number": "975",
                        "type": "Main line"
                      },
                      "projectId": null,
                      "royalty": {
                        "status": "Pending",
                        "date": null,
                        "sentOn": null,
                        "memo": null
                      },
                      "employeeInfo": {
                        "id": 15,
                        "name": "claybae",
                        "modifiedOn": "2022-03-16T14:39:04.4527243Z"
                      },
                      "commissionEligibilityDate": null,
                      "items": [
                        {
                          "id": 986,
                          "description": "Maximize style. Maximize Savings. Save the Environment. Caroma is at the forefront of product innovation. By choosing one of Caroma's toilet suites, you are making a smart choice. During the last 50 years, we have:\n\n* Proven water savings - up to 18,000 gallons (69,000 liters) per year\n* Proven reliability - created by the world leader in dual flush technology\n* Proven technology - industry-recognized, award-winning\n* Based on 1:4 solid/ liquid usage using a 3.5 gal/13 ltr toilet for an average family of four and and 5 flushes/person/day",
                          "quantity": "1.0000000000000000000",
                          "cost": "0.0000000000",
                          "totalCost": "0.00",
                          "inventoryLocation": null,
                          "price": "25088.94",
                          "type": "Service",
                          "skuName": "CRMPRFLTLT",
                          "skuId": 923,
                          "total": "25088.94",
                          "inventory": false,
                          "taxable": false,
                          "generalLedgerAccount": {
                            "name": "Drain",
                            "number": "0000",
                            "type": "Income",
                            "detailType": "Income"
                          },
                          "costOfSaleAccount": null,
                          "assetAccount": null,
                          "membershipTypeId": 0,
                          "itemGroup": null,
                          "displayName": "Carmona Profile Toilet",
                          "soldHours": 0,
                          "modifiedOn": "2019-01-10T22:16:46.7497625Z",
                          "serviceDate": null,
                          "order": 1
                        }
                      ],
                      "customFields": null
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "ArInvoice-13": {
        "allOf": [
          {
            "$ref": "#/components/schemas/ArInvoice"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The SQL path on the Source System.",
                    "example": "select * from [CR_INVOICE_HEADER_MC]"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "Company_Code": "12345",
                      "Customer_Code": "12345",
                      "Invoice_Or_Transaction": "      A123",
                      "Transaction_Type": "I",
                      "Job_Number": "    A123",
                      "Invoice_Date": "2022-01-01 00:00:00.000",
                      "Terms_Code": "12345",
                      "Salesperson_Code": "12345",
                      "Retention_Percent": "10.00",
                      "GL_Date": "2022-01-01 00:00:00.000",
                      "GL_Period": "01",
                      "GL_Year": "22",
                      "Remarks": "AR Invoice for concrete pour in January.",
                      "AR_GL_Account": "12345",
                      "Non_Taxable_Amount": "125.00",
                      "Taxable_Amount": ".00",
                      "Sales_Tax_Amount": "5.00",
                      "Invoice_Extension": "125.00",
                      "Retention_Amount": "12.50",
                      "Post_Flag": "",
                      "Sales_Tax_Code": "1700",
                      "Sales_Tax_Percent": ".0000",
                      "Print_Flag": "N",
                      "Print_Job_Address_Flag": "Y",
                      "Ship_Date": null,
                      "Ship_Address1": "",
                      "Ship_Address2": "",
                      "Ship_Address3": "",
                      "Ship_Address4": "",
                      "Ship_Address5": "",
                      "Cost_Of_Sale": ".00",
                      "Customer_PO": "",
                      "Taxable_Flag": "N",
                      "Work_Order": "",
                      "Tax_Code_List1": "",
                      "Tax_Code_List2": "",
                      "Tax_Code_List3": "",
                      "Tax_Code_List4": "",
                      "Tax_Code_List5": "",
                      "Tax_Code_List6": "",
                      "Taxable_Amount_List1": ".00",
                      "Taxable_Amount_List2": ".00",
                      "Taxable_Amount_List3": ".00",
                      "Taxable_Amount_List4": ".00",
                      "Taxable_Amount_List5": ".00",
                      "Taxable_Amount_List6": ".00",
                      "Tax_Percent_List1": ".0000",
                      "Tax_Percent_List2": ".0000",
                      "Tax_Percent_List3": ".0000",
                      "Tax_Percent_List4": ".0000",
                      "Tax_Percent_List5": ".0000",
                      "Tax_Percent_List6": ".0000",
                      "Tax_Amount_List1": ".00",
                      "Tax_Amount_List2": ".00",
                      "Tax_Amount_List3": ".00",
                      "Tax_Amount_List4": ".00",
                      "Tax_Amount_List5": ".00",
                      "Tax_Amount_List6": ".00",
                      "Source_Flag": "",
                      "TM_Billing_Number": "",
                      "Batch_Code": "4",
                      "Update_Flag": "",
                      "Area_Code": "",
                      "Alternate_Address": "",
                      "Billto_Code": "",
                      "Cost_Center": "12345",
                      "Site_ID": "",
                      "Contract_Number": "",
                      "Contract_Key": "",
                      "Reversed": "",
                      "Sales_Tax_Override": "Y",
                      "Retention_Override": "Y",
                      "VAT_Code": "",
                      "VAT_Tax_Percent": ".0000",
                      "Total_VAT_Amt": ".00",
                      "Retention_VAT_Amt": ".00",
                      "Currency_Code": "",
                      "Exchange_Rate": ".000000",
                      "Use_Online_Tax": "",
                      "Online_Tax_Transaction_Code": "",
                      "Online_Tax_Commit_Status": "",
                      "PST_On_Holdback_Flag": "",
                      "Holdback_PST_Amount": ".00",
                      "Holdback_Taxed_Amount": ".00"
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "ArInvoice-14": {
        "allOf": [
          {
            "$ref": "#/components/schemas/ArInvoice"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The SQL path on the Source System.",
                    "example": "select * from [bARBL] where [bARBL].[Co] = 12345"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "ARCo": "12345",
                      "Mth": "2022-01-01 00:00:00",
                      "ARTrans": "12345",
                      "ARTransType": "I",
                      "CustGroup": "12345",
                      "Customer": "12345",
                      "CustRef": null,
                      "CustPO": null,
                      "RecType": "12345",
                      "JCCo": null,
                      "Contract": null,
                      "Invoice": "       A123",
                      "CheckNo": null,
                      "Source": "AR Invoice",
                      "MSCo": null,
                      "TransDate": "2022-01-01 00:00:00",
                      "DueDate": "2022-01-01 00:00:00",
                      "DiscDate": null,
                      "CheckDate": null,
                      "Description": "Invoice for concrete pour in January.",
                      "CMCo": null,
                      "CMAcct": null,
                      "CMDeposit": null,
                      "CreditAmt": ".00",
                      "PayTerms": "12345",
                      "AppliedMth": "2022-01-01 00:00:00",
                      "AppliedTrans": "12345",
                      "Invoiced": "100.0",
                      "Paid": "00.00",
                      "Retainage": ".00",
                      "DiscTaken": ".00",
                      "AmountDue": ".00",
                      "PayFullDate": "2022-01-01 00:00:00",
                      "PurgeFlag": "N",
                      "EditTrans": "Y",
                      "BatchId": "4",
                      "InUseBatchID": null,
                      "Notes": null,
                      "ReasonCode": null,
                      "ExcludeFC": "N",
                      "FinanceChg": ".00",
                      "UniqueAttchID": null,
                      "KeyID": "12345"
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "NewArInvoiceLineItem": {
        "type": "object",
        "required": [
          "cost_code_id",
          "sub_job_id"
        ],
        "properties": {
          "amount": {
            "type": "string",
            "description": "The total monetary amount of the Line Item, including tax.",
            "example": "100.00"
          },
          "cost_code_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Cost Code](#tag--cost-codes) for the Line Item."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "description": {
            "type": "string",
            "description": "A description of the Line Item.",
            "example": "Two tons of cement."
          },
          "ledger_account_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Ledger Account](#tag--ledger-accounts)."
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          },
          "quantity": {
            "type": "string",
            "description": "The estimated quantity of the unit in the Line Item.",
            "example": "2.0"
          },
          "sub_job_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Sub Job](#tag--sub-jobs) for the Line Item. Required when the invoice is for a Project."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "unit_of_measure": {
            "type": "string",
            "description": "The unit of measure of the Line Item.",
            "example": "Tons"
          },
          "unit_price": {
            "type": "string",
            "description": "The price of each unit associated with the Line Item.",
            "example": "50"
          }
        }
      },
      "NewArInvoice": {
        "type": "object",
        "required": [
          "customer_id",
          "type"
        ],
        "properties": {
          "customer_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Customer](#tag--customers)."
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          },
          "description": {
            "type": "string",
            "description": "A description of the AR Invoice.",
            "example": "AR Invoice for concrete pour in January."
          },
          "due_date": {
            "allOf": [
              {
                "description": "The date when payment for the AR Invoice is due."
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ]
          },
          "issue_date": {
            "allOf": [
              {
                "description": "The date of the AR Invoice transaction or when it was issued. \n\n**Note**: if a date for this field is omitted, today's date will be used instead.\n"
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ]
          },
          "line_items": {
            "description": "The line items for the AR Invoice. To learn more about creating and updating Line Items, see [link](/agave-api/line-items).",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/NewArInvoiceLineItem"
            }
          },
          "status": {
            "type": "string",
            "example": "On Hold",
            "description": "The current status of the AR Invoice. \n\n**Note for Acumatica**: For invoice creation, status must be \"On Hold\" (defaults if omitted). For updates, must be \"Open\". See [link](https://support.agaveapi.com/how-to-release-an-ar-invoices-in-acumatica-through-agave).\n"
          },
          "type": {
            "type": "string",
            "description": "The type of AR Invoice. \n\n **Note for Acumatica**: valid values for creation include \"Invoice\".\n",
            "example": "Regular"
          }
        }
      },
      "NewArInvoiceLineItem-2": {
        "type": "object",
        "properties": {
          "amount": {
            "type": "string",
            "description": "The total monetary amount of the Line Item, including tax.",
            "example": "100.00"
          },
          "description": {
            "type": "string",
            "description": "A description of the Line Item.",
            "example": "Two tons of cement."
          },
          "item_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Item](#tag--items) for the Line Item. **Note for Viewpoint Vista:** if the value for `type` is set to `Contract` or `Other`, this value will be ignored."
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          },
          "ledger_account_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Ledger Account](#tag--ledger-accounts)."
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          },
          "prime_contract_line_item_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Prime Contract Line Item](#tag--prime-contracts). **Note for Viewpoint Vista:** if the value for `type` is set to `Material` or `Other`, this value will be ignored."
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          },
          "quantity": {
            "type": "string",
            "description": "The estimated quantity of the unit in the Line Item.\n\n**Note for Viewpoint Vista**: if the value for `type` is set to \"Other\", this value will be ignored.\n",
            "example": "2.0"
          },
          "type": {
            "type": "string",
            "description": "The type of the Line Item. \n\n**Note**: for QuickBooks Online, only \"SalesItemLineDetail\" is supported. \n\n**Note**: for Viewpoint Vista, options include \"Contract\", \"Material\", and \"Other\".\n",
            "example": "SalesItemLineDetail"
          },
          "unit_price": {
            "type": "string",
            "description": "The price of each unit associated with the Line Item. \n\n**Note for Viewpoint Vista**: if the value for `type` is set to \"Contract\", the unit price value from the Prime Contract Line Item will be used instead. If the value for `type` is set to \"Other\", then this value will be ignored.\n",
            "example": "50"
          }
        }
      },
      "NewArInvoice-2": {
        "type": "object",
        "properties": {
          "batch": {
            "type": "string",
            "description": "The batch the AR Invoice is associated with. **Note**: if you do not input a value for this field, it will be auto-generated by the Source System.\n",
            "example": "4"
          },
          "customer_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Customer](#tag--customers)."
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          },
          "discount_date": {
            "allOf": [
              {
                "description": "The discount date of the AR Invoice."
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ]
          },
          "due_date": {
            "allOf": [
              {
                "description": "The date when payment for the AR Invoice is due. **Note**: if you do not input a value for this field, the due date will be calculated from the Customer's payment terms (e.g. net 30).\n"
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ]
          },
          "issue_date": {
            "allOf": [
              {
                "description": "The date of the AR Invoice transaction or when it was issued. **Note**: iif you do not input a value for this field, the Source System will use today's date instead.\n"
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ]
          },
          "line_items": {
            "description": "The line items for the AR Invoice. To learn more about creating and updating Line Items, see [link](/agave-api/line-items).",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/NewArInvoiceLineItem-2"
            }
          },
          "number": {
            "type": "string",
            "description": "The number of the AR Invoice. **Note**: if you do not input a value for this field, it will be auto-generated by the Source System.\n",
            "example": "A123"
          },
          "prime_contract_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Prime Contract](#tag--prime-contracts)."
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          }
        }
      },
      "NewArInvoice-3": {
        "allOf": [
          {
            "$ref": "#/components/schemas/NewArInvoice-2"
          },
          {
            "type": "object",
            "properties": {
              "project_id": {
                "type": "string",
                "description": "The UUID or source_id of the [Project](#tag--projects) for this AR Invoice.\n\nFormat: Use \"source_id:{project_id}\" when referencing by source ID.\n",
                "example": "source_id:12345"
              },
              "prime_contract_id": {
                "type": "string",
                "description": "The UUID or source_id of the [Prime Contract](#tag--prime-contracts) for this AR Invoice.\n\nFormat: Use \"source_id:{prime_contract_id}\" when referencing by source ID.\n",
                "example": "source_id:dec79280-a590-4763-9973-59ce74223e6c"
              },
              "customer_id": {
                "type": "string",
                "description": "The UUID or source_id of the [Customer](#tag--customers) for this AR Invoice.\n\nFormat: Use \"source_id:{customer_id}\" when referencing by source ID.\n",
                "example": "source_id:12345"
              },
              "description": {
                "type": "string",
                "description": "A description of the AR Invoice.",
                "example": "Main Contract-PA001"
              },
              "status": {
                "type": "string",
                "description": "The status of the AR Invoice. Valid values are \"Draft\", \"Submitted\", \"Approved\", \"Rejected\", or \"Paid\".",
                "example": "Submitted"
              },
              "issue_date": {
                "allOf": [
                  {
                    "description": "The date of the AR Invoice transaction or when it was issued. **Note**: if you don't specify this, the system will use the current date.\n"
                  },
                  {
                    "$ref": "#/components/schemas/DateProperty"
                  }
                ],
                "example": "2036-11-07"
              },
              "source_data": {
                "type": "object",
                "description": "Additional data to send to the source system.",
                "properties": {
                  "status": {
                    "type": "string",
                    "description": "The status of the AR Invoice. Valid values are \"draft\", \"pending\", \"approved\", \"rejected\", or \"paid\".",
                    "example": "draft"
                  },
                  "name": {
                    "type": "string",
                    "description": "The name of the AR Invoice in Autodesk Build.",
                    "example": "Partial payment for January AR invoice"
                  },
                  "note": {
                    "type": "string",
                    "description": "A note to include with the AR Invoice.",
                    "example": "This is a payment for the work completed in January"
                  },
                  "start_date": {
                    "type": "string",
                    "format": "date",
                    "description": "The start date of the billing period.",
                    "example": "2036-11-01"
                  },
                  "end_date": {
                    "type": "string",
                    "format": "date",
                    "description": "The end date of the billing period.",
                    "example": "2036-11-15"
                  }
                }
              }
            },
            "required": [
              "description",
              "prime_contract_id"
            ]
          }
        ]
      },
      "NewArInvoiceLineItem-3": {
        "type": "object",
        "required": [
          "type"
        ],
        "properties": {
          "amount": {
            "type": "string",
            "description": "The amount of the Line Item.\n\n**Note for ComputerEase**: if the `type` is set to \"Job Distribution\", this field is required.\n",
            "example": "100"
          },
          "cost_code_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Cost Code](#tag--cost-codes) for the Line Item. \n"
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          },
          "cost_type_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Cost Type](#tag--cost-types) for the Line Item. \n\n**Note**: Available only for Service Invoice Line Items.\n"
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          },
          "description": {
            "type": "string",
            "description": "A description of the Line Item.",
            "example": "Two tons of cement."
          },
          "ledger_account_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Ledger Account](#tag--ledger-accounts) associated with the AR Invoice Line Item."
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          },
          "quantity": {
            "type": "string",
            "description": "The estimated quantity of the unit in the Line Item.\n\n**Note for ComputerEase**: if the `type` is set to \"Item\", this field is required.\n",
            "example": "2.0000"
          },
          "sub_job_id": {
            "type": "string",
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Sub Job](#tag--sub-jobs) associated with the AR Invoice Line Item."
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          },
          "type": {
            "type": "string",
            "description": "The type of the Line Item.\n\n**Note for ComputerEase**: valid values include \"Item\" and \"Job Cost Distribution\"\n",
            "example": "Item",
            "enum": [
              "Item",
              "Job Distribution"
            ]
          },
          "unit_cost": {
            "type": "string",
            "description": "The unit cost of the Line Item.\n\n**Note for ComputerEase**: if the `type` is set to \"Item\", this field is required.\n",
            "example": "25.000000"
          },
          "unit_price": {
            "type": "string",
            "description": "The unit price of the Line Item.\n",
            "example": "25.000000"
          }
        }
      },
      "NewArInvoice-4": {
        "type": "object",
        "required": [
          "customer_id",
          "number",
          "type"
        ],
        "properties": {
          "customer_id": {
            "allOf": [
              {
                "description": "The Agave UUID of the [Customer](#tag--customers) associated with the AR Invoice.\n"
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          },
          "description": {
            "type": "string",
            "description": "Description of the AR Invoice.\n",
            "example": "25% progress billing."
          },
          "discount_date": {
            "allOf": [
              {
                "description": "The discount date of the AR Invoice."
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ]
          },
          "department_id": {
            "allOf": [
              {
                "description": "The Agave UUID of the [Department](#tag--departments) associated with the AR Invoice.\n"
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          },
          "due_date": {
            "allOf": [
              {
                "description": "The date when payment for the AR Invoice is due. \n"
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ]
          },
          "issue_date": {
            "allOf": [
              {
                "description": "The date the AR Invoice was issued.\n"
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ]
          },
          "line_items": {
            "description": "The line items for the AR Invoice. To learn more about creating and updating Line Items, see [link](/agave-api/line-items).",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/NewArInvoiceLineItem-3"
            }
          },
          "number": {
            "type": "string",
            "description": "The number of the AR Invoice.\n\n**Note for Service Invoices**: Available if work_order_id is not present.\n",
            "example": "1000125"
          },
          "project_id": {
            "allOf": [
              {
                "description": "The Agave UUID of the [Project](#tag--projects) associated with the AR Invoice.\n"
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          },
          "retention_amount": {
            "type": "string",
            "description": "The total amount of retention in the AR Invoice.\n",
            "example": "20.00"
          },
          "tax_code_id": {
            "allOf": [
              {
                "description": "The Agave UUID of the [Tax Code](#tag--tax-codes) associated with the AR Invoice.\n"
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          },
          "type": {
            "type": "string",
            "description": "The type of the AR Invoice.\n\n**Note**: Only \"Freeform Invoice\" is supported.\n",
            "example": "Freeform Invoice",
            "enum": [
              "Freeform Invoice"
            ]
          }
        }
      },
      "NewArInvoiceLineItem-4": {
        "required": [
          "amount",
          "ledger_account_id"
        ],
        "type": "object",
        "properties": {
          "amount": {
            "type": "string",
            "description": "The total monetary amount of the Line Item.",
            "example": "100.00"
          },
          "ledger_account_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Ledger Account](#tag--ledger-accounts)."
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          }
        }
      },
      "NewArInvoice-5": {
        "type": "object",
        "required": [
          "customer_id",
          "due_date",
          "issue_date",
          "line_items",
          "number",
          "status",
          "type",
          "source_data"
        ],
        "properties": {
          "customer_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Customer](#tag--customers)."
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          },
          "due_date": {
            "allOf": [
              {
                "description": "The date when payment for the AR Invoice is due.\n"
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ]
          },
          "issue_date": {
            "allOf": [
              {
                "description": "The date of the AR Invoice transaction or when it was issued.\n"
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ]
          },
          "line_items": {
            "description": "The line items for the AR Invoice. To learn more about creating and updating Line Items, see [link](/agave-api/line-items).",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/NewArInvoiceLineItem-4"
            }
          },
          "number": {
            "type": "string",
            "description": "The number of the AR Invoice.\n",
            "example": "A123"
          },
          "prime_contract_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Prime Contract](#tag--prime-contracts)."
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          },
          "status": {
            "type": "string",
            "description": "The status of the AR Invoice\n\n**Note for Foundation**: only \"Pending\" is supported for write operations.\n",
            "example": "Pending",
            "enum": [
              "Pending"
            ]
          },
          "tax_amount": {
            "type": "string",
            "description": "The tax amount of the AR Invoice.",
            "example": "10.00"
          },
          "type": {
            "type": "string",
            "description": "The type of the AR Invoice\n\n**Note for Foundation**: only \"Regular\" is supported for write operations.\n",
            "example": "Regular",
            "enum": [
              "Regular"
            ]
          },
          "source_data": {
            "type": "object",
            "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
            "properties": {
              "income_type_no": {
                "description": "The income type for the AR Invoice.\n\n**Note for Foundation**: income types are used to specify different ledger accounts for different types of income. A list of possible values for this field can be found with the \"income_type_no\" column in the `income_types` table, which requires a passthrough request. To learn more about passthrough requests, see [link](/agave-api/passthrough-requests#foundation-viewpoint-spectrum-and-viewpoint-vista).        \n",
                "type": "string",
                "example": "C"
              },
              "tax_gl": {
                "description": "The ledger account that should be credited with the accrued tax.\n\n**Note for Foundation**: a list of possible values for this field can be found with the \"source_id\" field in the [Ledger Accounts](#tag--ledger-accounts) endpoint.\n",
                "type": "string",
                "example": "2140"
              },
              "tax_no": {
                "description": "The tax code of the AR Invoice.           \n\n**Note for Foundation**: a list of possible values for this field can be found with the \"source_id\" field in the [Tax Codes](#tag--tax-codes) endpoint.\n",
                "type": "string",
                "example": "NY"
              }
            }
          }
        }
      },
      "NewArInvoiceLineItem-5": {
        "required": [
          "amount",
          "prime_contract_line_item_id",
          "quantity"
        ],
        "type": "object",
        "properties": {
          "amount": {
            "type": "string",
            "description": "The monetary amount of the Line Item. \n\n**Note for Procore:** if the associated Prime Contract has a `type` of \"Unit\", this field cannot be updated.\n",
            "example": "100.00"
          },
          "prime_contract_line_item_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Prime Contract](#tag--prime-contracts) Line Item."
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          },
          "quantity": {
            "type": "string",
            "description": "The estimated quantity of the unit in the Line Item. \n\n**Note for Procore:** if the associated Prime Contract has a `type` of \"Amount\", this field cannot be updated.\n",
            "example": "2.0"
          }
        }
      },
      "NewArInvoice-6": {
        "type": "object",
        "required": [
          "issue_date",
          "prime_contract_id"
        ],
        "properties": {
          "issue_date": {
            "allOf": [
              {
                "description": "The date of the AR Invoice transaction or when it was issued. **Note**: if a date for this field is omitted, today's date will be used instead.\n"
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ]
          },
          "line_items": {
            "description": "The line items for the AR Invoice. To learn more about creating and updating Line Items, see [link](/agave-api/line-items).",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/NewArInvoiceLineItem-5"
            }
          },
          "number": {
            "type": "string",
            "description": "The number of the AR Invoice. \n",
            "example": "A123"
          },
          "prime_contract_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Prime Contract](#tag--prime-contracts)."
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          },
          "status": {
            "type": "string",
            "description": "The status of the AR Invoice. \n",
            "example": "Draft",
            "enum": [
              "Approved",
              "Draft",
              "Revise and Resubmit",
              "Under Review"
            ]
          }
        }
      },
      "NewArInvoiceLineItem-6": {
        "type": "object",
        "required": [
          "amount",
          "description",
          "item_id"
        ],
        "properties": {
          "amount": {
            "type": "string",
            "description": "The total monetary amount of the Line Item.",
            "example": "95.00"
          },
          "description": {
            "type": "string",
            "description": "A description of the Line Item.",
            "example": "Two tons of cement."
          },
          "item_id": {
            "allOf": [
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ],
            "description": "The UUID assigned by Agave of the [Item](#tag--items) for the Line Item. **Note:** for QuickBooks Desktop, the Item must have an `income_account_id` to be included in an AR Invoice.\n"
          },
          "quantity": {
            "type": "string",
            "description": "The estimated quantity of the unit in the Line Item.\n",
            "example": "2.0"
          },
          "type": {
            "type": "string",
            "description": "The type of the Line Item. \n\n**Note for QuickBooks Desktop**: Note, the potential values for this field can be found with the Class endpoint in QuickBooks Desktop, which requires a passthrough request. To learn more about this passthrough request, see [link](/agave-api/passthrough-requests#example-requests).\n",
            "example": "Revenue - Job"
          },
          "unit_price": {
            "type": "string",
            "description": "The price of each unit associated with the Line Item. \n",
            "example": "47.50"
          }
        }
      },
      "NewArInvoice-7": {
        "type": "object",
        "required": [
          "customer_id"
        ],
        "properties": {
          "customer_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Customer](#tag--customers)."
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          },
          "description": {
            "type": "string",
            "description": "A description of the AR Invoice.",
            "example": "Concrete pour in January."
          },
          "due_date": {
            "allOf": [
              {
                "description": "The date when payment for the AR Invoice is due. **Note**: if a date for this field is omitted, a due date will be calculated from the Customer's payment terms (e.g. net 30).\n"
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ]
          },
          "issue_date": {
            "allOf": [
              {
                "description": "The date of the AR Invoice transaction or when it was issued. **Note**: if a date for this field is omitted, today's date will be used instead.\n"
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ]
          },
          "line_items": {
            "description": "The line items for the AR Invoice. To learn more about creating and updating Line Items, see [link](/agave-api/line-items).",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/NewArInvoiceLineItem-6"
            }
          },
          "number": {
            "type": "string",
            "description": "The number of the AR Invoice. **Note**: If a value for this field is not supplied, it will be auto-generated by QuickBooks Desktop.\n",
            "example": "A123"
          }
        }
      },
      "NewArInvoiceLineItem-7": {
        "type": "object",
        "required": [
          "amount",
          "description",
          "item_id"
        ],
        "properties": {
          "amount": {
            "type": "string",
            "description": "The total monetary amount of the Line Item, including tax.",
            "example": "100.00"
          },
          "description": {
            "type": "string",
            "description": "A description of the Line Item.",
            "example": "Two tons of cement."
          },
          "item_id": {
            "allOf": [
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ],
            "description": "The UUID assigned by Agave of the [Item](#tag--items) for the Line Item. **Note:** for QuickBooks Online, the Item must have an `income_account_id` to be included in an AR Invoice.\n"
          },
          "quantity": {
            "type": "string",
            "description": "The estimated quantity of the unit in the Line Item.\n",
            "example": "2.0"
          },
          "type": {
            "type": "string",
            "description": "The type of the Line Item. \n\n**Note for QuickBooks Online**: Note, the potential values for this field can be found with the Class endpoint in QuickBooks Online, which requires a passthrough request. To learn more about this passthrough request, see [link](/agave-api/passthrough-requests#example-requests).\n",
            "example": "Revenue - Job"
          },
          "unit_price": {
            "type": "string",
            "description": "The price of each unit associated with the Line Item. \n",
            "example": "50.0"
          }
        }
      },
      "NewArInvoice-8": {
        "type": "object",
        "required": [
          "customer_id"
        ],
        "properties": {
          "customer_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Customer](#tag--customers)."
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          },
          "due_date": {
            "allOf": [
              {
                "description": "The date when payment for the AR Invoice is due. **Note**: if a date for this field is omitted, a due date will be calculated from the Customer's payment terms (e.g. net 30).\n"
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ]
          },
          "issue_date": {
            "allOf": [
              {
                "description": "The date of the AR Invoice transaction or when it was issued. **Note**: if a date for this field is omitted, today's date will be used instead.\n"
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ]
          },
          "line_items": {
            "description": "The line items for the AR Invoice. To learn more about creating and updating Line Items, see [link](/agave-api/line-items).",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/NewArInvoiceLineItem-7"
            }
          },
          "number": {
            "type": "string",
            "description": "The number of the AR Invoice. **Note**: If a value for this field is not supplied, it will be auto-generated by the Source System.\n",
            "example": "A123"
          }
        }
      },
      "NewArInvoiceLineItem-8": {
        "type": "object",
        "required": [
          "description",
          "source_data"
        ],
        "properties": {
          "cost_code_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Cost Code](#tag--cost-codes) for the Line Item. \n"
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          },
          "cost_type_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Cost Type](#tag--cost-types) for the Line Item. \n\n**Note**: Available only for Service Invoice Line Items.\n"
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          },
          "description": {
            "type": "string",
            "description": "A description of the Line Item.",
            "example": "Two tons of cement."
          },
          "item_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Item](#tag--items) for the Line Item."
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          },
          "ledger_account_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Ledger Account](#tag--ledger-accounts)."
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          },
          "quantity": {
            "type": "string",
            "description": "The estimated quantity of the unit in the Line Item.\n",
            "example": "2.0000"
          },
          "unit_price": {
            "type": "string",
            "description": "The unit price of the Line Item.\n",
            "example": "25.000000"
          },
          "unit_of_measure": {
            "type": "string",
            "description": "The unit of measurement for the Line Item.\n\n**Note**: Available only for Service Invoice Line Items.\n",
            "example": "Each"
          },
          "source_data": {
            "type": "object",
            "properties": {
              "SubaccountRef": {
                "type": "object",
                "description": "The subsidiary account associated with the ledger account for the AR Invoice Line Item. \n\n**Note for Sage 100 Contractor**: if a ledger account has a subsidiary ledger account enabled, this field is required. \n",
                "properties": {
                  "ObjectID": {
                    "description": "The ObjectID of the subaccount.",
                    "type": "string",
                    "example": "1"
                  }
                }
              }
            }
          }
        }
      },
      "NewArInvoice-9": {
        "type": "object",
        "required": [
          "description",
          "discount_date",
          "due_date",
          "issue_date",
          "line_items",
          "number",
          "prime_contract_id",
          "project_id",
          "status",
          "type"
        ],
        "properties": {
          "description": {
            "type": "string",
            "description": "Description of the AR Invoice.\n\n**Note for Service Invoices**: Available if work_order_id is not present.\n",
            "example": "25% progress billing."
          },
          "discount_date": {
            "allOf": [
              {
                "description": "The discount date of the AR Invoice."
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ]
          },
          "due_date": {
            "allOf": [
              {
                "description": "The date when payment for the AR Invoice is due. \n"
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ]
          },
          "issue_date": {
            "allOf": [
              {
                "description": "The date the AR Invoice was issued.\n"
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ]
          },
          "line_items": {
            "description": "The line items for the AR Invoice. To learn more about creating and updating Line Items, see [link](/agave-api/line-items).",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/NewArInvoiceLineItem-8"
            }
          },
          "number": {
            "type": "string",
            "description": "The number of the AR Invoice.\n\n**Note for Service Invoices**: Available if work_order_id is not present.\n",
            "example": "1000125"
          },
          "prime_contract_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Prime Contract](#tag--prime-contracts).\n\n**Note**: This is only available for Receivable Invoices with type \"Contract\" or \"Memo\".  \n"
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          },
          "project_id": {
            "allOf": [
              {
                "description": "The Agave UUID of the [Project](#tag--projects) associated with the Service Invoice.\n\n**Note**: This is only available for Service Invoices\n"
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ],
            "example": "A1001"
          },
          "retention_amount": {
            "type": "string",
            "description": "The total amount of retention in the AR Invoice.\n\n**Note**: This is only writeable for Receivable Invoices with type \"Contract\" or \"Memo\".\n",
            "example": "20.00"
          },
          "status": {
            "type": "string",
            "description": "The status of the AR Invoice.\n\n**Note for Sage 100 Contractor**:\n  - For Receivable Invoices, must be \"Open\" or \"Review\". For reference:\n    - **Open**: indicates an AR Invoice has been posted to the General Ledger. This is the default value for this field.\n    - **Review**: indicates the management or bookkeepingstaff should review the AR Invoice.\n  - For Service Invoices, must be \"Quote\", \"Work Order\", or \"Complete\"\n",
            "example": "Open",
            "enum": [
              "Open",
              "Review",
              "Quote",
              "Work Order",
              "Complete"
            ]
          },
          "type": {
            "type": "string",
            "description": "The AR Invoice type.\n\n**Note for Sage 100 Contractor**: This value must be \"Contract\" or \"Memo\" for Receivable Invoices, or \"Service\" for Service Invoices. For reference:\n  - **Contract**: affects the billing for the contract (can increase/decrease the job balance).\n  - **Memo**: does not affect the job billing for the contract.\n  - **Service**: A Service Invoice on a Work Order in Sage 100C.\n",
            "example": "Contract",
            "enum": [
              "Contract",
              "Memo",
              "Service"
            ]
          },
          "work_order_id": {
            "allOf": [
              {
                "description": "The Agave UUID assigned of the [Work Order](#tag--work-orders) associated with the Service Invoice.\n\n**Note for Service Invoices**:\n  - When work_order_id is present, Agave will modify the **existing** work order and add the payload Service Invoice Line Items to it. Any fields that previously exist in the work order cannot be modified.\n  - When work_order_id is not present, Agave will create a **new** work order and dd the payload Service Invoice Line Items to it.\n"
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          },
          "source_data": {
            "type": "object",
            "properties": {
              "PriorityRef": {
                "type": "object",
                "description": "The subsidiary account associated with the ledger account for the AR Invoice Line Item. \n\n**Note for Service Invoices**: This field is required when work_order_id is not present.\n",
                "properties": {
                  "ObjectID": {
                    "description": "The ObjectID of the Priority.",
                    "type": "string",
                    "example": "3"
                  }
                }
              },
              "ServiceInvoiceTypeRef": {
                "type": "object",
                "description": "The type associated with the Service Invoice.\n\n**Note for Service Invoices**: This field is required when work_order_id is not present.\n",
                "properties": {
                  "ObjectID": {
                    "description": "The ObjectID of the Priority.",
                    "type": "string",
                    "example": "3"
                  }
                }
              }
            }
          }
        }
      },
      "NewArInvoiceLineItem-9": {
        "required": [
          "amount"
        ],
        "type": "object",
        "properties": {
          "amount": {
            "type": "string",
            "description": "The amount of the AR Invoice Line Item.",
            "example": "100"
          },
          "cost_code_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Cost Code](#tag--cost-codes) associated with the AR Invoice Line Item."
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          },
          "prime_contract_line_item_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Prime Contract Line Item](#tag--prime-contracts)."
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          },
          "quantity": {
            "type": "string",
            "description": "The quantity of the AR Invoice Line Item.",
            "example": "10"
          },
          "sub_job_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Sub Job](#tag--sub-jobs) associated with the AR Invoice Line Item."
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          },
          "retention_amount": {
            "type": "string",
            "description": "The amount of the AR Invoice being held in retention for the AR Invoice Line Item.",
            "example": "10.0"
          },
          "tax_code_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Tax Code](#tag--tax-codes) associated with the AR Invoice Line Item."
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          },
          "type": {
            "type": "string",
            "description": "The type of the AR Invoice Line Item.\n\n**Note for Sage 300 CRE**: if this field is not included, Sage 300 CRE will default to \"Total billed\".\n",
            "example": "Total billed",
            "enum": [
              "Add-on",
              "Deduction",
              "Equipment",
              "Labor",
              "Material",
              "Other",
              "Overhead",
              "Subcontract",
              "Tax",
              "Total billed"
            ]
          }
        }
      },
      "NewArInvoice-10": {
        "required": [
          "customer_id",
          "line_items"
        ],
        "type": "object",
        "properties": {
          "customer_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Customer](#tag--customers)."
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          },
          "description": {
            "type": "string",
            "description": "A description (often internal) of the AR Invoice.",
            "example": "Materials for January."
          },
          "due_date": {
            "allOf": [
              {
                "description": "The date when payment for the AR Invoice is due."
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ]
          },
          "issue_date": {
            "allOf": [
              {
                "description": "The date the AR Invoice was issued."
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ]
          },
          "line_items": {
            "description": "The line items for the AR Invoice.",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/NewArInvoiceLineItem-9"
            }
          },
          "number": {
            "type": "string",
            "description": "The number of the AR Invoice.",
            "example": "A123"
          },
          "prime_contract_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Prime Contract](#tag--prime-contracts)."
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          }
        }
      },
      "NewArInvoiceLineItem-10": {
        "required": [
          "amount",
          "item_id",
          "prime_contract_line_item_id",
          "quantity",
          "type",
          "unit_of_measure"
        ],
        "type": "object",
        "properties": {
          "amount": {
            "type": "string",
            "description": "The amount of the Line Item, excluding tax.",
            "example": "100.00"
          },
          "item_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Item](#tag--items) for the Line Item. \n\n**Note for Sage Intacct**: \n  - If the `type` is set to \"Price\", the `item_id` type must be \"Non-Inventory\". \n  - If the `type` is set to \"Quantity\", the `item_id` type must be \"Inventory\". \n"
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          },
          "prime_contract_line_item_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Prime Contract Line Item](#tag--prime-contrac-ts). **Note for Viewpoint Vista:** if the value for `type` is set to `Material` or `Other`, this value will be ignored."
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          },
          "quantity": {
            "type": "string",
            "description": "The estimated quantity of the unit in the Line Item.\n\n**Note for Viewpoint Vista**: if the value for `type` is set to \"Other\", this value will be ignored.\n",
            "example": "2.0"
          },
          "type": {
            "type": "string",
            "description": "The type of the Line Item. \n\n**Note for Sage Intacct**: \n- \"Price\": conversion based on the price (for non-inventory items only). Note, if you set the `type` to \"Price\", you will need to set the `quantity` to \"1\". The `item_id` type must be \"Non-Inventory\".\n- \"Quantity\": conversion based on the `quantity` and `unit_of_measure`. The `item_id` type must be \"Inventory\". \n",
            "example": "Price",
            "enum": [
              "Price",
              "Quantity"
            ]
          },
          "unit_of_measure": {
            "type": "string",
            "description": "The unit used for measuring the quantity of the Line Item.\n\n**Note for Sage Intacct**: a list of possible values for this field can be found with the \"NAME\" field in the [Units of Measure endpoint](https://developer.intacct.com/api/inventory-control/units-of-measure), which requires a passthrough request. To learn more about passthrough requests, see [link](/agave-api/passthrough-requests).\n",
            "example": "Each"
          }
        }
      },
      "NewArInvoice-11": {
        "required": [
          "line_items",
          "status",
          "type"
        ],
        "type": "object",
        "properties": {
          "customer_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Customer](#tag--customers)."
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          },
          "due_date": {
            "allOf": [
              {
                "description": "The date when payment for the AR Invoice is due. **Note**: if you do not input a value for this field, the due date will be calculated from the Customer's payment terms (e.g. net 30).\n"
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ]
          },
          "issue_date": {
            "allOf": [
              {
                "description": "The date of the AR Invoice transaction or when it was issued. **Note**: iif you do not input a value for this field, the Source System will use today's date instead.\n"
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ]
          },
          "line_items": {
            "description": "The line items for the AR Invoice. To learn more about creating and updating Line Items, see [link](/agave-api/line-items).",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/NewArInvoiceLineItem-10"
            }
          },
          "number": {
            "type": "string",
            "description": "The number of the AR Invoice. **Note**: if you do not input a value for this field, it will be auto-generated by the Source System.\n",
            "example": "A123"
          },
          "prime_contract_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Prime Contract](#tag--prime-contracts)."
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          },
          "status": {
            "type": "string",
            "description": "The current status of the AR Invoice. \n\n**Note for Sage Intacct**: valid statuses include \"Closed\", \"Draft\", and \"Pending\". If the `status` is set to \"Closed\", this AR Invoice will appear in the list of Regular AR Invoices.      \n",
            "example": "Pending",
            "enum": [
              "Closed",
              "Draft",
              "Pending"
            ]
          }
        }
      },
      "NewArInvoiceLineItem-11": {
        "required": [
          "amount"
        ],
        "type": "object",
        "properties": {
          "amount": {
            "type": "string",
            "description": "The total monetary amount of the Line Item, including tax.",
            "example": "100.00"
          },
          "description": {
            "type": "string",
            "description": "A description of the Line Item.",
            "example": "Two tons of cement."
          },
          "quantity": {
            "type": "string",
            "description": "The estimated quantity of the unit in the Line Item.\n",
            "example": "2.0"
          }
        }
      },
      "NewArInvoice-12": {
        "type": "object",
        "required": [
          "customer_id",
          "issue_date",
          "line_items",
          "number",
          "source_data"
        ],
        "properties": {
          "batch": {
            "type": "string",
            "description": "The batch the AR Invoice is associated with.",
            "example": "4"
          },
          "customer_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Customer](#tag--customers)."
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          },
          "issue_date": {
            "allOf": [
              {
                "description": "The date of the AR Invoice transaction or when it was issued. **Note**: if a date for this field is omitted, today's date will be used instead.\n"
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ]
          },
          "line_items": {
            "description": "The line items for the AR Invoice. To learn more about creating and updating Line Items, see [link](/agave-api/line-items).",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/NewArInvoiceLineItem-11"
            }
          },
          "number": {
            "type": "string",
            "description": "The number of the AR Invoice. \n",
            "example": "A123"
          },
          "source_data": {
            "type": "object",
            "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
            "properties": {
              "Sales_Tax_Code": {
                "description": "The Sales Tax Code associated with the AR Invoice. **Note for Viewpoint Spectrum**: a list of Sales Tax Codes can be found with our [Tax Codes](#tag--tax-codes) endpoint.\n",
                "type": "string",
                "example": "1700"
              }
            }
          }
        }
      },
      "NewArInvoiceLineItem-12": {
        "required": [
          "description",
          "type"
        ],
        "type": "object",
        "properties": {
          "amount": {
            "type": "string",
            "description": "The total monetary amount of the Line Item, including tax.",
            "example": "100.00"
          },
          "description": {
            "type": "string",
            "description": "A description of the Line Item.",
            "example": "Two tons of cement."
          },
          "item_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Item](#tag--items) for the Line Item. **Note:** if the value for Line Item `type` is `Contract` or `Other`, this value will be ignored."
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          },
          "ledger_account_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Ledger Account](#tag--ledger-accounts). **Note** if the value for Line Item `type` is `Material` or `Other`, this field is required. If the Line Item `type` is `Contract`, the value will default to the Ledger Account associated with the Prime Contract."
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          },
          "prime_contract_line_item_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Prime Contract Line Item](#tag--prime-contracts). **Note:** if the value for `type` is `Material` or `Other`, this value will be ignored."
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          },
          "quantity": {
            "type": "string",
            "description": "The estimated quantity of the unit in the Line Item. **Note**: if the value for `type` is set to \"Other\", this value will be ignored.\n",
            "example": "2.0"
          },
          "type": {
            "type": "string",
            "description": "The type of the Line Item.\n",
            "example": "Contract",
            "enum": [
              "Contract",
              "Material",
              "Other"
            ]
          },
          "unit_price": {
            "type": "string",
            "description": "The price of each unit associated with the Line Item. **Note**: if the value for `type` is `Contract`, the unit price value from the Prime Contract Line Item will be used instead. If the value for `type` is `Other`, this field will be ignored.\n",
            "example": "50"
          }
        }
      },
      "NewArInvoice-13": {
        "type": "object",
        "required": [
          "batch",
          "source_data"
        ],
        "properties": {
          "batch": {
            "type": "string",
            "description": "The batch the AR Invoice is associated with.",
            "example": "4"
          },
          "customer_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Customer](#tag--customers)."
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          },
          "due_date": {
            "allOf": [
              {
                "description": "The date when payment for the AR Invoice is due. **Note**: if a value is not included for this field, a due date will be calculated from the Customer's payment terms (e.g. net 30).\n"
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ]
          },
          "issue_date": {
            "allOf": [
              {
                "description": "The date of the AR Invoice transaction or when it was issued. **Note**: if a value is not included for this field, today's date will be used instead.\n"
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ]
          },
          "line_items": {
            "description": "The line items for the AR Invoice. To learn more about creating and updating Line Items, see [link](/agave-api/line-items).",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/NewArInvoiceLineItem-12"
            }
          },
          "number": {
            "type": "string",
            "description": "The number of the AR Invoice. **Note**: If a value for this field is not supplied, it will be auto-generated by Viewpoint Vista.\n",
            "example": "A123"
          },
          "prime_contract_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Prime Contract](#tag--prime-contracts)."
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          },
          "source_data": {
            "type": "object",
            "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
            "properties": {
              "Mth": {
                "allOf": [
                  {
                    "description": "The batch month for the AR Invoice. Note, you cannot write batches to months outside of a General Ledger window that is configured for your Vista company."
                  },
                  {
                    "$ref": "#/components/schemas/DateTimeProperty"
                  },
                  {
                    "example": "2022-01-01 00:00:00"
                  }
                ]
              }
            }
          }
        }
      },
      "ArInvoiceLineItem-3": {
        "allOf": [
          {
            "$ref": "#/components/schemas/ArInvoiceLineItem"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The SQL path on the Source System.",
                    "example": "https://{{hostname}}/AcumaticaU100/entity/Default/20.200.001/Invoice"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "id": "70db4af5-4c8e-ee11-8427-0e03bb6fbb09",
                      "rowNumber": 1,
                      "note": {
                        "value": ""
                      },
                      "Account": {
                        "value": "40000"
                      },
                      "Amount": {
                        "value": 90
                      },
                      "Branch": {
                        "value": "HEADOFFICE"
                      },
                      "CalculateDiscountsOnImport": [],
                      "CostCode": {
                        "value": "00000"
                      },
                      "DiscountAmount": {
                        "value": 0
                      },
                      "ExtendedPrice": {
                        "value": 100
                      },
                      "InventoryID": {
                        "value": "CONCRMX"
                      },
                      "LastModifiedDateTime": {
                        "value": "2023-11-29T00:22:59.957+00:00"
                      },
                      "LineNbr": {
                        "value": 1
                      },
                      "ProjectTask": {
                        "value": "CONCRETE"
                      },
                      "Qty": {
                        "value": 2
                      },
                      "TransactionDescription": {
                        "value": "Two tons of cement"
                      },
                      "UnitPrice": {
                        "value": 50
                      },
                      "UOM": {
                        "value": "EA"
                      },
                      "custom": [],
                      "_links": {
                        "files:put": "/AcumaticaU100/entity/Default/20.200.001/files/PX.Objects.AR.ARInvoiceEntry/Transactions/70db4af5-4c8e-ee11-8427-0e03bb6fbb09/{filename}"
                      }
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "ArInvoiceLineItem-4": {
        "allOf": [
          {
            "$ref": "#/components/schemas/ApInvoiceLineItem"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "https://developer.api.autodesk.com/cost/v1/containers/{Container_Id}/payments"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "id": "12345",
                      "containerId": "12345",
                      "billingPeriodId": "12345",
                      "associationId": "12345",
                      "associationType": "MainContract",
                      "startDate": "2022-01-01",
                      "endDate": "2022-01-01",
                      "dueDate": "2022-01-01",
                      "number": "A123",
                      "name": "Partial payment for January AP invoice",
                      "description": null,
                      "amount": "100.0000",
                      "previousAmount": null,
                      "approvedChangeOrders": 0,
                      "previousApprovedChangeOrders": null,
                      "originalAmount": "100.0000",
                      "contractAmount": "100.0000",
                      "materialsOnStore": null,
                      "previousMaterialsOnStore": null,
                      "materialsBilled": null,
                      "previousMaterialsBilled": null,
                      "previousMaterialsBilledCurrency": null,
                      "recipients": [],
                      "completedWorkRetention": "0.0000",
                      "materialsOnStoreRetention": "0.0000",
                      "previousRetention": null,
                      "netAmount": 0,
                      "netRetention": 0,
                      "netMaterialsOnStore": 0,
                      "status": "draft",
                      "note": null,
                      "createdAt": "2022-01-01T00:00:00.000Z",
                      "updatedAt": "2022-01-01T00:00:00.000Z",
                      "approvedAt": null,
                      "budgetPaymentId": null,
                      "calculatedAt": null,
                      "calculatedBy": null,
                      "companyId": "12345",
                      "contactId": null,
                      "creatorId": "12345",
                      "paidAt": null,
                      "forecastDistributionAt": null,
                      "submittedAt": null,
                      "mainContractId": "56fffd64-3d44-4ae6-99b4-4d20ae689607",
                      "integrationState": null,
                      "integrationStateChangedAt": null,
                      "integrationStateChangedBy": null,
                      "exchangeRate": "1.00000000",
                      "previousExchangeRate": "1.00000000",
                      "originalAmountForeignCurrency": "100.0000",
                      "contractAmountForeignCurrency": "100.0000",
                      "approvedChangeOrdersForeignCurrency": null,
                      "previousAmountForeignCurrency": null,
                      "previousApprovedChangeOrdersForeignCurrency": null,
                      "previousRetentionForeignCurrency": null,
                      "completedWorkRetentionForeignCurrency": "0.0000",
                      "netAmountForeignCurrency": null,
                      "claimedAmount": null,
                      "previousClaimedAmount": null,
                      "previousClaimedAmountForeignCurrency": null,
                      "properties": [],
                      "paymentItems": [
                        {
                          "realizedGainOrLoss": null,
                          "id": "12345",
                          "containerId": "12345",
                          "paymentId": "12345",
                          "parentId": null,
                          "budgetId": "12345",
                          "number": null,
                          "name": "Concrete pour in January",
                          "description": null,
                          "associationId": "12345",
                          "associationType": "SOV",
                          "originalQuantity": 10,
                          "originalUnitPrice": "10.00000000",
                          "originalAmount": "100.0000",
                          "quantity": 10,
                          "unitPrice": "10.00000000",
                          "unit": "ea",
                          "amount": "100.0000",
                          "claimedQuantity": null,
                          "claimedUnitPrice": null,
                          "claimedAmount": null,
                          "materialsOnStoreQuantity": 1,
                          "materialsOnStoreUnit": "ea",
                          "materialsOnStoreUnitPrice": null,
                          "materialsOnStore": null,
                          "materialsBilledQuantity": null,
                          "materialsBilledUnit": null,
                          "materialsBilledUnitPrice": null,
                          "materialsBilled": null,
                          "previousMaterialsBilled": null,
                          "previousPaymentItemId": null,
                          "previousQuantity": 0,
                          "previousUnitPrice": null,
                          "previousAmount": null,
                          "previousClaimedQuantity": null,
                          "previousClaimedUnitPrice": null,
                          "previousClaimedAmount": null,
                          "previousMaterialsOnStore": null,
                          "completedWorkRetentionPercent": 0.1,
                          "materialsOnStoreRetentionPercent": 0,
                          "completedWorkReleased": null,
                          "materialsOnStoreReleased": null,
                          "netAmount": null,
                          "isPrivate": false,
                          "status": null,
                          "exchangeRate": "1.00000000",
                          "originalExchangeRate": "1.00000000",
                          "previousExchangeRate": "1.00000000",
                          "previousAmountForeignCurrency": null,
                          "previousClaimedAmountForeignCurrency": null,
                          "previousMaterialsBilledCurrency": null,
                          "netAmountForeignCurrency": null,
                          "creatorId": "12345",
                          "changedBy": "12345",
                          "aggregateBy": null,
                          "lastReviewedBy": null,
                          "createdAt": "2022-01-01T00:00:00.000Z",
                          "updatedAt": "2022-01-01T00:00:00.000Z",
                          "deletedAt": null
                        }
                      ],
                      "aggregateBy": null,
                      "hasItemRejected": false,
                      "hasItemUnReviewed": true
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "ArInvoiceLineItem-5": {
        "allOf": [
          {
            "$ref": "#/components/schemas/ArInvoice"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The database query for the Source System.",
                    "example": "select * from [ffitem]"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "cusnum": "AGAVE",
                      "invnum": "355758",
                      "sequence": 2,
                      "itemnum": "",
                      "itemloc": "CENTRAL",
                      "des": "Walsh, Bednar and Ruecker",
                      "qty": 70.266,
                      "price": 615,
                      "cost": 702,
                      "salesacct": "",
                      "taxablesw": 1,
                      "qtyfromjob": 0,
                      "isassembly": 0,
                      "parent": 0,
                      "serialnum": "",
                      "billphase": "",
                      "billcat": "",
                      "ismarkup": 0
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "ARInvoiceLineItem": {
        "type": "object",
        "properties": {
          "id": {
            "allOf": [
              {
                "description": "The UUID of the Line Item assigned by Agave."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "source_id": {
            "type": "string",
            "readOnly": true,
            "example": "12345",
            "description": "The ID of the Line Item in the Source System."
          },
          "amount": {
            "type": "string",
            "description": "The total monetary amount of the Line Item, including tax.\n\n**Note for Sage 100 Contractor**: For type=\"Progress Bill\", this is equal to Current Work Completed + Current Work Stored.\n",
            "example": "100.00"
          },
          "cost_code_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Cost Code](#tag--cost-codes) for the Line Item."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ],
            "type": "string"
          },
          "description": {
            "type": "string",
            "description": "A description of the Line Item.",
            "example": "Two tons of cement."
          },
          "item_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Item](#tag--items) for the Line Item."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "ledger_account_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Ledger Account](#tag--ledger-accounts) for the Line Item."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "prime_contract_line_item_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Prime Contract Line Item](#tag--prime-contracts)."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "quantity": {
            "type": "string",
            "description": "The estimated quantity of the unit in the Line Item.",
            "example": "2.0"
          },
          "retention_amount": {
            "type": "string",
            "description": "The retention amount of the Line Item.",
            "example": "10.00"
          },
          "retention_percent": {
            "type": "string",
            "description": "The retention percent of the Line Item.",
            "example": "10.00"
          },
          "sub_job_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Sub Job](#tag--sub-jobs) for the Line Item."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "type": {
            "type": "string",
            "description": "The type of the Line Item.\n\n**Note for ComputerEase**: valid values include \"Item\" and \"Job Distribution\".\n\n**Note for Foundation**: valid values for AIA Billing AR Invoices include \"Change Order\" and \"Original\". For AR Invoices, they include \"General Ledger\" and \"Job Cost\".\n\n**Note for Sage 300 CRE**: valid values include\n  - Add-on: distributions entered with this amount type are applied to the add-on section of the invoice. The add-on section applies additional charges and deductions to the billed total.\n  - Deduction: distributions entered with this amount type are subtracted from the billed total.\n  - Equipment: distributions entered with this amount type are accumulated in the Equipment section of the invoice.\n  - Labor: distributions entered with this amount type are accumulated in the Labor section of the invoice.\n  - Material: distributions entered with this amount type are accumulated in the Material section of the invoice.\n  - Other: distributions entered with this amount type are accumulated in the Other (miscellaneous) section of the invoice.\n  - Overhead: distributions entered with this amount type are accumulated in the Overhead section of the invoice.\n  - Subcontract: distributions entered with this amount type are accumulated in the Subcontract section of the invoice.\n  - Tax: distributions entered with this amount type are applied to the tax section of the invoice and included on all tax reporting.\n  - Total billed: distributions entered with this amount type are applied to the billed total (or the sum of all cost types-labor, material, subcontract, equipment, overhead, and other).\n\n**Note for Sage Intacct**: valid values for Project Contract AR Invoices include \"Price\" and \"Quantity\".\n\n**Note for ServiceTitan**: valid values for these include \"Equipment\", \"Material\", \"Price Modifier\", \"Service\", and \"Unspecified\".\n\n**Note for Viewpoint Vista:** possible values include \"Material\", \"Contract\", or \"Other\".\n",
            "example": "Material"
          },
          "unit_of_measure": {
            "type": "string",
            "description": "The unit of measure of the Line Item.",
            "example": "Tons"
          },
          "unit_price": {
            "type": "string",
            "description": "The price of each unit associated with the Line Item.",
            "example": "50"
          },
          "source_create_time": {
            "allOf": [
              {
                "description": "The datetime the Line Item was created in the Source System."
              },
              {
                "$ref": "#/components/schemas/DateTimeProperty"
              }
            ]
          },
          "source_update_time": {
            "allOf": [
              {
                "description": "The datetime the Line Item was last updated in the Source System."
              },
              {
                "$ref": "#/components/schemas/DateTimeProperty"
              }
            ]
          }
        }
      },
      "ArInvoiceLineItem-6": {
        "allOf": [
          {
            "$ref": "#/components/schemas/ARInvoiceLineItem"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The database query for the Source System.",
                    "example": "select * from [ar_invoice]"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "company_no": 1,
                      "invoice_source": "O",
                      "invoice_no": "       234",
                      "line_no": 1,
                      "posted_flag": "Y",
                      "job_no": "A123",
                      "phase_no": "      1000",
                      "cost_code_no": "      1000",
                      "invoice_amount": "100.00",
                      "transaction_date": "2024-02-18 00:00:00.000",
                      "adjustment_flag": "N",
                      "record_status": "A",
                      "row_modified_by": "98053_A",
                      "row_modified_on": "2024-02-18 00:22:05.637",
                      "row_unique_id": 1,
                      "adjustment_no": null,
                      "adjustment_id": null,
                      "company_id": "1",
                      "cost_code_id": "1000",
                      "invoice_id": "234",
                      "job_id": "A123",
                      "line_id": "1",
                      "phase_id": "1000",
                      "ovhd_gathered": "N",
                      "Internal_Batch_Number": null
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "ArInvoiceLineItem-7": {
        "allOf": [
          {
            "$ref": "#/components/schemas/ArInvoiceLineItem"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The XML path on the Source System.",
                    "example": "InvoiceQueryRq"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "TxnLineID": "12345",
                      "ItemRef": {
                        "ListID": "12345",
                        "FullName": "Cement"
                      },
                      "Desc": "Two tons of cement.",
                      "Quantity": "2.0",
                      "Rate": "47.50",
                      "Amount": "95",
                      "SalesTaxCodeRef": {
                        "ListID": "12345",
                        "FullName": "Tax"
                      }
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "ArInvoiceLineItem-8": {
        "allOf": [
          {
            "$ref": "#/components/schemas/ArInvoice"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "https://quickbooks.api.intuit.com/v3/company/{companyId}/query"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "Id": "1",
                      "LineNum": 1,
                      "Description": "Test Line Item",
                      "Amount": 100,
                      "DetailType": "SalesItemLineDetail",
                      "SalesItemLineDetail": {
                        "ItemRef": {
                          "value": "5",
                          "name": "Rock Fountain"
                        },
                        "UnitPrice": 10,
                        "Qty": 10,
                        "TaxCodeRef": {
                          "value": "TAX"
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "ArInvoiceLineItem-9": {
        "allOf": [
          {
            "$ref": "#/components/schemas/ARInvoiceLineItem"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The SQL path on the Source System.",
                    "example": "select * from [ACTIVITY_ARA_RECORD_3]"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "RCUST": "GA",
                      "RSTYPE": "Invoice",
                      "RDATE": "2022-04-01",
                      "RSSEQ": 6,
                      "RASEQ": 1,
                      "RDSEQ": 7,
                      "RTYPE": "Deduction",
                      "RCNTRT": "0300100",
                      "RCNTRTI": "2",
                      "RJOB": "03-001",
                      "REXTRA": "",
                      "RPHASE": "",
                      "RTAXGP": "MET",
                      "RTAXID": "",
                      "RTAXST": "Oregon",
                      "RTAXEX": "Taxable",
                      "RTAXRAT": 0,
                      "RTAXABL": 0,
                      "RADA": "21-1201",
                      "RACA": "21-4001",
                      "RRETA": "21-1204",
                      "RTXRTA": "",
                      "RCDA": "",
                      "RCCA": "",
                      "RICP": "",
                      "RICR": "",
                      "RADATE": "2022-04-01",
                      "RUNTBIL": 0,
                      "RAMT": -100,
                      "RRETAMT": 10,
                      "RPPAMT": 0,
                      "RORTYPE": "Not Used",
                      "RORDATE": null,
                      "RORSSEQ": 0,
                      "RORASEQ": 0,
                      "RORDSEQ": 0,
                      "RWRKORD": 0,
                      "RWOITEM": 0,
                      "RSLNAME": "",
                      "ROSTAMP": "johndoe",
                      "RDSTAMP": "2024-09-18",
                      "RTSTAMP": "17:51:06",
                      "RRWID": "6e251a40-2176-ef11-843e-0e8f85e0b28b",
                      "RRWVR": "1726707066"
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "ArInvoiceLineItem-10": {
        "allOf": [
          {
            "$ref": "#/components/schemas/ARInvoiceLineItem"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "https://api.intacct.com/ia/xml/xmlgw.phtml"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "RECORDNO": "1050",
                      "PRICE": "20",
                      "TASKID": null,
                      "COSTTYPEID": null,
                      "MEMO": null,
                      "PROJECTCONTRACTID": "A100",
                      "PROJECTCONTRACTLINEID": "2",
                      "QUANTITY": "1",
                      "TRX_AMOUNTRETAINED": "2",
                      "RETAINAGEPERCENTAGE": "10",
                      "WHENCREATED": "06/25/2024",
                      "WHENMODIFIED": "07/05/2024 01:55:21",
                      "CONVERSIONTYPE": "Price",
                      "UNIT": "Each",
                      "DOCHDRNO": "704",
                      "DOCHDRID": "Project Contract Invoice-PCINV000000056",
                      "DOCPARID": "Project Contract Invoice",
                      "BUNDLENUMBER": null,
                      "LINE_NO": "1",
                      "ITEMID": "CN001",
                      "ITEMNAME": "General Requirements",
                      "ITEMDESC": "General Requirements",
                      "WAREHOUSE": {
                        "LOCATION_NO": null,
                        "NAME": null
                      },
                      "PRICECALCMEMO": null,
                      "QTY_CONVERTED": "0",
                      "RETAILPRICE": "0",
                      "TOTAL": "20",
                      "AUWHENCREATED": "07/05/2024 01:55:21",
                      "CREATEDBY": "16",
                      "MODIFIEDBY": "16",
                      "ITEM": {
                        "TAXABLE": "true",
                        "TAXGROUP": {
                          "RECORDNO": null
                        },
                        "RENEWALMACRO": {
                          "MACROID": null
                        },
                        "ITEMTYPE": "Non-Inventory",
                        "NUMDEC_SALE": null,
                        "NUMDEC_STD": null,
                        "NUMDEC_PUR": null,
                        "REVPOSTING": "Kit Level",
                        "COMPUTEFORSHORTTERM": "false",
                        "RENEWALMACROKEY": null,
                        "UOMGRPKEY": "2",
                        "DROPSHIP": "false",
                        "BUYTOORDER": "false",
                        "REVPRINTING": "Kit",
                        "ISSUPPLYITEM": "false"
                      },
                      "EXTENDED_DESCRIPTION": "General Requirements",
                      "ITEMGLGROUP": null,
                      "STATE": "true",
                      "STATUS": "active",
                      "COST": null,
                      "COST_METHOD": "S",
                      "UIQTY": "1",
                      "DISCOUNTPERCENT": null,
                      "MULTIPLIER": "1",
                      "UIPRICE": "20",
                      "UIVALUE": "20",
                      "LOCATIONID": "A123",
                      "LOCATIONNAME": "AnyCompany Contractors",
                      "DEPARTMENTID": null,
                      "DEPARTMENTNAME": null,
                      "DEPTKEY": null,
                      "LOCATIONKEY": "16",
                      "TIMETYPEKEY": null,
                      "TIMETYPENAME": null,
                      "TIMENOTES": null,
                      "EEACCOUNTLABELKEY": null,
                      "EEACCOUNTLABEL": null,
                      "SOURCE_DOCKEY": null,
                      "SOURCE_DOCLINEKEY": null,
                      "ADJDOCHDRKEY": null,
                      "ADJDOCENTRYKEY": null,
                      "REVRECTEMPLATE": null,
                      "REVRECTEMPLATEKEY": null,
                      "REVRECSTARTDATE": null,
                      "ITEMTERM": null,
                      "TERMPERIOD": null,
                      "REVRECENDDATE": null,
                      "PRORATEPRICE": null,
                      "DEFERREVENUE": null,
                      "SC_REVRECTEMPLATE": null,
                      "SC_REVRECTEMPLATEKEY": null,
                      "SC_REVRECSTARTDATE": null,
                      "SC_REVRECENDDATE": null,
                      "SC_STARTDATE": null,
                      "DISCOUNT_MEMO": null,
                      "CURRENCY": "USD",
                      "BASECURR": "USD",
                      "EXCHRATEDATE": "06/25/2024",
                      "EXCHRATETYPE": null,
                      "EXCHRATE": "1",
                      "TRX_PRICE": "20",
                      "TRX_VALUE": "20",
                      "SCHEDULENAME": null,
                      "SCHEDULEID": null,
                      "RECURDOCNAME": null,
                      "RECURDOCID": null,
                      "RECURDOCENTRYKEY": null,
                      "RENEWALMACRO": null,
                      "RENEWALMACROKEY": null,
                      "OVERRIDETAX": "false",
                      "SC_CREATERECURSCHED": null,
                      "SC_EXISTINGSCHED": null,
                      "SC_EXTENDLINEPERIOD": null,
                      "SC_INSTALLPRICING": null,
                      "RECURCONTRACTID": null,
                      "SOURCE_DOCID": null,
                      "BILLABLE": null,
                      "BILLED": null,
                      "BILLABLETIMEENTRYKEY": null,
                      "BILLABLEGLENTRYKEY": null,
                      "BILLABLEPRENTRYKEY": null,
                      "BILLABLEDOCENTRYKEY": null,
                      "BILLABLECONTRACTSCHENTRYKEY": null,
                      "BILLABLECONTRACTUSAGEBILLINGID": null,
                      "PERCENTVAL": null,
                      "TAXABSVAL": null,
                      "TAXABLEAMOUNT": null,
                      "LINETOTAL": null,
                      "DISCOUNT": null,
                      "TRX_TAXABSVAL": null,
                      "TRX_LINETOTAL": null,
                      "TAXVALOVERRIDE": "false",
                      "PRICE_CONVERTED": "0",
                      "PAYMENTTAXCAPTURE": "false",
                      "QUANTITYRESERVED": null,
                      "QUANTITYALLOCATED": null,
                      "QUANTITYRESERVEDWHENOPEN": null,
                      "QUANTITYALLOCATEDWHENOPEN": null,
                      "ALLOCRESERVEISENABLED": "false",
                      "PROJECTKEY": null,
                      "PROJECTID": null,
                      "PROJECTNAME": null,
                      "TASKKEY": null,
                      "TASKNAME": null,
                      "BILLINGTEMPLATEKEY": null,
                      "BILLINGTEMPLATE": null,
                      "GENINVOICELINEKEY": null,
                      "LINELEVELSIMPLETAXTYPE": null,
                      "NEEDBYDATE": null,
                      "SHIPBY": null,
                      "DONOTSHIPBEFOREDATE": null,
                      "DONOTSHIPAFTERDATE": null,
                      "DATEPICKTICKETPRINTED": null,
                      "CANCELAFTERDATE": null,
                      "SHIPPEDDATE": null,
                      "SHIPTOKEY": null,
                      "SHIPTO": {
                        "CONTACTNAME": null,
                        "PREFIX": null,
                        "FIRSTNAME": null,
                        "INITIAL": null,
                        "LASTNAME": null,
                        "COMPANYNAME": null,
                        "PRINTAS": null,
                        "PHONE1": null,
                        "PHONE2": null,
                        "CELLPHONE": null,
                        "PAGER": null,
                        "FAX": null,
                        "EMAIL1": null,
                        "EMAIL2": null,
                        "URL1": null,
                        "URL2": null,
                        "VISIBLE": null,
                        "MAILADDRESS": {
                          "ADDRESS1": null,
                          "ADDRESS2": null,
                          "CITY": null,
                          "STATE": null,
                          "ZIP": null,
                          "COUNTRY": null,
                          "COUNTRYCODE": null
                        }
                      },
                      "DROPSHIP": "false",
                      "BUYTOORDER": "false",
                      "BTOSHIPTOKEY": null,
                      "BTOSHIPTOCONTACTNAME": null,
                      "AMOUNTRETAINED": "2",
                      "RELATEDDOCKEY": null,
                      "RELATEDDOCLINEKEY": null,
                      "REVISEDUNITQTY": null,
                      "REVISEDQTY": null,
                      "DRAFTCHANGEUNITQTY": null,
                      "DRAFTCHANGEQTY": null,
                      "REVISEDUNITVALUE": null,
                      "REVISEDVALUE": null,
                      "TRX_REVISEDVALUE": null,
                      "REVISEDPRICE": null,
                      "REVISEDUNITPRICE": null,
                      "TRX_REVISEDPRICE": null,
                      "RELATEDDOCLINENO": "2--CN001",
                      "DRAFTCHANGEPRICE": null,
                      "POSTEDQTYCHANGES": null,
                      "POSTEDCHANGEEXTPRICE": null,
                      "POSTEDCHANGEEXTBASEPRICE": null,
                      "ADDEDBYCHANGE": "false",
                      "PROJECTCONTRACTNAME": "West Coast Arena Contract",
                      "PROJECTCONTRACTKEY": "2",
                      "PROJECTCONTRACTLINENAME": "Line Item 2",
                      "PROJECTCONTRACTLINEKEY": "11",
                      "PCBLEXTERNALREFNO": null,
                      "PCBLDESCRIPTION": "Sample Line Item",
                      "PCBLBILLINGTYPE": "Progress",
                      "CONTRACTLINEVALUE": "14400.23",
                      "PRIORAPPLICATIONAMT": "3990.23",
                      "COMPLETEDTHISPERIOD": "20",
                      "STOREDMATERIALS": null,
                      "TOTALCOMPLETEDTODATE": "4010.23",
                      "PERCENTCOMPLETEDTODATE": "27.85",
                      "BALANCEREMAINING": "10390",
                      "DRAFTCHANGEBASEPRICE": null,
                      "PREVIOUSRETAINAGEBALANCE": "187.76",
                      "ISRETAINAGERELEASE": "false",
                      "RETAINAGETOBILL": "0",
                      "RETAINAGEBALANCE": "189.76",
                      "ISSUMMARIZED": "false",
                      "REVERSECONVERSION": "false",
                      "REVERSEPRICECONVERTED": null,
                      "REVERSEQTYCONVERTED": null,
                      "STDPRICECONVERTED": null,
                      "STDQTYCONVERTED": null,
                      "SOURCEDOCID": null,
                      "SOURCEDOCLINEID": null,
                      "ITEMALIASID": null,
                      "TOTAL_AMOUNT_CONVERTED": "0",
                      "TOTAL_AMOUNT_REMAINING": "20",
                      "QTY_REMAINING": "1",
                      "EXTENDEDPRICENETRETAINAGE": "18",
                      "EXTENDEDBASEPRICENETRETAINAGE": "18",
                      "TAXSCHEDULEID": null,
                      "PROJECTDIMKEY": null,
                      "CUSTOMERDIMKEY": "99",
                      "CUSTOMERID": "A124",
                      "CUSTOMERNAME": "Prestige Developments Ltd.",
                      "VENDORDIMKEY": null,
                      "VENDORID": null,
                      "VENDORNAME": null,
                      "EMPLOYEEDIMKEY": null,
                      "EMPLOYEEID": null,
                      "EMPLOYEENAME": null,
                      "COSTTYPEDIMKEY": null,
                      "COSTTYPENAME": null,
                      "BILLED_TIMESHEETENTRY": {
                        "ENTRYDATE": null
                      },
                      "RECORD_URL": "https://www.intacct.com/ia/acct/ur.phtml?.r=mCnAGSheKDXSCcJvZEth2Zw7liLMdJ5G5Dcy12345"
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "ArInvoiceLineItem-11": {
        "allOf": [
          {
            "$ref": "#/components/schemas/ArInvoiceLineItem"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The SQL path on the Source System.",
                    "example": "select * from [CR_INVOICE_DETAIL_MC]"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "Company_Code": "12345",
                      "Customer_Code": "12345\"",
                      "Invoice_Or_Transaction": "       A123",
                      "Transaction_Type": "I",
                      "Sequence": "001",
                      "Item_Quantity": "5.000",
                      "Unit_Of_Measure": "EA",
                      "Detail_Description": "LABOR USED",
                      "Unit_Price": "25.000",
                      "Line_Extension": "125.00",
                      "GL_Account": "12345",
                      "Sales_Tax_Code": "",
                      "Message": "",
                      "Post_Flag": "Y",
                      "Cost_Of_Sale": "125.00",
                      "GL_Department": "1",
                      "Line_Type": "L",
                      "Equipment_Code": "",
                      "Rate_Type": "",
                      "Plant_ID": "",
                      "Scale_Ticket": "",
                      "Other_Cost_Item": "",
                      "Message_ID": "",
                      "Cost_Center": "12345",
                      "Detail_Line_Type": "D",
                      "Use_Tax_Code": "",
                      "Use_Tax_Amount": ".000",
                      "Online_Tax_Code": ""
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "ArInvoiceLineItem-12": {
        "allOf": [
          {
            "$ref": "#/components/schemas/ArInvoice"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The SQL path on the Source System.",
                    "example": "select * from [bARBL] where [bARBL].[Co] = 12345 and [Mth] = 2022-01-01 00:00:00 and [BatchSeq] = 12345 and [BatchId] = 12345"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "Co": "12345",
                      "Mth": "2022-01-01 00:00:00",
                      "BatchId": "12345",
                      "BatchSeq": "12345",
                      "ARLine": "12345",
                      "TransType": "A",
                      "ARTrans": null,
                      "RecType": null,
                      "LineType": "C",
                      "Description": "Two tons of cement.",
                      "GLCo": "12345",
                      "GLAcct": "40000",
                      "TaxGroup": "12345",
                      "TaxCode": null,
                      "Amount": "100.00",
                      "TaxBasis": ".00",
                      "TaxAmount": ".00",
                      "RetgPct": ".00",
                      "Retainage": ".00",
                      "DiscOffered": ".00",
                      "TaxDisc": ".00",
                      "DiscTaken": null,
                      "CreditTaxAmt": null,
                      "AddRetainage": null,
                      "ApplyMth": null,
                      "ApplyTrans": null,
                      "ApplyLine": null,
                      "JCCo": "12345",
                      "Contract": "12345",
                      "Item": "12345",
                      "ContractUnits": "2.000",
                      "Job": null,
                      "PhaseGroup": null,
                      "Phase": null,
                      "CostType": null,
                      "UM": "t",
                      "JobUnits": null,
                      "JobHours": null,
                      "ActDate": null,
                      "INCo": null,
                      "Loc": null,
                      "MatlGroup": "12345",
                      "Material": null,
                      "UnitPrice": "50.000",
                      "ECM": "E",
                      "MatlUnits": null,
                      "CustJob": null,
                      "CustPO": null,
                      "EMCo": null,
                      "Equipment": null,
                      "EMGroup": null,
                      "CostCode": null,
                      "EMCType": null,
                      "oldRecType": null,
                      "oldLineType": null,
                      "oldDescription": null,
                      "oldGLCo": null,
                      "oldGLAcct": null,
                      "oldTaxGroup": null,
                      "oldTaxCode": null,
                      "oldAmount": null,
                      "oldTaxBasis": null,
                      "oldTaxAmount": null,
                      "oldRetgPct": null,
                      "oldRetainage": null,
                      "oldDiscOffered": null,
                      "oldTaxDisc": null,
                      "oldDiscTaken": null,
                      "oldApplyMth": null,
                      "oldApplyTrans": null,
                      "oldApplyLine": null,
                      "oldJCCo": null,
                      "oldContract": null,
                      "oldItem": null,
                      "oldContractUnits": null,
                      "oldJob": null,
                      "oldPhaseGroup": null,
                      "oldPhase": null,
                      "oldCostType": null,
                      "oldUM": null,
                      "oldJobUnits": null,
                      "oldJobHours": null,
                      "oldActDate": null,
                      "oldINCo": null,
                      "oldLoc": null,
                      "oldMatlGroup": null,
                      "oldMaterial": null,
                      "oldUnitPrice": ".00000",
                      "oldECM": null,
                      "oldMatlUnits": null,
                      "oldCustJob": null,
                      "oldCustPO": null,
                      "oldEMGroup": null,
                      "oldEMCo": null,
                      "oldEquipment": null,
                      "oldCostCode": null,
                      "oldEMCType": null,
                      "Notes": null,
                      "oldNotes": null,
                      "CompType": null,
                      "Component": null,
                      "oldCompType": null,
                      "oldComponent": null,
                      "FinanceChg": ".00",
                      "rptApplyMth": null,
                      "rptApplyTrans": null,
                      "oldFinanceChg": null,
                      "oldrptApplyMth": null,
                      "oldrptApplyTrans": null,
                      "RetgTax": ".00",
                      "oldRetgTax": null,
                      "SMWorkCompletedID": null,
                      "SMAgreementBillingScheduleID": null,
                      "SMCo": null,
                      "SMWorkOrder": null,
                      "SMWorkOrderScope": null,
                      "SMCostType": null,
                      "SMGLCo": null,
                      "SMGLCostAcct": null,
                      "SMGLCostWIPAcct": null,
                      "SMGLRevAcct": null,
                      "SMGLRevWIPAcct": null,
                      "SMTrackingWIP": null,
                      "SMScopeCompleted": null,
                      "oldSMCo": null,
                      "oldSMWorkOrder": null,
                      "oldSMWorkOrderScope": null,
                      "oldSMCostType": null,
                      "oldSMGLCo": null,
                      "oldSMGLCostAcct": null,
                      "oldSMGLCostWIPAcct": null,
                      "oldSMGLRevAcct": null,
                      "oldSMGLRevWIPAcct": null,
                      "oldSMTrackingWIP": null,
                      "oldSMScopeCompleted": null,
                      "oldSMWorkCompletedID": null
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "NewArInvoiceLineItem-13": {
        "allOf": [
          {
            "$ref": "#/components/schemas/NewArInvoiceLineItem-2"
          },
          {
            "type": "object",
            "properties": {
              "prime_contract_line_item_id": {
                "type": "string",
                "description": "The UUID or source_id of the [Prime Contract Line Item](#tag--prime-contracts) for this AR Invoice Line Item.\n\nFormat: Use \"source_id:{prime_contract_line_item_id}\" when referencing by source ID.\n",
                "example": "source_id:12345"
              },
              "project_id": {
                "type": "string",
                "description": "The UUID or source_id of the [Project](#tag--projects) for this AR Invoice Line Item.\n\nFormat: Use \"source_id:{project_id}\" when referencing by source ID.\n",
                "example": "source_id:12345"
              },
              "vendor_id": {
                "type": "string",
                "description": "The UUID or source_id of the [Vendor](#tag--vendors) for this AR Invoice Line Item.\n\nFormat: Use \"source_id:{vendor_id}\" when referencing by source ID.\n",
                "example": "source_id:12345"
              },
              "cost_code_id": {
                "type": "string",
                "description": "The UUID or source_id of the [Cost Code](#tag--cost-codes) for this AR Invoice Line Item.\n\nFormat: Use \"source_id:{cost_code_id}\" when referencing by source ID.\n",
                "example": "fd8012dc-aaf0-5768-a032-35940ae00a6f"
              },
              "cost_type_id": {
                "type": "string",
                "description": "The UUID or source_id of the [Cost Type](#tag--cost-types) for this AR Invoice Line Item.\n\nFormat: Use \"source_id:{cost_type_id}\" when referencing by source ID.\n",
                "example": "10b38254-2852-5aeb-963b-316bace72697"
              },
              "retention_percent": {
                "type": "string",
                "description": "The retention percentage to apply to the AR Invoice Line Item.",
                "example": "10.00"
              },
              "source_data": {
                "type": "object",
                "description": "Additional data to send to the source system.",
                "properties": {
                  "name": {
                    "type": "string",
                    "description": "The name of the AR Invoice Line Item in Autodesk Build.",
                    "example": "Concrete pour in January"
                  },
                  "associationType": {
                    "type": "string",
                    "description": "The type of association for this line item. Valid values are \"SOV\" (for Schedule of Values) or \"MainContract\".",
                    "example": "SOV"
                  }
                }
              }
            },
            "required": [
              "amount",
              "cost_code_id",
              "cost_type_id"
            ]
          }
        ]
      },
      "ArInvoiceLineItem-13": {
        "allOf": [
          {
            "$ref": "#/components/schemas/ArInvoiceLineItem"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "https://api.procore.com/rest/v1.0/payment_applications"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "added_from_source": "contract",
                      "added_from_source_id": 598134325850349,
                      "balance_to_finish": "50000.00",
                      "cost_code": {
                        "id": 598134363245188,
                        "biller": "West Portal Properties",
                        "biller_id": 598134325710009,
                        "biller_origin_id": null,
                        "biller_type": "Project",
                        "budgeted": true,
                        "code": "10100",
                        "created_at": "2024-03-21T22:18:40Z",
                        "deleted_at": null,
                        "full_code": "10100",
                        "line_item_types": [
                          {
                            "id": 598134326235731,
                            "base_type": "other",
                            "code": "AC",
                            "name": "Accomodation",
                            "origin_id": null
                          },
                          {
                            "id": 598134326194756,
                            "base_type": null,
                            "code": "LA",
                            "name": "Labour",
                            "origin_id": null
                          }
                        ],
                        "name": "General Conditions",
                        "origin_data": null,
                        "origin_id": null,
                        "parent": {
                          "id": null
                        },
                        "position": null,
                        "sortable_code": "10100",
                        "standard_cost_code_id": null,
                        "updated_at": "2024-03-21T22:18:40Z"
                      },
                      "currency_configuration": {
                        "currency_iso_code": null
                      },
                      "description_of_work": "Sample Line Item",
                      "id": 598134327877008,
                      "item_number": 1,
                      "materials_presently_stored": "0.00",
                      "materials_stored_retainage_currently_retained": "0.00",
                      "materials_stored_retainage_from_previous_application": "0.00",
                      "materials_stored_retainage_percent_this_period": "10.0",
                      "materials_stored_retainage_released_this_period": "0.00",
                      "materials_stored_retainage_retained_this_period": "0.00",
                      "origin_id": 598134332631754,
                      "origin_type": "LineItem",
                      "scheduled_value": "100000.00",
                      "total_completed_and_stored_to_date": "50000.00",
                      "total_completed_and_stored_to_date_percent": "50.00",
                      "total_retainage_currently_retained": "5000.00",
                      "total_retainage_from_previous_application": "0.00",
                      "type": "payment_application_line_item",
                      "wbs_code": {
                        "description": "10100.AC",
                        "flat_code": "10100.AC",
                        "id": 598134380033725,
                        "segment_items": [
                          {
                            "code": "10100",
                            "id": 598134363245188,
                            "name": "General Conditions",
                            "path_codes": [
                              "10100 - General Conditions"
                            ],
                            "path_ids": [
                              598134363245188
                            ],
                            "segment_id": 598134325553944,
                            "segment_type": "cost_code"
                          },
                          {
                            "code": "AC",
                            "id": 598134326235731,
                            "name": "Accomodation",
                            "path_codes": [
                              "AC"
                            ],
                            "path_ids": [
                              598134326235731
                            ],
                            "segment_id": 598134325553945,
                            "segment_type": "line_item_type"
                          }
                        ]
                      },
                      "work_completed_from_previous_application": "0.00",
                      "work_completed_retainage_currently_retained": "5000.00",
                      "work_completed_retainage_from_previous_application": "0.00",
                      "work_completed_retainage_percent_this_period": "10.0",
                      "work_completed_retainage_released_this_period": "0.00",
                      "work_completed_retainage_retained_this_period": "5000.00",
                      "work_completed_this_period": "50000.00"
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "ArInvoiceLineItem-14": {
        "allOf": [
          {
            "$ref": "#/components/schemas/ArInvoiceLineItem"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "https://api.servicetitan.io/accounting/v2/tenant/{tenantId}/invoices"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "id": 986,
                      "description": "Maximize style. Maximize Savings. Save the Environment. Caroma is at the forefront of product innovation. By choosing one of Caroma's toilet suites, you are making a smart choice. During the last 50 years, we have:\n\n* Proven water savings - up to 18,000 gallons (69,000 liters) per year\n* Proven reliability - created by the world leader in dual flush technology\n* Proven technology - industry-recognized, award-winning\n* Based on 1:4 solid/ liquid usage using a 3.5 gal/13 ltr toilet for an average family of four and and 5 flushes/person/day",
                      "quantity": "1.0000000000000000000",
                      "cost": "0.0000000000",
                      "totalCost": "0.00",
                      "inventoryLocation": null,
                      "price": "25088.94",
                      "type": "Service",
                      "skuName": "CRMPRFLTLT",
                      "skuId": 923,
                      "total": "25088.94",
                      "inventory": false,
                      "taxable": false,
                      "generalLedgerAccount": {
                        "name": "Drain",
                        "number": "0000",
                        "type": "Income",
                        "detailType": "Income"
                      },
                      "costOfSaleAccount": null,
                      "assetAccount": null,
                      "membershipTypeId": 0,
                      "itemGroup": null,
                      "displayName": "Carmona Profile Toilet",
                      "soldHours": 0,
                      "modifiedOn": "2019-01-10T22:16:46.7497625Z",
                      "serviceDate": null,
                      "order": 1
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "ArPaymentLineItem": {
        "type": "object",
        "properties": {
          "id": {
            "allOf": [
              {
                "description": "The UUID of the Line Item assigned by Agave."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "source_id": {
            "type": "string",
            "readOnly": true,
            "example": "12345",
            "description": "The ID of the Line Item in the Source System."
          },
          "amount": {
            "allOf": [
              {
                "$ref": "#/components/schemas/MoneyProperty"
              },
              {
                "description": "The total monetary amount of the Line Item, including tax.\n\n**Note for Sage 300 CRE**: amounts are returned as negative values given the structure of Sage 300 CRE's table. You may want to convert these to positive values depending on your use-case.\n"
              },
              {
                "example": "100.00"
              }
            ]
          },
          "ar_invoice_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [AR Invoice](#tag--ar-invoices) for the Line Item."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "ar_invoice_line_item_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [AR Invoice Line Item](#tag--ar-invoices) for the Line Item."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "description": {
            "type": "string",
            "description": "Line Item for Partial Payment for January invoice.",
            "example": "Partial payment for January invoice."
          },
          "discount_taken_amount": {
            "type": "string",
            "description": "The discount taken on this AR Payment Line Item.",
            "example": "0.0"
          },
          "ledger_account_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Ledger Account](#tag--ledger-accounts) for the Line Item."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "type": {
            "type": "string",
            "description": "The type of the AR Payment Line Item. \n\n**Note for Acumatica:** possible values include \"Pending\" and \"Posted\".\n\n**Note for Foundation**: valid values include \"Invoice\" and \"Miscellaneous\".\n\n**Note for Sage Intacct** :valid values include \"Adjustment\", \"Advance\", \"Debit Memo\", \"Invoice\", \"Negative Invoice\", and \"Overpayment\".\n\n**Note for Viewpoint Vista:** possible values include \"Contract\" or \"Material\".\n",
            "example": "Contract"
          },
          "source_create_time": {
            "allOf": [
              {
                "description": "The datetime the Line Item was created in the Source System."
              },
              {
                "$ref": "#/components/schemas/DateTimeProperty"
              }
            ]
          },
          "source_update_time": {
            "allOf": [
              {
                "description": "The datetime the Line Item was last updated in the Source System."
              },
              {
                "$ref": "#/components/schemas/DateTimeProperty"
              }
            ]
          }
        }
      },
      "ArPayment": {
        "type": "object",
        "properties": {
          "id": {
            "allOf": [
              {
                "description": "The UUID of the AR Payment assigned by Agave."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "source_id": {
            "type": "string",
            "readOnly": true,
            "example": "12345",
            "description": "The ID of the AR Payment in the Source System."
          },
          "amount": {
            "type": "string",
            "description": "The total amount of the AR Payment, including tax.\n\n**Note for Sage 300 CRE**: amounts are returned as negative values given the structure of Sage 300 CRE's table. You may want to convert these to positive values depending on your use-case.\n",
            "example": "100.00"
          },
          "batch": {
            "type": "string",
            "description": "The batch the AR Payment is associated with.",
            "example": "4"
          },
          "currency_code": {
            "type": "string",
            "description": "The code of the AR Payment's currency. Valid values are ISO 4217 codes.",
            "example": "USD"
          },
          "customer_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Customer](#tag--customers)."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "description": {
            "type": "string",
            "description": "A description of the AR Payment.",
            "example": "Partial payment for January invoice."
          },
          "ledger_account_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Ledger Account](#tag--ledger-accounts) for the AR Payment."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "line_items": {
            "type": "array",
            "description": "The line items for the AR Payment.\n\n**Note for Sage 300 CRE**: each AR Payment will have a single Line Item.\n",
            "items": {
              "$ref": "#/components/schemas/ArPaymentLineItem"
            }
          },
          "number": {
            "type": "string",
            "description": "The number associated with the AR Payment.",
            "example": "A123"
          },
          "payment_method": {
            "type": "string",
            "description": "The method of the AR Payment. \n\n**Note for QuickBooks Desktop:** valid values include \"Check\", \"CreditCardCharge\", and \"CreditCardCredit\".\n\n**Note for Sage 100 Contractor**: valid values include \"Credit\", \"Electr. Receipt\", and \"Receipt\".\n\n**Note for Sage 300 CRE**: these values can be customized in Sage 300 CRE but the default values are \"Cash\", \"Check\", \"Transfer\", and \"Wire\".\n\n**Note for Sage Intacct**: valid values include \"Cash\", \"Credit Card\", \"EFT\", \"Online ACH Debit\", \"Online Charge Card\", and \"Printed Check\".\n\n**Note for ServiceTitan:** valid values for this field can be found with a passthrough request to ServiceTitan's [Payment Types endpoint](https://developer.servicetitan.io/api-details/#api=tenant-accounting-v2&operation=PaymentTypes_GetList). To learn more about passthrough requests, see [link](https://docs.agaveapi.com/agave-api/passthrough-requests).\n\n**Note for Viewpoint Spectrum:** valid values include \"Check\" and \"Credit Card\".\n\n**Note for Viewpoint Vista:** valid values include \"Check\", \"Credit Service\", \"EFT\", and \"Viewpoint ePayments\".\n",
            "example": "Check"
          },
          "prime_contract_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Prime Contract](#tag--prime-contracts)."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "project_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Project](#tag--projects)."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "status": {
            "type": "string",
            "description": "The status of the AR Payment. \n\n**Note for Acumatica:** default values include \"Credit Hold\", \"Pending Processing\", \"On Hold\", \"Balanced\", \"Voided\", \"Scheduled\", \"Open\", \"Closed\", \"Pending Print\", \"Pending Email\", \"Reserved\", \"Pending Approval\", \"Rejected\", and \"Canceled\".\n\n**Note for Foundation**: valid values include \"Pending\" and \"Posted\".\n\n**Note for Procore**: the only valid value is \"Paid\".\n\n**Note for Sage 300 CRE**: valid values include \"Pending\", \"Posted\", and \"Void\".\n\n**Note for Sage Intacct**: valid values include \"Confirmed\", \"Draft\", \"Reconciled\", \"Reversal\", and \"Reversed\".\n\n**Note for ServiceTitan:** valid values for this field include \"Exported\", \"Pending\", and \"Posted\".\n\n**Note for Viewpoint Vista:** valid values include \"Pending\" and \"Posted\".\n",
            "example": "Posted"
          },
          "type": {
            "type": "string",
            "description": "The type of AR Payment. \n\n**Note for Acumatica:** default values include \"Payment\", \"Credit Memo\", \"Prepayment\", \"Refund\", \"Voided Refund\", \"Voided Payment\", and \"Balance WO\".\n\n**Note for Foundation**: valid values include \"By Invoice\", \"Invoice Detail\", and \"Miscellaneous\".\n\n**Note for Sage 300 CRE**: valid values include \"Customer cash recpt\", \"Invoice cash receipt\", \"Miscellaneous GL\", and \"Miscellaneous JC\".\n\n**Note for Viewpoint Vista:** the only value for this field is \"Payment\". \n",
            "example": "Payment"
          },
          "transaction_date": {
            "allOf": [
              {
                "description": "The date of the AR Payment."
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ]
          },
          "source_create_time": {
            "allOf": [
              {
                "description": "The datetime the AR Payment was created in the Source System."
              },
              {
                "$ref": "#/components/schemas/DateTimeProperty"
              }
            ]
          },
          "source_update_time": {
            "allOf": [
              {
                "description": "The datetime the AR Payment was last updated in the Source System."
              },
              {
                "$ref": "#/components/schemas/DateTimeProperty"
              }
            ]
          }
        }
      },
      "ArPayment-2": {
        "allOf": [
          {
            "$ref": "#/components/schemas/ArPayment"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "https://{{hostname}}/AcumaticaU100/entity/Default/20.200.001/Payment"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "id": "0bb39ee2-0685-ee11-8424-0eb71309dd15",
                      "rowNumber": 1,
                      "note": {
                        "value": ""
                      },
                      "ApplicationDate": {
                        "value": "2022-01-01T00:00:00+00:00"
                      },
                      "AppliedToDocuments": [],
                      "Branch": {
                        "value": "HEADOFFICE"
                      },
                      "CardAccountNbr": [],
                      "CashAccount": {
                        "value": "10200TG"
                      },
                      "CurrencyID": {
                        "value": "USD"
                      },
                      "CustomerID": {
                        "value": "ABAKERY"
                      },
                      "Description": {
                        "value": "Partial Payment for January invoice"
                      },
                      "Hold": {
                        "value": false
                      },
                      "LastModifiedDateTime": {
                        "value": "2022-01-01T00:00:00+00:00"
                      },
                      "PaymentAmount": {
                        "value": 100
                      },
                      "PaymentMethod": {
                        "value": "CHECK"
                      },
                      "PaymentRef": {
                        "value": "0006"
                      },
                      "ReferenceNbr": {
                        "value": "012345"
                      },
                      "SaveCard": {
                        "value": false
                      },
                      "Status": {
                        "value": "Closed"
                      },
                      "Type": {
                        "value": "Payment"
                      },
                      "custom": [],
                      "_links": {
                        "self": "/AcumaticaU100/entity/Default/20.200.001/Payment/0bb39ee2-0685-ee11-8424-0eb71309dd15",
                        "files:put": "/AcumaticaU100/entity/Default/20.200.001/files/PX.Objects.AR.ARPaymentEntry/Document/0bb39ee2-0685-ee11-8424-0eb71309dd15/{filename}"
                      }
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "ARPayment": {
        "type": "object",
        "properties": {
          "id": {
            "allOf": [
              {
                "description": "The UUID of the AR Payment assigned by Agave."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "source_id": {
            "type": "string",
            "readOnly": true,
            "example": "12345",
            "description": "The ID of the AR Payment in the Source System."
          },
          "amount": {
            "type": "string",
            "description": "The total amount of the AR Payment, including tax.\n\n**Note for Sage 300 CRE**: amounts are returned as negative values given the structure of Sage 300 CRE's table. You may want to convert these to positive values depending on your use-case.\n",
            "example": "100.00"
          },
          "batch": {
            "type": "string",
            "description": "The batch the AR Payment is associated with.",
            "example": "4"
          },
          "currency_code": {
            "type": "string",
            "description": "The code of the AR Payment's currency. Valid values are ISO 4217 codes.",
            "example": "USD"
          },
          "customer_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Customer](#tag--customers)."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "description": {
            "type": "string",
            "description": "A description of the AR Payment.",
            "example": "Partial payment for January invoice."
          },
          "ledger_account_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Ledger Account](#tag--ledger-accounts) for the AR Payment."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "line_items": {
            "type": "array",
            "description": "The line items for the AR Payment.\n\n**Note for Sage 300 CRE**: each AR Payment will have a single Line Item.\n",
            "items": {
              "$ref": "#/components/schemas/ArPaymentLineItem"
            }
          },
          "number": {
            "type": "string",
            "description": "The number associated with the AR Payment.",
            "example": "A123"
          },
          "payment_method": {
            "type": "string",
            "description": "The method of the AR Payment. \n\n**Note for QuickBooks Desktop:** valid values include \"Check\", \"CreditCardCharge\", and \"CreditCardCredit\".\n\n**Note for Sage 100 Contractor**: valid values include \"Credit\", \"Electr. Receipt\", and \"Receipt\".\n\n**Note for Sage 300 CRE**: these values can be customized in Sage 300 CRE but the default values are \"Cash\", \"Check\", \"Transfer\", and \"Wire\".\n\n**Note for Sage Intacct**: valid values include \"Cash\", \"Credit Card\", \"EFT\", \"Online ACH Debit\", \"Online Charge Card\", and \"Printed Check\".\n\n**Note for ServiceTitan:** valid values for this field can be found with a passthrough request to ServiceTitan's [Payment Types endpoint](https://developer.servicetitan.io/api-details/#api=tenant-accounting-v2&operation=PaymentTypes_GetList). To learn more about passthrough requests, see [link](https://docs.agaveapi.com/agave-api/passthrough-requests).\n\n**Note for Viewpoint Spectrum:** valid values include \"Check\" and \"Credit Card\".\n\n**Note for Viewpoint Vista:** valid values include \"Check\", \"Credit Service\", \"EFT\", and \"Viewpoint ePayments\".\n",
            "example": "Check"
          },
          "prime_contract_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Prime Contract](#tag--prime-contracts)."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "project_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Project](#tag--projects)."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "status": {
            "type": "string",
            "description": "The status of the AR Payment. \n\n**Note for Acumatica:** default values include \"Credit Hold\", \"Pending Processing\", \"On Hold\", \"Balanced\", \"Voided\", \"Scheduled\", \"Open\", \"Closed\", \"Pending Print\", \"Pending Email\", \"Reserved\", \"Pending Approval\", \"Rejected\", and \"Canceled\".\n\n**Note for Foundation**: valid values include \"Pending\" and \"Posted\".\n\n**Note for Procore**: the only valid value is \"Paid\".\n\n**Note for Sage 300 CRE**: valid values include \"Pending\", \"Posted\", and \"Void\".\n\n**Note for Sage Intacct**: valid values include \"Confirmed\", \"Draft\", \"Reconciled\", \"Reversal\", and \"Reversed\".\n\n**Note for ServiceTitan:** valid values for this field include \"Exported\", \"Pending\", and \"Posted\".\n\n**Note for Viewpoint Vista:** valid values include \"Pending\" and \"Posted\".\n",
            "example": "Posted"
          },
          "type": {
            "type": "string",
            "description": "The type of AR Payment. \n\n**Note for Acumatica:** default values include \"Payment\", \"Credit Memo\", \"Prepayment\", \"Refund\", \"Voided Refund\", \"Voided Payment\", and \"Balance WO\".\n\n**Note for Foundation**: valid values include \"By Invoice\", \"Invoice Detail\", and \"Miscellaneous\".\n\n**Note for Sage 300 CRE**: valid values include \"Customer cash recpt\", \"Invoice cash receipt\", \"Miscellaneous GL\", and \"Miscellaneous JC\".\n\n**Note for Viewpoint Vista:** the only value for this field is \"Payment\". \n",
            "example": "Payment"
          },
          "transaction_date": {
            "allOf": [
              {
                "description": "The date of the AR Payment."
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ]
          },
          "source_create_time": {
            "allOf": [
              {
                "description": "The datetime the AR Payment was created in the Source System."
              },
              {
                "$ref": "#/components/schemas/DateTimeProperty"
              }
            ]
          },
          "source_update_time": {
            "allOf": [
              {
                "description": "The datetime the AR Payment was last updated in the Source System."
              },
              {
                "$ref": "#/components/schemas/DateTimeProperty"
              }
            ]
          }
        }
      },
      "ArPayment-3": {
        "allOf": [
          {
            "$ref": "#/components/schemas/ARPayment"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The database query for the Source System.",
                    "example": "select * from [ar_cash]"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "company_no": 12345,
                      "cash_receipt_no": 12345,
                      "customer_no": "     12345",
                      "posted_flag": "Y",
                      "description": null,
                      "receipt_date": "2022-01-01 00:00:00.000",
                      "post_date": "2022-01-01 00:00:00.000",
                      "check_no": "876",
                      "cash_amount": "58000.00",
                      "retainage_amount": ".00",
                      "discount_amount": "1774.00",
                      "ar_amount": "59774.00",
                      "gl_cash": "1010",
                      "cash_receipt_type": "I",
                      "record_status": "A",
                      "row_modified_by": "DBA",
                      "row_modified_on": "2022-01-01 00:00:00.000",
                      "row_unique_id": 1,
                      "cash_receipt_id": "101",
                      "check_id": "876",
                      "company_id": "1",
                      "customer_id": "12345",
                      "post_to_holding_account": "N",
                      "ar_invoice_audit_no": null,
                      "ar_invoice_audit_id": null,
                      "div_level_1": null,
                      "div_level_2": null,
                      "div_level_3": null,
                      "div_level_4": null,
                      "bad_debt": "N",
                      "reversal": "N",
                      "original_cash_receipt_no": null,
                      "original_cash_receipt_id": null,
                      "cash_receipt_source": "C",
                      "cash_flag": null,
                      "record_guid": "1234561-C405-EE11-83CC-005056A04820"
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "ArPayment-4": {
        "allOf": [
          {
            "$ref": "#/components/schemas/ArPayment"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "https://api.procore.com/rest/v1.0/payments"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "id": 12345,
                      "amount": "100.0",
                      "check_number": "A123",
                      "created_at": "2022-01-01T00:00:00Z",
                      "date": "2022-01-01",
                      "draw_request_number": null,
                      "invoice_number": "12345",
                      "requisition_id": 12345,
                      "payment_number": "A123",
                      "payment_method": "check",
                      "project_id": 12345,
                      "status": "paid",
                      "attachments": []
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "ArPayment-5": {
        "allOf": [
          {
            "$ref": "#/components/schemas/ArPayment"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The XML path on the Source System.",
                    "example": "ReceivePaymentQueryRq"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "TxnID": "12345",
                      "TimeCreated": "2022-01-01T00:00:00-00:00",
                      "TimeModified": "2022-01-01T00:00:00-00:00",
                      "EditSequence": "12345",
                      "TxnNumber": "A123",
                      "CustomerRef": {
                        "ListID": "12345",
                        "FullName": "AnyCompany Inc."
                      },
                      "ARAccountRef": {
                        "ListID": "12345",
                        "FullName": "Accounts Receivable"
                      },
                      "TxnDate": "2022-01-01",
                      "RefNumber": "A123",
                      "TotalAmount": "100.00",
                      "PaymentMethodRef": {
                        "ListID": "12345",
                        "FullName": "Check"
                      },
                      "DepositToAccountRef": {
                        "ListID": "12345",
                        "FullName": "Undeposited Funds"
                      },
                      "UnusedPayment": "0.00",
                      "UnusedCredits": "0.00"
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "ArPayment-6": {
        "allOf": [
          {
            "$ref": "#/components/schemas/ArPayment"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "https://quickbooks.api.intuit.com/v3/company/{companyId}/query"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "CustomerRef": {
                        "value": "123",
                        "name": "AnyCompany Inc."
                      },
                      "DepositToAccountRef": {
                        "value": "123"
                      },
                      "TotalAmt": 130.12,
                      "UnappliedAmt": 0,
                      "ProcessPayment": false,
                      "domain": "QBO",
                      "sparse": false,
                      "Id": "123",
                      "SyncToken": "0",
                      "MetaData": {
                        "CreateTime": "2022-01-01T00:00:00-00:00",
                        "LastUpdatedTime": "2022-01-01T00:00:00-00:00"
                      },
                      "TxnDate": "2022-01-01",
                      "CurrencyRef": {
                        "value": "USD",
                        "name": "United States Dollar"
                      },
                      "Line": [
                        {
                          "Amount": 130.12,
                          "LinkedTxn": [
                            {
                              "TxnId": "123",
                              "TxnType": "Invoice"
                            }
                          ],
                          "LineEx": {
                            "any": [
                              {
                                "name": "{http://schema.intuit.com/finance/v3}NameValue",
                                "declaredType": "com.intuit.schema.finance.v3.NameValue",
                                "scope": "javax.xml.bind.JAXBElement$GlobalScope",
                                "value": {
                                  "Name": "txnId",
                                  "Value": "123"
                                },
                                "nil": false,
                                "globalScope": true,
                                "typeSubstituted": false
                              },
                              {
                                "name": "{http://schema.intuit.com/finance/v3}NameValue",
                                "declaredType": "com.intuit.schema.finance.v3.NameValue",
                                "scope": "javax.xml.bind.JAXBElement$GlobalScope",
                                "value": {
                                  "Name": "txnOpenBalance",
                                  "Value": "130.12"
                                },
                                "nil": false,
                                "globalScope": true,
                                "typeSubstituted": false
                              },
                              {
                                "name": "{http://schema.intuit.com/finance/v3}NameValue",
                                "declaredType": "com.intuit.schema.finance.v3.NameValue",
                                "scope": "javax.xml.bind.JAXBElement$GlobalScope",
                                "value": {
                                  "Name": "txnReferenceNumber",
                                  "Value": "123"
                                },
                                "nil": false,
                                "globalScope": true,
                                "typeSubstituted": false
                              }
                            ]
                          }
                        }
                      ]
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "ArPayment-7": {
        "allOf": [
          {
            "$ref": "#/components/schemas/ArPayment"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The SQL path on the Source System.",
                    "example": "select top 10 [acrpmt].*, [acrinv].[jobnum] from [acrpmt] left join [acrinv] on [acrinv].[recnum] = [acrpmt].[recnum] order by [acrpmt].[_idnum] asc"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "_idnum": "7A63853B-899F-E511-B83D-005056C00008",
                      "_idref": "2F63853B-899F-E511-B83D-005056C00008",
                      "recnum": "5",
                      "dscrpt": "Receipt",
                      "chknum": "2947296",
                      "chkdte": "2023-05-23T00:00:00.000Z",
                      "actper": 5,
                      "amount": "128535.10",
                      "dsctkn": ".00",
                      "aplcrd": ".00",
                      "lgrrec": "291",
                      "postyr": 2023,
                      "insdte": "2015-12-10T21:59:09.777Z",
                      "insusr": "Bob",
                      "upddte": "2023-02-01T00:00:07.220Z",
                      "updusr": "BEST\\gamrein",
                      "jobnum": "186"
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "ArPayment-8": {
        "allOf": [
          {
            "$ref": "#/components/schemas/ARPayment"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The SQL path on the Source System.",
                    "example": "select * from [ACTIVITY_ARA_RECORD_2]"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "ACUST": "150",
                      "ASTYPE": "Invoice",
                      "ADATE": "2024-09-01",
                      "ASSEQ": 5,
                      "ASEQ": 3,
                      "ATYPE": "Cash receipt",
                      "ASTAT": "Pending post",
                      "AINV": "818",
                      "ADRAW": "14",
                      "AINVDAT": "2024-09-01",
                      "ADUEDAT": "2024-08-31",
                      "AACTDAT": "2024-09-29",
                      "APMTTYP": "Invoice cash receipt",
                      "APMT": "A125-3",
                      "APMTBNK": "First",
                      "APMTDDT": "2024-09-29",
                      "APMTDID": "A125",
                      "APMTDIM": 3,
                      "AADJACT": "0",
                      "AADJDAT": null,
                      "AADJTA": "Not Used",
                      "AADJTYN": 999,
                      "AADJTYA": "Not Used",
                      "AADJ": "",
                      "ACNTRT": "",
                      "ACNTRTI": "",
                      "AJOB": "14-000",
                      "AEXTRA": "",
                      "APHASE": "",
                      "AREF": "",
                      "ADESC": "Sample Wire",
                      "AAMT": -40,
                      "AFCAMT": 0,
                      "ARETHLD": 0,
                      "ARETBLD": 0,
                      "APPAMT": 0,
                      "AOSTAMP": "sagesandbox",
                      "ADSTAMP": "2024-09-29",
                      "ATSTAMP": "17:23:44",
                      "ARWID": "e116d83d-c27e-ef11-843e-0e8f85e0b28b",
                      "ARWVR": "1727655824",
                      "R2NTS": null,
                      "R2FLS": null,
                      "PPTYPEA": "Wire"
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "ArPayment-9": {
        "allOf": [
          {
            "$ref": "#/components/schemas/ARPayment"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "https://api.intacct.com/ia/xml/xmlgw.phtml"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "RECORDNO": "387",
                      "TOTALPAID": "250",
                      "PRBATCH": "Receipts(Bank-TCG WF Checking) - A123: 2024/07/03 14:02:56:135 Batch",
                      "CUSTOMERID": "A124",
                      "CURRENCY": "USD",
                      "DESCRIPTION": "This is a sample payment",
                      "DOCNUMBER": "1293019230",
                      "PAYMENTMETHOD": "Printed Check",
                      "AUWHENCREATED": "07/03/2024 22:02:56",
                      "WHENMODIFIED": "07/03/2024 22:02:56",
                      "DISPLAYSTATE": "Confirmed",
                      "RECEIPTDATE": "07/03/2024",
                      "PRBATCHKEY": "166",
                      "RECORDTYPE": "rp",
                      "FINANCIALENTITY": "AnyBank Checking",
                      "FINANCIALENTITYTYPE": "ba",
                      "FINANCIALACCOUNTNAME": "AnyBank",
                      "FINANCIALACCOUNTCURRENCY": "USD",
                      "SUMMARYTITLE": "Receipts(Bank-TCG WF Checking) - A123: 2024/07/03 14:02:56:135 Batch",
                      "STATE": "C",
                      "PAYMENTMETHODKEY": "1",
                      "CUSTOMERNAME": "AnyCustomer Inc.",
                      "PAYERNAME": null,
                      "WHENCREATED": "07/03/2024",
                      "WHENPAID": "07/03/2024",
                      "BASECURR": "USD",
                      "EXCH_RATE_DATE": null,
                      "EXCH_RATE_TYPE_ID": null,
                      "EXCHANGE_RATE": null,
                      "TOTALENTERED": "250",
                      "TOTALDUE": "0",
                      "TRX_TOTALENTERED": "250",
                      "TRX_TOTALPAID": "250",
                      "TRX_TOTALDUE": "0",
                      "BILLTOPAYTONAME": null,
                      "CREATEDBY": "7",
                      "MODIFIEDBY": "7",
                      "CLEARED": "F",
                      "CLRDATE": null,
                      "RECORDID": null,
                      "BILLTOPAYTOKEY": null,
                      "PARENTPAYMENTKEY": null,
                      "UNDEPOSITEDACCOUNTNO": null,
                      "TAXSOLUTIONID": null,
                      "SUPDOCID": null,
                      "MULTIENTITYPYMTKEY": null,
                      "MEGAENTITYKEY": "16",
                      "MEGAENTITYID": "A123",
                      "MEGAENTITYNAME": "AnyCompany Contractors",
                      "RECORD_URL": "https://www.intacct.com/ia/acct/ur.phtml?.r=TqY7Ea1PJSihgc7PryUF8GNeBu20vaXRLq12391024901"
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "ArPayment-10": {
        "allOf": [
          {
            "$ref": "#/components/schemas/ArPayment"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "https://api.servicetitan.io/accounting/v2/tenant/{tenantId}/payments"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "id": 123,
                      "syncStatus": "Pending",
                      "referenceNumber": null,
                      "date": "2022-01-01T00:00:00Z",
                      "type": "Cash",
                      "typeId": "12345",
                      "total": "130.12",
                      "unappliedAmount": "0.00",
                      "memo": null,
                      "customer": {
                        "id": 123,
                        "name": "John Doe"
                      },
                      "batch": null,
                      "createdBy": "jdoe",
                      "generalLedgerAccount": null,
                      "appliedTo": [
                        {
                          "appliedTo": 123,
                          "appliedAmount": "130.12",
                          "appliedOn": "2022-01-01T00:00:00Z",
                          "appliedBy": "jdoe"
                        }
                      ],
                      "customFields": null,
                      "authCode": null,
                      "checkNumber": "A123"
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "ArPayment-11": {
        "allOf": [
          {
            "$ref": "#/components/schemas/ArPayment"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The SQL path on the Source System.",
                    "example": "select * from [CR_CASH_RECEIPT_TRAN_MC]"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "Company_Code": "12345",
                      "Customer_Code": "12345",
                      "Invoice_Or_Transaction": "      A123",
                      "Transaction_Type": "I",
                      "Job_Number": "    A123",
                      "Invoice_Date": "2022-01-01 00:00:00.000",
                      "Terms_Code": "12345",
                      "Salesperson_Code": "12345",
                      "Retention_Percent": "10.00",
                      "GL_Date": "2022-01-01 00:00:00.000",
                      "GL_Period": "01",
                      "GL_Year": "22",
                      "Remarks": "AR Invoice for concrete pour in January.",
                      "AR_GL_Account": "12345",
                      "Non_Taxable_Amount": "125.00",
                      "Taxable_Amount": ".00",
                      "Sales_Tax_Amount": "5.00",
                      "Invoice_Extension": "125.00",
                      "Retention_Amount": "12.50",
                      "Post_Flag": "",
                      "Sales_Tax_Code": "1700",
                      "Sales_Tax_Percent": ".0000",
                      "Print_Flag": "N",
                      "Print_Job_Address_Flag": "Y",
                      "Ship_Date": null,
                      "Ship_Address1": "",
                      "Ship_Address2": "",
                      "Ship_Address3": "",
                      "Ship_Address4": "",
                      "Ship_Address5": "",
                      "Cost_Of_Sale": ".00",
                      "Customer_PO": "",
                      "Taxable_Flag": "N",
                      "Work_Order": "",
                      "Tax_Code_List1": "",
                      "Tax_Code_List2": "",
                      "Tax_Code_List3": "",
                      "Tax_Code_List4": "",
                      "Tax_Code_List5": "",
                      "Tax_Code_List6": "",
                      "Taxable_Amount_List1": ".00",
                      "Taxable_Amount_List2": ".00",
                      "Taxable_Amount_List3": ".00",
                      "Taxable_Amount_List4": ".00",
                      "Taxable_Amount_List5": ".00",
                      "Taxable_Amount_List6": ".00",
                      "Tax_Percent_List1": ".0000",
                      "Tax_Percent_List2": ".0000",
                      "Tax_Percent_List3": ".0000",
                      "Tax_Percent_List4": ".0000",
                      "Tax_Percent_List5": ".0000",
                      "Tax_Percent_List6": ".0000",
                      "Tax_Amount_List1": ".00",
                      "Tax_Amount_List2": ".00",
                      "Tax_Amount_List3": ".00",
                      "Tax_Amount_List4": ".00",
                      "Tax_Amount_List5": ".00",
                      "Tax_Amount_List6": ".00",
                      "Source_Flag": "",
                      "TM_Billing_Number": "",
                      "Batch_Code": "4",
                      "Update_Flag": "",
                      "Area_Code": "",
                      "Alternate_Address": "",
                      "Billto_Code": "",
                      "Cost_Center": "12345",
                      "Site_ID": "",
                      "Contract_Number": "",
                      "Contract_Key": "",
                      "Reversed": "",
                      "Sales_Tax_Override": "Y",
                      "Retention_Override": "Y",
                      "VAT_Code": "",
                      "VAT_Tax_Percent": ".0000",
                      "Total_VAT_Amt": ".00",
                      "Retention_VAT_Amt": ".00",
                      "Currency_Code": "",
                      "Exchange_Rate": ".000000",
                      "Use_Online_Tax": "",
                      "Online_Tax_Transaction_Code": "",
                      "Online_Tax_Commit_Status": "",
                      "PST_On_Holdback_Flag": "",
                      "Holdback_PST_Amount": ".00",
                      "Holdback_Taxed_Amount": ".00"
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "ArPayment-12": {
        "allOf": [
          {
            "$ref": "#/components/schemas/ArPayment"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The SQL path on the Source System.",
                    "example": "Select * from [bARTH] where [bARTH].[ARCo] = {Company} and [ARTransType] = P"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "ARCo": "12345",
                      "Mth": "2022-01-01 00:00:00",
                      "ARTrans": "4",
                      "ARTransType": "P",
                      "CustGroup": "12345",
                      "Customer": "12345",
                      "CustRef": null,
                      "CustPO": null,
                      "RecType": null,
                      "JCCo": null,
                      "Contract": null,
                      "Invoice": null,
                      "CheckNo": null,
                      "Source": "AR Receipt",
                      "MSCo": null,
                      "TransDate": "2022-01-01 00:00:00",
                      "DueDate": null,
                      "DiscDate": null,
                      "CheckDate": "2022-01-01 00:00:00",
                      "Description": "Partial payment for January invoice.",
                      "CMCo": "12345",
                      "CMAcct": "12345",
                      "CMDeposit": "12345",
                      "CreditAmt": "100.00",
                      "PayTerms": null,
                      "AppliedMth": null,
                      "AppliedTrans": null,
                      "Invoiced": "100.00",
                      "Paid": "100.00",
                      "Retainage": ".00",
                      "DiscTaken": ".00",
                      "AmountDue": ".00",
                      "PayFullDate": null,
                      "PurgeFlag": "N",
                      "EditTrans": "Y",
                      "BatchId": "4",
                      "InUseBatchID": null,
                      "Notes": null,
                      "ReasonCode": null,
                      "ExcludeFC": "N",
                      "FinanceChg": ".00",
                      "UniqueAttchID": null,
                      "KeyID": "12345"
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "NewArPaymentLineItem": {
        "type": "object",
        "required": [
          "amount",
          "ar_invoice_id"
        ],
        "properties": {
          "amount": {
            "allOf": [
              {
                "$ref": "#/components/schemas/MoneyProperty"
              },
              {
                "description": "The total monetary amount of the Line Item."
              },
              {
                "example": "100.00"
              }
            ]
          },
          "ar_invoice_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [AR Invoice](#tag--ar-invoices) associated with the AR Payment."
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          },
          "ar_invoice_line_item_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [AR Invoice Line Item](#tag--ar-invoices) for the Line Item. \n"
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          },
          "ledger_account_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Ledger Account](#tag--ledger-accounts) for the Line Item. \n"
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          }
        }
      },
      "NewArPayment": {
        "type": "object",
        "required": [
          "customer_id",
          "line_items",
          "number",
          "transaction_date",
          "type"
        ],
        "properties": {
          "customer_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Customer](#tag--customers) associated with the AR Payment."
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          },
          "line_items": {
            "description": "The line items for the AR Payment. To learn more about creating and updating Line Items, see [link](/agave-api/line-items).",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/NewArPaymentLineItem"
            }
          },
          "number": {
            "type": "string",
            "description": "The number of the AR Payment. \n",
            "example": "A123"
          },
          "transaction_date": {
            "allOf": [
              {
                "description": "The date of the AR Payment transaction or when it was issued.\n"
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ]
          },
          "type": {
            "type": "string",
            "enum": [
              "Payment",
              "Prepayment"
            ],
            "description": "The type of the AR Payment.\n\n**Notes for Acumatica**: Must be either `PAYMENT` or `PREPAYMENT`.\n",
            "example": "PAYMENTS"
          },
          "amount": {
            "type": "number",
            "format": "double",
            "description": "Total amount of the AR Payment.\n",
            "example": 1200
          },
          "currency_code": {
            "type": "string",
            "description": "Currency for the payment.",
            "example": "USD"
          },
          "department_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Department](#tag--departments) associated with the AR Payment."
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          },
          "description": {
            "type": "string",
            "description": "Optional description or memo."
          },
          "payment_method": {
            "type": "string",
            "description": "The payment method used (e.g. CHECK, CASH, CREDIT_CARD)."
          },
          "status": {
            "type": "string",
            "example": "On Hold",
            "enum": [
              "Balanced",
              "On Hold",
              "Closed"
            ],
            "description": "The status of the AR Payment. **Note:** Releasing and removing hold can depend on how the Acumatica instance is configured.\n"
          }
        }
      },
      "NewArPayment-2": {
        "type": "object",
        "required": [
          "prime_contract_id"
        ],
        "properties": {
          "amount": {
            "type": "string",
            "description": "The amount for the AR Payment. \n\n**Note for Procore**: a single Line Item is created for each POST request. This `amount` value is assigned to that Line Item. \n",
            "example": "100"
          },
          "description": {
            "type": "string",
            "description": "A description of the AR Payment.",
            "example": "Partial payment for January AR invoice."
          },
          "number": {
            "type": "string",
            "description": "The number associated with the AR Payment. \n",
            "example": "A123"
          },
          "prime_contract_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Prime Contract](#tag--prime-contracts)."
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          },
          "transaction_date": {
            "allOf": [
              {
                "description": "The date of the AR Payment."
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ]
          }
        }
      },
      "NewArPaymentLineItem-2": {
        "type": "object",
        "required": [
          "amount",
          "ar_invoice_id"
        ],
        "properties": {
          "amount": {
            "allOf": [
              {
                "$ref": "#/components/schemas/MoneyProperty"
              },
              {
                "description": "The total monetary amount of the AR Payment Line Item."
              },
              {
                "example": "100.00"
              }
            ]
          },
          "ar_invoice_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [AR Invoice](#tag--ar-invoices) for the Line Item."
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          },
          "discount_taken_amount": {
            "allOf": [
              {
                "$ref": "#/components/schemas/MoneyProperty"
              },
              {
                "description": "The total discount amount taken with this AR Payment Line Item."
              },
              {
                "example": "100.00"
              }
            ]
          }
        }
      },
      "NewArPayment-3": {
        "type": "object",
        "required": [
          "amount",
          "customer_id",
          "line_items"
        ],
        "properties": {
          "amount": {
            "type": "string",
            "description": "The total amount of the AR Payment, including tax.",
            "example": "100"
          },
          "currency_code": {
            "type": "string",
            "description": "The code of the AR Payment's currency. Valid values are ISO 4217 codes.",
            "example": "USD"
          },
          "bank_account_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Bank Account](#tag--ledger-accounts) for depositing funds from the AR Payment."
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          },
          "customer_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Customer](#tag--customers)."
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          },
          "description": {
            "type": "string",
            "description": "A description of the AR Payment.",
            "example": "Partial payment for January invoice."
          },
          "ledger_account_id": {
            "allOf": [
              {
                "description": "\nThe UUID assigned by Agave of the [Ledger Account](#tag--ledger-accounts) for the AR Payment.\n\n**Note for QuickBooks Desktop**: the Ledger Account must have a type of `Accounts Receivable`.        \n"
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          },
          "line_items": {
            "type": "array",
            "description": "The line items for the AR Payment.",
            "items": {
              "$ref": "#/components/schemas/NewArPaymentLineItem-2"
            }
          },
          "payment_method": {
            "type": "string",
            "description": "The payment method for the AR Payment. \n\n**Note for QuickBooks Desktop**: the potential values for this field can be found with the PaymentMethodRq endpoint in QuickBooks Desktop, which requires a passthrough request. To learn more about this passthrough request, see [link](/agave-api/passthrough-requests#quickbooks-desktop).\n",
            "example": "Check"
          },
          "number": {
            "type": "string",
            "description": "The number associated with the AR Payment.",
            "example": "A123"
          },
          "transaction_date": {
            "allOf": [
              {
                "description": "The date of the AR Payment."
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ]
          }
        }
      },
      "NewArPaymentLineItem-3": {
        "type": "object",
        "properties": {
          "amount": {
            "allOf": [
              {
                "$ref": "#/components/schemas/MoneyProperty"
              },
              {
                "description": "The total monetary amount of the Line Item, including tax."
              },
              {
                "example": "100.00"
              }
            ]
          },
          "ar_invoice_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [AR Invoice](#tag--ar-invoices) for the Line Item. \n**Note**: for QuickBooks Online an AR Invoice ID can only be used for one Line Item.\n"
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          },
          "type": {
            "type": "string",
            "description": "The type of the AR Payment Line Item. **Note**: for QuickBooks Online, only \"Invoice\" is supported. \n",
            "example": "Invoice"
          }
        }
      },
      "NewArPayment-4": {
        "type": "object",
        "properties": {
          "amount": {
            "allOf": [
              {
                "$ref": "#/components/schemas/MoneyProperty"
              },
              {
                "description": "The total amount of the AR Payment, including tax."
              },
              {
                "example": "130.12"
              }
            ]
          },
          "customer_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Customer](#tag--customers)."
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          },
          "line_items": {
            "type": "array",
            "description": "The line items for the AR Payment. To learn more about creating and updating Line Items, see [link](/agave-api/line-items).",
            "items": {
              "$ref": "#/components/schemas/NewArPaymentLineItem-3"
            }
          },
          "memo": {
            "type": "string",
            "description": "Additional information about the AR Payment.",
            "example": "Partial payment for July invoice."
          },
          "number": {
            "type": "string",
            "description": "The number associated with the AR Payment.",
            "example": "A123"
          },
          "transaction_date": {
            "allOf": [
              {
                "description": "The date of the AR Payment. **Note**: if a date for this field is omitted in QuickBooks Online, today's data will be used instead.\n"
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ]
          }
        }
      },
      "NewArPaymentLineItem-4": {
        "type": "object",
        "required": [
          "amount",
          "ar_invoice_id",
          "type"
        ],
        "properties": {
          "amount": {
            "type": "string",
            "description": "The amount of the AR Payment Line Item.",
            "example": "100"
          },
          "ar_invoice_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [AR Invoice](#tag--ar-invoices) associated with the AR Payment Line Item."
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          },
          "discount_taken_amount": {
            "type": "string",
            "description": "The discount amount taken on the AR Payment Line Item.",
            "example": "2.50"
          },
          "type": {
            "type": "string",
            "description": "The type of the AR Payment Line Item\n",
            "example": "Invoice",
            "enum": [
              "Credit Memo",
              "Invoice"
            ]
          }
        }
      },
      "NewArPayment-5": {
        "type": "object",
        "required": [
          "batch",
          "customer_id",
          "line_items",
          "number",
          "type"
        ],
        "properties": {
          "batch": {
            "type": "string",
            "description": "The batch associated with the AR Payment.",
            "example": "4"
          },
          "customer_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Customer](#tag--customers) associated with the AR Payment."
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          },
          "line_items": {
            "description": "The line items for the AR Payment. To learn more about creating and updating Line Items, see [link](/agave-api/line-items).",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/NewArPaymentLineItem-4"
            }
          },
          "number": {
            "type": "string",
            "description": "The number of the AR Payment. \n",
            "example": "A123"
          },
          "transaction_date": {
            "allOf": [
              {
                "description": "The date of the AR Payment transaction or when it was issued.\n"
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ]
          },
          "type": {
            "type": "string",
            "description": "The type of the AR Payment.\n\n**Notes for Viewpoint Spectrum**: a list of possible values for this field can be retried using the `Transaction_Description` field in the `CR_TRANSACTION_MC` table, which requires a passthrough request. To learn more about passthrough requests, see [link](/agave-api/passthrough-requests#foundation-viewpoint-spectrum-and-viewpoint-vista).\n",
            "example": "AR PAYMENTS"
          }
        }
      },
      "NewArPaymentLineItem-5": {
        "required": [
          "amount",
          "bank_account_id",
          "customer_id",
          "line_items",
          "status",
          "transaction_date",
          "type"
        ],
        "type": "object",
        "properties": {
          "amount": {
            "allOf": [
              {
                "$ref": "#/components/schemas/MoneyProperty"
              },
              {
                "description": "The total monetary amount of the Line Item."
              },
              {
                "example": "100.00"
              }
            ]
          },
          "ar_invoice_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [AR Invoice](#tag--ar-invoices) for the Line Item. \n"
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          },
          "ar_invoice_line_item_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [AR Invoice Line Item](#tag--ar-invoices) for the Line Item. \n"
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          },
          "tax_amount": {
            "allOf": [
              {
                "$ref": "#/components/schemas/MoneyProperty"
              },
              {
                "description": "The tax amount of the Line Item."
              },
              {
                "example": "10.00"
              }
            ]
          }
        }
      },
      "NewArPayment-6": {
        "required": [
          "amount",
          "bank_account_id",
          "customer_id",
          "line_items",
          "status",
          "transaction_date",
          "type"
        ],
        "type": "object",
        "properties": {
          "amount": {
            "allOf": [
              {
                "$ref": "#/components/schemas/MoneyProperty"
              },
              {
                "description": "The total amount of the AR Payment, including tax."
              },
              {
                "example": "110"
              }
            ]
          },
          "bank_account_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Bank Account](#tag--bank-accounts)."
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          },
          "customer_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Customer](#tag--customers)."
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          },
          "description": {
            "type": "string",
            "description": "Additional information about the AR Payment.",
            "example": "Partial payment for July invoice."
          },
          "line_items": {
            "type": "array",
            "description": "The line items for the AR Payment. To learn more about creating and updating Line Items, see [link](/agave-api/line-items).",
            "items": {
              "$ref": "#/components/schemas/NewArPaymentLineItem-5"
            }
          },
          "number": {
            "type": "string",
            "description": "The number associated with the AR Payment.",
            "example": "A123"
          },
          "status": {
            "type": "string",
            "description": "The status of the AR Payment.",
            "example": "Pending",
            "enum": [
              "Pending",
              "Posted"
            ]
          },
          "transaction_date": {
            "allOf": [
              {
                "description": "The date of the AR Payment. **Note**: if a date for this field is omitted in QuickBooks Online, today's data will be used instead.\n"
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ]
          },
          "type": {
            "type": "string",
            "description": "The type of the AR Payment.",
            "example": "Payment",
            "enum": [
              "Payment"
            ]
          }
        }
      },
      "ArPaymentLineItem-2": {
        "allOf": [
          {
            "$ref": "#/components/schemas/ArPaymentLineItem"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "https://{{hostname}}/AcumaticaU100/entity/Default/20.200.001/Payment/{{ar_payment_id}}?%24expand=DocumentsToApply%2CApplicationHistory"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "id": "0db39ee2-0685-ee11-8424-0eb71309dd15",
                      "rowNumber": 1,
                      "note": {
                        "value": ""
                      },
                      "AmountPaid": {
                        "value": 100
                      },
                      "BalanceWriteOff": {
                        "value": 0
                      },
                      "CashDiscountTaken": {
                        "value": 0
                      },
                      "CustomerOrder": [],
                      "Description": {
                        "value": "Line Item for Partial Payment for January invoice."
                      },
                      "DocLineNbr": {
                        "value": 0
                      },
                      "DocType": {
                        "value": "Invoice"
                      },
                      "ReferenceNbr": {
                        "value": "000124"
                      },
                      "WriteOffReasonCode": {
                        "value": "BALWOFF"
                      },
                      "custom": [],
                      "_links": {
                        "files:put": "/AcumaticaU100/entity/Default/20.200.001/files/PX.Objects.AR.ARPaymentEntry/Adjustments/0db39ee2-0685-ee11-8424-0eb71309dd15/{filename}"
                      }
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "ARPaymentLineItem": {
        "type": "object",
        "properties": {
          "id": {
            "allOf": [
              {
                "description": "The UUID of the Line Item assigned by Agave."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "source_id": {
            "type": "string",
            "readOnly": true,
            "example": "12345",
            "description": "The ID of the Line Item in the Source System."
          },
          "amount": {
            "allOf": [
              {
                "$ref": "#/components/schemas/MoneyProperty"
              },
              {
                "description": "The total monetary amount of the Line Item, including tax.\n\n**Note for Sage 300 CRE**: amounts are returned as negative values given the structure of Sage 300 CRE's table. You may want to convert these to positive values depending on your use-case.\n"
              },
              {
                "example": "100.00"
              }
            ]
          },
          "ar_invoice_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [AR Invoice](#tag--ar-invoices) for the Line Item."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "ar_invoice_line_item_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [AR Invoice Line Item](#tag--ar-invoices) for the Line Item."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "description": {
            "type": "string",
            "description": "Line Item for Partial Payment for January invoice.",
            "example": "Partial payment for January invoice."
          },
          "discount_taken_amount": {
            "type": "string",
            "description": "The discount taken on this AR Payment Line Item.",
            "example": "0.0"
          },
          "ledger_account_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Ledger Account](#tag--ledger-accounts) for the Line Item."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "type": {
            "type": "string",
            "description": "The type of the AR Payment Line Item. \n\n**Note for Acumatica:** possible values include \"Pending\" and \"Posted\".\n\n**Note for Foundation**: valid values include \"Invoice\" and \"Miscellaneous\".\n\n**Note for Sage Intacct** :valid values include \"Adjustment\", \"Advance\", \"Debit Memo\", \"Invoice\", \"Negative Invoice\", and \"Overpayment\".\n\n**Note for Viewpoint Vista:** possible values include \"Contract\" or \"Material\".\n",
            "example": "Contract"
          },
          "source_create_time": {
            "allOf": [
              {
                "description": "The datetime the Line Item was created in the Source System."
              },
              {
                "$ref": "#/components/schemas/DateTimeProperty"
              }
            ]
          },
          "source_update_time": {
            "allOf": [
              {
                "description": "The datetime the Line Item was last updated in the Source System."
              },
              {
                "$ref": "#/components/schemas/DateTimeProperty"
              }
            ]
          }
        }
      },
      "ArPaymentLineItem-3": {
        "allOf": [
          {
            "$ref": "#/components/schemas/ARPaymentLineItem"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The database query for the Source System.",
                    "example": "select * from [ar_cash_invoice]"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "company_no": 12345,
                      "cash_receipt_no": 12345,
                      "invoice_source": "O",
                      "invoice_no": "       100",
                      "line_no": 1,
                      "posted_flag": "Y",
                      "gl_ar": "1040",
                      "gl_retainage": "1050",
                      "cash_amount": "58000.00",
                      "retainage_amount": ".00",
                      "discount_amount": "1774.00",
                      "ar_amount": "59774.00",
                      "record_status": "A",
                      "row_modified_by": "DBA",
                      "row_modified_on": "2022-01-01 00:00:00.00",
                      "row_unique_id": 1,
                      "take_discount": "Y",
                      "cash_receipt_id": "101",
                      "company_id": "1",
                      "invoice_id": "100",
                      "line_id": "1",
                      "disc_div_level_1": null,
                      "disc_div_level_2": null,
                      "disc_div_level_3": null,
                      "disc_div_level_4": null,
                      "record_guid": "12345661-C405-EE11-83CC-005056A04820",
                      "reference_id": "12345661-C405-EE11-83CC-005056A04820"
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "ArPaymentLineItem-4": {
        "allOf": [
          {
            "$ref": "#/components/schemas/ArPaymentLineItem"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "https://api.procore.com/rest/v1.0/payments"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "id": 12345,
                      "amount": "100.0",
                      "check_number": "A123",
                      "created_at": "2022-01-01T00:00:00Z",
                      "date": "2022-01-01",
                      "draw_request_number": null,
                      "invoice_number": "12345",
                      "requisition_id": 12345,
                      "payment_number": "A123",
                      "payment_method": "check",
                      "project_id": 12345,
                      "status": "paid",
                      "attachments": []
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "ArPaymentLineItem-5": {
        "allOf": [
          {
            "$ref": "#/components/schemas/ArPaymentLineItem"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "ReceivePaymentQueryRq"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "TxnID": "12345",
                      "TxnType": "Invoice",
                      "TxnDate": "2022-01-01",
                      "RefNumber": "A123",
                      "BalanceRemaining": "0.00",
                      "Amount": "100.00",
                      "LinkedTxn": {
                        "TxnID": "12345",
                        "TxnType": "Estimate",
                        "TxnDate": "2022-01-01",
                        "RefNumber": "123",
                        "LinkType": "AMTTYPE",
                        "Amount": "-100.00"
                      }
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "ArPaymentLineItem-6": {
        "allOf": [
          {
            "$ref": "#/components/schemas/ArPaymentLineItem"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "https://quickbooks.api.intuit.com/v3/company/{companyId}/query"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "Amount": 130.12,
                      "LinkedTxn": [
                        {
                          "TxnId": "123",
                          "TxnType": "Invoice"
                        }
                      ],
                      "LineEx": {
                        "any": [
                          {
                            "name": "{http://schema.intuit.com/finance/v3}NameValue",
                            "declaredType": "com.intuit.schema.finance.v3.NameValue",
                            "scope": "javax.xml.bind.JAXBElement$GlobalScope",
                            "value": {
                              "Name": "txnId",
                              "Value": "123"
                            },
                            "nil": false,
                            "globalScope": true,
                            "typeSubstituted": false
                          },
                          {
                            "name": "{http://schema.intuit.com/finance/v3}NameValue",
                            "declaredType": "com.intuit.schema.finance.v3.NameValue",
                            "scope": "javax.xml.bind.JAXBElement$GlobalScope",
                            "value": {
                              "Name": "txnOpenBalance",
                              "Value": "130.12"
                            },
                            "nil": false,
                            "globalScope": true,
                            "typeSubstituted": false
                          },
                          {
                            "name": "{http://schema.intuit.com/finance/v3}NameValue",
                            "declaredType": "com.intuit.schema.finance.v3.NameValue",
                            "scope": "javax.xml.bind.JAXBElement$GlobalScope",
                            "value": {
                              "Name": "txnReferenceNumber",
                              "Value": "123"
                            },
                            "nil": false,
                            "globalScope": true,
                            "typeSubstituted": false
                          }
                        ]
                      }
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "ArPaymentLineItem-7": {
        "allOf": [
          {
            "$ref": "#/components/schemas/ArPaymentLineItem"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The SQL path on the Source System.",
                    "example": "select top 10 [acrpmt].*, [acrinv].[jobnum] from [acrpmt] left join [acrinv] on [acrinv].[recnum] = [acrpmt].[recnum] order by [acrpmt].[_idnum] asc"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "_idnum": "7A63853B-899F-E511-B83D-005056C00008",
                      "_idref": "2F63853B-899F-E511-B83D-005056C00008",
                      "recnum": "5",
                      "dscrpt": "Receipt",
                      "chknum": "2947296",
                      "chkdte": "2023-05-23T00:00:00.000Z",
                      "actper": 5,
                      "amount": "128535.10",
                      "dsctkn": ".00",
                      "aplcrd": ".00",
                      "lgrrec": "291",
                      "postyr": 2023,
                      "insdte": "2015-12-10T21:59:09.777Z",
                      "insusr": "Bob",
                      "upddte": "2023-02-01T00:00:07.220Z",
                      "updusr": "BEST\\gamrein",
                      "jobnum": "186"
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "ArPaymentLineItem-8": {
        "allOf": [
          {
            "$ref": "#/components/schemas/ARPaymentLineItem"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The SQL path on the Source System.",
                    "example": "select * from [ACTIVITY_ARA_RECORD_2]"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "ACUST": "150",
                      "ASTYPE": "Invoice",
                      "ADATE": "2024-09-01",
                      "ASSEQ": 5,
                      "ASEQ": 3,
                      "ATYPE": "Cash receipt",
                      "ASTAT": "Pending post",
                      "AINV": "818",
                      "ADRAW": "14",
                      "AINVDAT": "2024-09-01",
                      "ADUEDAT": "2024-08-31",
                      "AACTDAT": "2024-09-29",
                      "APMTTYP": "Invoice cash receipt",
                      "APMT": "A125-3",
                      "APMTBNK": "First",
                      "APMTDDT": "2024-09-29",
                      "APMTDID": "A125",
                      "APMTDIM": 3,
                      "AADJACT": "0",
                      "AADJDAT": null,
                      "AADJTA": "Not Used",
                      "AADJTYN": 999,
                      "AADJTYA": "Not Used",
                      "AADJ": "",
                      "ACNTRT": "",
                      "ACNTRTI": "",
                      "AJOB": "14-000",
                      "AEXTRA": "",
                      "APHASE": "",
                      "AREF": "",
                      "ADESC": "Sample Wire",
                      "AAMT": -40,
                      "AFCAMT": 0,
                      "ARETHLD": 0,
                      "ARETBLD": 0,
                      "APPAMT": 0,
                      "AOSTAMP": "sagesandbox",
                      "ADSTAMP": "2024-09-29",
                      "ATSTAMP": "17:23:44",
                      "ARWID": "e116d83d-c27e-ef11-843e-0e8f85e0b28b",
                      "ARWVR": "1727655824",
                      "R2NTS": null,
                      "R2FLS": null,
                      "PPTYPEA": "Wire"
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "ArPaymentLineItem-9": {
        "allOf": [
          {
            "$ref": "#/components/schemas/ARPaymentLineItem"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "https://api.intacct.com/ia/xml/xmlgw.phtml"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "RECORDNO": "25",
                      "PAYMENTAMOUNT": "100",
                      "RECORDKEY": "351",
                      "ENTRYKEY": "1258",
                      "POSADJKEY": null,
                      "POSADJENTRYKEY": null,
                      "INLINEKEY": null,
                      "INLINEENTRYKEY": null,
                      "INLINEAMOUNT": null,
                      "TRX_INLINEAMOUNT": null,
                      "ADVANCEKEY": null,
                      "ADVANCEENTRYKEY": null,
                      "POSTEDADVANCEKEY": null,
                      "POSTEDADVANCEENTRYKEY": null,
                      "POSTEDADVANCEAMOUNT": null,
                      "TRX_POSTEDADVANCEAMOUNT": null,
                      "OVERPAYMENTKEY": null,
                      "OVERPAYMENTENTRYKEY": null,
                      "POSTEDOVERPAYMENTKEY": null,
                      "POSTEDOVERPAYMENTENTRYKEY": null,
                      "POSTEDOVERPAYMENTAMOUNT": null,
                      "TRX_POSTEDOVERPAYMENTAMOUNT": null,
                      "NEGATIVEINVOICEKEY": null,
                      "NEGATIVEINVOICEENTRYKEY": null,
                      "NEGATIVEINVOICEAMOUNT": null,
                      "TRX_NEGATIVEINVOICEAMOUNT": null,
                      "ADJUSTMENTKEY": null,
                      "ADJUSTMENTENTRYKEY": null,
                      "ADJUSTMENTAMOUNT": null,
                      "TRX_ADJUSTMENTAMOUNT": null,
                      "PAYMENTKEY": "387",
                      "PAYMENTENTRYKEY": "1360",
                      "PAYMENTDATE": "07/03/2024",
                      "TRX_PAYMENTAMOUNT": "100",
                      "CURRENCY": "USD",
                      "STATE": "C",
                      "WHENCREATED": "07/03/2024 22:02:56",
                      "WHENMODIFIED": "07/03/2024 22:02:56",
                      "CREATEDBY": "7",
                      "MODIFIEDBY": "7",
                      "PARENTPAYMENTKEY": "387"
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "ArPaymentLineItem-10": {
        "allOf": [
          {
            "$ref": "#/components/schemas/ArPaymentLineItem"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "https://api.servicetitan.io/accounting/v2/tenant/{tenantId}/payments"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "appliedId": 12345,
                      "appliedTo": 12345,
                      "appliedAmount": "100.00",
                      "appliedOn": "2022-01-01T00:00:00.0000000Z",
                      "appliedBy": "johndoe",
                      "appliedToReferenceNumber": "12345"
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "ArPaymentLineItem-11": {
        "allOf": [
          {
            "$ref": "#/components/schemas/ArPaymentLineItem"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The SQL path on the Source System.",
                    "example": "select * from [CR_CASH_RECEIPT_TRAN_DET_MC]"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "Company_Code": "12345",
                      "Customer_Code": "A123",
                      "Transaction_Code": "P",
                      "Reference_Number": "A123",
                      "Invoice_Reference_Date": "80443",
                      "Invoice_Number": "       A123",
                      "Invoice_Type": "I",
                      "Unused_Field": "",
                      "Discount_Taken": ".00",
                      "Payment_Amount": "100.00",
                      "GL_Account": "",
                      "Retention_Discount": ".00",
                      "Retention_Payment": ".00",
                      "Remark": "",
                      "Update_Flag": "",
                      "Job_Number": "",
                      "Phase_Code": "",
                      "Cost_Type": "",
                      "Posted_Flag": "",
                      "Equipment_Code": "",
                      "Cost_Category_Code": "",
                      "PM_Work_Order": "",
                      "Cost_Center": "1010",
                      "Local_Discount_Taken": ".00",
                      "Local_Payment_Amount": ".00",
                      "Local_Retention_Discount": ".00",
                      "Local_Retention_Payment": ".00"
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "ArPaymentLineItem-12": {
        "allOf": [
          {
            "$ref": "#/components/schemas/ArPaymentLineItem"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The SQL path on the Source System.",
                    "example": "select [bARTL].*, [bARTH].[Invoice] from [bARTL] left join [bARTH] on [bARTH].[AppliedMth] = [bARTL].[ApplyMth] and [bARTH].[AppliedTrans] = [bARTL].[ApplyTrans] where [bARTL].[ARCo] = 12345 and [bARTL].[Mth] = 2022-01-01 00:00:00 and [bARTL].[ARTrans] = 12345"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "ARCo": "12345",
                      "Mth": "2022-01-01 00:00:00",
                      "ARTrans": "12345",
                      "ARLine": "1",
                      "RecType": "12345",
                      "LineType": "C",
                      "Description": "Concrete Foundations and Slab",
                      "GLCo": "12345",
                      "GLAcct": null,
                      "TaxGroup": "12345",
                      "TaxCode": null,
                      "Amount": "100.00",
                      "TaxBasis": ".00",
                      "TaxAmount": ".00",
                      "RetgPct": ".0000",
                      "Retainage": ".00",
                      "DiscOffered": ".00",
                      "TaxDisc": ".00",
                      "DiscTaken": ".00",
                      "ApplyMth": "2022-01-01 00:00:00",
                      "ApplyTrans": "12345",
                      "ApplyLine": "1",
                      "JCCo": "12345",
                      "Contract": "12345",
                      "Item": "1234567890",
                      "ContractUnits": null,
                      "Job": null,
                      "PhaseGroup": null,
                      "Phase": null,
                      "CostType": null,
                      "UM": null,
                      "JobUnits": null,
                      "JobHours": null,
                      "ActDate": null,
                      "INCo": null,
                      "Loc": null,
                      "MatlGroup": null,
                      "Material": null,
                      "UnitPrice": null,
                      "ECM": null,
                      "MatlUnits": null,
                      "CustJob": null,
                      "CustPO": null,
                      "EMCo": null,
                      "Equipment": null,
                      "EMGroup": null,
                      "CostCode": null,
                      "EMCType": null,
                      "Notes": null,
                      "CompType": null,
                      "Component": null,
                      "PurgeFlag": "N",
                      "FinanceChg": ".00",
                      "rptApplyMth": null,
                      "rptApplyTrans": null,
                      "KeyID": "12345",
                      "RetgTax": ".00",
                      "SMWorkCompletedID": null,
                      "SMAgreementBillingScheduleID": null,
                      "SMCo": null,
                      "SMWorkOrder": null,
                      "SMWorkOrderScope": null,
                      "SMCostType": null,
                      "SMGLCo": null,
                      "SMGLCostAcct": null,
                      "SMGLCostWIPAcct": null,
                      "SMGLRevAcct": null,
                      "SMGLRevWIPAcct": null,
                      "SMTrackingWIP": null,
                      "SMScopeCompleted": null,
                      "Invoice": "1234567890"
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "Asset": {
        "type": "object",
        "properties": {
          "id": {
            "allOf": [
              {
                "description": "The UUID of the Asset assigned by Agave."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "source_id": {
            "type": "string",
            "readOnly": true,
            "example": "12345",
            "description": "The ID of the Asset in the Source System."
          },
          "category": {
            "type": "string",
            "description": "The Category of the Asset.",
            "example": "Equipment"
          },
          "current_location_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the current [Location](#tag--locations) of the Asset."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "default_location_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the default [Location](#tag--locations) of the Asset."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "description": {
            "type": "string",
            "description": "A description of the Asset.",
            "example": "Doosan excavators - DX225LC"
          },
          "hourly_rate": {
            "type": "string",
            "description": "The hourly rate of the Asset.",
            "example": "150"
          },
          "make": {
            "type": "string",
            "description": "The make of the Asset.",
            "example": "Doosan"
          },
          "model": {
            "type": "string",
            "description": "The model of the Asset.",
            "example": "DL06"
          },
          "name": {
            "type": "string",
            "description": "The name of the Asset.",
            "example": "Doosan Excavator"
          },
          "number": {
            "type": "string",
            "description": "A number associated with the Asset (e.g. a barcode).",
            "example": "A123"
          },
          "ownership": {
            "type": "string",
            "description": "The type of ownership associated with the Asset.\n\n**Note for Procore**: possible values include \"Owned\", \"Rented, and \"Subcontracted\".\n",
            "example": "owned"
          },
          "quantity": {
            "type": "string",
            "description": "The total quantity of the Asset.",
            "example": "1"
          },
          "serial_number": {
            "type": "string",
            "description": "The serial number of the Asset.",
            "example": "1234567"
          },
          "status": {
            "type": "string",
            "description": "The status of the Asset.",
            "example": "Active"
          },
          "type": {
            "type": "string",
            "description": "The type or class of the Asset.",
            "example": "Excavator"
          },
          "vendor_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Vendor](#tag--vendors) that owns the Asset."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "source_create_time": {
            "allOf": [
              {
                "description": "The datetime the Asset was created in the Source System."
              },
              {
                "$ref": "#/components/schemas/DateTimeProperty"
              }
            ]
          },
          "source_update_time": {
            "allOf": [
              {
                "description": "The datetime the Asset was last updated in the Source System."
              },
              {
                "$ref": "#/components/schemas/DateTimeProperty"
              }
            ]
          }
        }
      },
      "Asset-2": {
        "allOf": [
          {
            "$ref": "#/components/schemas/Asset"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "https://developer.api.autodesk.com/construction/assets/v2/projects/{{project_id}}/assets"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "id": "12345",
                      "version": 1,
                      "createdAt": "2022-01-01T00:00:00.000Z",
                      "createdBy": "12345",
                      "updatedAt": "2022-01-01T00:00:00.000Z",
                      "updatedBy": "12345",
                      "isActive": true,
                      "categoryId": "12345",
                      "companyId": "12345",
                      "clientAssetId": "12345",
                      "statusId": "12345",
                      "description": "Doosan Excavator"
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "Asset-3": {
        "allOf": [
          {
            "$ref": "#/components/schemas/Asset"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "{server}/{environment}/em-rest-api/rest/1/emequipment"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "EmeEqpCode": "A123",
                      "EmeName": "Doosan Excavator",
                      "EmeDesc": "Doosan excavators - DX225LC",
                      "EmeEqpclassCode": "Excavator",
                      "EmeEqpclassName": "Excavators",
                      "EmeCtrlEqpCode": null,
                      "EmeCtrlEqpName": null,
                      "EmeEqpHier": "12345",
                      "EmeHomelocCode": "12345",
                      "EmeHomelocName": "AnyTown / Warehouse",
                      "EmeCompCode": "12345",
                      "EmeActuallocCode": "*",
                      "EmeActuallocName": "AnyTown",
                      "EmeCurrActuallocCode": "12345",
                      "EmeCurrActuallocName": "AnyTown / Depot",
                      "EmeJccatCode": null,
                      "EmeJccatName": null,
                      "EmeLegalUniqueIdentifier": "1234567",
                      "EmeActiveFlag": "Y",
                      "EmeLegalUidLocation": "AnyTown Location",
                      "EmeAutoChargeoutFlag": "Y",
                      "EmeFloatFlag": "N",
                      "EmeFixedAssetsFlag": "Y",
                      "EmeDepreciationFlag": "N",
                      "EmeCommissionDate": "2022-01-01T00:00:00-00:00",
                      "EmeCommissionTime": "00:00",
                      "EmeDecommissionDate": null,
                      "EmeBaseUmCode": null,
                      "EmeBaseUmName": null,
                      "EmeExpectedUsagePerDay": null,
                      "EmeLifeExpectancyInBaseUm": null,
                      "EmeLifeExpectancyDate": null,
                      "EmeResponsiblePersonnelName": null,
                      "EmeValue": null,
                      "EmeChargePc": null,
                      "EmeBillRateRequiredFlag": "N",
                      "EmeWarrantyDate": null,
                      "EmeWarrantyAccTypeCode": null,
                      "EmeWarrantyExpiryReading": null,
                      "EmeWarrantyDesc": null,
                      "EmeWarrantyExpireDate": null,
                      "EmeJcphsCode": null,
                      "EmeJcphsName": null,
                      "EmeSlidingScaleRuleFlag": "N",
                      "EmeCreateDate": "2022-01-01T00:00:00-00:00",
                      "EmeUeValidFlag": "Y",
                      "EmeVendorCode": "12345",
                      "EmeVendorName": "AnyCompany",
                      "EmeBulkEquipmentFlag": "N",
                      "EmeTotalQty": 1,
                      "EmeInitialBulkQty": 1,
                      "EmeTruckType": null,
                      "EmeMinLoad": null,
                      "EmeMaxGross": null,
                      "EmeInsurName": null,
                      "EmeInsurPolicyNo": null,
                      "EmeTareWeight": null,
                      "EmeTareDate": null,
                      "EmeTareTime": null,
                      "EmeTareType": null,
                      "EmeNoOfDrops": null,
                      "EmeTradeCode": null,
                      "EmeTradeName": null,
                      "EmeTruckerClass": null,
                      "EmeTruckerClassName": null,
                      "EmeUtilizationCode": null,
                      "EmeUtilizationName": null,
                      "EmeCrewCode": null,
                      "EmeFastCatCode": "Equipment",
                      "EmeFastCatName": "Equipment",
                      "EmeFastMakeName": "Doosan",
                      "EmeFastModelYear": 2010,
                      "EmeFastModelName": "DL06",
                      "EmeFastSerNumCode": "1234567",
                      "EmeFastLicNumberCode": "12345",
                      "EmeFastLicExpDate": "2022-01-01T00:00:00-00:00",
                      "EmeFastWarrantyCode": "S",
                      "EmeFastGrossWgtQty": 0,
                      "EmeFastWarrantyDate": "2022-01-01T00:00:00-00:00",
                      "EmeFastOwnerName": "Company",
                      "EmeFastAssignedName": "Company",
                      "EmeFastLeaseCode": "O",
                      "EmeFastMethCode": "3",
                      "EmeFastRegisteredTo": "Company",
                      "EmeFastLicMonthsQty": 12,
                      "EmeFastLicCostAmt": 120,
                      "EmeFastCapacityQty": 0,
                      "EmeFastDspsDate": null,
                      "EmeFastBoughtFrom": "AnyCompany",
                      "EmeFastLicState": "DE",
                      "EmeFastLicStateName": "Delaware",
                      "EmeFastInsuredValue": null,
                      "EmeUseMeterReadingFlag": "N",
                      "EmeVUuid": "12345",
                      "EmeIuCreateDate": "2022-01-01T00:00:00-00:00",
                      "EmeIuUpdateDate": null
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "Asset-4": {
        "allOf": [
          {
            "$ref": "#/components/schemas/Asset"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The database query for the Source System.",
                    "example": "select * from [equipment]"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "company_no": "12345",
                      "equipment_no": "12345",
                      "description": "Doosan Excavator",
                      "status": "A",
                      "eq_category_no": "  200",
                      "secondary_eq_category_no": null,
                      "gl_expense": null,
                      "gl_credit": null,
                      "license_plate_no": null,
                      "license_fee": ".00",
                      "license_expiration": null,
                      "manufacturer": "Doosan",
                      "distributor": null,
                      "serial_number": "12345678",
                      "make_model": "Doosan DL06",
                      "model_year": null,
                      "ownership": "O",
                      "new_or_used": "X",
                      "purchase_price": ".00",
                      "purchase_date": null,
                      "sale_price": ".00",
                      "sale_date": null,
                      "insured_value": ".00",
                      "market_value": ".00",
                      "axles": "N",
                      "commercial_or_private": "C",
                      "gross_weight": ".00000",
                      "warranty_start_date": null,
                      "warranty_end_date": null,
                      "warranty_coverage": null,
                      "warranty_limitations": null,
                      "warranty_company": null,
                      "warranty_address_1": null,
                      "warranty_address_2": null,
                      "warranty_city": null,
                      "warranty_state": null,
                      "warranty_zip": null,
                      "warranty_contact_1": null,
                      "warranty_contact_2": null,
                      "default_hourly_rate": ".0000",
                      "default_daily_rate": ".0000",
                      "default_weekly_rate": ".0000",
                      "default_monthly_rate": ".0000",
                      "default_idle_rate": ".0000",
                      "default_down_rate": ".0000",
                      "record_status": "A",
                      "row_modified_by": "12345",
                      "row_modified_on": "2022-01-01 00:00:00.000",
                      "row_unique_id": "12345",
                      "company_id": "12345",
                      "eq_category_id": "200",
                      "equipment_id": "12345",
                      "license_plate_id": null,
                      "secondary_eq_category_id": null,
                      "meter_type": "N",
                      "service_code_no": null,
                      "default_billing_rate": ".0000",
                      "service_code_id": null,
                      "default_location_job_no": "         1",
                      "default_wo_job_no": "         2",
                      "default_location_job_id": "1",
                      "default_wo_job_id": "2",
                      "track_asset_in": "E",
                      "asset_category_no": null,
                      "salvage_value": ".00",
                      "ppt_asset_category": null,
                      "ppt_percent_code": null,
                      "gl_accum_depr": null,
                      "gl_depr_expense": null,
                      "asset_category_id": null,
                      "crew_no": null,
                      "crew_id": null,
                      "fuel_type_no": null,
                      "fuel_capacity": ".0000",
                      "gl_fuel_expense": null,
                      "gl_fuel_credit": null,
                      "consumption_type": "M",
                      "enable_fuel_tracking_flag": "N",
                      "fuel_job_no": null,
                      "fuel_phase_no": null,
                      "fuel_cost_code_no": null,
                      "fuel_cost_class_no": null,
                      "fuel_cost_class_id": null,
                      "fuel_cost_code_id": null,
                      "fuel_job_id": null,
                      "fuel_phase_id": null,
                      "fuel_type_id": null,
                      "record_guid": "12345CD5-0F6A-EE11-83D2-005056BA67E5",
                      "Internal_Batch_Number": null
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "Asset-5": {
        "allOf": [
          {
            "$ref": "#/components/schemas/Asset"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "https://api.procore.com/rest/v1.0/companies/{{company_id}}/equipment_register"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "id": "123457MBPRW0EV9JSQ066Q8TA",
                      "equipment_id": "1",
                      "identification_number": "1",
                      "equipment_name": "Doosan Excavator",
                      "name": "Doosan Excavator",
                      "type": {
                        "id": "01J6Z854C3RHB4RJBBH7PNXGY7",
                        "name": "Demolition"
                      },
                      "profile_photo": "{url}}",
                      "status": "active",
                      "serial_number": "123456",
                      "category": {
                        "id": "01J6Z84ETFBVXPQ3ZMWSTH6A4E",
                        "name": "Heavy Machinery"
                      },
                      "rate_per_hour": 22,
                      "ownership": "owned",
                      "notes": "",
                      "scope": "company",
                      "created_at": "2024-01-01T19:29:55.574023Z",
                      "is_deleted": false
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "Asset-6": {
        "allOf": [
          {
            "$ref": "#/components/schemas/Asset"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The SQL path on the Source System.",
                    "example": "select * FROM EC_EQUIPMENT_MASTER_MC"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "Company_Code": "12345",
                      "Equipment_Code": "     12345",
                      "Equipment_Type": "Excavator",
                      "Description": "Doosan Excavator",
                      "Year": "22",
                      "Equipment_Make": "Doosan",
                      "Equipment_Model": "DL06",
                      "License_Number": "",
                      "On_Road_Code": "1",
                      "Meter_Type": "M",
                      "Fuel_Oil_Code": "",
                      "Capacity": "10000.00",
                      "Owned_Flag": "L",
                      "New_Code": "N",
                      "Last_Job": "",
                      "Dummy_Unused": ".00",
                      "PM_Code": "",
                      "Purchase_Date": "2022-01-01 00:00:00.000",
                      "Entry_Date": "2022-01-01 00:00:00.000",
                      "Purchase_Cost": ".00",
                      "Insurance_Cost_Per_Year": ".00",
                      "License_Per_Year": ".00",
                      "Depreciation_Cost": ".00",
                      "Engine_Make": "",
                      "Engine_Model": "",
                      "Transmission_Make": "",
                      "Transmission_Model": "",
                      "Power_Axle_Make": "",
                      "Power_Axle_Model": "",
                      "Number_Of_Axles": ".00",
                      "Number_Of_Tires": ".00",
                      "Front_Tire_Size": "",
                      "Rear_Tire_Size": "",
                      "Resident_State_Permit": "",
                      "Work_State_Permit": "",
                      "Gross_Weight": ".00",
                      "Scale_Weight": ".00",
                      "Rate_Per_Hour": ".00",
                      "Rate_Per_Day": "35.00",
                      "Rate_Per_Week": "35.00",
                      "Rate_Per_Month": "35.00",
                      "Hourly_Rental_Rate": ".00",
                      "Daily_Rental_Rate": ".00",
                      "Weekly_Rental_Rate": ".00",
                      "Monthly_Rental_Rate": ".00",
                      "Serial_Number": "1234567",
                      "Depreciation_Method": "Y",
                      "Last_Meter": ".00",
                      "Wage_Code": "",
                      "Union_Code": "",
                      "Expiration_Date": null,
                      "Filter_Names1": "",
                      "Filter_Names2": "",
                      "Filter_Names3": "",
                      "Filter_Names4": "",
                      "Filter_Names5": "",
                      "Filter_Names6": "",
                      "Filter_Names7": "",
                      "Filter_Names8": "",
                      "Filter_Names9": "",
                      "Billing_Rate_Code": "",
                      "Purchased_From": "PacLease",
                      "State_Licensed": "",
                      "Last_Meter_Date": null,
                      "Equipment_Status": "A",
                      "Yard_Code": "",
                      "Division_Code": "",
                      "Job_Operating_Rate_List1": ".00",
                      "Job_Operating_Rate_List2": ".00",
                      "Job_Operating_Rate_List3": ".00",
                      "Job_Operating_Rate_List4": ".00",
                      "Stand_By_Rate1": ".00",
                      "Stand_By_Rate2": ".00",
                      "Stand_By_Rate3": ".00",
                      "Stand_By_Rate4": ".00",
                      "Rent_Operating_Rate_List1": ".00",
                      "Rent_Operating_Rate_List2": ".00",
                      "Rent_Operating_Rate_List3": ".00",
                      "Rent_Operating_Rate_List4": ".00",
                      "Rental_Stand_By_Rate1": ".00",
                      "Rental_Stand_By_Rate2": ".00",
                      "Rental_Stand_By_Rate3": ".00",
                      "Rental_Stand_By_Rate4": ".00",
                      "Location": "",
                      "Equipment_Requisition_Number": "",
                      "Sequence": "",
                      "Previous_Status": "",
                      "Cost_Center": "1010",
                      "Equipment_RFID": "",
                      "Equipment_GPS": "",
                      "Equipment_Meter_Type2": "",
                      "Equipment_Meter_Type3": "",
                      "Equipment_Meter_Type4": "",
                      "Equipment_Meter_Desc1": "",
                      "Equipment_Meter_Desc2": "",
                      "Equipment_Meter_Desc3": "",
                      "Equipment_Meter_Desc4": "",
                      "Equipment_Engine_Yr": "",
                      "Equipment_Trans_Yr": "",
                      "Equipment_Power_Axle1_Yr": "",
                      "Equipment_Power_Axle2_Yr": "",
                      "Equipment_Power_Axle2_Make": "",
                      "Equipment_Power_Axle2_Model": "",
                      "Equipment_Power_Axle3_Yr": "",
                      "Equipment_Power_Axle3_Make": "",
                      "Equipment_Power_Axle3_Model": "",
                      "Equipment_Height": "12.00",
                      "Equipment_Width": "10.00",
                      "Equipment_Length": "53.00",
                      "Equipment_Dim_UOM": "FT",
                      "Equipment_Weight_UOM": "LBS",
                      "Equipment_Weight_Class": "HEAVY",
                      "Equipment_Retired": null,
                      "Equipment_Sold": "",
                      "Equipment_Sell_Price": ".00",
                      "Equipment_Sell_Date": null,
                      "Equipment_Sell_To": "",
                      "Equipment_Picture": "",
                      "Market_Value": ".00",
                      "id": 12345,
                      "Equipment_Type_Description": "Excavator",
                      "Status_Description": "Active"
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "Asset-7": {
        "allOf": [
          {
            "$ref": "#/components/schemas/Asset"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The SQL path on the Source System.",
                    "example": "select [EMEM].*, [EMCM].[Description] as [Category] from [EMEM] left join [EMCM] on [EMCM].[Category] = [EMEM].[Category] and [EMCM].[EMCo] = [EMEM].[EMCo] where [EMEM].[EMCo] = 12345"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "EMCo": "12345",
                      "Equipment": "12345",
                      "Location": "112345",
                      "Type": "E",
                      "Department": "112345",
                      "Category": "Equipment",
                      "Manufacturer": "Doosan",
                      "Model": "DL06",
                      "ModelYr": "2022",
                      "VINNumber": "1234567",
                      "Description": "Doosan Excavator",
                      "Status": "A",
                      "OdoReading": ".00",
                      "OdoDate": null,
                      "ReplacedOdoReading": ".00",
                      "ReplacedOdoDate": null,
                      "HourReading": ".00",
                      "HourDate": null,
                      "ReplacedHourReading": ".00",
                      "ReplacedHourDate": null,
                      "MatlGroup": "12345",
                      "FuelMatlCode": null,
                      "FuelCapacity": ".00",
                      "FuelCapUM": null,
                      "FuelUsed": ".000",
                      "EMGroup": "12345",
                      "FuelCostCode": null,
                      "FuelCostType": null,
                      "LastFuelDate": null,
                      "AttachToEquip": null,
                      "AttachPostRevenue": "N",
                      "JCCo": "12345",
                      "Job": "12345",
                      "PhaseGrp": "12345",
                      "UsageCostType": null,
                      "WeightUM": null,
                      "WeightCapacity": ".00",
                      "VolumeUM": null,
                      "VolumeCapacity": ".00",
                      "Capitalized": "N",
                      "LicensePlateNo": "A123",
                      "LicensePlateState": null,
                      "LicensePlateExpDate": null,
                      "IRPFleet": null,
                      "CompOfEquip": null,
                      "ComponentTypeCode": null,
                      "CompUpdateHrs": "N",
                      "CompUpdateMiles": "N",
                      "CompUpdateFuel": "N",
                      "PostCostToComp": "Y",
                      "PRCo": "12345",
                      "Operator": null,
                      "Shop": null,
                      "GrossVehicleWeight": ".00",
                      "TareWeight": ".000",
                      "Height": null,
                      "Wheelbase": null,
                      "NoAxles": "0",
                      "Width": null,
                      "OverallLength": null,
                      "HorsePower": null,
                      "TireSize": null,
                      "OwnershipStatus": "O",
                      "InServiceDate": null,
                      "ExpLife": "0",
                      "ReplCost": ".00",
                      "CurrentAppraisal": ".00",
                      "SoldDate": null,
                      "SalePrice": ".00",
                      "PurchasedFrom": null,
                      "PurchasePrice": ".00",
                      "PurchDate": null,
                      "APCo": null,
                      "VendorGroup": null,
                      "LeasedFrom": null,
                      "LeaseStartDate": null,
                      "LeaseEndDate": null,
                      "LeasePayment": ".00",
                      "LeaseResidualValue": ".00",
                      "ARCo": null,
                      "CustGroup": null,
                      "Customer": null,
                      "CustEquipNo": null,
                      "MSTruckType": null,
                      "RevenueCode": null,
                      "Notes": "Doosan Excavators - DX225LC",
                      "MechanicNotes": null,
                      "JobDate": null,
                      "FuelType": "N",
                      "UpdateYN": "Y",
                      "ShopGroup": "201",
                      "IFTAState": null,
                      "UniqueAttchID": null,
                      "LastUsedDate": null,
                      "KeyID": "4",
                      "ChangeInProgress": null,
                      "LastUsedEquipmentCode": null,
                      "LastEquipmentChangeDate": null,
                      "LastEquipmentChangeUser": null,
                      "EquipmentCodeChanges": null,
                      "OriginalEquipmentCode": "1",
                      "ExpLifeTimeFrame": "Y",
                      "CrossReferenceUsage": "N"
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "NewAsset": {
        "type": "object",
        "properties": {
          "category": {
            "type": "string",
            "description": "The Category of the Asset.",
            "example": "Equipment"
          },
          "current_location_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the current [Location](#tag--locations) of the Asset."
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          },
          "default_location_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the default [Location](#tag--locations) of the Asset."
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          },
          "description": {
            "type": "string",
            "description": "A description of the Asset.",
            "example": "Doosan excavators - DX225LC"
          },
          "make": {
            "type": "string",
            "description": "The make of the Asset.",
            "example": "Doosan"
          },
          "model": {
            "type": "string",
            "description": "The model of the Asset.",
            "example": "DL06"
          },
          "name": {
            "type": "string",
            "description": "The name of the Asset.",
            "example": "Doosan Excavator"
          },
          "number": {
            "type": "string",
            "description": "A number associated with the Asset (e.g. a barcode).",
            "example": "A123"
          },
          "serial_number": {
            "type": "string",
            "description": "The serial number of the Asset.",
            "example": "1234567"
          },
          "status": {
            "type": "string",
            "description": "The status of the Asset.",
            "example": "Active"
          },
          "type": {
            "type": "string",
            "description": "The type or class of the Asset.",
            "example": "Excavator"
          },
          "vendor_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Vendor](#tag--vendors) that owns the Asset."
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          }
        }
      },
      "NewAsset-2": {
        "allOf": [
          {
            "$ref": "#/components/schemas/NewAsset"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "EmeAutoChargeoutFlag": {
                    "type": "string",
                    "example": "Y",
                    "description": "This is a flag used to denote whether automatic charge-out will be used for an Asset. Auto charge-out is for equipment left on site for the duration of the job. If the piece of equipment will be moved frequently and charged by the hour or day, use the manual charge-out feature."
                  },
                  "EmeBillRateRequiredFlag": {
                    "type": "string",
                    "example": "N",
                    "description": "This is a flag that denotes whether CMiC's Billing Rate module is enabled."
                  },
                  "EmeBulkEquipmentFlag": {
                    "type": "string",
                    "example": "N",
                    "description": "This is a flag to denote whether this Asset is being entered in bulk (i.e. includes quantities of the same equipment such as steel props, ladders, and fencing, etc)."
                  },
                  "EmeDepreciationFlag": {
                    "type": "string",
                    "example": "N",
                    "description": "THis is a flag that denotes whether CMiC's Asset depreciation functionality is enabled."
                  },
                  "EmeEqpHier": {
                    "type": "string",
                    "example": "12345",
                    "description": "This field allows you to create a hierarchy by entering a controlling equipment code in this field for two or more equipment items. The hierarchy will group the items together for different degrees of detail."
                  },
                  "EmeFixedAssetsFlag": {
                    "type": "string",
                    "example": "Y",
                    "description": "This is a flag the denotes whether the Asset is fixed."
                  },
                  "EmeHomelocName": {
                    "type": "string",
                    "example": "New York Yard / Warehouse",
                    "description": "The name of the home location of the Asset."
                  },
                  "EmeUseMeterReadingFlag": {
                    "type": "string",
                    "example": "N",
                    "description": "This is a flag used to denote whether functionality that allows users to track meter readings (e.g. mileage) is enabled."
                  }
                }
              }
            }
          }
        ]
      },
      "NewAsset-3": {
        "type": "object",
        "required": [
          "category",
          "hourly_rate",
          "name",
          "number",
          "ownership",
          "serial_number",
          "status",
          "type"
        ],
        "properties": {
          "category": {
            "type": "string",
            "description": "The Category of the Asset.",
            "example": "Earthmoving"
          },
          "description": {
            "type": "string",
            "description": "A description of the Asset.",
            "example": "Doosan excavators - DX225LC"
          },
          "hourly_rate": {
            "type": "string",
            "description": "The hourly rate of the Asset.",
            "example": "150"
          },
          "make": {
            "type": "string",
            "description": "The make of the Asset.",
            "example": "Doosan"
          },
          "model": {
            "type": "string",
            "description": "The model of the Asset.",
            "example": "DL06"
          },
          "name": {
            "type": "string",
            "description": "The name of the Asset.",
            "example": "Doosan Excavator"
          },
          "number": {
            "type": "string",
            "description": "A number associated with the Asset (e.g. a barcode).",
            "example": "A123"
          },
          "ownership": {
            "type": "string",
            "description": "The type of ownership associated with the Asset.\n\n**Note for Procore**: possible values include \"Owned\", \"Rented, and \"Subcontracted\".\n",
            "example": "Owned",
            "enum": [
              "Owned",
              "Rented",
              "Subcontracted"
            ]
          },
          "serial_number": {
            "type": "string",
            "description": "The serial number of the Asset.",
            "example": "1234567"
          },
          "status": {
            "type": "string",
            "description": "The status of the Asset.",
            "example": "Active",
            "enum": [
              "Active",
              "Inactive"
            ]
          },
          "type": {
            "type": "string",
            "description": "The type or class of the Asset.",
            "example": "Excavator"
          }
        }
      },
      "BankAccount": {
        "type": "object",
        "properties": {
          "id": {
            "allOf": [
              {
                "description": "The UUID of the Bank Account assigned by Agave."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "source_id": {
            "type": "string",
            "readOnly": true,
            "example": "12345",
            "description": "The ID of the Bank Account in the Source System."
          },
          "bank_name": {
            "type": "string",
            "description": "The name of the Bank this account is associated with.",
            "example": "JP Morgan Chase"
          },
          "currency_code": {
            "type": "string",
            "description": "The code of the Bank Account's currency. Valid values are ISO 4217 codes.",
            "example": "USD"
          },
          "current_balance": {
            "type": "string",
            "description": "The current balance of the Bank Account.",
            "example": "500"
          },
          "description": {
            "type": "string",
            "description": "The description of the Bank Account.",
            "example": "Primary Checking Account for AnyCompany Contractors."
          },
          "ledger_account_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Ledger Account](#tag--ledger-accounts) (i.e. an Assets Account) the Bank Account is associated with."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "name": {
            "type": "string",
            "description": "The name of the Bank Account.",
            "example": "Checking Account"
          },
          "number": {
            "type": "string",
            "description": "The Bank Account number.",
            "example": "123-5000-12123"
          },
          "type": {
            "type": "string",
            "enum": [
              "Bank",
              "Checking",
              "Credit Card",
              "Savings"
            ],
            "description": "The type of Bank Account.\n\n**Note for QuickBooks Desktop**: possible values include \"Bank\" and \"Credit Card\".\n\n**Note for QuickBooks Online**: possible values include \"Bank\" and \"Credit Card\".\n\n**Note for Sage 100 Contractor**: possible values include \"Bank\" and \"Credit Card\".\n\n**Note for Viewpoint Spectrum**: possible values include \"Bank\" and \"Credit Card\".\n\n**Note for Viewpoint Vista**: possible values include \"Checking\" and \"Savings\".\n",
            "example": "Checking"
          },
          "source_create_time": {
            "allOf": [
              {
                "description": "The datetime the Bank Account was created in the Source System."
              },
              {
                "$ref": "#/components/schemas/DateTimeProperty"
              }
            ]
          },
          "source_update_time": {
            "allOf": [
              {
                "description": "The datetime the Bank Account was last updated in the Source System."
              },
              {
                "$ref": "#/components/schemas/DateTimeProperty"
              }
            ]
          }
        }
      },
      "BankAccount-2": {
        "allOf": [
          {
            "$ref": "#/components/schemas/BankAccount"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The XML path on the Source System.",
                    "example": "AccountQueryRq"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "ListID": "12345",
                      "TimeCreated": "2022-01-01T00:00:00-00:00",
                      "TimeModified": "2022-01-01T00:00:00-00:00",
                      "EditSequence": "12345",
                      "Name": "Checking Account",
                      "FullName": "Checking Account",
                      "IsActive": "true",
                      "Sublevel": "0",
                      "AccountType": "Bank",
                      "AccountNumber": "12345",
                      "Balance": "1602.67",
                      "TotalBalance": "1602.67",
                      "CashFlowClassification": "Operating"
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "BankAccount-3": {
        "allOf": [
          {
            "$ref": "#/components/schemas/BankAccount"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "https://quickbooks.api.intuit.com/v3/company/{companyId}/query"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "Name": "Checking",
                      "SubAccount": false,
                      "FullyQualifiedName": "Checking",
                      "Active": true,
                      "Classification": "Asset",
                      "AccountType": "Bank",
                      "AccountSubType": "Checking",
                      "CurrentBalance": 1602.67,
                      "CurrentBalanceWithSubAccounts": 1602.67,
                      "CurrencyRef": {
                        "value": "USD",
                        "name": "United States Dollar"
                      },
                      "domain": "QBO",
                      "sparse": false,
                      "Id": "123",
                      "SyncToken": "0",
                      "MetaData": {
                        "CreateTime": "2022-01-01T00:00:00-00:00",
                        "LastUpdatedTime": "2022-01-01T00:00:00-00:00"
                      }
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "BankAccount-4": {
        "allOf": [
          {
            "$ref": "#/components/schemas/BankAccount"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The database query for the Source System.",
                    "example": "select * from [lgract] where ([lgract].[acttyp] = 1 or ([lgract].[iscrcd] = 1"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "_idnum": "12345935-899F-E511-B83D-005056C00008",
                      "recnum": "123-50000-123123",
                      "shtnme": "Checking Account",
                      "lngnme": "Primary Checking Account for AnyCompany Contractors",
                      "subact": 0,
                      "sumact": null,
                      "csttyp": null,
                      "begbal": 1000,
                      "endbal": 1602.67,
                      "nxtchk": "12345",
                      "nxtdep": "12345",
                      "strbal": 0,
                      "acttyp": 1,
                      "dbtcrd": 1,
                      "ntetxt": "",
                      "jobsub": 0,
                      "iscrcd": 0,
                      "insdte": "2022-01-01T00:00:00.000Z",
                      "insusr": "John",
                      "upddte": "2022-01-01T00:00:00.000Z",
                      "updusr": "John",
                      "inactv": 0,
                      "bnk_id": "",
                      "trn_id": "0"
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "BankAccount-5": {
        "allOf": [
          {
            "$ref": "#/components/schemas/BankAccount"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The SQL path on the Source System.",
                    "example": "select top 10 * from [BR_BANK_ACCOUNT_MC] where [BR_BANK_ACCOUNT_MC].[Company_Code] = 'CCD' order by [BR_BANK_ACCOUNT_MC].[Bank_Account_Code] asc"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "Company_Code": "CCD",
                      "Bank_Account_Code": "1060",
                      "Bank_Account_Name": "Payroll Account",
                      "Bank_Account_Number": "125-985112355-5000",
                      "Bank_Phone_Number": "2065551212",
                      "Bank_Fax_Number": "  2065552212",
                      "Bank_Representative": "Rob M Blynde",
                      "Bank_Rep_Phone": "2065551212",
                      "Bank_Rep_Fax": "2065552121",
                      "Bank_Rep_Email": "rob.blynde@Bank.com",
                      "Notes": "",
                      "GL_Account": "1060",
                      "Last_Check_Number": "1935.00",
                      "Last_Wire_Number": "155.00",
                      "Data_Format": "",
                      "Last_Posted_Balance": ".00",
                      "Separate_Manual_Check_Seq": "N",
                      "Last_Manual_Check_Number": ".00",
                      "Manual_Checks_Post_H": "",
                      "Bank_Phone_Extension": "",
                      "Bank_Fax_Extension": "",
                      "Bank_Rep_Phone_Extension": "",
                      "Bank_Rep_Fax_Extension": "",
                      "Last_Statement": null,
                      "Sequence": "0001932",
                      "Pos_Pay_Format_Code": "",
                      "All_Cost_Centers": "Y",
                      "Account_Type": "B",
                      "Use_Card_Detail": "",
                      "Branch_Division": "Main Office",
                      "Last_ACH": ".00",
                      "Web_Site": "",
                      "Currency_Code": "",
                      "Check_Report_File": "",
                      "Currency_Gain_Loss_GL": ""
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "BankAccount-6": {
        "allOf": [
          {
            "$ref": "#/components/schemas/BankAccount"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The SQL path on the Source System.",
                    "example": "bCMAC"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "CMCo": "12345",
                      "CMAcct": "12345",
                      "Description": "Checking Account",
                      "GLCo": "12345",
                      "GLAcct": "12345",
                      "BankAcct": "123-5000-12123",
                      "ImmedDest": null,
                      "ImmedOrig": null,
                      "CompanyId": null,
                      "BankName": null,
                      "DFI": null,
                      "RoutingId": null,
                      "ServiceClass": null,
                      "AcctType": "C",
                      "Notes": null,
                      "BatchHeader": null,
                      "AssignBank": null,
                      "UniqueAttchID": null,
                      "KeyID": "10",
                      "AUAccountName": null,
                      "AUBSB": null,
                      "AUBankShortName": null,
                      "AUCustomerNumber": null,
                      "AUReference": null,
                      "AUContraRequiredYN": "N",
                      "CADestDataCentre": null,
                      "CACurrencyCode": null,
                      "CAOriginatorId": null,
                      "CACMRoutingNbr": null,
                      "Discretionary": null,
                      "CAShortName": null,
                      "CALongName": null,
                      "CAEFTFormat": null,
                      "CARBCFileDescriptor": null,
                      "AUPBAType": null,
                      "BeginningCheck": null
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "Batch": {
        "type": "object",
        "properties": {
          "id": {
            "allOf": [
              {
                "description": "The UUID of the Batch assigned by Agave."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "source_id": {
            "type": "string",
            "readOnly": true,
            "example": "12345",
            "description": "The ID of the Batch in the Source System."
          },
          "batch": {
            "type": "string",
            "description": "The number of the batch.",
            "example": "25"
          },
          "status": {
            "type": "string",
            "enum": [
              "Cancelled",
              "Open",
              "Posted"
            ],
            "description": "The status of the Batch.\n",
            "example": "Posted"
          },
          "type": {
            "type": "string",
            "description": "The type of Batch.\n\n**Note for Viewpoint Vista**: Potential values include \"AR Invoice\", \"AP Payment\", \"Posted AP Invoice/Expense\", \"Pending AP Invoice/Expense\", \"Purchase Order\", \"Timecard Entry\", and \"Ledger Journal Entry\".\n",
            "example": "AP Payment"
          },
          "source_create_time": {
            "allOf": [
              {
                "description": "The datetime the Batch was created in the Source System."
              },
              {
                "$ref": "#/components/schemas/DateTimeProperty"
              }
            ]
          },
          "source_update_time": {
            "allOf": [
              {
                "description": "The datetime the Batch was last updated in the Source System."
              },
              {
                "$ref": "#/components/schemas/DateTimeProperty"
              }
            ]
          }
        }
      },
      "Batch-2": {
        "allOf": [
          {
            "$ref": "#/components/schemas/Batch"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The SQL path on the Source System.",
                    "example": "select * from [bHQBC] where [bHQBC].[Co] = 12345"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "Co": 12345,
                      "Mth": "2022-01-01 00:00:00",
                      "BatchId": 25,
                      "Source": "AP Payment",
                      "TableName": "APPB",
                      "InUseBy": null,
                      "DateCreated": "2022-01-01 00:00:00",
                      "CreatedBy": "AnyUser",
                      "Status": 5,
                      "Rstrict": "N",
                      "Adjust": "N",
                      "PRGroup": null,
                      "PREndDate": null,
                      "DatePosted": null,
                      "DateClosed": null,
                      "Notes": null,
                      "UniqueAttchID": null,
                      "KeyID": "12345"
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "NewBatch": {
        "required": [
          "status"
        ],
        "type": "object",
        "properties": {
          "type": {
            "type": "string",
            "enum": [
              "AP Invoice",
              "AP Payment",
              "Posted AP Invoice/Expense",
              "Pending AP Invoice/Expense",
              "Purchase Order",
              "Timecard Entry",
              "Ledger Journal Entry"
            ],
            "description": "The type of Batch, corresponds to the type of transaction within it.\n",
            "example": "Timecard Entry"
          },
          "source_data": {
            "type": "object",
            "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
            "properties": {
              "Mth": {
                "allOf": [
                  {
                    "description": "The batch month for the Timecard Entries. Note, you cannot write batches to months outside of a General Ledger window that is configured for your Vista company."
                  },
                  {
                    "$ref": "#/components/schemas/DateTimeProperty"
                  },
                  {
                    "example": "2022-01-01 00:00:00"
                  }
                ]
              },
              "PRGroup": {
                "type": "string",
                "description": "For Vista Timecard Entry Batches only. The Payroll Group of the employees whose Timecard Entries will be in this batch.\n\nThis can be found in the `PRGroup` field of the Employee source_data.\n"
              },
              "PREndDate": {
                "allOf": [
                  {
                    "description": "For Vista Timecard Entry Batches only. The last day of the payroll period.\n\nNote, the Payroll End Date must be valid for a Pay Sequence (`PaySeq`). A list of possible values for this field and PaySeq can be found with the `PRPS` table in Vista, which requires a passthrough request. To learn more about passthrough requests, see [link](/agave-api/passthrough-requests#foundation-viewpoint-spectrum-and-viewpoint-vista).\n"
                  },
                  {
                    "$ref": "#/components/schemas/DateTimeProperty"
                  },
                  {
                    "example": "2022-01-01 00:00:00"
                  }
                ]
              }
            }
          }
        }
      },
      "UpdateBatch": {
        "required": [
          "status"
        ],
        "type": "object",
        "properties": {
          "status": {
            "type": "string",
            "enum": [
              "Posted"
            ],
            "description": "The status of the Batch.\n",
            "example": "Posted"
          }
        }
      },
      "BudgetLineItem": {
        "type": "object",
        "properties": {
          "id": {
            "allOf": [
              {
                "description": "The UUID of the Budget Line Item assigned by Agave."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "source_id": {
            "type": "string",
            "readOnly": true,
            "example": "12345",
            "description": "The ID of the Budget Line Item in the Source System."
          },
          "cost_code_id": {
            "allOf": [
              {
                "description": "The UUID of the [Cost Code](#tag--cost-codes) for the Budget Line Item, assigned by Agave."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "cost_type_id": {
            "allOf": [
              {
                "description": "The UUID of the [Cost Type](#tag--cost-types) for the Budget Line Item, assigned by Agave."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "current_amount": {
            "allOf": [
              {
                "description": "The current monetary amount of the Budget Line Item, equal to the current `quantity` multiplied by the current`unit_cost`."
              },
              {
                "$ref": "#/components/schemas/MoneyProperty"
              }
            ]
          },
          "description": {
            "type": "string",
            "example": "Equipment",
            "description": "The name of the Budget Line Item."
          },
          "original_amount": {
            "allOf": [
              {
                "description": "The original monetary amount of the Budget Line Item, equal to the original `quantity` multiplied by the original `unit_cost`."
              },
              {
                "$ref": "#/components/schemas/MoneyProperty"
              }
            ]
          },
          "quantity": {
            "type": "string",
            "example": "10.00",
            "description": "The quantity of unit planned for the Budget Line Item (e.g. labor, material)."
          },
          "sub_job_id": {
            "allOf": [
              {
                "description": "The UUID of the [Sub Job](#tag--sub-jobs) for the Budget Line Item, assigned by Agave."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "unit_of_measure": {
            "type": "string",
            "example": "hours",
            "description": "The unit of measurement used for the Budget Line Item."
          },
          "unit_cost": {
            "allOf": [
              {
                "description": "The price of the unit used in the Budget Line Item."
              },
              {
                "$ref": "#/components/schemas/MoneyProperty"
              },
              {
                "example": "10.0"
              }
            ]
          },
          "wbs_id": {
            "allOf": [
              {
                "description": "The UUID of the [WBS Code](#tag--wbs) for the Budget Line Item, assigned by Agave. Note, this identifier is only available in Procore if WBS is enabled."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "source_create_time": {
            "allOf": [
              {
                "description": "The datetime the Budget Line Item was created in the Source System."
              },
              {
                "$ref": "#/components/schemas/DateTimeProperty"
              }
            ]
          },
          "source_update_time": {
            "allOf": [
              {
                "description": "The datetime the Budget Line Item was last updated in the Source System."
              },
              {
                "$ref": "#/components/schemas/DateTimeProperty"
              }
            ]
          }
        }
      },
      "BudgetLineItem-2": {
        "allOf": [
          {
            "$ref": "#/components/schemas/BudgetLineItem"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "https://{{hostname}}/{{instance name}}/entity/Default/{{version}}/ProjectBudget?%24top=10&%24filter=%28ProjectID+eq+%27{{project}}%27%29"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "id": "a710cd5b-5736-ef11-ba55-0e1f07f567e3",
                      "rowNumber": 1,
                      "note": {
                        "value": ""
                      },
                      "AccountGroup": {
                        "value": "EQUIPMENT"
                      },
                      "ActualAmount": {
                        "value": 0
                      },
                      "ActualPlusOpenCommittedAmount": {
                        "value": 0
                      },
                      "ActualQty": {
                        "value": 0
                      },
                      "AutoCompleted": {
                        "value": false
                      },
                      "BudgetedCOAmount": {
                        "value": 0
                      },
                      "BudgetedCOQty": {
                        "value": 0
                      },
                      "CommittedCOAmount": {
                        "value": 0
                      },
                      "CommittedCOQty": {
                        "value": 0
                      },
                      "CommittedInvoicedAmount": {
                        "value": 0
                      },
                      "CommittedInvoicedQty": {
                        "value": 0
                      },
                      "CommittedOpenAmount": {
                        "value": 0
                      },
                      "CommittedOpenQty": {
                        "value": 0
                      },
                      "CommittedReceivedQty": {
                        "value": 0
                      },
                      "Completed": {
                        "value": 0
                      },
                      "CostAtCompletion": {
                        "value": 0
                      },
                      "CostCode": {
                        "value": "03100"
                      },
                      "CostToComplete": {
                        "value": 0
                      },
                      "Description": {
                        "value": "Equipment"
                      },
                      "DraftInvoicesAmount": {
                        "value": 0
                      },
                      "InventoryID": {
                        "value": "<N/A>"
                      },
                      "LastCostAtCompletion": {
                        "value": 0
                      },
                      "LastCostToComplete": {
                        "value": 0
                      },
                      "LastModifiedDateTime": {
                        "value": "2022-01-01T00:00:00.00-00:00"
                      },
                      "LastPercentageOfCompletion": {
                        "value": 0
                      },
                      "OriginalBudgetedAmount": {
                        "value": 1200
                      },
                      "OriginalBudgetedQty": {
                        "value": 10
                      },
                      "OriginalCommittedAmount": {
                        "value": 0
                      },
                      "OriginalCommittedQty": {
                        "value": 0
                      },
                      "PendingInvoiceAmount": {
                        "value": 0
                      },
                      "PercentageOfCompletion": {
                        "value": 0
                      },
                      "Performance": {
                        "value": 0
                      },
                      "ProjectID": {
                        "value": "WCOASTARENA"
                      },
                      "ProjectTaskID": {
                        "value": "01"
                      },
                      "Retainage": {
                        "value": 0
                      },
                      "RevenueTask": [],
                      "RevisedBudgetedAmount": {
                        "value": 100
                      },
                      "RevisedBudgetedQty": {
                        "value": 10
                      },
                      "RevisedCommittedAmount": {
                        "value": 0
                      },
                      "RevisedCommittedQty": {
                        "value": 0
                      },
                      "TaxCategory": [],
                      "Type": {
                        "value": "Expense"
                      },
                      "UnitRate": {
                        "value": 10
                      },
                      "UOM": {
                        "value": "hours"
                      },
                      "VarianceAmount": {
                        "value": 100
                      }
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "BudgetLineItem-3": {
        "allOf": [
          {
            "$ref": "#/components/schemas/BudgetLineItem"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "https://developer.api.autodesk.com/cost/v1/containers/{Container_Id}/budgets"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "id": "12345",
                      "containerId": "12345",
                      "budgetCodeId": "12345",
                      "contractId": "12345",
                      "mainContractId": "12345",
                      "mainContractItemId": "12345",
                      "rootId": null,
                      "parentId": null,
                      "name": "Solicitation",
                      "description": null,
                      "unit": "ea",
                      "code": "001000",
                      "plannedStartDate": null,
                      "plannedEndDate": null,
                      "actualStartDate": null,
                      "actualEndDate": null,
                      "forecastingMethod": null,
                      "milestoneId": null,
                      "creatorId": "12345",
                      "changedBy": "12345",
                      "quantity": 10,
                      "inputQuantity": null,
                      "unitPrice": "10.00000000",
                      "ratio": 1,
                      "originalAmount": "100.0000",
                      "actualQuantity": null,
                      "actualUnitPrice": null,
                      "actualCost": null,
                      "locations": null,
                      "locationPaths": null,
                      "isTracked": false,
                      "integrationState": null,
                      "integrationStateChangedAt": null,
                      "integrationStateChangedBy": null,
                      "createdAt": "2022-01-01T00:00:00.000Z",
                      "updatedAt": "2022-01-01T00:00:00.000Z",
                      "deletedAt": null,
                      "mainContract": {
                        "id": "12345",
                        "name": "Test Contract Name"
                      },
                      "subItems": [],
                      "origCommitment": "100.0000",
                      "unallocatedAmount": 0,
                      "unrealizedGainOrLoss": null,
                      "originalBudget": "100.0000",
                      "originalQty": 10,
                      "originalInputQty": null,
                      "internalAdjustment": null,
                      "internalAdjustmentQty": null,
                      "internalAdjustmentInputQty": null,
                      "origContracted": "100.0000",
                      "approvedOwnerChangesContingency": null,
                      "approvedOwnerChangesOutOfScope": null,
                      "approvedOwnerChangesBudgetOnlyScope": null,
                      "approvedOwnerChangesQtyContingency": null,
                      "approvedOwnerChangesQtyOutOfScope": null,
                      "approvedOwnerChangesQtyBudgetOnlyScope": null,
                      "approvedOwnerChangesInputQtyContingency": null,
                      "approvedOwnerChangesInputQtyOutOfScope": null,
                      "approvedOwnerChangesInputQtyBudgetOnlyScope": null,
                      "pendingChangeOrdersInScope": null,
                      "pendingChangeOrdersOutOfScope": null,
                      "pendingChangeOrdersContingency": null,
                      "draftChangeOrders": null,
                      "draftOwnerChanges": null,
                      "reservesInScope": null,
                      "reservesOutOfScope": null,
                      "reservesContingency": null,
                      "preSubmittedOwnerChangesContingency": null,
                      "preSubmittedOwnerChangesOutOfScope": null,
                      "preSubmittedOwnerChangesBudgetOnlyScope": null,
                      "submittedOwnerChangesContingency": null,
                      "submittedOwnerChangesOutOfScope": null,
                      "submittedOwnerChangesBudgetOnlyScope": null,
                      "approvedExpense": null,
                      "approvedExpenseQty": null,
                      "pendingExpense": null,
                      "pendingExpenseQty": null,
                      "approvedCostPaymentApplication": null,
                      "approvedCostPaymentApplicationQty": null,
                      "pendingCostPaymentApplication": null,
                      "pendingCostPaymentApplicationQty": null,
                      "totalCostPaymentCompletedWorkRetained": null,
                      "totalCostPaymentMaterialOnSiteRetained": null,
                      "forecastAdjustment": null,
                      "forecastAdjustmentsQty": null,
                      "approvedChangeOrdersInScope": null,
                      "approvedChangeOrdersOutOfScope": null,
                      "approvedChangeOrdersContingency": null,
                      "executedChangeOrdersInScope": null,
                      "executedChangeOrdersContingency": null,
                      "executedChangeOrdersOutOfScope": null,
                      "actualCostDirectInput": null,
                      "actualQtyDirectInput": null,
                      "budgetPaymentApplicationMaterialsOnSite": null,
                      "budgetPaymentApplicationTotalWorkCompleted": null,
                      "allocatedAmount": "0.0000",
                      "approvedAllocatedChangeOrders": null,
                      "contractTransfers": null,
                      "approvedNonContractExpense": null,
                      "pendingNonContractExpense": null,
                      "executedCommitment": "0.0000",
                      "mainContractItemAmount": "0.0000",
                      "mainContractItemQty": 1,
                      "mainContractAmount": "0.0000",
                      "compounded": {},
                      "actualCostInputRealizedGainOrLoss": null,
                      "expenseRealizedGainOrLoss": null,
                      "costPaymentRealizedGainOrLoss": null,
                      "contractAwardedUnrealizedGainOrLoss": null,
                      "approvedChangeOrdersUnrealizedGainOrLoss": null,
                      "actualCostInputUnrealizedGainOrLoss": null,
                      "expenseUnrealizedGainOrLoss": null,
                      "costPaymentUnrealizedGainOrLoss": null,
                      "approvedOwnerChanges": null,
                      "pendingOwnerChanges": null,
                      "approvedChangeOrders": null,
                      "pendingChangeOrders": null,
                      "reserves": null,
                      "uncommitted": null,
                      "revised": "0.0000",
                      "projectedBudget": "0.0000",
                      "originalCommitment": "10000.0000",
                      "projectedCost": 100,
                      "forecastFinalCost": "100.0000",
                      "forecastVariance": "-100.0000",
                      "forecastCostComplete": "100.0000",
                      "varianceTotal": "-100.0000",
                      "realizedGainOrLoss": null
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "BudgetLineItem-4": {
        "allOf": [
          {
            "$ref": "#/components/schemas/BudgetLineItem"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "{{server}}/{{environemnt}}/jc-rest-api/rest/1/jcjobcategory"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "JcatActLbAmt": null,
                      "JcatAddedFromApp": null,
                      "JcatAddonAmt": null,
                      "JcatAnticipatedCostAmt": null,
                      "JcatBidItemRemainingAmt": null,
                      "JcatBillAmt": 0,
                      "JcatBillCode": null,
                      "JcatBillName": null,
                      "JcatBillingTypeCode": null,
                      "JcatBudgAdjustmentAmt": null,
                      "JcatBudgAmt": null,
                      "JcatBudgRevAmt": null,
                      "JcatBudgRevQty": null,
                      "JcatBudgRevRevAmt": null,
                      "JcatBudgRevenueAmt": null,
                      "JcatBudgUnit": null,
                      "JcatBudgUnitRate": null,
                      "JcatBudmethCode": "A",
                      "JcatCalculateColumnName": null,
                      "JcatCatActiveFlag": "Y",
                      "JcatCatHier": "E",
                      "JcatChgOrdAmt": null,
                      "JcatChgOrdQty": null,
                      "JcatChgOrdRevAmt": null,
                      "JcatCode": "E",
                      "JcatName": "Equipment",
                      "JcatCommUnit": null,
                      "JcatCompCode": "12345",
                      "JcatComplPc": null,
                      "JcatComplPcDate": null,
                      "JcatComplUnit": null,
                      "JcatCostAmt": null,
                      "JcatCostRateOverrideAmt": null,
                      "JcatCostToComplOvrdFlg": "N",
                      "JcatCstEntry": "B",
                      "JcatCtrlCode": "ALL",
                      "JcatCatCtrlName": null,
                      "JcatDisbAmt": null,
                      "JcatDlbAmt": null,
                      "JcatExclCostBudgWip": "N",
                      "JcatExclCostWip": "N",
                      "JcatFreezeProjAmtFlag": null,
                      "JcatFwdLossOvrhPct": null,
                      "JcatHbPayAmt": null,
                      "JcatIdealRevenueAmt": 0,
                      "JcatInvCommAmt": null,
                      "JcatInvCommUnit": null,
                      "JcatInvUnit": null,
                      "JcatInvoiceFormatCode": null,
                      "JcatJobCode": "12345",
                      "JcatJobName": "Test Project-1",
                      "JcatJobCtrlCode": "ALL",
                      "JcatJobCtrlName": null,
                      "JcatLabourForecastFlag": "N",
                      "JcatMaxBillingAmt": null,
                      "JcatMaxBillingBudgetAmt": null,
                      "JcatNcommCostAmt": null,
                      "JcatNinvCommAmt": null,
                      "JcatObudgAmt": null,
                      "JcatObudgChgOrdAmt": null,
                      "JcatObudgChgOrdRevAmt": null,
                      "JcatObudgChgOrdUnit": null,
                      "JcatObudgRevenueAmt": null,
                      "JcatObudgUnit": null,
                      "JcatPbBillCode": null,
                      "JcatPhaseActiveFlag": "Y",
                      "JcatPhsCode": "00",
                      "JcatPhaseName": "Hardware Accessories",
                      "JcatPhsCtrlCode": "08",
                      "JcatPhaseCtrlName": "EQUIPMENT",
                      "JcatPhsHier": "08.79.00",
                      "JcatPriorCostAmt": null,
                      "JcatPriorCostQty": null,
                      "JcatProductivityOverride": null,
                      "JcatProjAmt": null,
                      "JcatProjUnit": null,
                      "JcatRevAdjustmentAmt": null,
                      "JcatRuleCode": null,
                      "JcatTimePhasedFlag": null,
                      "JcatUserEnteredProjAmt": null,
                      "JcatUserEnteredProjUnit": null,
                      "JcatVarCode": "L",
                      "JcatWbsBudgetFlag": "N",
                      "JcatWbsvCode1": null,
                      "JcatWbsvCode10": null,
                      "JcatWbsvCode11": null,
                      "JcatWbsvCode12": null,
                      "JcatWbsvCode2": null,
                      "JcatWbsvCode3": null,
                      "JcatWbsvCode4": null,
                      "JcatWbsvCode5": null,
                      "JcatWbsvCode6": null,
                      "JcatWbsvCode7": null,
                      "JcatWbsvCode8": null,
                      "JcatWbsvCode9": null,
                      "JcatWbsvEditableFlag1": "Y",
                      "JcatWbsvEditableFlag10": null,
                      "JcatWbsvEditableFlag11": null,
                      "JcatWbsvEditableFlag12": null,
                      "JcatWbsvEditableFlag2": "Y",
                      "JcatWbsvEditableFlag3": "Y",
                      "JcatWbsvEditableFlag4": "N",
                      "JcatWbsvEditableFlag5": null,
                      "JcatWbsvEditableFlag6": null,
                      "JcatWbsvEditableFlag7": null,
                      "JcatWbsvEditableFlag8": null,
                      "JcatWbsvEditableFlag9": null,
                      "JcatWbsvRequiredFlag1": "N",
                      "JcatWbsvRequiredFlag10": null,
                      "JcatWbsvRequiredFlag11": null,
                      "JcatWbsvRequiredFlag12": null,
                      "JcatWbsvRequiredFlag2": "N",
                      "JcatWbsvRequiredFlag3": "N",
                      "JcatWbsvRequiredFlag4": "N",
                      "JcatWbsvRequiredFlag5": null,
                      "JcatWbsvRequiredFlag6": null,
                      "JcatWbsvRequiredFlag7": null,
                      "JcatWbsvRequiredFlag8": null,
                      "JcatWbsvRequiredFlag9": null,
                      "JcatWcbCode": null,
                      "JcatWmCode": "$",
                      "JcatVUuid": "12345",
                      "JcatIuCreateDate": "2022-01-01T00:00:00-00:00",
                      "JcatIuUpdateDate": "2022-01-01T00:00:00-00:00"
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "BudgetLineItem-5": {
        "allOf": [
          {
            "$ref": "#/components/schemas/BudgetLineItem"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "https://{{Instance Name}}.coinscloud.com/env/{{environment}}/rest/pages/company/1/jc_budget/job_num/M25EXP003?limit=100&start=1"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "jcf_cat": "M",
                      "ccb_amount": 100,
                      "ccb_fdate": "2022-01-01",
                      "ccb_hrs": 0,
                      "ccb_lastrev": 20220101,
                      "ccb_notes": "",
                      "ccb_qbud": 0,
                      "ccb_rev": 0,
                      "ccb_tbud": 100,
                      "ccb_type": "BD02",
                      "jcc_cc": "M225",
                      "job_num": "M25EXP003",
                      "jph_phase": "",
                      "RO_jtchanged": "2022-01-01T00:00:00.000",
                      "RO_jtcreated": "2022-01-01T00:00:00.000",
                      "ccb_bud__2": 100,
                      "ccb_bud2__2": ""
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "BudgetLineItem-6": {
        "allOf": [
          {
            "$ref": "#/components/schemas/BudgetLineItem"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The database query for the Source System.",
                    "example": "select * from [jccat]"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "sequence": 500,
                      "jobnum": "110",
                      "phasenum": "1",
                      "catnum": "3000",
                      "name": "Concrete Pour",
                      "unitofmeasure": "LS",
                      "unitsbudgeted": 1,
                      "budget0_hours": 0,
                      "budget0_amount": 0,
                      "budget1_hours": 50,
                      "budget1_amount": 12500,
                      "budget2_hours": 0,
                      "budget2_amount": 13000,
                      "budget3_hours": 0,
                      "budget3_amount": 14000,
                      "budget4_hours": 0,
                      "budget4_amount": 15000,
                      "budget5_hours": 0,
                      "budget5_amount": 16000,
                      "budget6_hours": 0,
                      "budget6_amount": 10000,
                      "budget7_hours": 0,
                      "budget7_amount": 20000,
                      "budget8_hours": 0,
                      "budget8_amount": 30000,
                      "budget9_hours": 0,
                      "budget9_amount": 40000,
                      "budget10_hours": 0,
                      "budget10_amount": 500000,
                      "budget11_hours": 0,
                      "budget11_amount": 0,
                      "budget12_hours": 0,
                      "budget12_amount": 0,
                      "budget13_hours": 0,
                      "budget13_amount": 0,
                      "budget14_hours": 0,
                      "budget14_amount": 0,
                      "budget15_hours": 0,
                      "budget15_amount": 0,
                      "budget16_hours": 0,
                      "budget16_amount": 0,
                      "wcompnum1": "",
                      "wcompnum2": "",
                      "memo": "",
                      "unitupdate": 0,
                      "workloc": 1,
                      "startdate": null,
                      "duration": 0,
                      "prlocation": "",
                      "proverride": "",
                      "totalstatus": 0,
                      "deptnum": "",
                      "barcode": "",
                      "closed": 0,
                      "contractamt": 0
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "BudgetLineItem-7": {
        "allOf": [
          {
            "$ref": "#/components/schemas/BudgetLineItem"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The database query for the Source System.",
                    "example": "select * from [job_budgets]"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "company_no": 12345,
                      "job_no": "      A123",
                      "phase_no": "      1000",
                      "cost_code_no": "      2080",
                      "cost_class_no": "    2",
                      "orig_est_dollars": ".00",
                      "orig_est_units": ".000",
                      "orig_est_unit_price": ".0000",
                      "adj_est_dollars": ".00",
                      "adj_est_units": ".000",
                      "adj_est_unit_price": ".0000",
                      "active": "Y",
                      "start_date": null,
                      "completion_date": null,
                      "record_status": "A",
                      "row_modified_by": "FOUNDATIONSOFT\\johndoe",
                      "row_modified_on": "2022-01-01 00:00:00.000",
                      "row_unique_id": 985,
                      "company_id": "1",
                      "cost_class_id": "2",
                      "cost_code_id": "2080",
                      "job_id": "2",
                      "phase_id": "2000",
                      "orig_est_cost_to_comp": ".00",
                      "record_guid": "1234562F-167E-EC11-A45D-E454E88F8BE7",
                      "phq_imported": null,
                      "Batch_No": null,
                      "Batch_id": null
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "BudgetLineItem-8": {
        "allOf": [
          {
            "$ref": "#/components/schemas/BudgetLineItem"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "https://api.procore.com/rest/v1.1/budget_line_items/"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "calculation_strategy": "automatic",
                      "company_id": 12345,
                      "created_at": "2022-01-01T00:00:00Z",
                      "id": 12345,
                      "original_budget_amount": "100.0",
                      "project_id": 12345,
                      "quantity": "10.0",
                      "unit_cost": "10.0",
                      "uom": "ls",
                      "updated_at": "2022-01-01T00:00:00Z",
                      "wbs_code": {
                        "id": 12345,
                        "flat_code": "00.00.E",
                        "description": "Equipment"
                      }
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "BudgetLineItem-9": {
        "allOf": [
          {
            "$ref": "#/components/schemas/BudgetLineItem"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The SQL path on the Source System.",
                    "example": "select * from [bdglin]"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "_idnum": "12345291-6499-EE11-8427-1213C2B0AF47",
                      "_idref": "12345291-6499-EE11-8427-1213C2B0AF47",
                      "recnum": "12345",
                      "phsnum": "0",
                      "linnum": 1,
                      "cstcde": "6400.000",
                      "hrsbdg": ".00",
                      "matbdg": "300.00",
                      "labbdg": "200.00",
                      "eqpbdg": "100.00",
                      "subbdg": "400.00",
                      "othbdg": "500.00",
                      "usrcs6": ".00",
                      "usrcs7": ".00",
                      "usrcs8": ".00",
                      "usrcs9": ".00",
                      "ttlbdg": "1500.00",
                      "untdsc": "",
                      "estunt": ".0000",
                      "untcst": ".00",
                      "usrdf1": "",
                      "ntetxt": "",
                      "hrsorg": ".00",
                      "matorg": "100.00",
                      "laborg": "1000.00",
                      "eqporg": "100.00",
                      "suborg": ".00",
                      "othorg": "100.00",
                      "cs6org": ".00",
                      "cs7org": ".00",
                      "cs8org": ".00",
                      "cs9org": ".00",
                      "ttlorg": "1000100.00",
                      "euntor": ".0000",
                      "ucstor": ".00",
                      "insdte": "2022-01-01T00:00:00.000Z",
                      "insusr": "any-user",
                      "upddte": "022-01-01T00:00:00.000Z",
                      "updusr": "CORP\\sage100c-customers",
                      "CostType": "3",
                      "CostTypeAmount": "100.00",
                      "CostTypeOriginalAmount": "100.00"
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "BudgetLineItem-10": {
        "allOf": [
          {
            "$ref": "#/components/schemas/BudgetLineItem"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The SQL path on the Source System.",
                    "example": "select * from [MASTER_JCM_RECORD_4]"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "CJOB": "A-123",
                      "CEXTRA": "",
                      "CPHASE": "3-050",
                      "CAT": "E",
                      "CDESC": "Equipment",
                      "CSTATUS": "Unstarted",
                      "CESTSD": null,
                      "CESTCD": null,
                      "CREVSD": null,
                      "CREVCD": null,
                      "CACTSD": null,
                      "CACTCD": null,
                      "CLCUPD": null,
                      "CCTYPE": "Equipment",
                      "CUDESC": "",
                      "CCSTACC": "5003",
                      "CTAXEX": "Taxable",
                      "CBTOUT": "0",
                      "COEST": 100,
                      "CPESTC": 0,
                      "CAESTC": 0,
                      "CTEST": 100,
                      "COUEST": 100,
                      "CPUESTC": 0,
                      "CAUESTC": 0,
                      "CTUEST": 100,
                      "COCOM": 0,
                      "CPCOMC": 0,
                      "CACOMC": 0,
                      "CRVCOM": 0,
                      "CCOMI": 0,
                      "CJTDC": 0,
                      "CYTDC": 0,
                      "CQTDC": 0,
                      "CMTDC": 0,
                      "CLMC": 0,
                      "CNMC": 0,
                      "CPTDC": 0,
                      "CLPC": 0,
                      "CJTDCT": 0,
                      "CYTDCT": 0,
                      "CQTDCT": 0,
                      "CMTDCT": 0,
                      "CLMCT": 0,
                      "CNMCT": 0,
                      "CPTDCT": 0,
                      "CLPCT": 0,
                      "CJTDU": 0,
                      "CYTDU": 0,
                      "CQTDU": 0,
                      "CMTDU": 0,
                      "CLMU": 0,
                      "CNMU": 0,
                      "CPTDU": 0,
                      "CLPU": 0,
                      "CJTDDP": 0,
                      "CYTDDP": 0,
                      "CQTDDP": 0,
                      "CMTDDP": 0,
                      "CLMDP": 0,
                      "CNMDP": 0,
                      "CPTDDP": 0,
                      "CLPDP": 0,
                      "CJTDDPT": 0,
                      "CYTDDPT": 0,
                      "CQTDDPT": 0,
                      "CMTDDPT": 0,
                      "CLMDPT": 0,
                      "CNMDPT": 0,
                      "CPTDDPT": 0,
                      "CLPDPT": 0,
                      "CPCTCP": 0,
                      "CDPCTCP": null,
                      "CPPCTCP": 0,
                      "CFAMT1": 0,
                      "CFAMT2": 0,
                      "CFAMT3": 0,
                      "CFAMT4": 0,
                      "CFRMT1": 0,
                      "CFRMT2": 0,
                      "CFRMT3": 0,
                      "CFRMT4": 0,
                      "CFRMT5": 0,
                      "CFRMT6": 0,
                      "COSTAMP": "sageintegration",
                      "CDSTAMP": "2022-01-01",
                      "CTSTAMP": "00:00:00",
                      "CRWID": "285cefba-fd70-ee11-8448-122f56880ad7",
                      "CRWVR": "1697999838"
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "BudgetLineItem-11": {
        "allOf": [
          {
            "$ref": "#/components/schemas/BudgetLineItem"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "https://api.intacct.com/ia/xml/xmlgw.phtml"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "RECORDNO": "2693",
                      "TASKID": "26 10 00",
                      "COSTTYPEID": "MAT",
                      "AMOUNT": "62431.9",
                      "MEMO": null,
                      "PROJECTID": "23-016S",
                      "QTY": "1",
                      "WHENCREATED": "01/11/2024 14:40:11",
                      "WHENMODIFIED": "07/17/2024 17:34:10",
                      "UNITCOST": "62431.9",
                      "EUOM": null,
                      "LINENO": "13",
                      "PJESTIMATEID": "23-016S-001",
                      "PJESTIMATEKEY": "62",
                      "CURRENCY": "USD",
                      "WFTYPE": "original",
                      "POSTED": "true",
                      "ACCOUNTKEY": "13",
                      "ACCOUNTNO": "50300",
                      "ACCOUNTTITLE": "Cost of Sales - Materials",
                      "DEPTKEY": "7",
                      "DEPARTMENTID": "ELECTRICAL",
                      "DEPARTMENTNAME": "Electrical",
                      "LOCATIONKEY": "14",
                      "LOCATIONID": "BEAVERTON-MEP",
                      "LOCATIONNAME": "Beaverton MEP",
                      "EFFECTIVEDATE": "03/01/2023",
                      "PRODUCTIONUNITS": "0",
                      "PRODUCTIONUNITDESC": null,
                      "CHANGEREQUESTKEY": null,
                      "CHANGEREQUESTID": null,
                      "CHANGEREQUESTENTRYKEY": null,
                      "MODIFIEDBY": "14",
                      "CREATEDBY": "25",
                      "PROJECTDIMKEY": "50",
                      "PROJECTNAME": "Stage House Rewire - All Scopes of Work",
                      "CUSTOMERDIMKEY": "21",
                      "CUSTOMERID": "C00021",
                      "CUSTOMERNAME": "Star Enterprises",
                      "VENDORDIMKEY": null,
                      "VENDORID": null,
                      "VENDORNAME": null,
                      "EMPLOYEEDIMKEY": null,
                      "EMPLOYEEID": null,
                      "EMPLOYEENAME": null,
                      "ITEMDIMKEY": "3",
                      "ITEMID": "Materials",
                      "ITEMNAME": "Materials",
                      "TASKDIMKEY": "1907",
                      "TASKNAME": "Medium-Voltage Electrical Distribution",
                      "COSTTYPEDIMKEY": "5831",
                      "COSTTYPENAME": "Material"
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "CostCode": {
        "type": "object",
        "properties": {
          "id": {
            "allOf": [
              {
                "description": "The UUID of the Cost Code assigned by Agave."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "source_id": {
            "type": "string",
            "readOnly": true,
            "example": "12345",
            "description": "The ID of the Cost Code in the Source System."
          },
          "code": {
            "type": "string",
            "description": "The characters for the Cost Code.",
            "example": "79"
          },
          "full_code": {
            "type": "string",
            "description": "The full Cost Code (including the Parent Code).",
            "example": "08.79.00"
          },
          "name": {
            "type": "string",
            "description": "The name of the Cost Code.",
            "example": "Hardware Accessories"
          },
          "parent_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the Cost Code's Parent."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "project_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Project](#tag--projects) for the Cost Code."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "source_create_time": {
            "allOf": [
              {
                "description": "The datetime the Cost Code was created."
              },
              {
                "$ref": "#/components/schemas/DateTimeProperty"
              }
            ]
          },
          "source_update_time": {
            "allOf": [
              {
                "description": "The datetime the Cost Code was last updated."
              },
              {
                "$ref": "#/components/schemas/DateTimeProperty"
              }
            ]
          }
        }
      },
      "BudgetLineItem-12": {
        "allOf": [
          {
            "$ref": "#/components/schemas/CostCode"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "https://{id}.cloud.jobpac.com.au:{id}/CostCentreListing"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "Job": "123",
                      "CostCode": "08.79.00",
                      "ExcludeHeaderRecord": "Yes",
                      "ExcludeDetailRecord": "",
                      "JobStatus": "A",
                      "NotFinanciallyComplete": "Yes",
                      "CostType": "",
                      "Description": "Hardware Accessories",
                      "Status": "A",
                      "TradeCode": "",
                      "ElementCode": "",
                      "ItemNumber": "",
                      "StandardItemCode": "",
                      "ClaimCode": "",
                      "ClaimEntryCode": "",
                      "GeneralLedgerAccount": "",
                      "CostPlus": "",
                      "CostPlusPercentage": "",
                      "UserDefinedField1": "",
                      "UserDefinedField2": "",
                      "AllowCostUpdates": "",
                      "ClaimStructureFinalised": "",
                      "OriginalBudgetQuantity": "",
                      "UnitOfMeasure": "Hours",
                      "OriginalBudgetValue": "100.0",
                      "CurrentBudgetQuantity": "10.0",
                      "OutstandingQuantity": "",
                      "IncurredQuantity": "",
                      "ActualQuantity": "",
                      "CommittedQuantity": "",
                      "CurrentBudgetValue": "100.0",
                      "OutstandingAmount": "",
                      "IncurredAmount": "",
                      "ActualAmount": "",
                      "CommittedCost": "",
                      "ApprovedVariationBudget": "",
                      "ApprovedBudgetChanges": "",
                      "BudgetCommitted": "",
                      "TotalClaimAmount": "",
                      "CurrentClaimAmount": "",
                      "ForecastCostToCompletion": "",
                      "ForecastFinalCost": "",
                      "NormalCost": "",
                      "OvertimePremium": "",
                      "Oncosts": "",
                      "CostOverruns": "",
                      "PaidAmount": "",
                      "RetentionHeld": "",
                      "Gain": "",
                      "Loss": "",
                      "Revenue": "",
                      "CurrentPercentageClaimed": "",
                      "PercentageOfTotalClaimValue": "",
                      "Escalation": "",
                      "Rate": "10.0",
                      "UnapprovedVariationPrice": "",
                      "OrderAmount": "",
                      "ReportingLevel": "",
                      "OvertimeHours": ".00",
                      "OrderOverruns": "",
                      "ProjectManagersWorksheetPendings": "",
                      "ProjectManagersWorksheetContingencies": "",
                      "LastProjectManagersWorksheetUpdateDate": "01/01/22",
                      "ProjectManagersWorksheetFormula": "",
                      "TaskSavings": "",
                      "TaskOverruns": "",
                      "CurrentValuation": "",
                      "RiseAndFallOnBalanceOfWork": "",
                      "ScheduleOfRatesBudgetAdjustments": "",
                      "BudgetEntryMethod": "",
                      "SuppressGLUpdates": "",
                      "RevenueBudgetChanges": "",
                      "CurrentRevenueBudget": "",
                      "MultiplierPercentage": "",
                      "JobType": "",
                      "TradeCode2": "",
                      "Section": "",
                      "OriginalScopeQuantity": "",
                      "CurrentScopeQuantity": "",
                      "ScopeUnitOfMeasure": "",
                      "ScopeQuantityDescription": "",
                      "EarnedScopeQuantityValued": "",
                      "EarnedBudgetNettValuation": "",
                      "EarnedBudgetForecastQuantityToCompletion": "",
                      "EarnedBudgetForecastRateToCompletion": "",
                      "EarnedBudgetForecastCostToCompletion": "",
                      "LastForecastUpdateDate": "",
                      "LastBudgetUpdateDate": "",
                      "LastPaymentDate": "",
                      "LastCostUpdateDate": "",
                      "AvailableBudget": "",
                      "VisualAttribute": "",
                      "LastUpdateUser": "",
                      "LastUpdateTimestamp": "2022-01-01-00.00.00.000000"
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "BudgetLineItem-13": {
        "allOf": [
          {
            "$ref": "#/components/schemas/BudgetLineItem"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "https://{{domain}}.dexterchaney.com:8482/ws/GetPhaseEnhanced"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "Company_Code": "12345",
                      "Job_Number": "12345",
                      "Phase_Code": "087900",
                      "Cost_Type": "B",
                      "Description": "Hardware Accessories",
                      "Status_Code": "A",
                      "Unit_of_Measure": null,
                      "JTD_Quantity": ".00",
                      "JTD_Hours": ".00",
                      "JTD_Actual_Dollars": ".00",
                      "Projected_Quantity": ".00",
                      "Projected_Hours": ".00",
                      "Projected_Dollars": ".00",
                      "Estimated_Quantity": ".00",
                      "Estimated_Hours": ".00",
                      "Current_Estimate_Dollars": ".00",
                      "Cost_Center": null,
                      "Price_Method_Code": null,
                      "Complete_Date": null,
                      "Start_Date": null,
                      "End_Date": null,
                      "Comment": null
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "BudgetLineItem-14": {
        "allOf": [
          {
            "$ref": "#/components/schemas/BudgetLineItem"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The SQL path on the Source System.",
                    "example": "select * from [JCCH] where [JCCH].[JCCo] = 12345 and [JCCH].[Job] = 12345"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "JCCo": "12345",
                      "Job": "12345",
                      "PhaseGroup": "12345",
                      "Phase": "087900",
                      "CostType": "E",
                      "UM": "EA",
                      "BillFlag": "C",
                      "ItemUnitFlag": "N",
                      "PhaseUnitFlag": "N",
                      "BuyOutYN": "N",
                      "LastProjDate": null,
                      "Plugged": "N",
                      "ActiveYN": "Y",
                      "OrigHours": "10.00",
                      "OrigUnits": "10.000",
                      "OrigCost": "100.00",
                      "ProjNotes": null,
                      "SourceStatus": "J",
                      "InterfaceDate": null,
                      "Notes": null,
                      "UniqueAttchID": null,
                      "KeyID": "12345"
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "NewBudgetLineItem": {
        "type": "object",
        "required": [
          "sub_job_id",
          "cost_code_id",
          "cost_type_id"
        ],
        "properties": {
          "cost_code_id": {
            "allOf": [
              {
                "description": "The UUID of the [Cost Code](#tag--cost-codes) for the Budget Line Item, assigned by Agave."
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          },
          "cost_type_id": {
            "allOf": [
              {
                "description": "The UUID of the [Cost Type](#tag--cost-types) for the Budget Line Item, assigned by Agave.\n\n**Note for Acumatica**: The Cost Type (\"Account Group\") determines whether the Budget Line Item is an income or expense item.\n"
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          },
          "current_amount": {
            "allOf": [
              {
                "description": "The current monetary amount of the Budget Line Item, equal to the current `quantity` multiplied by the current`unit_cost`."
              },
              {
                "$ref": "#/components/schemas/MoneyProperty"
              }
            ]
          },
          "description": {
            "type": "string",
            "example": "Equipment",
            "description": "The name of the Budget Line Item."
          },
          "original_amount": {
            "allOf": [
              {
                "description": "The original monetary amount of the Budget Line Item, equal to the original `quantity` multiplied by the original `unit_cost`."
              },
              {
                "$ref": "#/components/schemas/MoneyProperty"
              }
            ]
          },
          "quantity": {
            "type": "string",
            "example": "10.00",
            "description": "The quantity of unit planned for the Budget Line Item (e.g. labor, material). \n\n**Note for Acumatica**: This sets both the original and current quantity on creates, and only current quantity on updates.\n"
          },
          "sub_job_id": {
            "allOf": [
              {
                "description": "The UUID of the [Sub-Job](#tag--sub-jobs) for the Budget Line Item, assigned by Agave."
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          },
          "unit_of_measure": {
            "type": "string",
            "example": "hours",
            "description": "The unit of measurement used for the Budget Line Item."
          },
          "unit_cost": {
            "allOf": [
              {
                "description": "The price of the unit used in the Budget Line Item."
              },
              {
                "$ref": "#/components/schemas/MoneyProperty"
              },
              {
                "example": "10.0"
              }
            ]
          }
        }
      },
      "NewBudgetLineItem-2": {
        "type": "object",
        "properties": {
          "cost_code_id": {
            "allOf": [
              {
                "description": "The UUID of the [Cost Code](#tag--cost-codes) for the Budget Line Item, assigned by Agave."
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          },
          "cost_type_id": {
            "allOf": [
              {
                "description": "The UUID of the [Cost Type](#tag--cost-types) for the Budget Line Item, assigned by Agave."
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          },
          "description": {
            "type": "string",
            "example": "Equipment",
            "description": "The name of the Budget Line Item."
          },
          "original_amount": {
            "allOf": [
              {
                "description": "The original monetary amount of the Budget Line Item, equal to the original `quantity` multiplied by the original `unit_cost`."
              },
              {
                "$ref": "#/components/schemas/MoneyProperty"
              }
            ]
          },
          "quantity": {
            "type": "string",
            "example": "10.00",
            "description": "The quantity of unit planned for the Budget Line Item (e.g. labor, material)."
          },
          "unit_of_measure": {
            "type": "string",
            "example": "hours",
            "description": "The unit of measurement used for the Budget Line Item."
          },
          "unit_cost": {
            "allOf": [
              {
                "description": "The price of the unit used in the Budget Line Item."
              },
              {
                "$ref": "#/components/schemas/MoneyProperty"
              },
              {
                "example": "10.0"
              }
            ]
          },
          "wbs_id": {
            "allOf": [
              {
                "description": "The UUID of the [WBS Code](#tag--wbs) for the Budget Line Item, assigned by Agave. Note, this field can be used for Procore if available."
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          }
        }
      },
      "NewBudgetLineItem-3": {
        "allOf": [
          {
            "$ref": "#/components/schemas/NewBudgetLineItem-2"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "code": {
                    "type": "string",
                    "description": "This is a unique value passed from a combination of one or more WBS Segment Items. The order and structure of these Segment Items will depend on the position and delimiters assigned to individual WBS Segments.",
                    "example": "003000"
                  }
                }
              }
            }
          }
        ]
      },
      "NewBudgetLineItem-4": {
        "allOf": [
          {
            "$ref": "#/components/schemas/NewBudgetLineItem-2"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "JcatCatActiveFlag": {
                    "type": "string",
                    "description": "This is a flag that denotes whether the Budget Line Item is active.",
                    "example": "Y",
                    "enum": [
                      "Y",
                      "N"
                    ]
                  },
                  "JcatCostToComplOvrdFlg": {
                    "type": "string",
                    "description": "This is a flag that denotes whether Cost to Complete Override should be enabled.",
                    "example": "Y",
                    "enum": [
                      "Y",
                      "N"
                    ]
                  },
                  "JcatCtrlCode": {
                    "type": "string",
                    "description": "This is a value that denotes the parent Cost Type. Specify \"All\" if the Cost Type is at the top of the hierarchy.",
                    "example": "All"
                  },
                  "JcatExclCostWip": {
                    "type": "string",
                    "description": "This is a flag that denotes whether this Budget Line Item can be exluced from the Budget WIP.",
                    "example": "N",
                    "enum": [
                      "Y",
                      "N"
                    ]
                  },
                  "JcatExclBudgWip": {
                    "type": "string",
                    "description": "This is a flag that denotes whether this Budget Line Item can be exluced from the Cost WIP.",
                    "example": "N",
                    "enum": [
                      "Y",
                      "N"
                    ]
                  },
                  "JcatJobCtrlCode": {
                    "type": "string",
                    "description": "This is a value that denotes the parent Job. Specify \"All\" if the Job is at the top of the hierarchy.",
                    "example": "All"
                  },
                  "JcatLabourForecastFlag": {
                    "type": "string",
                    "description": "This is a flag that denotes whether Labor values should be forecasted as well.",
                    "example": "Y",
                    "enum": [
                      "Y",
                      "N"
                    ]
                  },
                  "JcatPhaseActiveFlag": {
                    "type": "string",
                    "description": "This is a flag that denotes whether the Cost Type is active.",
                    "example": "Y",
                    "enum": [
                      "Y",
                      "N"
                    ]
                  },
                  "JcatPhsCtrlCode": {
                    "type": "string",
                    "description": "This is a value that denotes the parent Cost Code. Specify \"All\" if the Cost Code is at the top of the hierarchy.",
                    "example": "00"
                  }
                }
              }
            }
          }
        ]
      },
      "NewBudgetLineItem-5": {
        "allOf": [
          {
            "$ref": "#/components/schemas/NewBudgetLineItem-2"
          }
        ]
      },
      "NewBudgetLineItem-6": {
        "required": [
          "cost_code_id",
          "cost_type_id",
          "current_amount"
        ],
        "type": "object",
        "properties": {
          "cost_code_id": {
            "allOf": [
              {
                "description": "The UUID of the [Cost Code](#tag--cost-codes) for the Budget Line Item, assigned by Agave."
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          },
          "cost_type_id": {
            "allOf": [
              {
                "description": "The UUID of the [Cost Type](#tag--cost-types) for the Budget Line Item, assigned by Agave."
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          },
          "current_amount": {
            "allOf": [
              {
                "description": "The current monetary amount of the Budget Line Item."
              },
              {
                "$ref": "#/components/schemas/MoneyProperty"
              }
            ]
          },
          "sub_job_id": {
            "allOf": [
              {
                "description": "The UUID of the [Sub Job](#tag--sub-jobs) for the Budget Line Item, assigned by Agave."
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          }
        }
      },
      "NewBudgetLineItem-7": {
        "type": "object",
        "required": [
          "cost_code_id",
          "cost_type_id"
        ],
        "properties": {
          "cost_code_id": {
            "allOf": [
              {
                "description": "The UUID of the [Cost Code](#tag--cost-codes) for the Budget Line Item, assigned by Agave.\n\n**Note for Sage 300 CRE**: a Cost Code must be a \"Section\" Cost Code. This means at the company-level, the Cost Code cannot have a value for `source_data.SPGPHAS` of \"1\".\n"
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          },
          "cost_type_id": {
            "allOf": [
              {
                "description": "The UUID of the [Cost Type](#tag--cost-types) for the Budget Line Item, assigned by Agave."
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          },
          "original_amount": {
            "allOf": [
              {
                "description": "The original monetary amount of the Budget Line Item, equal to the original `quantity` multiplied by the original `unit_cost`."
              },
              {
                "$ref": "#/components/schemas/MoneyProperty"
              }
            ]
          },
          "quantity": {
            "type": "string",
            "example": "10.00",
            "description": "The quantity of unit planned for the Budget Line Item (e.g. labor, material)."
          },
          "sub_job_id": {
            "allOf": [
              {
                "description": "The UUID of the [Sub Job](#tag--sub-jobs) for the Budget Line Item, assigned by Agave."
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          },
          "unit_of_measure": {
            "type": "string",
            "example": "hours",
            "description": "The unit of measurement used for the Budget Line Item."
          }
        }
      },
      "NewBudgetLineItem-8": {
        "allOf": [
          {
            "$ref": "#/components/schemas/NewBudgetLineItem-2"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "Price_Method_Code": {
                    "type": "string",
                    "description": "The price method for the Budget Line Item. Options for this field include (C)ost Plus, (F)ixed, (J)ob Default, (T)ime and Material, and (U)nit Price",
                    "example": "F",
                    "enum": [
                      "C",
                      "F",
                      "J",
                      "T",
                      "U"
                    ]
                  }
                }
              }
            }
          }
        ]
      },
      "NewBudgetLineItem-9": {
        "required": [
          "cost_code_id",
          "cost_type_id",
          "unit_of_measure"
        ],
        "type": "object",
        "properties": {
          "cost_code_id": {
            "allOf": [
              {
                "description": "The UUID of the [Cost Code](#tag--cost-codes) for the Budget Line Item, assigned by Agave."
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          },
          "cost_type_id": {
            "allOf": [
              {
                "description": "The UUID of the [Cost Type](#tag--cost-types) for the Budget Line Item, assigned by Agave."
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          },
          "original_amount": {
            "description": "The original monetary amount of the Budget Line Item, equal to the original `quantity` multiplied by the original `unit_cost`.",
            "type": "string",
            "example": "10000.00"
          },
          "quantity": {
            "type": "string",
            "example": "10.00",
            "description": "The quantity of unit planned for the Budget Line Item."
          },
          "unit_of_measure": {
            "type": "string",
            "example": "EA",
            "description": "The unit of measurement used for the Budget Line Item.\n\n**Note for Viewpoint Vista**: A list of possible values for this field can be found in the \"UM\" column of the `HQUM` table, which requires a passthrough request. To learn more about passthrough requests, see [link](/agave-api/passthrough-requests#foundation-viewpoint-spectrum-and-viewpoint-vista).\n"
          }
        }
      },
      "BudgetProductionQuantity": {
        "allOf": [
          {
            "$ref": "#/components/schemas/BudgetLineItem"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The database query for the Source System.",
                    "example": "select * from [job_costcodes]"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "company_no": 1,
                      "job_no": "         2",
                      "phase_no": "      2000",
                      "cost_code_no": "      2080",
                      "description": "Water Lines",
                      "cost_basis": "L",
                      "cost_code_status": "A",
                      "compute_variance": "Y",
                      "um_no": "LF",
                      "production_method": "QM",
                      "archive": "N",
                      "original_quantity": ".0000000",
                      "adjusting_quantity": ".0000000",
                      "bid_amount": ".00",
                      "certified_payroll": "Y",
                      "ignore_home_job": "N",
                      "wc_class_no": null,
                      "cost_code_method": "1",
                      "gl_expense": null,
                      "record_status": "A",
                      "row_modified_by": "12345",
                      "row_modified_on": "2024-07-18 16:52:24.810",
                      "row_unique_id": 190,
                      "company_id": "1",
                      "cost_code_id": "2080",
                      "job_id": "2",
                      "phase_id": "2000",
                      "um_id": "LF",
                      "wc_class_id": null,
                      "equipment_service_repair": "N",
                      "dept_no": null,
                      "ap_invoice_gl_expense": null,
                      "dept_id": null,
                      "gen_liab_class_no": null,
                      "gen_liab_class_id": null,
                      "record_guid": "1E112345-167E-EC11-A45D-E454E88F8BE7",
                      "phq_imported": null,
                      "Batch_No": null,
                      "Batch_id": null
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "BudgetProductionQuantity-2": {
        "type": "object",
        "properties": {
          "id": {
            "allOf": [
              {
                "description": "The UUID of the Budget Production Quantity assigned by Agave."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "source_id": {
            "type": "string",
            "readOnly": true,
            "example": "12345",
            "description": "The ID of the Budget Production Quantity in the Source System."
          },
          "cost_code_id": {
            "allOf": [
              {
                "description": "The UUID of the [Cost Code](#tag--cost-codes) for the Budget Production Quantity, assigned by Agave."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "cost_type_id": {
            "allOf": [
              {
                "description": "The UUID of the [Cost Type](#tag--cost-types) for the Budget Production Quantity, assigned by Agave."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "current_amount": {
            "allOf": [
              {
                "description": "The current monetary amount of the Budget Production Quantity, equal to the current `quantity` multiplied by the current`unit_cost`."
              },
              {
                "$ref": "#/components/schemas/MoneyProperty"
              }
            ]
          },
          "description": {
            "type": "string",
            "example": "HVAC Units",
            "description": "The name of the Budget Production Quantity."
          },
          "original_amount": {
            "allOf": [
              {
                "description": "The original monetary amount of the Budget Production Quantity, equal to the original `quantity` multiplied by the original `unit_cost`."
              },
              {
                "$ref": "#/components/schemas/MoneyProperty"
              }
            ]
          },
          "project_id": {
            "allOf": [
              {
                "description": "The UUID of the [Project](#tag--projects) for the Budget Production Quantity, assigned by Agave."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "quantity": {
            "type": "string",
            "example": "10.00",
            "description": "The quantity of unit planned for the Budget Production Quantity."
          },
          "sub_job_id": {
            "allOf": [
              {
                "description": "The UUID of the [Sub Job](#tag--sub-jobs) for the Budget Production Quantity, assigned by Agave."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "unit_of_measure": {
            "type": "string",
            "example": "EA",
            "description": "The unit of measurement used for the Budget Production Quantity."
          },
          "unit_cost": {
            "allOf": [
              {
                "description": "The price of the unit used in the Budget Production Quantity."
              },
              {
                "$ref": "#/components/schemas/MoneyProperty"
              },
              {
                "example": "10.0"
              }
            ]
          },
          "wbs_id": {
            "allOf": [
              {
                "description": "The UUID of the [WBS Code](#tag--wbs) for the Budget Production Quantity, assigned by Agave. Note, this identifier is only available in Procore if WBS is enabled."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "source_create_time": {
            "allOf": [
              {
                "description": "The datetime the Budget Production Quantity was created in the Source System."
              },
              {
                "$ref": "#/components/schemas/DateTimeProperty"
              }
            ]
          },
          "source_update_time": {
            "allOf": [
              {
                "description": "The datetime the Budget Production Quantity was last updated in the Source System."
              },
              {
                "$ref": "#/components/schemas/DateTimeProperty"
              }
            ]
          }
        }
      },
      "BudgetProductionQuantity-3": {
        "allOf": [
          {
            "$ref": "#/components/schemas/BudgetProductionQuantity-2"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "https://api.procore.com/rest/v1.0/projects/{{project_id}}/budgeted_production_quantities"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "id": 562949953735639,
                      "cost_code": {
                        "id": 562950234240865,
                        "biller_id": 562949954566896,
                        "biller_type": "Project",
                        "code": "6400.000",
                        "created_at": "2022-01-01T00:00:00Z",
                        "deleted_at": null,
                        "full_code": "6400.000",
                        "name": "HVAC Units",
                        "parent_id": null,
                        "position": null,
                        "sortable_code": "6400.000",
                        "standard_cost_code_id": null,
                        "updated_at": "2022-01-01T00:00:00Z"
                      },
                      "created_at": "2024-04-22T18:43:43Z",
                      "deleted_at": null,
                      "project_id": 562949954566896,
                      "quantity": "10.0",
                      "unit_of_measure": "EA",
                      "updated_at": "2022-01-01T00:00:00Z",
                      "wbs_code": {
                        "description": null,
                        "flat_code": "6400.000",
                        "flat_name": "HVAC Work",
                        "id": 562950263286564
                      },
                      "wbs_code_id": 562950263286564
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "BudgetProductionQuantity-4": {
        "allOf": [
          {
            "$ref": "#/components/schemas/BudgetProductionQuantity-2"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "select top 10 [JC_PHASE_MASTER_MC].*, [JC_PHASE_PROJECTED_TOTAL_MC].[Projected_Cost] from [JC_PHASE_MASTER_MC] left join [JC_PHASE_PROJECTED_TOTAL_MC] on [JC_PHASE_PROJECTED_TOTAL_MC].[Company_Code] = [JC_PHASE_MASTER_MC].[Company_Code] and [JC_PHASE_PROJECTED_TOTAL_MC].[Job_Number] = [JC_PHASE_MASTER_MC].[Job_Number] and [JC_PHASE_PROJECTED_TOTAL_MC].[Phase_Code] = [JC_PHASE_MASTER_MC].[Phase_Code] and [JC_PHASE_PROJECTED_TOTAL_MC].[Cost_Type] = [JC_PHASE_MASTER_MC].[Cost_Type] where [JC_PHASE_MASTER_MC].[Company_Code] = 'CCD' and [JC_PHASE_MASTER_MC].[Job_Number] = '  PCOR1910' and [JC_PHASE_MASTER_MC].[Cost_Type] = 'LA' order by [JC_PHASE_MASTER_MC].[id] asc"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "Company_Code": "CCD",
                      "Job_Number": "      A123",
                      "Phase_Code": "10000",
                      "Cost_Type": "L",
                      "Description": "HVAC Units",
                      "Status_Code": "A",
                      "Complete_Date": null,
                      "Unit_of_Measure": "EA",
                      "Major_Group_Code": "10",
                      "Minor_Group_Code": "000",
                      "Start_Date": null,
                      "End_Date": null,
                      "Lead_Time_Days": ".00",
                      "Original_Est_Quantity": "10.00",
                      "Original_Est_Cost": "100.00",
                      "Original_Est_Hours": "15.00",
                      "Last_Cost_Date": null,
                      "Work_Comp_Code": "",
                      "TM_Markup_Flag": "",
                      "Est_Unit_Cost": "10.00",
                      "Bid_Item_Number": "",
                      "Alt_Phase_Code": "",
                      "Price_Method_Code": "",
                      "Projected_Cost_Code": "E",
                      "Work_State_Tax_Code": "",
                      "Work_County_Tax_Code": "",
                      "Work_Local_Tax_Code": "",
                      "Last_Payroll_Date": null,
                      "Certified_Flag": "",
                      "Wage_Rate_Level": ".00",
                      "Wage_Code_Indicator": "",
                      "Phase_Cost_Center": "",
                      "Update_Proj_Qty": "",
                      "Comment": "",
                      "id": 12017,
                      "Projected_Cost": "100.00"
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "NewBudgetProductionQuantity": {
        "type": "object",
        "properties": {
          "cost_code_id": {
            "allOf": [
              {
                "description": "The UUID of the [Cost Code](#tag--cost-codes) for the Budget Production Quantity, assigned by Agave."
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          },
          "quantity": {
            "type": "string",
            "example": "10.00",
            "description": "The quantity of unit planned for the Budget Production Quantity (e.g. labor, material)."
          },
          "unit_of_measure": {
            "type": "string",
            "example": "hours",
            "description": "The unit of measurement used for the Budget Production Quantity."
          }
        }
      },
      "NewBudgetProductionQuantity-2": {
        "type": "object",
        "properties": {
          "cost_code_id": {
            "allOf": [
              {
                "description": "The UUID of the [Cost Code](#tag--cost-codes) for the Budget Production Quantity, assigned by Agave."
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          },
          "description": {
            "type": "string",
            "example": "Equipment",
            "description": "The name of the Budget Production Quantity."
          },
          "original_amount": {
            "allOf": [
              {
                "description": "The original monetary amount of the Budget Production Quantity, equal to the original `quantity` multiplied by the original `unit_cost`."
              },
              {
                "$ref": "#/components/schemas/MoneyProperty"
              }
            ]
          },
          "quantity": {
            "type": "string",
            "example": "10.00",
            "description": "The quantity of unit planned for the Budget Production Quantity (e.g. labor, material)."
          }
        }
      },
      "BudgetTransferLineItem": {
        "type": "object",
        "properties": {
          "id": {
            "allOf": [
              {
                "description": "The UUID of the Line Item assigned by Agave."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "source_id": {
            "type": "string",
            "readOnly": true,
            "example": "12345",
            "description": "The ID of the Line Item in the Source System."
          },
          "original_budget_line_item": {
            "type": "object",
            "description": "The original or source [Budget Line Item](#tag--budget-line-items.",
            "properties": {
              "id": {
                "allOf": [
                  {
                    "description": "The UUID of the [Budget Line Item](#tag--budget-line-items) assigned by Agave."
                  },
                  {
                    "$ref": "#/components/schemas/IdPropertyReadOnly"
                  }
                ]
              },
              "description": {
                "type": "string",
                "description": "A description of the Budget Line Item.",
                "example": "Two tons of cement."
              },
              "quantity": {
                "type": "string",
                "description": "The estimated quantity of the unit in the Budget Line Item.",
                "example": "2.0"
              },
              "unit_cost": {
                "type": "string",
                "description": "The cost of each unit associated with the Budget Line Item.",
                "example": "50"
              },
              "unit_of_measure": {
                "type": "string",
                "description": "The unit used for measuring the estimated quantity of the Budget Line Item.",
                "example": "Tons"
              }
            }
          },
          "target_budget_line_item": {
            "type": "object",
            "description": "The target or destination [Budget Line Item](#tag--budget-line-items.",
            "properties": {
              "id": {
                "allOf": [
                  {
                    "description": "The UUID of the [Budget Line Item](#tag--budget-line-items) assigned by Agave."
                  },
                  {
                    "$ref": "#/components/schemas/IdPropertyReadOnly"
                  }
                ]
              },
              "description": {
                "type": "string",
                "description": "A description of the Budget Line Item.",
                "example": "Two tons of cement."
              },
              "quantity": {
                "type": "string",
                "description": "The estimated quantity of the unit in the Budget Line Item.",
                "example": "2.0"
              },
              "unit_cost": {
                "type": "string",
                "description": "The cost of each unit associated with the Budget Line Item.",
                "example": "50"
              },
              "unit_of_measure": {
                "type": "string",
                "description": "The unit used for measuring the estimated quantity of the Budget Line Item.",
                "example": "Tons"
              }
            }
          },
          "source_create_time": {
            "allOf": [
              {
                "description": "The datetime the Budget Transfer Line Item was created in the Source System."
              },
              {
                "$ref": "#/components/schemas/DateTimeProperty"
              }
            ]
          },
          "source_update_time": {
            "allOf": [
              {
                "description": "The datetime the Budget Transfer Line Item was last updated in the Source System."
              },
              {
                "$ref": "#/components/schemas/DateTimeProperty"
              }
            ]
          }
        }
      },
      "BudgetTransfer": {
        "type": "object",
        "properties": {
          "id": {
            "allOf": [
              {
                "description": "The UUID of the Budget Transfer assigned by Agave."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "source_id": {
            "type": "string",
            "readOnly": true,
            "example": "12345",
            "description": "The ID of the Budget Transfer in the Source System."
          },
          "description": {
            "type": "string",
            "description": "A description of the Budget Transfer.",
            "example": "Budget Transfer 1 for January"
          },
          "line_items": {
            "type": "array",
            "description": "The line items for the Budget Transfer.",
            "items": {
              "$ref": "#/components/schemas/BudgetTransferLineItem"
            }
          },
          "project_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Project](#tag--projects)."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "source_create_time": {
            "allOf": [
              {
                "description": "The datetime the Budget Transfer was created in the Source System."
              },
              {
                "$ref": "#/components/schemas/DateTimeProperty"
              }
            ]
          },
          "source_update_time": {
            "allOf": [
              {
                "description": "The datetime the Budget Transfer was last updated in the Source System."
              },
              {
                "$ref": "#/components/schemas/DateTimeProperty"
              }
            ]
          }
        }
      },
      "BudgetTransfer-2": {
        "allOf": [
          {
            "$ref": "#/components/schemas/BudgetTransfer"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "https://developer.api.autodesk.com/construction/cost/v1/projects/{ContainerID}/budget-transfers"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "originId": "5405a810-c39e-11ee-887b-fb1973e8a13a",
                      "targetId": "5405a811-c39e-11ee-887b-fb1973e8a13a",
                      "projectId": "738faec1-d031-4ac6-bb45-4a4b27b7084d",
                      "origin": {
                        "id": "5405a810-c39e-11ee-887b-fb1973e8a13a",
                        "budgetId": "d152390b-4d57-4f0c-bfd3-a201481959d8",
                        "relatingBudgetId": "fec68998-2808-4b62-8e33-837659b86bab",
                        "contractId": null,
                        "relatingContractId": "143b2137-f368-4763-aef4-cf9546261b8d",
                        "amount": "-2000.0000",
                        "quantity": 1,
                        "relatingQuantity": 1,
                        "unitPrice": "-2000.00000000",
                        "relatingUnitPrice": "2000.00000000",
                        "inputQuantity": null,
                        "relatingInputQuantity": null,
                        "transactionId": "5403fa60-c39e-11ee-9aca-ffd5a868a09b",
                        "creatorId": "RFY24QFARTVGWBL9",
                        "note": "Test multiple 2",
                        "createdAt": "2024-02-04T20:45:27.697Z",
                        "updatedAt": "2024-02-04T20:45:27.697Z",
                        "integrationState": null,
                        "integrationStateChangedAt": null,
                        "integrationStateChangedBy": null,
                        "externalSystem": null,
                        "externalId": null,
                        "externalMessage": null,
                        "lastSyncTime": null,
                        "budget": {
                          "id": "d152390b-4d57-4f0c-bfd3-a201481959d8",
                          "name": "Wall and Door Protection-Labor",
                          "code": "C1094-15-10261"
                        },
                        "relatingBudget": {
                          "id": "fec68998-2808-4b62-8e33-837659b86bab",
                          "name": "Wall and Door Protection-Subcontractor",
                          "code": "C1094-15-10263"
                        }
                      },
                      "target": {
                        "id": "5405a811-c39e-11ee-887b-fb1973e8a13a",
                        "budgetId": "fec68998-2808-4b62-8e33-837659b86bab",
                        "relatingBudgetId": "d152390b-4d57-4f0c-bfd3-a201481959d8",
                        "contractId": "143b2137-f368-4763-aef4-cf9546261b8d",
                        "relatingContractId": null,
                        "amount": "2000.0000",
                        "quantity": 1,
                        "relatingQuantity": 1,
                        "unitPrice": "2000.00000000",
                        "relatingUnitPrice": "-2000.00000000",
                        "inputQuantity": null,
                        "relatingInputQuantity": null,
                        "transactionId": "5403fa60-c39e-11ee-9aca-ffd5a868a09b",
                        "creatorId": "RFY24QFARTVGWBL9",
                        "note": "Test multiple 2",
                        "createdAt": "2024-02-04T20:45:27.697Z",
                        "updatedAt": "2024-02-04T20:45:27.697Z",
                        "integrationState": null,
                        "integrationStateChangedAt": null,
                        "integrationStateChangedBy": null,
                        "externalSystem": null,
                        "externalId": null,
                        "externalMessage": null,
                        "lastSyncTime": null,
                        "budget": {
                          "id": "fec68998-2808-4b62-8e33-837659b86bab",
                          "name": "Wall and Door Protection-Subcontractor",
                          "code": "C1094-15-10263"
                        },
                        "relatingBudget": {
                          "id": "d152390b-4d57-4f0c-bfd3-a201481959d8",
                          "name": "Wall and Door Protection-Labor",
                          "code": "C1094-15-10261"
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "BudgetTransfer-3": {
        "allOf": [
          {
            "$ref": "#/components/schemas/BudgetTransfer"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The database query for the Source System.",
                    "example": "select * from [job_budgets]"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "company_no": 1,
                      "change_order_no": "         4",
                      "change_order_seq": 0,
                      "job_no": "     12345",
                      "date_booked": "2022-01-01 00:00:00.000",
                      "status": "A",
                      "owner_co_no": null,
                      "tot_income_adj": "15950.00",
                      "tot_cost_adj": "11000.00",
                      "tot_quantity_adj": "2.0000000",
                      "tot_unit_adj": "11000.000",
                      "comments": "CE #004 - CO w Vertical Markup",
                      "record_status": "A",
                      "row_modified_by": "98053",
                      "row_modified_on": "2022-01-01 00:00:00.000",
                      "row_unique_id": 89,
                      "printable_chg_ord": "N",
                      "printed_flag": "N",
                      "change_order_id": "4",
                      "company_id": "1",
                      "job_id": "12345",
                      "owner_co_id": null,
                      "include_in_percent_complete": "N",
                      "update_printable_type": "S",
                      "update_printable_flag": "N",
                      "print_detail_flag": "N",
                      "internal_batch_number": 8,
                      "record_guid": "1234580-B370-EF11-83C4-0050560190F2",
                      "sub_company_no": 1,
                      "sub_job_no": "       908",
                      "sub_change_order_no": "         4",
                      "sub_change_order_seq": 0
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "BudgetTransfer-4": {
        "allOf": [
          {
            "$ref": "#/components/schemas/BudgetTransfer"
          },
          {
            "type": "object",
            "properties": {
              "key": {
                "type": "string",
                "readOnly": true,
                "description": "The unique key for the Budget Transfer in the Sage 300 CRE system.",
                "example": "33219c91-05fd-5fb0-8fa9-4084eb73e007"
              },
              "status": {
                "type": "string",
                "readOnly": true,
                "description": "The current status of the Budget Transfer.",
                "example": "Posted"
              },
              "contract": {
                "type": "string",
                "readOnly": true,
                "description": "The contract related to the Budget Transfer, if applicable.",
                "example": null
              },
              "number": {
                "type": "string",
                "readOnly": true,
                "description": "The Budget Transfer number as assigned in Sage 300 CRE.",
                "example": null
              },
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The SQL path on the Source System.",
                    "example": ""
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "object",
                    "description": "The raw data from the Source System.",
                    "properties": {
                      "agave:batch": {
                        "type": "integer",
                        "description": "The batch number of the Budget Transfer.",
                        "example": 1636
                      },
                      "agave:project": {
                        "type": "string",
                        "description": "The associated project for the Budget Transfer.",
                        "example": null
                      }
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "NewBudgetTransfer": {
        "type": "object",
        "required": [
          "line_items"
        ],
        "properties": {
          "description": {
            "type": "string",
            "description": "An optional description for the Budget Transfer.",
            "example": "Budget Transfer for Equipment"
          },
          "line_items": {
            "type": "array",
            "description": "The line items that make up this Budget Transfer. Each line item represents a transfer from an origin budget line item to a target budget line item.",
            "items": {
              "type": "object",
              "required": [
                "origin_budget_line_item",
                "target_budget_line_item"
              ],
              "properties": {
                "origin_budget_line_item": {
                  "type": "object",
                  "required": [
                    "amount",
                    "cost_code_id",
                    "cost_type_id",
                    "quantity"
                  ],
                  "properties": {
                    "amount": {
                      "type": "string",
                      "description": "The amount to transfer from this budget line item. Must be a negative value.\n",
                      "example": "-1500.00"
                    },
                    "cost_code_id": {
                      "type": "string",
                      "description": "The UUID or source_id of the Cost Code for the origin budget line item.\n\nFormat: Use \"source_id:{cost_code}\" when referencing by source ID.\n",
                      "example": "source_id:3-345"
                    },
                    "cost_type_id": {
                      "type": "string",
                      "description": "The UUID or source_id of the Cost Type for the origin budget line item.\n\nFormat: Use \"source_id:{cost_type}\" when referencing by source ID.\n",
                      "example": "source_id:L"
                    },
                    "quantity": {
                      "type": "string",
                      "description": "The quantity to transfer from the origin budget line item.",
                      "example": "1"
                    },
                    "sub_job_id": {
                      "type": "string",
                      "description": "The UUID or source_id of the Sub Job for the origin budget line item, if applicable.\n\nFormat: Use \"source_id:{sub_job}\" when referencing by source ID.\n",
                      "example": null
                    }
                  }
                },
                "target_budget_line_item": {
                  "type": "object",
                  "required": [
                    "amount",
                    "cost_code_id",
                    "cost_type_id",
                    "quantity"
                  ],
                  "properties": {
                    "amount": {
                      "type": "string",
                      "description": "The amount to transfer to this budget line item. Must be a positive value.\n",
                      "example": "1500.00"
                    },
                    "cost_code_id": {
                      "type": "string",
                      "description": "The UUID or source_id of the Cost Code for the target budget line item.\n\nFormat: Use \"source_id:{cost_code}\" when referencing by source ID.\n",
                      "example": "source_id:3-310"
                    },
                    "cost_type_id": {
                      "type": "string",
                      "description": "The UUID or source_id of the Cost Type for the target budget line item.\n\nFormat: Use \"source_id:{cost_type}\" when referencing by source ID.\n",
                      "example": "source_id:M"
                    },
                    "quantity": {
                      "type": "string",
                      "description": "The quantity to transfer to the target budget line item.",
                      "example": "1"
                    },
                    "sub_job_id": {
                      "type": "string",
                      "description": "The UUID or source_id of the Sub Job for the target budget line item, if applicable.\n\nFormat: Use \"source_id:{sub_job}\" when referencing by source ID.\n",
                      "example": null
                    }
                  }
                }
              }
            }
          }
        }
      },
      "NewBudgetTransferLineItem": {
        "type": "object",
        "required": [
          "description",
          "original_budget_line_item",
          "target_budget_line_item"
        ],
        "properties": {
          "description": {
            "type": "string",
            "description": "A description of the Budget Transfer Line Item.",
            "example": "Budget Transfer 1 for January"
          },
          "original_budget_line_item": {
            "type": "object",
            "description": "The original or source [Budget Line Item](#tag--budget-line-items).",
            "properties": {
              "id": {
                "allOf": [
                  {
                    "description": "The UUID of the [Budget Line Item](#tag--budget-line-items) assigned by Agave."
                  },
                  {
                    "$ref": "#/components/schemas/IdPropertyReadOnly"
                  }
                ]
              },
              "amount": {
                "type": "string",
                "description": "The amount in the Budget Line Item.\n\n**Note for Viewpoint Vista**: this amount must net out to \"0\" when added to the `target_budget_line_item.amount` value.\n",
                "example": "-100.0"
              },
              "quantity": {
                "type": "string",
                "description": "The estimated quantity of the unit in the Budget Line Item.\n\n**Note for Viewpoint Vista**: this quantity must net out to \"0\" when added to the `target_budget_line_item.amount` value.\n",
                "example": "-2.0"
              },
              "unit_cost": {
                "type": "string",
                "description": "The cost of each unit associated with the Budget Line Item.",
                "example": "50"
              }
            }
          },
          "target_budget_line_item": {
            "type": "object",
            "description": "The target or destination [Budget Line Item](#tag--budget-line-items).",
            "properties": {
              "id": {
                "allOf": [
                  {
                    "description": "The UUID of the [Budget Line Item](#tag--budget-line-items) assigned by Agave."
                  },
                  {
                    "$ref": "#/components/schemas/IdPropertyReadOnly"
                  }
                ]
              },
              "amount": {
                "type": "string",
                "description": "The amount in the Budget Line Item.\n\n**Note for Viewpoint Vista**: this amount must net out to \"0\" when added to the `origin_budget_line_item.amount` value.\n",
                "example": "100.0"
              },
              "quantity": {
                "type": "string",
                "description": "The estimated quantity of the unit in the Budget Line Item.\n\n**Note for Viewpoint Vista**: this quantity must net out to \"0\" when added to the `origin_budget_line_item.amount` value.\n",
                "example": "2.0"
              },
              "unit_cost": {
                "type": "string",
                "description": "The cost of each unit associated with the Budget Line Item.",
                "example": "50"
              }
            }
          }
        }
      },
      "NewBudgetTransfer-2": {
        "type": "object",
        "required": [
          "description",
          "line_items",
          "source_data"
        ],
        "properties": {
          "description": {
            "type": "string",
            "description": "A description of the Budget Transfer.",
            "example": "Budget Transfer 1 for January"
          },
          "line_items": {
            "type": "array",
            "description": "The line items for the Budget Transfer.",
            "items": {
              "$ref": "#/components/schemas/NewBudgetTransferLineItem"
            }
          },
          "source_data": {
            "type": "object",
            "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
            "properties": {
              "approval_date": {
                "allOf": [
                  {
                    "description": "The date the Budget Transfer was approved."
                  },
                  {
                    "$ref": "#/components/schemas/DateProperty"
                  }
                ]
              }
            }
          }
        }
      },
      "BudgetTransferLineItem-2": {
        "allOf": [
          {
            "$ref": "#/components/schemas/BudgetTransferLineItem"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "https://developer.api.autodesk.com/construction/cost/v1/projects/{ContainerID}/budget-transfers"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "originId": "5405a810-c39e-11ee-887b-fb1973e8a13a",
                      "targetId": "5405a811-c39e-11ee-887b-fb1973e8a13a",
                      "projectId": "738faec1-d031-4ac6-bb45-4a4b27b7084d",
                      "origin": {
                        "id": "5405a810-c39e-11ee-887b-fb1973e8a13a",
                        "budgetId": "d152390b-4d57-4f0c-bfd3-a201481959d8",
                        "relatingBudgetId": "fec68998-2808-4b62-8e33-837659b86bab",
                        "contractId": null,
                        "relatingContractId": "143b2137-f368-4763-aef4-cf9546261b8d",
                        "amount": "-2000.0000",
                        "quantity": 1,
                        "relatingQuantity": 1,
                        "unitPrice": "-2000.00000000",
                        "relatingUnitPrice": "2000.00000000",
                        "inputQuantity": null,
                        "relatingInputQuantity": null,
                        "transactionId": "5403fa60-c39e-11ee-9aca-ffd5a868a09b",
                        "creatorId": "RFY24QFARTVGWBL9",
                        "note": "Test multiple 2",
                        "createdAt": "2024-02-04T20:45:27.697Z",
                        "updatedAt": "2024-02-04T20:45:27.697Z",
                        "integrationState": null,
                        "integrationStateChangedAt": null,
                        "integrationStateChangedBy": null,
                        "externalSystem": null,
                        "externalId": null,
                        "externalMessage": null,
                        "lastSyncTime": null,
                        "budget": {
                          "id": "d152390b-4d57-4f0c-bfd3-a201481959d8",
                          "name": "Wall and Door Protection-Labor",
                          "code": "C1094-15-10261"
                        },
                        "relatingBudget": {
                          "id": "fec68998-2808-4b62-8e33-837659b86bab",
                          "name": "Wall and Door Protection-Subcontractor",
                          "code": "C1094-15-10263"
                        }
                      },
                      "target": {
                        "id": "5405a811-c39e-11ee-887b-fb1973e8a13a",
                        "budgetId": "fec68998-2808-4b62-8e33-837659b86bab",
                        "relatingBudgetId": "d152390b-4d57-4f0c-bfd3-a201481959d8",
                        "contractId": "143b2137-f368-4763-aef4-cf9546261b8d",
                        "relatingContractId": null,
                        "amount": "2000.0000",
                        "quantity": 1,
                        "relatingQuantity": 1,
                        "unitPrice": "2000.00000000",
                        "relatingUnitPrice": "-2000.00000000",
                        "inputQuantity": null,
                        "relatingInputQuantity": null,
                        "transactionId": "5403fa60-c39e-11ee-9aca-ffd5a868a09b",
                        "creatorId": "RFY24QFARTVGWBL9",
                        "note": "Test multiple 2",
                        "createdAt": "2024-02-04T20:45:27.697Z",
                        "updatedAt": "2024-02-04T20:45:27.697Z",
                        "integrationState": null,
                        "integrationStateChangedAt": null,
                        "integrationStateChangedBy": null,
                        "externalSystem": null,
                        "externalId": null,
                        "externalMessage": null,
                        "lastSyncTime": null,
                        "budget": {
                          "id": "fec68998-2808-4b62-8e33-837659b86bab",
                          "name": "Wall and Door Protection-Subcontractor",
                          "code": "C1094-15-10263"
                        },
                        "relatingBudget": {
                          "id": "d152390b-4d57-4f0c-bfd3-a201481959d8",
                          "name": "Wall and Door Protection-Labor",
                          "code": "C1094-15-10261"
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "BudgetTransferLineItem-3": {
        "allOf": [
          {
            "$ref": "#/components/schemas/BudgetTransferLineItem"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The database query for the Source System.",
                    "example": "select * from [job_chg]"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "company_no": 1,
                      "change_order_no": "         4",
                      "change_order_seq": 0,
                      "job_no": "     12345",
                      "date_booked": "2022-01-01 00:00:00.000",
                      "status": "A",
                      "owner_co_no": null,
                      "tot_income_adj": "15950.00",
                      "tot_cost_adj": "11000.00",
                      "tot_quantity_adj": "2.0000000",
                      "tot_unit_adj": "11000.000",
                      "comments": "CE #004 - CO w Vertical Markup",
                      "record_status": "A",
                      "row_modified_by": "98053",
                      "row_modified_on": "2022-01-01 00:00:00.000",
                      "row_unique_id": 89,
                      "printable_chg_ord": "N",
                      "printed_flag": "N",
                      "change_order_id": "4",
                      "company_id": "1",
                      "job_id": "12345",
                      "owner_co_id": null,
                      "include_in_percent_complete": "N",
                      "update_printable_type": "S",
                      "update_printable_flag": "N",
                      "print_detail_flag": "N",
                      "internal_batch_number": 8,
                      "record_guid": "1234580-B370-EF11-83C4-0050560190F2",
                      "sub_company_no": 1,
                      "sub_job_no": "       908",
                      "sub_change_order_no": "         4",
                      "sub_change_order_seq": 0
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "BudgetTransferLineItem-4": {
        "allOf": [
          {
            "$ref": "#/components/schemas/BudgetTransferLineItem"
          },
          {
            "type": "object",
            "properties": {
              "key": {
                "type": "string",
                "readOnly": true,
                "description": "The unique key for the Budget Transfer Line Item in the Sage 300 CRE system.\""
              },
              "origin_budget_line_item_cost_code_source_id": {
                "type": "string",
                "readOnly": true,
                "description": "The source ID of the cost code for the origin budget line item.",
                "example": "PEXTRA=|PHASE=2520"
              },
              "origin_budget_line_item_cost_type_source_id": {
                "type": "string",
                "readOnly": true,
                "description": "The source ID of the cost type for the origin budget line item.",
                "example": "L"
              },
              "target_budget_line_item_cost_code_source_id": {
                "type": "string",
                "readOnly": true,
                "description": "The source ID of the cost code for the target budget line item.",
                "example": "PEXTRA=|PHASE=3310"
              },
              "target_budget_line_item_cost_type_source_id": {
                "type": "string",
                "readOnly": true,
                "description": "The source ID of the cost type for the target budget line item.",
                "example": "L"
              },
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The SQL path on the Source System.",
                    "example": ""
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "object",
                    "description": "The raw data from the Source System.",
                    "properties": {
                      "agave:origin_budget_line_item_TSEQ": {
                        "type": "integer",
                        "description": "The sequence number of the origin budget line item.",
                        "example": 1
                      },
                      "agave:target_budget_line_item_TSEQ": {
                        "type": "integer",
                        "description": "The sequence number of the target budget line item.",
                        "example": 2
                      },
                      "agave:origin_budget_line_item": {
                        "type": "object",
                        "description": "The original budget line item details."
                      },
                      "agave:target_budget_line_item": {
                        "type": "object",
                        "description": "The target budget line item details."
                      }
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "ChangeEventLineItem": {
        "type": "object",
        "properties": {
          "id": {
            "allOf": [
              {
                "description": "The UUID of the Change Event Line Item assigned by Agave."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "source_id": {
            "type": "string",
            "readOnly": true,
            "example": "12345",
            "description": "The ID of the Change Event Line Item in the Source System."
          },
          "amount": {
            "type": "string",
            "description": "The estimated amount of the Change Event Line Item.",
            "example": "50.0"
          },
          "contract": {
            "type": "object",
            "description": "The Contract (i.e. Purchase Order or Subcontract) associated with the Change Event Line Item.",
            "properties": {
              "id": {
                "allOf": [
                  {
                    "description": "The UUID of the Contract (i.e. Purchase Order or Subcontract) assigned by Agave."
                  },
                  {
                    "$ref": "#/components/schemas/IdPropertyReadOnly"
                  }
                ]
              },
              "line_item_id": {
                "allOf": [
                  {
                    "description": "The UUID of the Contract Line Item (i.e. Purchase Order Line Item or Subcontract Line Item) assigned by Agave."
                  },
                  {
                    "$ref": "#/components/schemas/IdPropertyReadOnly"
                  }
                ]
              },
              "type": {
                "type": "string",
                "description": "The type of Contract associated with the Change Event Line Itme.",
                "example": "subcontract",
                "enum": [
                  "purchase_order",
                  "subcontract"
                ]
              }
            }
          },
          "cost_code_id": {
            "allOf": [
              {
                "description": "The UUID of the [Cost Code](#tag--cost-codes) for the Change Event Line Item, assigned by Agave."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "cost_type_id": {
            "allOf": [
              {
                "description": "The UUID of the [Cost Type](#tag--cost-types) for the Change Event Line Item, assigned by Agave."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "description": {
            "type": "string",
            "description": "The description of the Change Event Line Item.",
            "example": "Cleanup for the first week of October"
          },
          "name": {
            "type": "string",
            "description": "The name of the Change Event Line Item.",
            "example": "Cleanup"
          },
          "quantity": {
            "type": "string",
            "description": "The estimated quantity of the unit in the Change Event Line Item.",
            "example": "5.0"
          },
          "unit_cost": {
            "type": "string",
            "description": "The estimated cost of each unit associated with the Change Event Line Item.",
            "example": "10"
          },
          "unit_of_measure": {
            "type": "string",
            "description": "The unit used for measuring the estimated quantity of the Change Event Line Item.",
            "example": "Hours"
          },
          "vendor_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Vendor](#tag--vendors)."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "wbs_id": {
            "allOf": [
              {
                "description": "The UUID of the [WBS Code](#tag--wbs) for the Change Event Line Item, assigned by Agave."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "source_create_time": {
            "allOf": [
              {
                "description": "The datetime the Change Event Line Item was created."
              },
              {
                "$ref": "#/components/schemas/DateTimeProperty"
              }
            ]
          },
          "source_update_time": {
            "allOf": [
              {
                "description": "The datetime the Change Event Line Itme was last updated."
              },
              {
                "$ref": "#/components/schemas/DateTimeProperty"
              }
            ]
          }
        }
      },
      "ChangeEvent": {
        "type": "object",
        "properties": {
          "id": {
            "allOf": [
              {
                "description": "The UUID of the Change Event assigned by Agave."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "source_id": {
            "type": "string",
            "readOnly": true,
            "example": "12345",
            "description": "The ID of the Change Event in the Source System."
          },
          "attachments": {
            "type": "array",
            "description": "The UUID assigned by Agave of the Attachments/Files associated with this Change Event.",
            "items": {
              "$ref": "#/components/schemas/Attachment"
            }
          },
          "creator_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Contact](#tag--contacts) that created the Change Event."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "description": {
            "type": "string",
            "description": "The description of the Change Event.",
            "example": "Replacement of door on first floor"
          },
          "line_items": {
            "description": "The line items for the Change Event.",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ChangeEventLineItem"
            }
          },
          "name": {
            "type": "string",
            "description": "The name of the Change Event.",
            "example": "Door replacement"
          },
          "number": {
            "type": "string",
            "description": "The number of the Change Event.",
            "example": "A123"
          },
          "scope": {
            "type": "string",
            "description": "The scope of the Change Event.",
            "example": "in_scope",
            "enum": [
              "in_scope",
              "out_of_scope",
              "tbd"
            ]
          },
          "status": {
            "type": "string",
            "description": "The status of the Change Event.",
            "example": "Open",
            "enum": [
              "Closed",
              "Completed",
              "Open",
              "Pending",
              "Void"
            ]
          },
          "type": {
            "type": "string",
            "description": "The type of the Change Event.",
            "example": "Owner Change",
            "enum": [
              "Allowance",
              "Contingency",
              "Owner Change",
              "TBD",
              "Transfer"
            ]
          },
          "source_create_time": {
            "allOf": [
              {
                "description": "The datetime the Change Event was created."
              },
              {
                "$ref": "#/components/schemas/DateTimeProperty"
              }
            ]
          },
          "source_update_time": {
            "allOf": [
              {
                "description": "The datetime the Change Event was last updated."
              },
              {
                "$ref": "#/components/schemas/DateTimeProperty"
              }
            ]
          }
        }
      },
      "ChangeEvent-2": {
        "allOf": [
          {
            "$ref": "#/components/schemas/ChangeEvent"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The source data as we received it from the source system. \nSee https://docs.agaveapi.com/agave-api/source-data for more info\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the source system",
                    "example": "https://developer.api.autodesk.com/cost/v1/containers/.../change-orders/pco/...?include=costItems%2Cattributes"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the source data",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the source system",
                    "example": {
                      "id": "babf1024-7235-4c1b-a863-3766ed7c2199",
                      "containerId": "c20b0493-e827-464a-a8bb-935c8e323f8e",
                      "number": "0001",
                      "splitNumber": {
                        "number": "0001",
                        "prefix": "",
                        "postfix": "",
                        "isFreeModify": false
                      },
                      "name": "PCO Sample",
                      "scope": "contingency",
                      "type": null,
                      "description": null,
                      "note": null,
                      "contactId": null,
                      "recipients": [],
                      "scopeOfWork": null,
                      "templateId": null,
                      "creatorId": "RFY24QFARTVGWBL9",
                      "ownerId": "RFY24QFARTVGWBL9",
                      "changedBy": "KKA2ELZUJYTH8ZX5",
                      "signedBy": null,
                      "workflowType": "Both",
                      "budgetStatus": "open",
                      "costStatus": "executed",
                      "formDefinitionId": "e422ee30-c628-11ee-a7d4-33f78af71a3f",
                      "markupFormulaId": null,
                      "appliedBy": null,
                      "appliedAt": null,
                      "approvedAt": null,
                      "createdAt": "2024-02-08T02:52:25.366Z",
                      "updatedAt": "2024-02-09T03:38:13.785Z",
                      "statusChangedAt": "2024-02-09T03:31:05.059Z",
                      "documentGeneratedAt": null,
                      "valueUpdatedAt": null,
                      "scheduleChange": null,
                      "contractId": null,
                      "mainContractId": "a767f3d0-c6fc-11ee-8057-6d8046e44862",
                      "companyId": null,
                      "isMarkupSynced": true,
                      "formDefinitionType": "pco",
                      "sourceId": null,
                      "variableMarkupFormulaItems": [],
                      "integrationState": null,
                      "integrationStateChangedAt": null,
                      "integrationStateChangedBy": null,
                      "externalSystem": null,
                      "externalId": null,
                      "externalMessage": null,
                      "lastSyncTime": null,
                      "architectCompanyId": null,
                      "architectContactId": null,
                      "additionalCollaborators": [],
                      "estimated": null,
                      "proposed": null,
                      "submitted": null,
                      "approved": null,
                      "committed": 50000,
                      "properties": [
                        {
                          "name": "Source Type",
                          "value": null,
                          "propertyDefinitionId": "e42deab0-c628-11ee-a7d4-33f78af71a3f",
                          "position": 0,
                          "builtIn": true,
                          "type": "options"
                        },
                        {
                          "name": "Source Ref",
                          "value": "",
                          "propertyDefinitionId": "e42f2330-c628-11ee-a7d4-33f78af71a3f",
                          "position": 1,
                          "builtIn": true,
                          "type": "text"
                        }
                      ],
                      "costItems": [
                        {
                          "id": "ef3d7065-4fdd-4c41-8278-4faab600479b",
                          "containerId": "c20b0493-e827-464a-a8bb-935c8e323f8e",
                          "number": "0001",
                          "splitNumber": {
                            "number": "0001",
                            "prefix": "",
                            "postfix": "",
                            "isFreeModify": false
                          },
                          "budgetStatus": "open",
                          "costStatus": "executed",
                          "scheduleChange": 0,
                          "creatorId": "RFY24QFARTVGWBL9",
                          "changedBy": "KKA2ELZUJYTH8ZX5",
                          "scope": "contingency",
                          "name": "Line Item 1",
                          "description": "",
                          "estimated": null,
                          "scopeOfWork": null,
                          "budgetId": "50ac1d40-9ca6-4f16-b80e-56c2ac9df74f",
                          "contractId": "38d73408-d8eb-4b5b-b662-99a4619adbcd",
                          "proposed": null,
                          "submitted": null,
                          "approved": null,
                          "committed": "50000.0000",
                          "activeBudget": null,
                          "activeCost": "50000.0000",
                          "quantity": 1,
                          "inputQuantity": null,
                          "unit": "ls",
                          "note": null,
                          "type": null,
                          "createdAt": "2024-02-08T02:52:36.352Z",
                          "updatedAt": "2024-02-09T03:31:05.030Z",
                          "statusChangedAt": "2024-02-09T03:31:05.032Z",
                          "isMarkup": false,
                          "locations": null,
                          "locationPaths": null,
                          "integrationState": null,
                          "integrationStateChangedAt": null,
                          "integrationStateChangedBy": null,
                          "proposedExchangeRate": "1.00000000",
                          "committedExchangeRate": "1.00000000",
                          "externalSystem": null,
                          "externalId": null,
                          "externalMessage": null,
                          "lastSyncTime": null,
                          "includeMarkup": false,
                          "isCostInReview": false,
                          "isBudgetInReview": false,
                          "properties": [
                            {
                              "name": "Type",
                              "value": null,
                              "propertyDefinitionId": "e4905600-c628-11ee-a7d4-33f78af71a3f",
                              "position": 0,
                              "builtIn": true,
                              "type": "options"
                            }
                          ],
                          "index": "01"
                        }
                      ]
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "ChangeEvent-3": {
        "allOf": [
          {
            "$ref": "#/components/schemas/ChangeEvent"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "https://mobile.cmiccloudr12.com/cmicprod/cm-rest-api/rest/1/cmmast"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "CmmActionCode": null,
                      "CmmAllowance": "N",
                      "CmmAprvFlag": "Y",
                      "CmmAutoCalcMarkupFlag": "N",
                      "CmmBchNum": null,
                      "CmmBiditemFlag": null,
                      "CmmBillCatCode": null,
                      "CmmBillCode": null,
                      "CmmBillMethCode": "D",
                      "CmmBillName": null,
                      "CmmBillPhsCode": null,
                      "CmmBillRevisAmt": null,
                      "CmmCalcProjAmtMethod": "A",
                      "CmmChgSentToOwnerDate": null,
                      "CmmChgSignedByOwnerDate": null,
                      "CmmClassCode": "E",
                      "CmmClvValueCode1": null,
                      "CmmClvValueCode2": null,
                      "CmmClvValueCode3": null,
                      "CmmClvValueCode4": null,
                      "CmmClvValueCode5": null,
                      "CmmClvValueCode6": null,
                      "CmmCode": "EXT0001",
                      "CmmCompCode": "111",
                      "CmmCtrlJobCode": "ALL",
                      "CmmCycleNum": null,
                      "CmmDueToOwnerDate": null,
                      "CmmEffectiveEndDate": null,
                      "CmmEffectiveStartDate": null,
                      "CmmFundsourceCode": null,
                      "CmmGlobalUpdateDate": "2024-02-07T01:27:37-05:00",
                      "CmmImpactDays": null,
                      "CmmInvCode": null,
                      "CmmIuCreateDate": "2024-01-25T20:56:27-05:00",
                      "CmmIuUpdateDate": "2024-02-07T01:27:37-05:00",
                      "CmmJobCode": "A123",
                      "CmmLumpsumFlag": null,
                      "CmmName": "OCO",
                      "CmmOrigCmmCode": null,
                      "CmmOrigOwnerAllowanceAmt": null,
                      "CmmOwnerAllowanceAmt": null,
                      "CmmOwnerChgCode": "00001",
                      "CmmPendFlag": "A",
                      "CmmPmFlag": "Y",
                      "CmmPmObjectCode": null,
                      "CmmPostContrFlag": "N",
                      "CmmPostDate": null,
                      "CmmPostDateDummy": null,
                      "CmmPostingFlag": "UNPOSTED",
                      "CmmPrepostStatCode": "APPROVED",
                      "CmmPropIssuedToOwnerDate": null,
                      "CmmPropSignedByOwnerDate": null,
                      "CmmReasonText": null,
                      "CmmRefCmmCode": null,
                      "CmmRefDate": "2024-01-25",
                      "CmmRfqDueDate": null,
                      "CmmRfqLimitAmt": null,
                      "CmmRfqProceedFlag": null,
                      "CmmScopeDesc": null,
                      "CmmSourceText": null,
                      "CmmSrcId": null,
                      "CmmStatCode": null,
                      "CmmStatCodeUpdateDate": null,
                      "CmmTypeCode": "EXT",
                      "CmmUpdPcComplFlag": "Y",
                      "CmmUpdProjAmtFlag": "N",
                      "CmmUser": "AGAVE",
                      "CmmVUuid": "0FD07258116B2AB7E063B08610ACB8EA",
                      "CmmWorkflowStatus": null,
                      "links": [
                        {
                          "rel": "self",
                          "href": "http://mobile.cmiccloudr12.com:80/cmicprod/cm-rest-api/rest/1/cmmast/0FD07258116B2AB7E063B08610ACB8EA",
                          "name": "cmmast",
                          "kind": "item"
                        },
                        {
                          "rel": "canonical",
                          "href": "http://mobile.cmiccloudr12.com:80/cmicprod/cm-rest-api/rest/1/cmmast/0FD07258116B2AB7E063B08610ACB8EA",
                          "name": "cmmast",
                          "kind": "item"
                        }
                      ]
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "ChangeEvent-4": {
        "allOf": [
          {
            "$ref": "#/components/schemas/ChangeEvent"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "https://api.procore.com/"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "created_at": "2022-01-01T00:00:00Z",
                      "description": "Replacement of door on first floor",
                      "event_scope": "in_scope",
                      "id": 5425,
                      "number": 123,
                      "alphanumeric_number": "A123",
                      "project_id": 66736,
                      "status": "open",
                      "title": "Door Replacement",
                      "updated_at": "2022-01-01T00:00:00Z",
                      "change_event_line_items": [
                        {
                          "id": 12345,
                          "biller": {
                            "id": 12345,
                            "name": "Test Project-1",
                            "model_name": "Project",
                            "guid": "12345"
                          },
                          "biller_guid": "12345",
                          "contract": {},
                          "cost_code": null,
                          "cost_type": null,
                          "cost_code_biller_name": null,
                          "cost_code_id": null,
                          "cost_code_is_budgeted": null,
                          "deletable": true,
                          "description": null,
                          "editable": true,
                          "estimated_cost_amount": "500.0",
                          "event_id": 12345,
                          "line_item_type": {},
                          "line_item_type_id": null,
                          "links": {
                            "edit": "https://sandbox.procore.com/",
                            "view": "https://sandbox.procore.com/",
                            "parent": "https://sandbox.procore.com/",
                            "rom": "https://sandbox.procore.com/"
                          },
                          "number": "A123",
                          "permission_to_edit": null,
                          "proposed_contract_id": null,
                          "proposed_vendor_id": null,
                          "request_for_quote_id": null,
                          "rfq_amount": null,
                          "rom": "500.0",
                          "sortable_code": null,
                          "status": "Open",
                          "statuses": {},
                          "title": "Door Replacement",
                          "vendor": {},
                          "event_title_and_number": "CE #A123 - Door Replacement",
                          "is_markup_summary": false,
                          "estimated_cost_calculation_strategy": "manual",
                          "estimated_cost_quantity": "50.0",
                          "estimated_cost_unit_cost": null,
                          "uom": "hours",
                          "wbs_code": {
                            "description": "",
                            "flat_code": "",
                            "id": 12345
                          },
                          "latest_revenue_amount": "0.0",
                          "over_under_amount": "-500.0",
                          "revenue_rom_amount": "0.0",
                          "revenue_rom_display": "none",
                          "revenue_rom_calculation_strategy": "manual",
                          "revenue_rom_quantity": "0.0",
                          "revenue_rom_uom": "hours",
                          "revenue_rom_unit_cost": "0.0",
                          "latest_cost_calculation_strategy": "manual",
                          "latest_cost_quantity": "50.0",
                          "latest_cost_uom": "hours",
                          "latest_cost_unit_cost": null,
                          "non_committed_cost": null,
                          "manual_latest_cost_amount": null,
                          "latest_cost_amount": "500.0"
                        }
                      ],
                      "change_event_status": {
                        "id": 12345,
                        "name": "Open",
                        "mapped_to_status": "open",
                        "show_in_select": true
                      },
                      "created_by": {
                        "id": 12345,
                        "login": "contact@agaveapi.com",
                        "name": "AnyCompany"
                      },
                      "attachments": [],
                      "rfqs": []
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "NewChangeEventLineItem": {
        "type": "object",
        "required": [
          "amount",
          "cost_code_id",
          "cost_type_id"
        ],
        "properties": {
          "amount": {
            "type": "string",
            "description": "The estimated amount of the Change Event Line Item.",
            "example": "50.0"
          },
          "cost_code_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Cost Code](#tag--cost-codes) for the Line Item."
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          },
          "cost_type_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Cost Type](#tag--cost-types) for the Line Item."
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          },
          "description": {
            "type": "string",
            "description": "The description of the Change Event Line Item.",
            "example": "Cleanup for the first week of October"
          },
          "quantity": {
            "type": "string",
            "description": "The estimated quantity of the unit in the Change Event Line Item.",
            "example": "5.0"
          },
          "unit_cost": {
            "type": "string",
            "description": "The estimated cost of each unit associated with the Change Event Line Item.",
            "example": "10"
          },
          "unit_of_measure": {
            "type": "string",
            "description": "The unit used for measuring the estimated quantity of the Change Event Line Item.",
            "example": "LS"
          }
        }
      },
      "NewChangeEvent": {
        "type": "object",
        "required": [
          "line_items",
          "name",
          "number",
          "status",
          "type",
          "source_data"
        ],
        "properties": {
          "line_items": {
            "description": "The line items for the Change Event.",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/NewChangeEventLineItem"
            }
          },
          "name": {
            "type": "string",
            "description": "The name of the Change Event.",
            "example": "Door replacement"
          },
          "number": {
            "type": "string",
            "description": "The number of the Change Event.",
            "example": "A123"
          },
          "scope": {
            "type": "string",
            "description": "The scope of the Change Event.",
            "example": "in_scope",
            "enum": [
              "in_scope",
              "out_of_scope",
              "tbd"
            ]
          },
          "status": {
            "type": "string",
            "description": "The status of the Change Event.",
            "example": "PENDING",
            "enum": [
              "PENDING",
              "APPROVED",
              "REJECTED",
              "CANCELLED",
              "PREPENDING",
              "PROCEEDING"
            ]
          },
          "type": {
            "type": "string",
            "description": "The type of the Change Event.",
            "example": "EXT"
          },
          "source_data": {
            "type": "object",
            "required": [
              "CmmCalcProjAmtMethod"
            ],
            "properties": {
              "CmmCalcProjAmtMethod": {
                "type": "string",
                "description": "Can either be A (Actual, manual overrides) or R (Recalculated, system driven).",
                "example": "A",
                "enum": [
                  "A",
                  "R"
                ]
              }
            }
          }
        }
      },
      "NewChangeEventLineItem-2": {
        "type": "object",
        "properties": {
          "amount": {
            "type": "string",
            "description": "The estimated amount of the Change Event Line Item.",
            "example": "50.0"
          },
          "contract": {
            "type": "object",
            "description": "The Contract (i.e. Purchase Order or Subcontract) associated with the Change Event Line Item.",
            "properties": {
              "id": {
                "allOf": [
                  {
                    "description": "The UUID of the Contract (i.e. Purchase Order or Subcontract) assigned by Agave."
                  },
                  {
                    "$ref": "#/components/schemas/IdPropertyWriteOnly"
                  }
                ]
              },
              "type": {
                "type": "string",
                "description": "The type of Contract associated with the Change Event Line Itme.",
                "example": "subcontract",
                "enum": [
                  "purchase_order",
                  "subcontract"
                ]
              }
            }
          },
          "description": {
            "type": "string",
            "description": "The description of the Change Event Line Item.",
            "example": "Cleanup for the first week of October"
          },
          "quantity": {
            "type": "string",
            "description": "The estimated quantity of the unit in the Change Event Line Item.",
            "example": "5.0"
          },
          "unit_cost": {
            "type": "string",
            "description": "The estimated cost of each unit associated with the Change Event Line Item.",
            "example": "10"
          },
          "unit_of_measure": {
            "type": "string",
            "description": "The unit used for measuring the estimated quantity of the Change Event Line Item.",
            "example": "ls"
          },
          "vendor_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Vendor](#tag--vendors)."
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          },
          "wbs_id": {
            "allOf": [
              {
                "description": "The UUID of the [WBS Code](#tag--wbs) for the Change Event Line Item, assigned by Agave."
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          }
        }
      },
      "NewChangeEvent-2": {
        "type": "object",
        "required": [
          "line_items"
        ],
        "properties": {
          "description": {
            "type": "string",
            "description": "The description of the Change Event.",
            "example": "Replacement of door on first floor"
          },
          "line_items": {
            "description": "The line items for the Change Event.",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/NewChangeEventLineItem-2"
            }
          },
          "name": {
            "type": "string",
            "description": "The name of the Change Event.",
            "example": "Door replacement"
          },
          "number": {
            "type": "string",
            "description": "The number of the Change Event. **Note for Procore:** if this value is not provided, a number will be auto-generated by Procore.",
            "example": "A123"
          },
          "scope": {
            "type": "string",
            "description": "The scope of the Change Event. **Note for Procore:** if this value is not provided, the default value will be returned.",
            "example": "in_scope",
            "enum": [
              "in_scope",
              "out_of_scope",
              "tbd"
            ]
          },
          "status": {
            "type": "string",
            "description": "The status of the Change Event. **Note for Procore:** if this value is not provided, the default value will be returned.",
            "example": "Open",
            "enum": [
              "Closed",
              "Completed",
              "Open",
              "Pending",
              "Void"
            ]
          },
          "type": {
            "type": "string",
            "description": "The type of the Change Event. **Note for Procore:** if this value is not provided, the default value will be returned.",
            "example": "Owner Change",
            "enum": [
              "Allowance",
              "Contingency",
              "Owner Change",
              "TBD",
              "Transfer"
            ]
          }
        }
      },
      "ChangeEventLineItem-2": {
        "allOf": [
          {
            "$ref": "#/components/schemas/ChangeEventLineItem"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "https://developer.api.autodesk.com/cost/v1/containers/.../cost-items"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "id": "ef3d7065-4fdd-4c41-8278-4faab600479b",
                      "containerId": "c20b0493-e827-464a-a8bb-935c8e323f8e",
                      "number": "0001",
                      "splitNumber": {
                        "number": "0001",
                        "prefix": "",
                        "postfix": "",
                        "isFreeModify": false
                      },
                      "budgetStatus": "open",
                      "costStatus": "executed",
                      "scheduleChange": 0,
                      "creatorId": "RFY24QFARTVGWBL9",
                      "changedBy": "KKA2ELZUJYTH8ZX5",
                      "scope": "contingency",
                      "name": "Line Item 1",
                      "description": "",
                      "estimated": null,
                      "scopeOfWork": null,
                      "budgetId": "50ac1d40-9ca6-4f16-b80e-56c2ac9df74f",
                      "contractId": "38d73408-d8eb-4b5b-b662-99a4619adbcd",
                      "proposed": null,
                      "submitted": null,
                      "approved": null,
                      "committed": "50000.0000",
                      "activeBudget": null,
                      "activeCost": "50000.0000",
                      "quantity": 1,
                      "inputQuantity": null,
                      "unit": "ls",
                      "note": null,
                      "type": null,
                      "createdAt": "2024-02-08T02:52:36.352Z",
                      "updatedAt": "2024-02-09T03:31:05.030Z",
                      "statusChangedAt": "2024-02-09T03:31:05.032Z",
                      "isMarkup": false,
                      "locations": null,
                      "locationPaths": null,
                      "integrationState": null,
                      "integrationStateChangedAt": null,
                      "integrationStateChangedBy": null,
                      "proposedExchangeRate": "1.00000000",
                      "committedExchangeRate": "1.00000000",
                      "externalSystem": null,
                      "externalId": null,
                      "externalMessage": null,
                      "lastSyncTime": null,
                      "includeMarkup": false,
                      "isCostInReview": false,
                      "isBudgetInReview": false
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "ChangeEventLineItem-3": {
        "allOf": [
          {
            "$ref": "#/components/schemas/ChangeEventLineItem"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "https://mobile.cmiccloudr12.com/cmicprod/cm-rest-api/rest/1/cmdetail"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "CmdBillAmt": 10000,
                      "CmdBillAmtChangeDate": null,
                      "CmdBillCatCode": "L",
                      "CmdBillCode": "03-000000.L",
                      "CmdBillDrawNum": null,
                      "CmdBillName": "Concrete Foundations and Slab - Labor",
                      "CmdBillPhsCode": "03-000000",
                      "CmdBillRevisionNum": null,
                      "CmdBillTypeCode": null,
                      "CmdBillUnit": null,
                      "CmdBillUnitRate": null,
                      "CmdBudgAmt": 11000,
                      "CmdBudgAmtChangeDate": null,
                      "CmdBudgEstUnitRate": null,
                      "CmdBudgQty": null,
                      "CmdBudgQuotedUnitRate": 9000,
                      "CmdBudgRevAmt": 10000,
                      "CmdBudgRevUnitRate": null,
                      "CmdBudgUnitRate": null,
                      "CmdBudgWmCode": "HR",
                      "CmdCatCode": "L",
                      "CmdChgCode": "EXT0001",
                      "CmdClvParameterValue": "1962435762",
                      "CmdClvValueCode1": null,
                      "CmdClvValueCode2": null,
                      "CmdClvValueCode3": null,
                      "CmdClvValueCode4": null,
                      "CmdClvValueCode5": null,
                      "CmdClvValueCode6": null,
                      "CmdCmmastVuuid": "0FD07258116B2AB7E063B08610ACB8EA",
                      "CmdCompCode": "111",
                      "CmdCycleLineNum": null,
                      "CmdDaysImpact": null,
                      "CmdDisplayOrder": 2,
                      "CmdEffectiveEndDate": null,
                      "CmdEffectiveStartDate": null,
                      "CmdEstBillAmt": null,
                      "CmdEstBudgAmt": null,
                      "CmdGroupCode": null,
                      "CmdInScopeAmt": null,
                      "CmdInvCode": null,
                      "CmdIuCreateDate": "2024-01-25T21:18:05-05:00",
                      "CmdIuUpdateDate": "2024-01-29T19:22:23-05:00",
                      "CmdJobCode": "A123",
                      "CmdMarkupIndicatorFlag": "N",
                      "CmdMastJobCode": "A123",
                      "CmdNegBillAmt": null,
                      "CmdNegBudgAmt": null,
                      "CmdOutOfScopeAmt": null,
                      "CmdOverrideMarkupFlag": "N",
                      "CmdOwnerChgCode": null,
                      "CmdOwnerRefNumber": null,
                      "CmdPciSelectedFlag": "N",
                      "CmdPhsCode": "03-000000",
                      "CmdPhsCodeSeg1": "03-000000",
                      "CmdPhsUnit": null,
                      "CmdPhsWmCode": "NA",
                      "CmdPostingFlag": "UNPOSTED",
                      "CmdPotentialBudgAmt": 11000,
                      "CmdProjAmt": null,
                      "CmdProjCode": "A123",
                      "CmdProjCompCode": "111",
                      "CmdProjUnit": null,
                      "CmdQuotedBillAmt": null,
                      "CmdQuotedBudgAmt": null,
                      "CmdRefName": "Description updated",
                      "CmdScChgCode": "TBD",
                      "CmdScCompCode": "111",
                      "CmdScContCode": "TBD",
                      "CmdScRequestId": null,
                      "CmdScTaskCode": "EXT0001-02",
                      "CmdScVenCode": "TBD",
                      "CmdSeparateBillingRefCode": null,
                      "CmdStatusCode": "APPROVED",
                      "CmdSubcRefNumber": null,
                      "CmdVUuid": "0FD0725811732AB7E063B08610ACB8EA",
                      "CmdWbsvCode1": null,
                      "CmdWbsvCode2": null,
                      "CmdWbsvCode3": null,
                      "CmdWbsvCode4": null,
                      "links": [
                        {
                          "rel": "self",
                          "href": "http://mobile.cmiccloudr12.com:80/cmicprod/cm-rest-api/rest/1/cmdetail/0FD0725811732AB7E063B08610ACB8EA",
                          "name": "cmdetail",
                          "kind": "item"
                        },
                        {
                          "rel": "canonical",
                          "href": "http://mobile.cmiccloudr12.com:80/cmicprod/cm-rest-api/rest/1/cmdetail/0FD0725811732AB7E063B08610ACB8EA",
                          "name": "cmdetail",
                          "kind": "item"
                        }
                      ]
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "ChangeEventLineItem-4": {
        "allOf": [
          {
            "$ref": "#/components/schemas/ChangeEventLineItem"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "https://api.procore.com"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "change_event_line_items": [
                        {
                          "id": 12345,
                          "biller": {
                            "id": 12345,
                            "name": "Test Project-1",
                            "model_name": "Project",
                            "guid": "12345"
                          },
                          "biller_guid": "12345",
                          "contract": {},
                          "cost_code": null,
                          "cost_type": null,
                          "cost_code_biller_name": null,
                          "cost_code_id": null,
                          "cost_code_is_budgeted": null,
                          "deletable": true,
                          "description": null,
                          "editable": true,
                          "estimated_cost_amount": "500.0",
                          "event_id": 12345,
                          "line_item_type": {},
                          "line_item_type_id": null,
                          "links": {
                            "edit": "https://sandbox.procore.com/",
                            "view": "https://sandbox.procore.com/",
                            "parent": "https://sandbox.procore.com/",
                            "rom": "https://sandbox.procore.com/"
                          },
                          "number": "A123",
                          "permission_to_edit": null,
                          "proposed_contract_id": null,
                          "proposed_vendor_id": null,
                          "request_for_quote_id": null,
                          "rfq_amount": null,
                          "rom": "500.0",
                          "sortable_code": null,
                          "status": "Open",
                          "statuses": {},
                          "title": "Door Replacement",
                          "vendor": {},
                          "event_title_and_number": "CE #A123 - Door Replacement",
                          "is_markup_summary": false,
                          "estimated_cost_calculation_strategy": "manual",
                          "estimated_cost_quantity": "50.0",
                          "estimated_cost_unit_cost": null,
                          "uom": "hours",
                          "wbs_code": {
                            "description": "",
                            "flat_code": "",
                            "id": 12345
                          },
                          "latest_revenue_amount": "0.0",
                          "over_under_amount": "-500.0",
                          "revenue_rom_amount": "0.0",
                          "revenue_rom_display": "none",
                          "revenue_rom_calculation_strategy": "manual",
                          "revenue_rom_quantity": "0.0",
                          "revenue_rom_uom": "hours",
                          "revenue_rom_unit_cost": "0.0",
                          "latest_cost_calculation_strategy": "manual",
                          "latest_cost_quantity": "50.0",
                          "latest_cost_uom": "hours",
                          "latest_cost_unit_cost": null,
                          "non_committed_cost": null,
                          "manual_latest_cost_amount": null,
                          "latest_cost_amount": "500.0"
                        }
                      ]
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "NewAttachment": {
        "type": "object",
        "properties": {
          "id": {
            "allOf": [
              {
                "description": "The UUID of the Attachment assigned by Agave."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "content_type": {
            "type": "string",
            "description": "The MIME type of the uploaded Attachment.",
            "example": "application/pdf"
          },
          "contents": {
            "type": "string",
            "format": "binary",
            "description": "The binary content of the Attachment, sent as part of the `multipart/form-data` request."
          },
          "name": {
            "type": "string",
            "description": "The name or title of the Attachment.",
            "example": "Test_Attachment.pdf"
          }
        }
      },
      "ChangeOrderLineItem": {
        "type": "object",
        "properties": {
          "id": {
            "allOf": [
              {
                "description": "The UUID of the Change Order Line Item assigned by Agave."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "source_id": {
            "type": "string",
            "readOnly": true,
            "example": "12345",
            "description": "The ID of the Change Order Line Item in the Source System."
          },
          "amount": {
            "type": "string",
            "description": "The amount of the Change Order Line Item.",
            "example": "100.0"
          },
          "contract": {
            "type": "object",
            "description": "The Contract (e.g. Subcontract, Prime Contract) associated with the Change Order Line Item.",
            "properties": {
              "id": {
                "allOf": [
                  {
                    "description": "The UUID of the Contract (e.g. Subcontract) assigned by Agave."
                  },
                  {
                    "$ref": "#/components/schemas/IdPropertyReadOnly"
                  }
                ]
              },
              "line_item_id": {
                "allOf": [
                  {
                    "description": "The UUID of the Contract Line Item (i.e. Purchase Order Line Item or Subcontract Line Item) assigned by Agave."
                  },
                  {
                    "$ref": "#/components/schemas/IdPropertyReadOnly"
                  }
                ]
              },
              "type": {
                "type": "string",
                "description": "The type of Contract associated with the Change Order.\n\n**Note for Acumatica:** Purchase Order and Subcontract contract references are not currently supported.\n",
                "example": "subcontract",
                "enum": [
                  "prime_contract",
                  "purchase_order",
                  "subcontract"
                ]
              }
            }
          },
          "cost_code_id": {
            "allOf": [
              {
                "description": "The UUID of the [Cost Code](#tag--cost-codes) for the Change Order Line Item, assigned by Agave."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "cost_type_id": {
            "allOf": [
              {
                "description": "The UUID of the [Cost Type](#tag--cost-types) for the Change Order Line Item, assigned by Agave."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "description": {
            "type": "string",
            "description": "The description of the Change Order Line Item.",
            "example": "Cleanup for the first week of October."
          },
          "quantity": {
            "type": "string",
            "description": "The estimated quantity of the unit in the Change Order Line Item.",
            "example": "5.0"
          },
          "status": {
            "type": "string",
            "description": "The status of the Change Order Line Item.\n\n**Note for Sage 300 CRE**: for Owner Change Orders, valid values include \"Approved\", \"Denied\", \"Not Issued\", \"Potential\", \"Submitted\", and \"Verbal\".\n",
            "example": "Approved"
          },
          "type": {
            "type": "string",
            "description": "The type of Change Order Line Item.\n\n**Note for Acumatica**: possible values include \"Revenue\" (Owner Change Order Line Items) and \"Commitment\".\n\n**Note for Foundation**: valid values include \"Cost Change\" and \"Contract Change\".\n\n**Note for Sage 300CRE**: for Owner Change Orders, valid values include \"Contract Change\", \"Estimate Change\", \"Item\", \"Price\", and \"Prod Unit Change\".\n\n**Note for Viewpoint Spectrum**: possible values include \"Billing\" and \"Cost\".\n",
            "example": "Interfaced"
          },
          "unit_cost": {
            "type": "string",
            "description": "The cost of each unit associated with the Change Order Line Item.",
            "example": "20"
          },
          "unit_of_measure": {
            "type": "string",
            "description": "The unit used for measuring the estimated quantity of the Change Order Line Item.",
            "example": "Hours"
          },
          "wbs_id": {
            "allOf": [
              {
                "description": "The UUID of the [WBS Code](#tag--wbs) for the Change Order Line Item, assigned by Agave."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "source_create_time": {
            "allOf": [
              {
                "description": "The datetime the Change Order Line Item was created."
              },
              {
                "$ref": "#/components/schemas/DateTimeProperty"
              }
            ]
          },
          "source_update_time": {
            "allOf": [
              {
                "description": "The datetime the Change Order Line Item was last updated."
              },
              {
                "$ref": "#/components/schemas/DateTimeProperty"
              }
            ]
          }
        }
      },
      "ChangeOrder": {
        "type": "object",
        "properties": {
          "id": {
            "allOf": [
              {
                "description": "The UUID of the Change Order assigned by Agave."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "source_id": {
            "type": "string",
            "readOnly": true,
            "example": "12345",
            "description": "The ID of the Change Order in the Source System."
          },
          "amount": {
            "type": "string",
            "description": "The monetary amount of the Change Order. Note, this field is on the path to deprecation in favor of the other, more specific amount fields.",
            "example": "100.00"
          },
          "approval_amount": {
            "type": "string",
            "description": "The monetary amount of the Change Order that has been approved (e.g. by the Customer).",
            "example": "100.00"
          },
          "approval_date": {
            "allOf": [
              {
                "description": "The date the Change Order was approved."
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ]
          },
          "attachments": {
            "type": "array",
            "description": "The UUID assigned by Agave of the Attachments/Files associated with this Change Order.",
            "items": {
              "$ref": "#/components/schemas/Attachment"
            }
          },
          "contract": {
            "type": "object",
            "description": "The Contract (e.g. Subcontract, Prime Contract) associated with the Change Order.",
            "properties": {
              "id": {
                "allOf": [
                  {
                    "description": "The UUID of the Contract (e.g. Subcontract) assigned by Agave."
                  },
                  {
                    "$ref": "#/components/schemas/IdPropertyReadOnly"
                  }
                ]
              },
              "type": {
                "type": "string",
                "description": "The type of Contract associated with the Change Order.\n\n**Note for Sage Intacct**: only `prime_contract` is supported.\n\n**Note for Viewpoint Spectrum**: only `prime_contract` and `subcontract` are supported.\n",
                "example": "subcontract",
                "enum": [
                  "prime_contract",
                  "purchase_order",
                  "subcontract"
                ]
              }
            }
          },
          "cost_amount": {
            "type": "string",
            "description": "The monetary amount of the Change Order that is cost.",
            "example": "100.00"
          },
          "creator_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Contact](#tag--contacts) that created the Change Order."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "description": {
            "type": "string",
            "description": "The description of the Change Order.",
            "example": "Additional Time & Materials for October"
          },
          "estimate_amount": {
            "type": "string",
            "description": "The estimated monetary amount of the Change Order.",
            "example": "100.00"
          },
          "issue_date": {
            "allOf": [
              {
                "description": "The date the Change Order was issued."
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ]
          },
          "line_items": {
            "type": "array",
            "description": "The UUID assigned by Agave of the Line Items assigned to this Change Order.",
            "items": {
              "$ref": "#/components/schemas/ChangeOrderLineItem"
            }
          },
          "name": {
            "type": "string",
            "description": "The name of the Change Order.",
            "example": "Additional Time & Materials"
          },
          "number": {
            "type": "string",
            "description": "The number of the Change Order.",
            "example": "A123"
          },
          "profit_amount": {
            "type": "string",
            "description": "The monetary amount of the Change Order that is profit. Note, this is equal to revenue amount minus cost amount.",
            "example": "50.00"
          },
          "project_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Project](#tag--projects) associated with the Change Order."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "revenue_amount": {
            "type": "string",
            "description": "The monetary amount of the Change Order that is revenue.",
            "example": "150.00"
          },
          "status": {
            "type": "string",
            "description": "The status of the Change Order.\n\n**Note for Acumatica**: valid values include \"On Hold\", \"Pending Approval\", \"Open\", \"Closed\", \"Rejected\", and \"Canceled\".\n\n**Note for Foundation**: valid values include \"Approved\", \"Estimate\", \"Internal\", \"Pending\", and \"Rejected\".\n\n**Note for Sage 300 CRE**: \n- For Commitment Change Orders, valid values include \"Approved\", \"Denied\", \"Not Issued,\" and \"Pending\".\n- For Owner Change Orders, valid values include \"Approved\" and \"Pending\".\n\n**Note for Sage Intacct**: valid values can be found at this [link](https://www.intacct.com/ia/docs/en_US/help_action/Purchasing/Using_Purchasing/Transactions/about-purchasing-transaction-states.htm?cshid=About_purchasing_transaction_states&_gl=1*18puz8x*_ga*MTc3MjQ1MDM4NC4xNjgzODUxOTM0*_ga_HECRWGTVW8*MTY5NDc1MDA2NS45NC4wLjE2OTQ3NTAwNjcuMC4wLjA.).\n\n**Note for Viewpoint Spectrum**: \n- For Prime Contract Change Orders, valid values from this table can be found in the `CR_CHNG_REQ_STATUS_MC` table, which can be accessed using a [passthrough request](https://docs.agaveapi.com/agave-api/passthrough-requests#foundation-sage-100-contractor-viewpoint-spectrum-and-viewpoint-vista).\n- For Subcontract Change Orders, only \"Executed\", \"Proposed\", and \"Rejected\" are supported.\n\n**Note for Viewpoint Vista**: valid values include \"Pending\", \"Posted\", and \"Non-Interfaced\".\n",
            "example": "Pending"
          },
          "type": {
            "type": "string",
            "description": "The type of the Change Order.\n\n**Note for Acumatica**: See guide on Owner Change Orders [here](https://support.agaveapi.com/how-do-i-query-owner-change-orders-in-acumatica).\n\n**Note for Foundation**: valid values include \"Owner Change Order\", \"Purchase Order Change Order\", and \"Subcontract Change Order.\"\n\n**Note for Sage 300 CRE**: for Owner Change Orders, valid values include \"Contract\" and \"Job Cost\".\n\n**Note for Sage Intacct**: valid values will correspond to the Purchasing Transaction types that map to Purchasing Transactions with a Document Type of \"Order\" and Primary Document status set to \"false\".\n",
            "example": "Potential Change Order"
          },
          "source_create_time": {
            "allOf": [
              {
                "description": "The datetime the Change Order was created."
              },
              {
                "$ref": "#/components/schemas/DateTimeProperty"
              }
            ]
          },
          "source_update_time": {
            "allOf": [
              {
                "description": "The datetime the Change Order was last updated."
              },
              {
                "$ref": "#/components/schemas/DateTimeProperty"
              }
            ]
          }
        }
      },
      "ChangeOrder-2": {
        "allOf": [
          {
            "$ref": "#/components/schemas/ChangeOrder"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "https://{{hostname}}/AcumaticaU100/entity/Default/20.200.001/ChangeOrder"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "id": "992644ca-5186-ee11-8424-0eb71309dd15",
                      "rowNumber": 2,
                      "note": {
                        "value": ""
                      },
                      "ChangeDate": {
                        "value": "2022-01-01T00:00:00+00:00"
                      },
                      "Class": {
                        "value": "DEFAULT"
                      },
                      "CommitmentsChangeTotal": {
                        "value": 0
                      },
                      "CompletionDate": {
                        "value": "2022-01-01:00:00+00:00"
                      },
                      "ContractTimeChangeDays": [],
                      "CostBudgetChangeTotal": {
                        "value": 0
                      },
                      "Customer": {
                        "value": "ABAKERY"
                      },
                      "Description": {
                        "value": "Additional Time & Materials"
                      },
                      "DetailedDescription": {
                        "value": "Additional Time & Materials for October"
                      },
                      "ExternalRefNbr": [],
                      "GrossMargin": {
                        "value": 100
                      },
                      "GrossMarginAmount": {
                        "value": 100
                      },
                      "Hold": {
                        "value": false
                      },
                      "LastModifiedDateTime": {
                        "value": "2022-01-01T00:00:00.0+00:00"
                      },
                      "OriginalCORefNbr": [],
                      "ProjectID": {
                        "value": "A123"
                      },
                      "RefNbr": {
                        "value": "012345"
                      },
                      "RevenueBudgetChangeTotal": {
                        "value": 100
                      },
                      "RevenueChangeNbr": {
                        "value": "0002"
                      },
                      "ReverseStatus": {
                        "value": "None"
                      },
                      "Status": {
                        "value": "Pending"
                      },
                      "custom": [],
                      "_links": {
                        "self": "/AcumaticaU100/entity/Default/20.200.001/ChangeOrder/992644ca-5186-ee11-8424-0eb71309dd15",
                        "files:put": "/AcumaticaU100/entity/Default/20.200.001/files/PX.Objects.PM.ChangeOrderEntry/Document/992644ca-5186-ee11-8424-0eb71309dd15/{filename}"
                      }
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "ChangeOrder-3": {
        "allOf": [
          {
            "$ref": "#/components/schemas/ChangeOrder"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "https://developer.api.autodesk.com/cost/v1/containers/{Container_Id}/change-orders/pco"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "id": "12345",
                      "containerId": "12345",
                      "number": "A123",
                      "name": "Additional Time & Materials",
                      "scope": "in",
                      "type": null,
                      "description": "Additional Time & Materials for October",
                      "note": "",
                      "contactId": null,
                      "recipients": [],
                      "scopeOfWork": "",
                      "templateId": null,
                      "creatorId": "12345",
                      "ownerId": "12345",
                      "changedBy": "12345",
                      "signedBy": null,
                      "workflowType": "Both",
                      "budgetStatus": "draft",
                      "costStatus": "draft",
                      "formDefinitionId": "12345",
                      "markupFormulaId": null,
                      "appliedBy": null,
                      "appliedAt": null,
                      "approvedAt": null,
                      "createdAt": "2022-01-01T00:00:00.00Z",
                      "updatedAt": "2022-01-01T00:00:00.00Z",
                      "statusChangedAt": "2022-01-01T00:00:00.00Z",
                      "documentGeneratedAt": null,
                      "valueUpdatedAt": null,
                      "scheduleChange": 0,
                      "contractId": null,
                      "mainContractId": "12345",
                      "companyId": null,
                      "isMarkupSynced": true,
                      "formDefinitionType": "pco",
                      "sourceId": null,
                      "variableMarkupFormulaItems": [],
                      "integrationState": null,
                      "integrationStateChangedAt": null,
                      "integrationStateChangedBy": null,
                      "estimated": 0,
                      "proposed": 0,
                      "submitted": 0,
                      "approved": 100,
                      "committed": 0,
                      "externalId": null,
                      "externalSystem": null
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "ChangeOrder-4": {
        "allOf": [
          {
            "$ref": "#/components/schemas/ChangeOrder"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The database query for the Source System.",
                    "example": "select * from [job_chg]"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "company_no": 12345,
                      "change_order_no": "     12345",
                      "change_order_seq": 0,
                      "job_no": "A123",
                      "date_booked": "2022-01-01 00:00:00.000",
                      "status": "A",
                      "owner_co_no": null,
                      "tot_income_adj": "1000.00",
                      "tot_cost_adj": "500.00",
                      "tot_quantity_adj": ".0000000",
                      "tot_unit_adj": "4.000",
                      "comments": "Test to see what happens to the budget",
                      "record_status": "A",
                      "row_modified_by": "98053",
                      "row_modified_on": "2022-01-01 00:00:00.000",
                      "row_unique_id": 55,
                      "printable_chg_ord": "N",
                      "printed_flag": "N",
                      "change_order_id": "6",
                      "company_id": "1",
                      "job_id": "A123",
                      "owner_co_id": null,
                      "include_in_percent_complete": "Y",
                      "update_printable_type": "S",
                      "update_printable_flag": "N",
                      "print_detail_flag": "Y",
                      "internal_batch_number": 0,
                      "record_guid": "12345513-3FD4-EE11-83B7-0050560190F2"
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "ChangeOrder-5": {
        "allOf": [
          {
            "$ref": "#/components/schemas/ChangeOrder"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": {
                      "Endpoint": null
                    }
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {}
                  }
                }
              }
            }
          }
        ]
      },
      "ChangeOrder-6": {
        "allOf": [
          {
            "$ref": "#/components/schemas/ChangeOrder"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The source data as we received it from the Source System. \nSee https://docs.agaveapi.com/agave-api/source-data for more info\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "https://api.procore.com/rest/v1.0/potential_change_orders"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "id": 12345,
                      "contract_id": 12345,
                      "created_at": "2022-01-01T00:00:00Z",
                      "description": "Additional Time & Materials for October",
                      "due_date": "2022-01-01",
                      "executed": true,
                      "grand_total": "5000.0",
                      "invoiced_date": "2022-01-01",
                      "number": "A123",
                      "paid_date": "2022-01-01",
                      "position": 1,
                      "private": true,
                      "revision": 0,
                      "schedule_impact_amount": 10,
                      "signed_change_order_received_date": "2022-01-01",
                      "status": "draft",
                      "title": "Additional Time & Materials",
                      "type": "PrimeContractChangeOrder",
                      "updated_at": "2022-01-01T00:00:00Z",
                      "revised_substantial_completion_date": "2022-01-01",
                      "creator": {
                        "id": 12345,
                        "login": "contact@agaveapi.com",
                        "name": "Agave API Admin"
                      },
                      "designated_reviewer": {
                        "id": 12345,
                        "login": "contact@agaveapi.com",
                        "name": "Agave API Admin"
                      },
                      "attachments": [],
                      "line_items": []
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "ChangeOrder-7": {
        "allOf": [
          {
            "$ref": "#/components/schemas/ChangeOrder"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The database query for the Source System.",
                    "example": "select * from [chgord]"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "_idnum": "1234541D-0AB3-EE11-8429-1206A94FF521",
                      "recnum": "26",
                      "chgnum": "621",
                      "chgdte": "2022-01-01T00:00:00.000Z",
                      "jobnum": "186",
                      "phsnum": "0",
                      "dscrpt": "Additional materials",
                      "reason": "",
                      "usrdf1": "",
                      "usrdf2": "",
                      "pchord": "",
                      "subdte": null,
                      "aprdte": "2022-01-01T00:00:00.000Z",
                      "invdte": null,
                      "delreq": 0,
                      "dysdly": 0,
                      "chgtyp": 90,
                      "status": 1,
                      "submto": "",
                      "submby": null,
                      "reqamt": ".00",
                      "appamt": ".00",
                      "cstamt": "50000.14",
                      "ovhamt": ".00",
                      "pftamt": "-50000.14",
                      "reqpft": ".00",
                      "entdte": "2022-01-01T00:00:00.000Z",
                      "usrnme": "any-user",
                      "chgscp": "",
                      "hotlst": 0,
                      "lckedt": 0,
                      "actper": 6,
                      "mrgamt": ".00",
                      "reqmrg": ".00",
                      "estamt": ".00",
                      "estovh": ".00",
                      "upgrde": 0,
                      "ntetxt": "Additional materials for the month of October",
                      "postyr": 2023,
                      "insdte": "2022-01-01T00:00:00.000Z",
                      "insusr": "any-user",
                      "upddte": null,
                      "updusr": null,
                      "typnme": "Internal Request"
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "ChangeOrder-8": {
        "allOf": [
          {
            "$ref": "#/components/schemas/ChangeOrder"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The database query for the Source System.",
                    "example": "select * from [Master_JCM_Record_12]"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "USUB": "12345",
                      "USCO": "1",
                      "UDESC": "Additional Materials",
                      "UPRNTED": "1",
                      "UDATE": "2022-01-01",
                      "UTYPE": "",
                      "USCOPE": "",
                      "URELACT": "1",
                      "USTATUS": "Approved",
                      "UTAXAMT": 0,
                      "UAMT": 1000,
                      "UQTAMT": 0,
                      "UPREPBY": "John Doe",
                      "UVGIVEN": "1",
                      "UVGVNTO": "Michael Perkins",
                      "UVGVNDT": "2022-03-11",
                      "UWGIVEN": "1",
                      "UWGVNTO": "Michael Perkins",
                      "UWGVNDT": "2022-03-19",
                      "UJOB": "",
                      "UEXTRA": "",
                      "UCOR": "",
                      "UCO": "",
                      "UDOCID": 12345,
                      "UOSTAMP": "",
                      "UDSTAMP": "2022-01-01",
                      "UTSTAMP": "00:00:00:00",
                      "URWID": "12345b63-ee3f-e711-8bef-0019b9211094",
                      "URWVR": "1650495380",
                      "R14NTS": "Compaction inspection failed. Decreasing size of base course due to unstable soil.",
                      "R14FLS": null,
                      "STYPE": "Purchase order"
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "ChangeOrder-9": {
        "allOf": [
          {
            "$ref": "#/components/schemas/ChangeOrder"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "https://api.intacct.com/ia/xml/xmlgw.phtml"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "RECORDNO": "12345",
                      "EXECUTEDON": null,
                      "PROJECTCONTRACTID": null,
                      "RESPONSEDUE": null,
                      "CHANGEREQUESTDATE": "01/01/2022",
                      "DESCRIPTION": "Additional Time and Materials",
                      "CHANGEREQUESTID": "COR12345",
                      "PROJECTID": "A123",
                      "WHENCREATED": "01/01/2022 00:00:00",
                      "WHENMODIFIED": "01/01/2022 00:00:00",
                      "CHANGEREQUESTSTATUSNAME": "Approved",
                      "CHANGEREQUESTTYPENAME": "Change Order Request",
                      "CHANGEREQUESTTYPEKEY": "2",
                      "PROJECTKEY": "47",
                      "PROJECTNAME": "West Coast Arena",
                      "LOCATIONKEY": "17",
                      "LOCATIONID": "ACO",
                      "LOCATIONNAME": "AnyCompany",
                      "CUSTOMERKEY": "99",
                      "CUSTOMERID": "A124",
                      "CUSTOMERNAME": "Prestige Developments Ltd.",
                      "CHANGEREQUESTSTATE": "Posted",
                      "CHANGEREQUESTSTATUSKEY": "4",
                      "WFTYPE": "approved change",
                      "COSTEFFECTIVEDATE": null,
                      "PRICEEFFECTIVEDATE": null,
                      "TOTALCOST": "10000",
                      "TOTALPRICE": "2000",
                      "PROJECTCHANGEORDERKEY": null,
                      "PROJECTCHANGEORDERID": null,
                      "SCOPE": null,
                      "INCLUSIONS": null,
                      "EXCLUSIONS": null,
                      "TERMS": null,
                      "SCHEDULEDSTARTDATE": null,
                      "ACTUALSTARTDATE": null,
                      "SCHEDULEDCOMPLETIONDATE": null,
                      "REVISEDCOMPLETIONDATE": null,
                      "SUBSTANTIALCOMPLETIONDATE": null,
                      "ACTUALCOMPLETIONDATE": null,
                      "NOTICETOPROCEED": null,
                      "SCHEDULEIMPACT": null,
                      "INTERNALREFNO": null,
                      "INTERNALINITIATEDBYKEY": null,
                      "INTERNALINITIATEDBY": null,
                      "INTERNALINITIATEDBYNAME": null,
                      "INTERNALVERBALBYKEY": null,
                      "INTERNALVERBALBY": null,
                      "INTERNALVERBALBYNAME": null,
                      "INTERNALISSUEDBYKEY": null,
                      "INTERNALISSUEDBY": null,
                      "INTERNALISSUEDBYNAME": null,
                      "INTERNALISSUEDON": null,
                      "INTERNALAPPROVEDBYKEY": null,
                      "INTERNALAPPROVEDBY": null,
                      "INTERNALAPPROVEDBYNAME": null,
                      "INTERNALAPPROVEDON": null,
                      "INTERNALSIGNEDBYKEY": null,
                      "INTERNALSIGNEDBY": null,
                      "INTERNALSIGNEDBYNAME": null,
                      "INTERNALSIGNEDON": null,
                      "INTERNALSOURCE": null,
                      "INTERNALSOURCEREFNO": null,
                      "EXTERNALREFNO": null,
                      "EXTERNALVERBALBYKEY": null,
                      "EXTERNALVERBALBY": null,
                      "EXTERNALAPPROVEDBYKEY": null,
                      "EXTERNALAPPROVEDBY": null,
                      "EXTERNALAPPROVEDON": null,
                      "EXTERNALSIGNEDBYKEY": null,
                      "EXTERNALSIGNEDBY": null,
                      "EXTERNALSIGNEDON": null,
                      "SUPDOCID": null,
                      "PROJECTCONTRACTKEY": null,
                      "PROJECTCONTRACTNAME": null,
                      "PROJECTCONTRACTLINEKEY": null,
                      "PROJECTCONTRACTLINEID": null,
                      "PROJECTCONTRACTLINENAME": null,
                      "MODIFIEDBY": "7",
                      "CREATEDBY": "7",
                      "PCNINTEGRATIONLEVEL": "project change order",
                      "MEGAENTITYKEY": "16",
                      "MEGAENTITYID": "A123",
                      "MEGAENTITYNAME": "AnyCompany Contractors",
                      "RECORD_URL": "https://www.intacct.com/ia/acct/ur.phtml?.r=2ma9A3PC_NATcxpGNLOq1_JOtAUi62rXZT8FopmMbWk"
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "ChangeOrder-10": {
        "allOf": [
          {
            "$ref": "#/components/schemas/ChangeOrder"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "https://{{server}}.cloud.jobpac.com.au:{{environment}}/VariationListing"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "WorkId": "12345",
                      "CostingFirm": "12345",
                      "Job": "12345",
                      "Variation": "10001",
                      "Status": "I",
                      "Description": "Additional Time & Materials",
                      "ClientReference": "",
                      "SiteReference": "",
                      "ClientReferenceDate": "",
                      "DateEntered": "01/01/22",
                      "Reason": "",
                      "ProceedQuoteFlag": "",
                      "IndicativePrice": "",
                      "TextEntry": "",
                      "DateSubmitted": "",
                      "SubmittedPrice": "",
                      "SubmittedText": "",
                      "SubjectToRiseFall": "",
                      "ApprovalDate": "",
                      "ApprovedPrice": "",
                      "Type": "",
                      "BudgetExpectedCost": "",
                      "BudgetRemaining": "",
                      "ClientsVPO": "",
                      "CurrentClaimPercentage": "",
                      "PreviousClaimPercentage": "",
                      "CurrentClaimed": "",
                      "PreviousClaimed": "",
                      "Package": "",
                      "Finalised": "",
                      "ExpectedReimbursement": "",
                      "UpdateLastMonth": "",
                      "SiteReferenceDate": "",
                      "LastItemNumber": "0",
                      "ExtensionInHours": ".00",
                      "ApprovedInPrincipleDate": "",
                      "ApprovedInPrincipleAmount": "",
                      "RejectedDate": "",
                      "RejectedAmount": "",
                      "WithdrawnDate": "",
                      "WithdrawnAmount": "",
                      "ForecastPrice": "",
                      "ReleatedHeadContractVariation": "0"
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "ChangeOrder-11": {
        "allOf": [
          {
            "$ref": "#/components/schemas/ChangeOrder"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The SQL path on the Source System.",
                    "example": "select * from CR_CHNG_REQ_HDR_MC"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "Company_Code": "12345",
                      "Customer_Code": "12345",
                      "Job_Number": "    A123",
                      "Change_Request_Number": "    A123",
                      "Description": "Additional Time & Materials",
                      "Status": "P",
                      "Proceed_Submitted_Date": null,
                      "Proceed_Received_Date": null,
                      "Rough_Order_Of_Magnitude": ".00",
                      "Quotation_Submitted_Date": "2022-01-01 00:00:00.000",
                      "Quotation_Due_Date": "2022-01-01 00:00:00.000",
                      "Submitted_Amount": "100.00",
                      "Approved_Date": "2022-01-01 00:00:00.000",
                      "Approved_Amount": "100.00",
                      "Requested_Days": ".00",
                      "Approved_Days": ".00",
                      "Change_Order_Number": "",
                      "Cost_Reimbursable_Flag": "Y",
                      "Bill_Update_Flag": "",
                      "Revenue_Amount": "100.00",
                      "Profit_Amount": "100.00",
                      "AP_Update_Flag": "",
                      "Origination_Date": "2022-01-01 00:00:00.000",
                      "Total_Cost": ".00",
                      "Billed_As_CR_Flag": "",
                      "Application_Number": "",
                      "Approved_Date_Year": "2022",
                      "Approved_Date_Period": "02",
                      "Billing_Adjustment": ".00",
                      "Fee_Percent": ".00",
                      "Fee_Amount": ".00",
                      "TransactionId": "12345",
                      "Status_Description": "Proposed"
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "ChangeOrder-12": {
        "allOf": [
          {
            "$ref": "#/components/schemas/ChangeOrder"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The SQL path on the Source System.",
                    "example": "select * from [vPMSubcontractCO] where [vPMSubcontractCO].[Co] = 12345"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "PMCo": "12345",
                      "Project": " A123",
                      "SubCO": "12345",
                      "Description": null,
                      "Date": "2022-01-01 00:00:00",
                      "Status": null,
                      "Reference": null,
                      "SLCo": "12345",
                      "SL": "A123",
                      "Details": null,
                      "ReadyForAcctg": "N",
                      "ApprovedBy": null,
                      "Notes": null,
                      "UniqueAttchID": null,
                      "KeyID": "12345",
                      "DateSent": null,
                      "DateDueBack": null,
                      "DateReceived": null,
                      "DateApproved": null,
                      "DocType": null
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "NewChangeOrderLineItem": {
        "type": "object",
        "required": [
          "description",
          "vendor_id"
        ],
        "properties": {
          "amount": {
            "type": "string",
            "description": "The amount of the Change Order Line Item.",
            "example": "50.0"
          },
          "contract": {
            "type": "object",
            "description": "The Contract (e.g. Subcontract, Prime Contract) associated with the Change Order Line Item.",
            "properties": {
              "id": {
                "allOf": [
                  {
                    "description": "The UUID of the Contract (e.g. Subcontract) assigned by Agave."
                  },
                  {
                    "$ref": "#/components/schemas/IdPropertyWriteOnly"
                  }
                ]
              },
              "type": {
                "type": "string",
                "description": "The type of Contract associated with the Change Order.",
                "example": "subcontract",
                "enum": [
                  "purchase_order",
                  "subcontract"
                ]
              }
            }
          },
          "cost_code_id": {
            "allOf": [
              {
                "description": "The UUID of the [Cost Code](#tag--cost-codes) for the Change Order Line Item, assigned by Agave."
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          },
          "cost_type_id": {
            "allOf": [
              {
                "description": "The UUID of the [Cost Type](#tag--cost-types) for the Change Order Line Item, assigned by Agave."
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          },
          "description": {
            "type": "string",
            "description": "The description of the Change Order Line Item.",
            "example": "Cleanup for the first week of October"
          },
          "quantity": {
            "type": "string",
            "description": "The estimated quantity of the unit in the Change Order Line Item.",
            "example": "5.0"
          },
          "sub_job_id": {
            "allOf": [
              {
                "description": "The UUID of the [Sub Job](#tag--sub-jobs) for the Change Order Line Item, assigned by Agave."
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          },
          "unit_cost": {
            "type": "string",
            "description": "The cost of each unit associated with the Change Order Line Item.",
            "example": "10"
          },
          "unit_of_measure": {
            "type": "string",
            "description": "The unit used for measuring the estimated quantity of the Change Order Line Item.\n\n**Note for Foundation**: a list of possible values for this field can be found with the \"description\" column in the `units` table, which requires a passthrough request. To learn more about passthrough requests, see [link](/agave-api/passthrough-requests#foundation-viewpoint-spectrum-and-viewpoint-vista).\n",
            "example": "EA"
          }
        }
      },
      "NewChangeOrder": {
        "type": "object",
        "required": [
          "contract",
          "issue_date",
          "line_items",
          "name",
          "number"
        ],
        "properties": {
          "contract": {
            "type": "object",
            "description": "The Contract (e.g. Subcontract, Prime Contract) associated with the Change Order.",
            "properties": {
              "id": {
                "allOf": [
                  {
                    "description": "The UUID of the Contract (e.g. Subcontract) assigned by Agave."
                  },
                  {
                    "$ref": "#/components/schemas/IdPropertyWriteOnly"
                  }
                ]
              },
              "type": {
                "type": "string",
                "description": "The type of Contract associated with the Change Order.",
                "example": "subcontract",
                "enum": [
                  "purchase_order",
                  "subcontract"
                ]
              }
            }
          },
          "issue_date": {
            "allOf": [
              {
                "description": "The date the Change Order was issued."
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ]
          },
          "line_items": {
            "type": "array",
            "description": "The UUID assigned by Agave of the Line Items assigned to this Change Order. To learn more about creating and updating Line Items, see [link](/agave-api/line-items).",
            "items": {
              "$ref": "#/components/schemas/NewChangeOrderLineItem"
            }
          },
          "name": {
            "type": "string",
            "description": "The name of the Change Order.",
            "example": "Additional Time & Materials"
          },
          "number": {
            "type": "string",
            "description": "The number of the Change Order.",
            "example": "A123"
          }
        }
      },
      "NewChangeOrderLineItem-2": {
        "type": "object",
        "required": [
          "wbs_id"
        ],
        "properties": {
          "amount": {
            "type": "string",
            "description": "The amount of the Change Order Line Item.",
            "example": "50.0"
          },
          "cost_code_id": {
            "allOf": [
              {
                "description": "The UUID of the [Cost Code](#tag--cost-codes) for the Change Order Line Item, assigned by Agave."
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          },
          "cost_type_id": {
            "allOf": [
              {
                "description": "The UUID of the [Cost Type](#tag--cost-types) for the Change Order Line Item, assigned by Agave."
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          },
          "description": {
            "type": "string",
            "description": "The description of the Change Order Line Item.",
            "example": "Cleanup for the first week of October"
          },
          "quantity": {
            "type": "string",
            "description": "The estimated quantity of the unit in the Change Order Line Item.",
            "example": "5.0"
          },
          "unit_cost": {
            "type": "string",
            "description": "The cost of each unit associated with the Change Order Line Item.",
            "example": "10"
          },
          "unit_of_measure": {
            "type": "string",
            "description": "The unit used for measuring the estimated quantity of the Change Order Line Item.",
            "example": "Hours"
          },
          "wbs_id": {
            "allOf": [
              {
                "description": "The UUID of the [WBS Code](#tag--wbs) for the Change Order Line Item, assigned by Agave."
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          }
        }
      },
      "NewChangeOrder-2": {
        "type": "object",
        "required": [
          "contract"
        ],
        "properties": {
          "contract": {
            "type": "object",
            "description": "The Contract (e.g. Subcontract) associated with the Change Order.",
            "properties": {
              "id": {
                "allOf": [
                  {
                    "description": "The UUID of the Contract (e.g. Subcontract) assigned by Agave."
                  },
                  {
                    "$ref": "#/components/schemas/IdPropertyWriteOnly"
                  }
                ]
              },
              "type": {
                "type": "string",
                "description": "The type of Contract associated with the Change Order.",
                "example": "subcontract",
                "enum": [
                  "prime_contract",
                  "purchase_order",
                  "subcontract"
                ]
              }
            }
          },
          "description": {
            "type": "string",
            "description": "The description of the Change Order.",
            "example": "Additional Time & Materials for October"
          },
          "line_items": {
            "type": "array",
            "description": "The UUID assigned by Agave of the Line Items assigned to this Change Order. To learn more about creating and updating Line Items, see [link](/agave-api/line-items).",
            "items": {
              "$ref": "#/components/schemas/NewChangeOrderLineItem-2"
            }
          },
          "name": {
            "type": "string",
            "description": "The name of the Change Order.",
            "example": "Additional Time & Materials"
          },
          "number": {
            "type": "string",
            "description": "The number of the Change Order. *Note this cannot be changed when updated in Procore.*",
            "example": "A123"
          },
          "status": {
            "type": "string",
            "description": "The status of the Change Order.\n\n**Note for Procore**: the status is always set to \"Draft\" to start.\n",
            "example": "Draft",
            "enum": [
              "Approved",
              "Draft",
              "No Charge",
              "Not Pricing",
              "Not Proceeding",
              "Pending",
              "Pricing",
              "Proceeding",
              "Rejected",
              "Revised",
              "Void"
            ]
          }
        }
      },
      "NewChangeOrderLineItem-3": {
        "required": [
          "amount",
          "cost_code_id",
          "cost_type_id",
          "description",
          "type"
        ],
        "type": "object",
        "properties": {
          "amount": {
            "type": "string",
            "description": "The amount of the Change Order Line Item.\n\n**Note for Sage 100C**: this field is only supported for Line Items that have a `type` of \"Budget and Sub Change\".\n",
            "example": "50.0"
          },
          "approval_amount": {
            "type": "string",
            "description": "The approved amount of the Change Order Line Item.\n\n**Note for Sage 100C**: this field is only supported for Line Items that have a `type` of \"Prime Change\".\n",
            "example": "60.0"
          },
          "contract": {
            "type": "object",
            "description": "The Contract (e.g. Subcontract, Prime Contract) associated with the Change Order Line Item.\n\n**Note for Sage 100C**: this object is only supported for Line Items that have a `type` of \"Budget and Sub Change\".\n",
            "properties": {
              "id": {
                "allOf": [
                  {
                    "description": "The UUID of the Contract (e.g. Subcontract) assigned by Agave."
                  },
                  {
                    "$ref": "#/components/schemas/IdPropertyWriteOnly"
                  }
                ]
              },
              "line_item_id": {
                "allOf": [
                  {
                    "description": "The UUID of the Contract Line Item (i.e. Purchase Order Line Item or Subcontract Line Item) assigned by Agave."
                  },
                  {
                    "$ref": "#/components/schemas/IdPropertyWriteOnly"
                  }
                ]
              },
              "type": {
                "type": "string",
                "description": "The type of Contract associated with the Change Order.",
                "example": "subcontract",
                "enum": [
                  "subcontract"
                ]
              }
            }
          },
          "cost_code_id": {
            "allOf": [
              {
                "description": "The UUID of the [Cost Code](#tag--cost-codes) for the Change Order Line Item, assigned by Agave."
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          },
          "cost_type_id": {
            "allOf": [
              {
                "description": "The UUID of the [Cost Type](#tag--cost-types) for the Change Order Line Item, assigned by Agave."
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          },
          "description": {
            "type": "string",
            "description": "The description of the Change Order Line Item.",
            "example": "Cleanup for the first week of October"
          },
          "estimate_amount": {
            "type": "string",
            "description": "The estimate amount of the Change Order Line Item.\n\n**Note for Sage 100C**: this field is only supported for Line Items that have a `type` of \"Prime Change\".\n",
            "example": "50.0"
          },
          "quantity": {
            "type": "string",
            "description": "The estimated quantity of the unit in the Change Order Line Item.\n\n**Note for Sage 100C**: this field is only supported for Line Items that have a `type` of \"Budget and Sub Change\".\n",
            "example": "5.0"
          },
          "status": {
            "type": "string",
            "description": "The status of the Change Order.\n\n**Note for Sage 100C**: this field is only supported for Line Items that have a `type` of \"Budget and Sub Change\".\n",
            "example": "Open",
            "enum": [
              "Approved",
              "Disputed",
              "Open",
              "Rejected",
              "Review",
              "Void"
            ]
          },
          "sub_job_id": {
            "allOf": [
              {
                "description": "The UUID of the [Sub Job](#tag--sub-jobs) for the Change Order Line Item, assigned by Agave."
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          },
          "type": {
            "type": "string",
            "description": "The type of Change Order Line Item.\n\n**Note for Sage 100 Contractor**: \n  - If the type is set to \"Budget and Sub Change\", values for `contract`, `status`, and `vendor_id` are required.\n  - If the type is set to \"Prime Change\", values for `cost_code_id`, `cost_type_id`, and `description` are required.\n",
            "example": "Budget and Sub Change",
            "enum": [
              "Budget and Sub Change",
              "Prime Change"
            ]
          },
          "vendor_id": {
            "allOf": [
              {
                "description": "The UUID of the [Vendor](#tag--vendors) for the Change Order Line Item, assigned by Agave.\n\n**Note for Sage 100C**: this field is only supported for Line Items that have a `type` of \"Budget and Sub Change\".\n"
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          }
        }
      },
      "NewChangeOrder-3": {
        "required": [
          "issue_date",
          "name",
          "number",
          "status"
        ],
        "type": "object",
        "properties": {
          "approval_date": {
            "allOf": [
              {
                "description": "The date the Change Order was approved."
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ]
          },
          "description": {
            "type": "string",
            "description": "The description of the Change Order.",
            "example": "Additional Time & Materials for October"
          },
          "issue_date": {
            "allOf": [
              {
                "description": "The date the Change Order was issued."
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ]
          },
          "line_items": {
            "type": "array",
            "description": "The UUID assigned by Agave of the Line Items assigned to this Change Order. To learn more about creating and updating Line Items, see [link](/agave-api/line-items).",
            "items": {
              "$ref": "#/components/schemas/NewChangeOrderLineItem-3"
            }
          },
          "name": {
            "type": "string",
            "description": "The name of the Change Order.",
            "example": "Additional Time & Materials"
          },
          "number": {
            "type": "string",
            "description": "The number of the Change Order. *Note this cannot be changed when updated in Procore.*",
            "example": "A123"
          },
          "status": {
            "type": "string",
            "description": "The status of the Change Order.",
            "example": "Open",
            "enum": [
              "Approved",
              "Disputed",
              "Open",
              "Rejected",
              "Review",
              "Void"
            ]
          },
          "type": {
            "type": "string",
            "description": "The type of the Change Order.\n\n**Note for Sage 100 Contractor:** a list of possible values for this field can be found with the \"typnme\" column in the `chgtyp` table, which requires a passthrough request. To learn more about passthrough requests, see [link](/agave-api/passthrough-requests#foundation-viewpoint-spectrum-and-viewpoint-vista).\n",
            "example": "Field Engineering"
          }
        }
      },
      "NewChangeOrderLineItem-4": {
        "type": "object",
        "properties": {
          "amount": {
            "type": "string",
            "description": "The amount of the Change Order Line Item.\n\n**Note for Sage 300 CRE**: if `quantity` is included, this field is prohibited.\n",
            "example": "50.0"
          },
          "contract": {
            "type": "object",
            "description": "The Contract (e.g. Subcontract, Prime Contract) associated with the Change Order Line Item.",
            "properties": {
              "line_item_id": {
                "allOf": [
                  {
                    "description": "The UUID of the Contract Line Item (i.e. Purchase Order Line Item or Subcontract Line Item) assigned by Agave.\n\n**Note for Sage 300CRE**: if this field is omitted, a new Line Item will be created with the associated Purchase Order or Subcontract.\n"
                  },
                  {
                    "$ref": "#/components/schemas/IdPropertyWriteOnly"
                  }
                ]
              }
            }
          },
          "cost_code_id": {
            "allOf": [
              {
                "description": "The UUID of the [Cost Code](#tag--cost-codes) for the Change Order Line Item, assigned by Agave.\n\n**Note for Sage 300CRE**: this field is only available if a `contract.line_item_id` is not specified.\n"
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          },
          "cost_type_id": {
            "allOf": [
              {
                "description": "The UUID of the [Cost Type](#tag--cost-types) for the Change Order Line Item, assigned by Agave.\n\n**Note for Sage 300CRE**: this field is only available if a `contract.line_item_id` is not specified.\n"
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          },
          "description": {
            "type": "string",
            "description": "The description of the Change Order Line Item.",
            "example": "Cleanup for the first week of October."
          },
          "quantity": {
            "type": "string",
            "description": "The estimated quantity of the unit in the Change Order Line Item.\n\n**Note for Sage 300 CRE**: if `amount` is included, this field is prohibited.\n",
            "example": "5.0"
          },
          "sub_job_id": {
            "allOf": [
              {
                "description": "The UUID of the [Sub Job](#tag--sub-jobs) for the Change Order Line Item, assigned by Agave.\n\n**Note for Sage 300CRE**: this field is only available if a `contract.line_item_id` is not specified.\n"
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          },
          "unit_cost": {
            "type": "string",
            "description": "The cost of each unit associated with the Change Order Line Item.\n\n**Note for Sage 300CRE**: this field is only available if a `contract.line_item_id` is not specified.\n",
            "example": "20"
          },
          "unit_of_measure": {
            "type": "string",
            "description": "The unit used for measuring the estimated quantity of the Change Order Line Item.\n\n**Note for Sage 300CRE**: this field is only available if a `contract.line_item_id` is not specified.\n",
            "example": "Hours"
          }
        }
      },
      "NewChangeOrder-4": {
        "required": [
          "contract",
          "number"
        ],
        "type": "object",
        "properties": {
          "approval_date": {
            "allOf": [
              {
                "description": "The date the Change Order was approved."
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ]
          },
          "contract": {
            "type": "object",
            "description": "The Contract (e.g. Subcontract, Purchase Order) associated with the Change Order.",
            "properties": {
              "id": {
                "allOf": [
                  {
                    "description": "The UUID of the Contract (e.g. Subcontract) assigned by Agave."
                  },
                  {
                    "$ref": "#/components/schemas/IdPropertyWriteOnly"
                  }
                ]
              },
              "type": {
                "type": "string",
                "description": "The type of Contract associated with the Change Order.",
                "example": "subcontract",
                "enum": [
                  "purchase_order",
                  "subcontract"
                ]
              }
            }
          },
          "issue_date": {
            "allOf": [
              {
                "description": "The date the Change Order was issued."
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ]
          },
          "line_items": {
            "type": "array",
            "description": "The UUID assigned by Agave of the Line Items assigned to this Change Order. To learn more about creating and updating Line Items, see [link](/agave-api/line-items).\n\n**Note for Sage 300 CRE**: Line Items can only be added using the POST [Change Order Line Items endpoint](#tag/change-orders/operation/newChangeOrderLineItem) or PATCH [Change Orders endpoint](#tag/change-orders/operation/newBulkChangeOrders).\n",
            "items": {
              "$ref": "#/components/schemas/NewChangeOrderLineItem-4"
            }
          },
          "name": {
            "type": "string",
            "description": "The name of the Change Order.",
            "example": "Additional Time & Materials"
          },
          "number": {
            "type": "string",
            "description": "The number of the Change Order. *Note this cannot be changed when updated in Procore.*",
            "example": "A123"
          },
          "status": {
            "type": "string",
            "description": "The status of the Change Order.",
            "example": "Pending",
            "enum": [
              "Approved",
              "Denied",
              "Not Issued",
              "Pending"
            ]
          },
          "type": {
            "type": "string",
            "description": "The type of the Change Order.",
            "example": "Subcontract Change Order"
          }
        }
      },
      "NewChangeOrderLineItem-5": {
        "type": "object",
        "required": [
          "contract",
          "type"
        ],
        "properties": {
          "amount": {
            "type": "string",
            "description": "The amount of the Change Order Line Item.\n\n**Note for Viewpoint Spectrum**: this field can only be set if the Prime Contract at the header-level has a `type` of \"Fixed Price\".\n",
            "example": "50.0"
          },
          "contract": {
            "type": "object",
            "description": "The Contract (e.g. Subcontract) associated with the Change Order Line Item.",
            "properties": {
              "id": {
                "allOf": [
                  {
                    "description": "The UUID of the Contract (e.g. Subcontract) assigned by Agave."
                  },
                  {
                    "$ref": "#/components/schemas/IdPropertyWriteOnly"
                  }
                ]
              },
              "line_item_id": {
                "allOf": [
                  {
                    "description": "The UUID of the Contract Line Item (e.g. Subcontract Line Item) assigned by Agave."
                  },
                  {
                    "$ref": "#/components/schemas/IdPropertyWriteOnly"
                  }
                ]
              },
              "type": {
                "type": "string",
                "description": "The type of Contract associated with the Change Order.\n\n**Note for Viewpoint Spectrum**: if the `type` is set to \"Billing\", only \"prime_contract\" is supported. If the `type` is set to \"Cost\", only \"subcontract\" is supported.\n",
                "example": "subcontract",
                "enum": [
                  "prime_contract",
                  "subcontract"
                ]
              }
            }
          },
          "cost_code_id": {
            "allOf": [
              {
                "description": "The UUID of the [Cost Code](#tag--cost-codes) for the Change Order Line Item, assigned by Agave.\n\n**Note for Viewpoint Spectrum**: this field can only be set if `contract.type` is set to \"subcontract\".\n"
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          },
          "cost_type_id": {
            "allOf": [
              {
                "description": "The UUID of the [Cost Type](#tag--cost-types) for the Change Order Line Item, assigned by Agave.\n\n**Note for Viewpoint Spectrum**: this field can only be set if `contract.type` is set to \"subcontract\".\n"
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          },
          "description": {
            "type": "string",
            "description": "The description of the Change Order Line Item.",
            "example": "Cleanup for the first week of October"
          },
          "quantity": {
            "type": "string",
            "description": "The estimated quantity of the unit in the Change Order Line Item.\n\n**Note for Viewpoint Spectrum**: this field can only be set if the Prime Contract at the header-level has a `type` of \"Unit Price\".\n",
            "example": "5.0"
          },
          "type": {
            "type": "string",
            "description": "The type of the Change Order Line Item.\n\n**Note for Viewpoint Spectrum**: only \"Billing\" and \"Cost\" are supported at the moment for write operations.\n",
            "example": "Cost",
            "enum": [
              "Billing",
              "Cost"
            ]
          },
          "unit_cost": {
            "type": "string",
            "description": "The cost of each unit associated with the Change Order Line Item.\n\n**Note for Viewpoint Spectrum**: this field can only be set if the Prime Contract at the header-level has a `type` of \"Unit Price\".\n",
            "example": "10"
          },
          "vendor_id": {
            "allOf": [
              {
                "description": "The UUID of the [Vendor](#tag--vendors) for the Change Order Line Item, assigned by Agave.\n\n**Note for Viewpoint Spectrum**: this field is relevant if a Subcontract is referenced in the Change Order Line Item.\n"
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          }
        }
      },
      "NewChangeOrder-5": {
        "type": "object",
        "required": [
          "contract",
          "name",
          "number"
        ],
        "properties": {
          "approval_date": {
            "allOf": [
              {
                "description": "The date the Change Order was approved.\n\n**Note for Viewpoint Spectrum**: this field is required if the `status` is set to \"Approved\".\n"
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ]
          },
          "contract": {
            "type": "object",
            "description": "The Contract (e.g. Prime Contract) associated with the Change Order.\n\n**Note for Viewpoint Spectrum**: only Prime Contracts are supported at the header-level.\n",
            "properties": {
              "id": {
                "allOf": [
                  {
                    "description": "The UUID of the Contract (e.g. Prime Contract) assigned by Agave."
                  },
                  {
                    "$ref": "#/components/schemas/IdPropertyWriteOnly"
                  }
                ]
              }
            }
          },
          "description": {
            "type": "string",
            "description": "The description of the Change Order.",
            "example": "Additional Time & Materials for October"
          },
          "issue_date": {
            "allOf": [
              {
                "description": "The date the Change Order was issued."
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ]
          },
          "line_items": {
            "type": "array",
            "description": "The UUID assigned by Agave of the Line Items assigned to this Change Order. To learn more about creating and updating Line Items, see [link](/agave-api/line-items).",
            "items": {
              "$ref": "#/components/schemas/NewChangeOrderLineItem-5"
            }
          },
          "name": {
            "type": "string",
            "description": "The name of the Change Order.",
            "example": "Additional Time & Materials"
          },
          "number": {
            "type": "string",
            "description": "The number of the Change Order. *Note this cannot be changed when updated in Procore.*",
            "example": "A123"
          },
          "status": {
            "type": "string",
            "description": "The status of the Change Order.\n\n**Note for Viewpoint Spectrum**: a list of possible values for this field can be found with the \"Status_Description\" column in the `CR_CHNG_REQ_STATUS_MC` table, which requires a passthrough request. To learn more about passthrough requests, see [link](/agave-api/passthrough-requests#foundation-viewpoint-spectrum-and-viewpoint-vista). The value for `CR_Type` in this table has implications for the type of Change Order, where:\n  - `CR_Type` = 1 means that the Change Order will recognize revenue and cost revisions and allow for billing. A user would select this option when the Change Order has costs that will be billed to the customer.\n  - `CR_Type` = 2 means that the Change Order will recognize revenue and cost revisions, but NOT allow for billing. A user would select this option when a Change Order has costs that cannot be immediately billed to the customer.\n  - `CR_Type` = 3 means that the Change Order will recognize cost revisions, but neither allow for billing nor recognize revenue. A user would select this option when a Change Order may have cost implications, but you are not certain that they will be reimbursed for those changes. This status allows you to estimate the cost and enter a corresponding revenue amount, but only have the estimated cost update to Job Cost.\n  - `CR_Type` = 4 means that the Change Order will not recognize revenue, cost, or billing. A user would select this option when a Change Order does not have cost implications and there is no billing.\n  - `CR_Type` = 5 means that the Change Order will reverse revenue and cost recognition (e.g. void the Change Order). A user would select this option when you want to reverse a Change Order's revenue and costs.\n",
            "example": "Executed"
          }
        }
      },
      "NewChangeOrderLineItem-6": {
        "required": [
          "contract"
        ],
        "type": "object",
        "properties": {
          "amount": {
            "type": "string",
            "description": "The amount of the Change Order Line Item.\n\n**Note for Viewpoint Vista**: For Prime Contract Change Orders, this field can only be used for Line Items that have a `type` of \"Estimate Detail\".\n",
            "example": "50.0"
          },
          "approval_amount": {
            "type": "string",
            "description": "The approval amount of the Change Order Line Item.\n\n**Note for Viewpoint Vista**: for Prime Contract Change Orders, this field can only be used for Line Items that have a `type` of \"Prime Change\".\n",
            "example": "70.0"
          },
          "contract": {
            "type": "object",
            "description": "The Contract (e.g. Subcontract, Prime Contract) associated with the Change Order Line Item.",
            "properties": {
              "id": {
                "allOf": [
                  {
                    "description": "The UUID of the Contract (e.g. Subcontract) assigned by Agave."
                  },
                  {
                    "$ref": "#/components/schemas/IdPropertyWriteOnly"
                  }
                ]
              },
              "amount": {
                "type": "string",
                "description": "The amount of the Change Order Line Item.\n\n**Note for Viewpoint Vista**: this field is required for Purchase Order Change Orders when `unit_of_measure` is set to \"LS\" (Lump Sum).      \n"
              },
              "line_item_id": {
                "allOf": [
                  {
                    "description": "The UUID of the Contract Line Item (i.e. Purchase Order Line Item or Subcontract Line Item) assigned by Agave.\n\n**Note for Viewpoint Vista**: if this field is included, the values for Cost Code, Cost Type, Unit Cost, and Unit of Measure will default to the same values as the Line Item.\n"
                  },
                  {
                    "$ref": "#/components/schemas/IdPropertyWriteOnly"
                  }
                ]
              },
              "type": {
                "type": "string",
                "description": "The type of Contract associated with the Change Order.\n\n**Note for Viewpoint Vista**: the value \"prime_contract\" can only be used when the `type` is set to \"Prime Change\". The value \"subcontract\" can only be used when the `type` is set to \"Estimate Detail\".\n",
                "example": "subcontract",
                "enum": [
                  "prime_contract",
                  "purchase_order",
                  "subcontract"
                ]
              }
            }
          },
          "cost_code_id": {
            "allOf": [
              {
                "description": "The UUID of the [Cost Code](#tag--cost-codes) for the Change Order Line Item, assigned by Agave.\n\n**Note for Viewpoint Vista**: this field is required when `contract.line_item_id` is not present. For Prime Contract Change Orders, this field can only be used for Line Items that have a `type` of \"Estimate Detail\".\n"
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          },
          "cost_type_id": {
            "allOf": [
              {
                "description": "The UUID of the [Cost Type](#tag--cost-types) for the Change Order Line Item, assigned by Agave.\n\n**Note for Viewpoint Vista**: this field is required when `contract.line_item_id` is not present. For Prime Contract Change Orders, this field can only be used for Line Items that have a `type` of \"Estimate Detail\".\n"
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          },
          "description": {
            "type": "string",
            "description": "The description of the Change Order Line Item.",
            "example": "Cleanup for the first week of October"
          },
          "quantity": {
            "type": "string",
            "description": "The estimated quantity of the unit in the Change Order Line Item.\n\n**Notes for Viewpoint Vista**: \n  - This field is required when `contract.line_item_id` is not present.\n  - This field or `unit_cost` is required for Purchase Order Change Orders when `unit_of_measure` is not set to \"LS\" (Lump Sum)\n",
            "example": "5.0"
          },
          "type": {
            "type": "string",
            "description": "The type of the Change Order Line Item.\n\n**Note for Viewpoint Vista**: this field is required and only usable for Change Orders that reference a Prime Contract at the header-level. \n",
            "example": "Prime Change",
            "enum": [
              "Estimate Detail",
              "Prime Change"
            ]
          },
          "unit_cost": {
            "type": "string",
            "description": "The cost of each unit associated with the Change Order Line Item.\n\n**Note for Viewpoint Vista**: this field is required when `contract.line_item_id` is not present.\n",
            "example": "10"
          },
          "unit_of_measure": {
            "type": "string",
            "description": "The unit used for measuring the estimated quantity of the Change Order Line Item.\n\n**Note for Viewpoint Vista**: \n  - This field is required when `contract.line_item_id` is not present.\n  - The fields `quantity` or `unit_cost` are required for Purchase Order Change Orders when `unit_of_measure` is not set to \"LS\" (Lump Sum). \n  - The field `amount` is required for Purchase Order Change Orders when `unit_of_measure` is set to \"LS\" (Lump Sum).\n",
            "example": "Hours"
          },
          "source_data": {
            "type": "object",
            "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
            "properties": {
              "ACOItem": {
                "type": "string",
                "description": "The Change Order Line Item number.\n\n**Note for Viewpoint Vista**: this field is only relevant for determining the line item number of a Prime Contract Change Order Line Item with a `type` of \"Prime Change\".\n",
                "example": "1"
              }
            }
          }
        }
      },
      "NewChangeOrder-6": {
        "required": [
          "contract",
          "name",
          "status"
        ],
        "type": "object",
        "properties": {
          "approval_date": {
            "allOf": [
              {
                "description": "The date the Change Order was approved."
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ]
          },
          "contract": {
            "type": "object",
            "description": "The Contract (e.g. Subcontract, Prime Contract) associated with the Change Order.",
            "properties": {
              "id": {
                "allOf": [
                  {
                    "description": "The UUID of the Contract (e.g. Subcontract) assigned by Agave."
                  },
                  {
                    "$ref": "#/components/schemas/IdPropertyWriteOnly"
                  }
                ]
              },
              "type": {
                "type": "string",
                "description": "The type of Contract associated with the Change Order.\n\n**Note for Viewpoint Vista**: if the `type` is set to \"subcontract\", the request will create a Change Order in the PM Subcontract Change Orders form. If set to \"prime_contract\", the request will create a Change Order in the PM Approved Change Orders form.\n",
                "example": "subcontract",
                "enum": [
                  "prime_contract",
                  "purchase_order",
                  "subcontract"
                ]
              }
            }
          },
          "description": {
            "type": "string",
            "description": "The description of the Change Order.",
            "example": "Additional Time & Materials for October"
          },
          "due_date": {
            "allOf": [
              {
                "description": "The date the Change Order is due."
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ]
          },
          "issue_date": {
            "allOf": [
              {
                "description": "The date the Change Order was issued.\n\n**Note for Viewpoint Vista**: this field is required for Purchase Order Change Orders.\n"
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ]
          },
          "line_items": {
            "type": "array",
            "description": "The UUID assigned by Agave of the Line Items assigned to this Change Order. To learn more about creating and updating Line Items, see [link](/agave-api/line-items).\n\n**Note for Viewpoint Vista**: this field is required for Purchase Order Change Orders.\n",
            "items": {
              "$ref": "#/components/schemas/NewChangeOrderLineItem-6"
            }
          },
          "name": {
            "type": "string",
            "description": "The name of the Change Order.\n\n**Note for Viewpoint Vista**: this field is required for Purchase Order Change Orders.\n",
            "example": "Additional Time & Materials"
          },
          "number": {
            "type": "string",
            "description": "The number of the Change Order.",
            "example": "A123"
          },
          "status": {
            "type": "string",
            "description": "The status of the Change Order.\n\n**Note for Viewpoint Vista**: \n  - If the value for `contract.type` is \"prime_contract\", the status of the Change Order must be one of \"Approved\" or \"Posted\".\n  - If the value for `contract.type` is \"subcontract\", the status of the Change Order must be \"Pending\".\n  - If the value for `contract.type` is \"subcontract\", the status of the Change Order must be one of \"PM\" or \"Posted\".        \n",
            "example": "Approved"
          },
          "type": {
            "type": "string",
            "description": "The type of Change Order.\n\n**Note for Viewpoint Vista:** this field is only valid for Change Orders created in the Project Management module. A list of possible values for this field can be found with the \"description\" column in the `PMDT` table, which requires a passthrough request. To learn more about passthrough requests, see [link](/agave-api/passthrough-requests#foundation-viewpoint-spectrum-and-viewpoint-vista).\n",
            "example": "Owner Change Order"
          },
          "source_data": {
            "type": "object",
            "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
            "properties": {
              "IntExt": {
                "type": "string",
                "description": "A flag denoting whether the Change Order is \"Internal\" or \"External\". \n\n**Note for Viewpoint Vista**: this field is only available for Prime Contract Change Orders.\n",
                "example": "E",
                "enum": [
                  "E",
                  "I"
                ]
              }
            }
          }
        }
      },
      "ChangeOrderLineItem-2": {
        "allOf": [
          {
            "$ref": "#/components/schemas/ChangeOrderLineItem"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The database query for the Source System.",
                    "example": "select * from [job_chg_cost_codes]"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "company_no": 12345,
                      "change_order_no": "     12345",
                      "change_order_seq": 0,
                      "job_no": "A123",
                      "phase_no": "      1000",
                      "cost_code_no": "      1000",
                      "cost_class_no": "    1",
                      "cost_adj": "500.00",
                      "unit_adj": "4.000",
                      "quantity_adj": ".0000",
                      "income_adj": ".00",
                      "record_status": "A",
                      "row_modified_by": "98053",
                      "row_modified_on": "2022-01-01 00:00:00.000",
                      "row_unique_id": 17,
                      "change_order_id": "6",
                      "company_id": "1",
                      "cost_class_id": "1",
                      "cost_code_id": "1000",
                      "job_id": "A123",
                      "phase_id": "1000",
                      "vendor_no": "       101",
                      "line_no": 1,
                      "line_id": "1",
                      "vendor_id": "101",
                      "record_guid": "12345513-3FD4-EE11-83B7-0050560190F2"
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "ChangeOrderLineItem-3": {
        "allOf": [
          {
            "$ref": "#/components/schemas/ChangeOrderLineItem"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": {
                      "Endpoint": null
                    }
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {}
                  }
                }
              }
            }
          }
        ]
      },
      "BulkNewChangeOrder": {
        "required": [
          "creates"
        ],
        "type": "object",
        "properties": {
          "creates": {
            "type": "array",
            "description": "An array of objects including New Change Orders and Line Items.",
            "items": {
              "$ref": "#/components/schemas/NewChangeOrder-4"
            }
          }
        }
      },
      "ChangeOrderLineItem-4": {
        "allOf": [
          {
            "$ref": "#/components/schemas/ChangeOrderLineItem"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "https://{{hostname}}/AcumaticaU100/entity/Default/20.200.001/ChangeOrder/{{change_order_id}}?%24expand=ApprovalDetails%2CCommitments%2CCostBudget%2CRevenueBudget"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "ProjectID": {
                        "value": "A123"
                      },
                      "id": "30cf5d71-5186-ee11-8424-0eb71309dd15",
                      "rowNumber": 1,
                      "note": {
                        "value": ""
                      },
                      "AccountGroup": {
                        "value": "REVENUE"
                      },
                      "ActualAmount": {
                        "value": 100
                      },
                      "ActualQty": {
                        "value": 1
                      },
                      "Amount": {
                        "value": 100
                      },
                      "Completed": {
                        "value": 0
                      },
                      "CostCode": {
                        "value": "00000"
                      },
                      "Description": {
                        "value": "Cleanup for the first week of October."
                      },
                      "DraftInvoicesAmount": {
                        "value": 100
                      },
                      "InventoryID": {
                        "value": "<N/A>"
                      },
                      "OriginalBudgetedAmount": {
                        "value": 100
                      },
                      "OriginalBudgetedQty": {
                        "value": 0
                      },
                      "OtherDraftCOAmount": {
                        "value": 0
                      },
                      "PreviouslyApprovedCOAmount": {
                        "value": 0
                      },
                      "PreviouslyApprovedCOQty": {
                        "value": 0
                      },
                      "ProjectTaskID": {
                        "value": "CONCRETE"
                      },
                      "Qty": {
                        "value": 0
                      },
                      "RevisedBudgetedAmount": {
                        "value": 100
                      },
                      "RevisedBudgetedQty": {
                        "value": 0
                      },
                      "TotalPotentiallyRevisedAmount": {
                        "value": 100
                      },
                      "UnitRate": {
                        "value": 100
                      },
                      "UOM": {
                        "value": "EA"
                      },
                      "custom": [],
                      "_links": {
                        "files:put": "/AcumaticaU100/entity/Default/20.200.001/files/PX.Objects.PM.ChangeOrderEntry/RevenueBudget/30cf5d71-5186-ee11-8424-0eb71309dd15/{filename}"
                      }
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "ChangeOrderLineItem-5": {
        "allOf": [
          {
            "$ref": "#/components/schemas/ChangeOrderLineItem"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The source data as we received it from the Source System. \nSee https://docs.agaveapi.com/agave-api/source-data for more info\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "https://source-system.com/api/v3/resource"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "id": "12345",
                      "containerId": "12345",
                      "number": "0001",
                      "budgetStatus": "draft",
                      "costStatus": "draft",
                      "scheduleChange": 0,
                      "creatorId": "12345",
                      "changedBy": "12345",
                      "scope": "out",
                      "name": "Cleanup",
                      "description": "Cleanup for the first week of October.",
                      "estimated": "100.0000",
                      "scopeOfWork": null,
                      "budgetId": null,
                      "contractId": null,
                      "proposed": "100.0000",
                      "submitted": "100.0000",
                      "approved": "100.0000",
                      "committed": "100.0000",
                      "activeBudget": "0.0000",
                      "activeCost": "0.0000",
                      "quantity": 5,
                      "unit": "Hours",
                      "note": null,
                      "type": null,
                      "createdAt": "2022-01-01T00:00:00.000Z",
                      "updatedAt": "2022-01-01T00:00:00.000Z",
                      "statusChangedAt": "2022-01-01T00:00:00.000Z",
                      "isMarkup": false,
                      "locations": null,
                      "locationPaths": null,
                      "integrationState": null,
                      "integrationStateChangedAt": null,
                      "integrationStateChangedBy": null,
                      "includeMarkup": false,
                      "externalId": null,
                      "externalSystem": null,
                      "isCostInReview": false,
                      "isBudgetInReview": false,
                      "changeOrders": []
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "ChangeOrderLineItem-6": {
        "allOf": [
          {
            "$ref": "#/components/schemas/ChangeOrderLineItem"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The source data as we received it from the Source System. \nSee https://docs.agaveapi.com/agave-api/source-data for more info\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "https://source-system.com/api/v3/resource"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "id": "12345",
                      "containerId": "12345",
                      "number": "0001",
                      "budgetStatus": "draft",
                      "costStatus": "draft",
                      "scheduleChange": 0,
                      "creatorId": "12345",
                      "changedBy": "12345",
                      "scope": "out",
                      "name": "Cleanup",
                      "description": "Cleanup for the first week of October.",
                      "estimated": "1000.0000",
                      "scopeOfWork": null,
                      "budgetId": null,
                      "contractId": null,
                      "proposed": "100.0000",
                      "submitted": "100.0000",
                      "approved": "100.0000",
                      "committed": "100.0000",
                      "activeBudget": "0.0000",
                      "activeCost": "0.0000",
                      "quantity": 5,
                      "unit": "Hours",
                      "note": null,
                      "type": null,
                      "createdAt": "2022-01-01T00:00:00.000Z",
                      "updatedAt": "2022-01-01T00:00:00.000Z",
                      "statusChangedAt": "2022-01-01T00:00:00.000Z",
                      "isMarkup": false,
                      "locations": null,
                      "locationPaths": null,
                      "integrationState": null,
                      "integrationStateChangedAt": null,
                      "integrationStateChangedBy": null,
                      "includeMarkup": false,
                      "externalId": null,
                      "externalSystem": null,
                      "isCostInReview": false,
                      "isBudgetInReview": false,
                      "changeOrders": []
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "ChangeOrderLineItem-7": {
        "allOf": [
          {
            "$ref": "#/components/schemas/ChangeOrderLineItem"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The source data as we received it from the Source System. \nSee https://docs.agaveapi.com/agave-api/source-data for more info\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "https://source-system.com/api/v3/resource"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "id": 12345,
                      "created_at": "2022-01-01T00:00:00Z",
                      "updated_at": "2022-01-01T00:00:00Z",
                      "amount": "50.0",
                      "company": {
                        "id": 12345,
                        "name": "Agave Tech Inc."
                      },
                      "wbs_code": {
                        "description": "Labor",
                        "flat_code": "L",
                        "id": 12345
                      },
                      "description": "Cleanup for the first week of October",
                      "extended_type": "manual",
                      "holder": {
                        "id": 12345,
                        "holder_type": "PotentialChangeOrder"
                      },
                      "line_item_type": {
                        "id": 12345,
                        "name": "Labor",
                        "code": "L",
                        "base_type": "labor",
                        "origin_id": null
                      },
                      "origin_id": null,
                      "position": 15,
                      "project": {
                        "id": 12345,
                        "name": "Test Project-1"
                      },
                      "quantity": "5.0",
                      "total_amount": "50.0",
                      "extended_amount": "50.0",
                      "unit_cost": "10.0",
                      "uom": "Hours"
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "ChangeOrderLineItem-8": {
        "allOf": [
          {
            "$ref": "#/components/schemas/ChangeOrder"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The database query for the Source System.",
                    "example": "select * from [sbcgln]"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "_idnum": "9123541D-0AB3-EE11-8429-1206A94FF521",
                      "_idref": "1234541D-0AB3-EE11-8429-1206A94FF521",
                      "recnum": "12345",
                      "linnum": 1,
                      "dscrpt": "Additional materials",
                      "chghrs": ".00",
                      "chgunt": "100.1234",
                      "bdgprc": "50000.14",
                      "vndnum": "2",
                      "vndctc": "1",
                      "ctclin": 1,
                      "chgnum": "621",
                      "chgsts": 1,
                      "chgdte": null,
                      "cstcde": "15700.000",
                      "csttyp": 4,
                      "usrdf1": "",
                      "ntetxt": "",
                      "linref": null,
                      "insdte": "2022-01-01T00:00:00.000Z",
                      "insusr": "any-user",
                      "upddte": null,
                      "updusr": null
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "ChangeOrderLineItem-9": {
        "allOf": [
          {
            "$ref": "#/components/schemas/ChangeOrderLineItem"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The database query for the Source System.",
                    "example": "select * from [Master_JCM_Record_12]"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "UISUB": "12345",
                      "UISCO": "1",
                      "UITEM": 2,
                      "UIJOB": "03-001",
                      "UIEXTRA": "",
                      "UIPHASE": "2-220",
                      "UICAT": "M",
                      "UIUNITS": 575,
                      "UITXAMT": 0,
                      "UIAMT": 2239.05,
                      "UICOR": "",
                      "UIQTAMT": 0,
                      "UIOSTMP": "",
                      "UIDSTMP": "2022-04-20",
                      "UITSTMP": "15:56:20",
                      "UIRWID": "1234563-ee3f-e711-8bef-0019b9211094",
                      "UIRWVR": "1650495380",
                      "STYPE": "Purchase order"
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "ChangeOrderLineItem-10": {
        "allOf": [
          {
            "$ref": "#/components/schemas/ChangeOrderLineItem"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "https://api.intacct.com/ia/xml/xmlgw.phtml"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "RECORDNO": "12345",
                      "EXECUTEDON": null,
                      "PROJECTCONTRACTID": null,
                      "RESPONSEDUE": null,
                      "CHANGEREQUESTDATE": "01/01/2022",
                      "DESCRIPTION": "Additional Time and Materials",
                      "CHANGEREQUESTID": "COR12345",
                      "PROJECTID": "A123",
                      "WHENCREATED": "01/01/2022 00:00:00",
                      "WHENMODIFIED": "01/01/2022 00:00:00",
                      "CHANGEREQUESTSTATUSNAME": "Approved",
                      "CHANGEREQUESTTYPENAME": "Change Order Request",
                      "CHANGEREQUESTTYPEKEY": "2",
                      "PROJECTKEY": "47",
                      "PROJECTNAME": "West Coast Arena",
                      "LOCATIONKEY": "17",
                      "LOCATIONID": "ACO",
                      "LOCATIONNAME": "AnyCompany",
                      "CUSTOMERKEY": "99",
                      "CUSTOMERID": "A124",
                      "CUSTOMERNAME": "Prestige Developments Ltd.",
                      "CHANGEREQUESTSTATE": "Posted",
                      "CHANGEREQUESTSTATUSKEY": "4",
                      "WFTYPE": "approved change",
                      "COSTEFFECTIVEDATE": null,
                      "PRICEEFFECTIVEDATE": null,
                      "TOTALCOST": "10000",
                      "TOTALPRICE": "2000",
                      "PROJECTCHANGEORDERKEY": null,
                      "PROJECTCHANGEORDERID": null,
                      "SCOPE": null,
                      "INCLUSIONS": null,
                      "EXCLUSIONS": null,
                      "TERMS": null,
                      "SCHEDULEDSTARTDATE": null,
                      "ACTUALSTARTDATE": null,
                      "SCHEDULEDCOMPLETIONDATE": null,
                      "REVISEDCOMPLETIONDATE": null,
                      "SUBSTANTIALCOMPLETIONDATE": null,
                      "ACTUALCOMPLETIONDATE": null,
                      "NOTICETOPROCEED": null,
                      "SCHEDULEIMPACT": null,
                      "INTERNALREFNO": null,
                      "INTERNALINITIATEDBYKEY": null,
                      "INTERNALINITIATEDBY": null,
                      "INTERNALINITIATEDBYNAME": null,
                      "INTERNALVERBALBYKEY": null,
                      "INTERNALVERBALBY": null,
                      "INTERNALVERBALBYNAME": null,
                      "INTERNALISSUEDBYKEY": null,
                      "INTERNALISSUEDBY": null,
                      "INTERNALISSUEDBYNAME": null,
                      "INTERNALISSUEDON": null,
                      "INTERNALAPPROVEDBYKEY": null,
                      "INTERNALAPPROVEDBY": null,
                      "INTERNALAPPROVEDBYNAME": null,
                      "INTERNALAPPROVEDON": null,
                      "INTERNALSIGNEDBYKEY": null,
                      "INTERNALSIGNEDBY": null,
                      "INTERNALSIGNEDBYNAME": null,
                      "INTERNALSIGNEDON": null,
                      "INTERNALSOURCE": null,
                      "INTERNALSOURCEREFNO": null,
                      "EXTERNALREFNO": null,
                      "EXTERNALVERBALBYKEY": null,
                      "EXTERNALVERBALBY": null,
                      "EXTERNALAPPROVEDBYKEY": null,
                      "EXTERNALAPPROVEDBY": null,
                      "EXTERNALAPPROVEDON": null,
                      "EXTERNALSIGNEDBYKEY": null,
                      "EXTERNALSIGNEDBY": null,
                      "EXTERNALSIGNEDON": null,
                      "SUPDOCID": null,
                      "PROJECTCONTRACTKEY": null,
                      "PROJECTCONTRACTNAME": null,
                      "PROJECTCONTRACTLINEKEY": null,
                      "PROJECTCONTRACTLINEID": null,
                      "PROJECTCONTRACTLINENAME": null,
                      "MODIFIEDBY": "7",
                      "CREATEDBY": "7",
                      "PCNINTEGRATIONLEVEL": "project change order",
                      "MEGAENTITYKEY": "16",
                      "MEGAENTITYID": "A123",
                      "MEGAENTITYNAME": "AnyCompany Contractors",
                      "RECORD_URL": "https://www.intacct.com/ia/acct/ur.phtml?.r=2ma9A3PC_NATcxpGNLOq1_JOtAUi62rXZT8FopmMbWk"
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "ChangeOrderLineItem-11": {
        "allOf": [
          {
            "$ref": "#/components/schemas/ChangeOrder"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "https://{{server}}.cloud.jobpac.com.au:{{environment}}/VariationItemListing"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "WorkId": "12345",
                      "CostingFirm": "12345",
                      "Job": "A123",
                      "Variation": "12345",
                      "Order": "12345",
                      "OrderItem": "12345",
                      "CostCode": "08.79.00",
                      "CostType": "L",
                      "VariationItemNumber": "12345",
                      "Quantity": "5",
                      "VariationItemStatus": "N",
                      "UnitOfMeasure": "HOURS",
                      "ForeignCurrencyRate": "10",
                      "Rate": "",
                      "ForeignCurrencyAllowanceValue": "",
                      "AllowanceValue": "50.0",
                      "EstimatedQuantity": "",
                      "ForeignCurrencyEstimatedRate": "",
                      "EstimatedRate": "",
                      "ForeignCurrencyEstimatedPrice": "",
                      "EstimatedPrice": "",
                      "ForeignCurrencyCommittedBudget": "",
                      "CommittedBudget": "",
                      "DateNotified": "31/12/22",
                      "DateReceived": "",
                      "DateApproved": "",
                      "SiteReference": "",
                      "Package": "",
                      "ShortDescription": "Cleanup",
                      "CurrentHeadcontractValuationQuantity": "",
                      "CurrentHeadcontractValuationAmount": "",
                      "CurrentValuationPercentage": "",
                      "PreviousHeadcontractValuationQuantity": "",
                      "PreviousHeadcontractValuationAmount": "",
                      "PreviousHeadcontractValuationPercentage": "",
                      "PMWFlag": "",
                      "SubjectToRiseAndFall": "",
                      "FormalAssessmentDone": "",
                      "OrderFirm": "12345",
                      "Creditor": "12345",
                      "ProceedUnapprovedSubcontract": "",
                      "SubcontractWorkDescription": "",
                      "SubcontractReference": "",
                      "PrintOnSCStatusAdvice": "",
                      "SubcontractAdjustmentAdviceNumber": "0",
                      "SubcontractQuantityPriceReceived": "",
                      "ForeignCurrencySubcontractPriceReceivedRate": ".00000",
                      "SubcontractPriceReceivedRate": "",
                      "ForeignCurrencySubcontractPriceReceived": "",
                      "SubcontractPriceReceived": "",
                      "ApprovedSubcontractQuantity": "",
                      "ForeignCurrencySubcontractPriceApprovedRate": ".00000",
                      "SubcontractPriceApprovedRate": "",
                      "ForeignCurrencySubcontractPriceApproved": "",
                      "SubcontractPriceApproved": "",
                      "CurrentSubcontractValuationQuantity": "",
                      "ForeignCurrencySubcontractCurrentValuationAmount": "",
                      "SubcontractCurrentValuationAmount": "",
                      "PreviousSubcontractValuationQuantity": "",
                      "SubcontractPreviousValuationAmount": "",
                      "ForeignCurrencySubcontractPreviousValuationAmount": "",
                      "CurrentSubcontractAuthorisedQuantity": "",
                      "SubcontractCurrentAuthorisedAmount": "",
                      "ForeignCurrencySubcontractCurrentAuthorisedAmount": "",
                      "CurrentSubcontractAuthorisedPercentage": "",
                      "PreviousSubcontractAuthorisedQuantity": "",
                      "SubcontractPreviousAuthorisedAmount": "",
                      "ForeignCurrencySubcontractPreviousAuthorisedA": "",
                      "PreviousSubcontractAuthorisedPercentage": "",
                      "ForecastSubcontractQuantity": "",
                      "ForecastSubcontractRate": "",
                      "ForeignCurrencyForecastSubcontractRate": ".00000",
                      "ForecastSubcontractPrice": "",
                      "ForeignCurrencyForecastSubcontractPrice": "",
                      "PayItemSection": "",
                      "ItemNumber": "",
                      "LineNumber": "0",
                      "TextEntry": "",
                      "SubcontractPriceAtCurrentStatus": "",
                      "TexturaReference": "",
                      "TexturaVariationItemNumber": "",
                      "TaxCode": "12345"
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "ChangeOrderLineItem-12": {
        "allOf": [
          {
            "$ref": "#/components/schemas/ChangeOrderLineItem"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The SQL path on the Source System.",
                    "example": "select * from CR_CHNG_REQ_REV_MC"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "Company_Code": "12345",
                      "Customer_Code": "12345",
                      "Job_Number": "    A123",
                      "Change_Request_Number": "    A123",
                      "Sequence": "1",
                      "Bill_Group_Code": "",
                      "Bill_Item_Code": "",
                      "CR_Quantity": "5.000000000",
                      "Billing_Item_Code": "91",
                      "CR_Revenue": "100.00",
                      "Description": "Cleanup for the first week of October.",
                      "Unit_Of_Measure": "",
                      "Unit_Price": "20.00000000",
                      "Additional_Description": ""
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "ChangeOrderLineItem-13": {
        "allOf": [
          {
            "$ref": "#/components/schemas/ChangeOrderLineItem"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The SQL path on the Source System.",
                    "example": "select * from [bPMSL] where [bPMSL].[SLCo] = 12345"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "PMCo": "12345",
                      "Project": "A123",
                      "Seq": "12345",
                      "RecordType": "O",
                      "PCOType": null,
                      "PCO": null,
                      "PCOItem": null,
                      "ACO": null,
                      "ACOItem": null,
                      "Line": null,
                      "PhaseGroup": "12345",
                      "Phase": "070000-00-0000",
                      "CostType": "3",
                      "VendorGroup": "12345",
                      "Vendor": "A123",
                      "SLCo": "12345",
                      "SL": "A123",
                      "SLItem": "1",
                      "SLItemDescription": "Cleanup for the first week of October.",
                      "SLItemType": "1",
                      "SLAddon": null,
                      "SLAddonPct": null,
                      "Units": "5.000",
                      "UM": "HRS",
                      "UnitCost": "20.00000",
                      "Amount": "100.00",
                      "SubCO": "3",
                      "WCRetgPct": ".1000",
                      "SMRetgPct": ".0000",
                      "Supplier": null,
                      "InterfaceDate": "2022-01-01 00:00:00",
                      "SendFlag": "Y",
                      "Notes": null,
                      "SLMth": "2022-01-01 00:00:00",
                      "SLTrans": "6",
                      "IntFlag": null,
                      "UniqueAttchID": null,
                      "KeyID": "12345",
                      "TaxType": "1",
                      "TaxCode": "CA",
                      "TaxGroup": "12345",
                      "BatchTransType": null,
                      "BatchTransTypeChangeDate": null,
                      "IncludePCO": "N"
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "CostCode-2": {
        "allOf": [
          {
            "$ref": "#/components/schemas/CostCode"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "https://{{hostname}}/AcumaticaU100/entity/Default/20.200.001/CostCode"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "id": "949fac00-c482-ee11-8424-0eb71309dd15",
                      "rowNumber": 2,
                      "note": {
                        "value": ""
                      },
                      "CostCodeID": {
                        "value": "00079"
                      },
                      "Description": {
                        "value": "Hardware Accessories"
                      },
                      "LastModifiedDateTime": {
                        "value": "2022-01-01T00:00:00+00:00"
                      }
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "CostCode-3": {
        "allOf": [
          {
            "$ref": "#/components/schemas/CostCode"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": {
                      "Endpoint": null
                    }
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {}
                  }
                }
              }
            }
          }
        ]
      },
      "CostCode-4": {
        "allOf": [
          {
            "$ref": "#/components/schemas/CostCode"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "{{server}}/{{environemnt}}/jc-rest-api/rest/1/jcmastercostcodes"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "PhsActiveFlag": "Y",
                      "PhsAddedOnTheFlyFlg": "N",
                      "PhsAltCode": "00",
                      "PhsCode": "00",
                      "PhsCompCode": "12345",
                      "PhsCompName": "AnyCompany Inc.",
                      "PhsCtrlCode": "08",
                      "PhsCtrlName": "EQUIPMENT",
                      "PhsDefaultWcbCode": null,
                      "PhsFirstSegmValue": null,
                      "PhsHasLowerLevelPhases": "N",
                      "PhsHier": "08.79.00",
                      "PhsIuCreateDate": "2022-01-01T00:00:00-00:00",
                      "PhsIuUpdateDate": "2022-01-01T00:00:00-00:00",
                      "PhsMasterFlag": "N",
                      "PhsName": "Hardware Accessories",
                      "PhsProgramName": null,
                      "PhsRowid": "12345",
                      "PhsSpecialityFlag": "N",
                      "PhsTypeCode": null,
                      "PhsWbsvCode1": null,
                      "PhsWbsvCode2": null,
                      "PhsWbsvCode3": null,
                      "PhsWbsvCode4": null,
                      "PhsWbsvEditableFlag1": "Y",
                      "PhsWbsvEditableFlag2": "Y",
                      "PhsWbsvEditableFlag3": "Y",
                      "PhsWbsvEditableFlag4": "N",
                      "PhsWbsvRequiredFlag1": "N",
                      "PhsWbsvRequiredFlag2": "N",
                      "PhsWbsvRequiredFlag3": "N",
                      "PhsWbsvRequiredFlag4": "N",
                      "PhsWmCode": "LS",
                      "PhsWmName": "Lump Sum",
                      "PhsVUuid": "12345"
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "CostCode-5": {
        "allOf": [
          {
            "$ref": "#/components/schemas/CostCode"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "https://{{instance_name}}.coinscloud.com/env/{{environment}}/rest/pages/company/{{company_id}}/jc_stndcc"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "jsc_cc": "79",
                      "jsc_desc": "Hardware Accessories",
                      "jsc_defcat": "E",
                      "jsc_jobclss": "",
                      "jsc_nonstd": false,
                      "jsc_open": true,
                      "RO_jtchanged": "2022-01-01T00:00:00.000",
                      "RO_jtcreated": "2022-01-01T00:00:00.000"
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "CostCode-6": {
        "allOf": [
          {
            "$ref": "#/components/schemas/CostCode"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The SQL path on the Source System.",
                    "example": "jccat"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "sequence": 500,
                      "jobnum": "101",
                      "phasenum": "",
                      "catnum": "3000",
                      "name": "Hardware Accesories",
                      "unitofmeasure": "LS",
                      "unitsbudgeted": 1,
                      "budget0_hours": 0,
                      "budget0_amount": 0,
                      "budget1_hours": 0,
                      "budget1_amount": 0,
                      "budget2_hours": 0,
                      "budget2_amount": 0,
                      "budget3_hours": 0,
                      "budget3_amount": 0,
                      "budget4_hours": 0,
                      "budget4_amount": 0,
                      "budget5_hours": 0,
                      "budget5_amount": 0,
                      "budget6_hours": 0,
                      "budget6_amount": 0,
                      "budget7_hours": 0,
                      "budget7_amount": 0,
                      "budget8_hours": 0,
                      "budget8_amount": 0,
                      "budget9_hours": 0,
                      "budget9_amount": 0,
                      "budget10_hours": 0,
                      "budget10_amount": 0,
                      "budget11_hours": 0,
                      "budget11_amount": 0,
                      "budget12_hours": 0,
                      "budget12_amount": 0,
                      "budget13_hours": 0,
                      "budget13_amount": 0,
                      "budget14_hours": 0,
                      "budget14_amount": 0,
                      "budget15_hours": 0,
                      "budget15_amount": 0,
                      "budget16_hours": 0,
                      "budget16_amount": 0,
                      "wcompnum1": "",
                      "wcompnum2": "",
                      "memo": "",
                      "unitupdate": 0,
                      "workloc": 1,
                      "startdate": null,
                      "duration": 0,
                      "prlocation": "",
                      "proverride": "",
                      "totalstatus": 0,
                      "deptnum": "",
                      "barcode": "",
                      "closed": 0,
                      "contractamt": 0
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "CostCode-7": {
        "allOf": [
          {
            "$ref": "#/components/schemas/CostCode"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The database query for the Source System.",
                    "example": "select * from [cost_codes]"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "company_no": "12345",
                      "cost_code_no": "79",
                      "description": "Hardware Accessories",
                      "unit_of_measure": null,
                      "production_method": "N ",
                      "cost_basis": "L",
                      "compute_variance": "Y",
                      "archive": "N",
                      "cost_class_no": null,
                      "certified_payroll": "Y",
                      "ignore_home_job": "N",
                      "wc_class_no": null,
                      "gl_expense": null,
                      "default_phase_no": "08",
                      "record_status": "A",
                      "row_modified_by": null,
                      "row_modified_on": "2022-01-01 00:00:00.000",
                      "row_unique_id": "24",
                      "cost_code_group_no": null,
                      "company_id": "1",
                      "cost_class_id": null,
                      "cost_code_group_id": null,
                      "cost_code_id": "79",
                      "default_phase_id": "08",
                      "wc_class_id": null,
                      "equipment_service_repair": "N",
                      "dept_no": null,
                      "ap_invoice_gl_expense": null,
                      "dept_id": null,
                      "use_in_jc_ovhd_calc": "Y",
                      "ovhd_rate": ".0000",
                      "gen_liab_class_no": null,
                      "gen_liab_class_id": null,
                      "record_guid": "12345",
                      "earn_type_no": null,
                      "earn_type_id": null
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "CostCode-8": {
        "allOf": [
          {
            "$ref": "#/components/schemas/CostCode"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "https://api.procore.com/rest/v1.0/cost_codes"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "id": 12345,
                      "name": "General Requirements",
                      "full_code": "08.79.00",
                      "origin_id": null,
                      "origin_data": null,
                      "standard_cost_code_id": 12345,
                      "biller": "Test Project-1",
                      "biller_id": 12345,
                      "biller_type": "Project",
                      "biller_origin_id": null,
                      "budgeted": false,
                      "code": "79",
                      "parent": {
                        "id": null
                      },
                      "sortable_code": "79",
                      "created_at": "2022-01-01T00:00:00Z",
                      "deleted_at": null,
                      "line_item_types": [],
                      "position": null,
                      "updated_at": "2022-01-01T00:00:00Z"
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "CostCode-9": {
        "allOf": [
          {
            "$ref": "#/components/schemas/CostCode"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The database query for the Source System.",
                    "example": "select * from [cstcde]"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "_idnum": "12345935-899F-E511-B83D-005056C00008",
                      "recnum": 79,
                      "cdenme": "Hardware and Accessories",
                      "untdsc": "",
                      "divnum": "1",
                      "cmpcde": null,
                      "maxwge": 0,
                      "cmpcd2": null,
                      "dptnum": null,
                      "ntetxt": "",
                      "insdte": "2022-01-01T00:00:00.000Z",
                      "insusr": "John",
                      "upddte": "2022-01-01T00:00:00.000Z",
                      "updusr": "John",
                      "inactv": "",
                      "rtecde": 0
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "CostCode-10": {
        "allOf": [
          {
            "$ref": "#/components/schemas/CostCode"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The database query for the Source System.",
                    "example": "select * from [Master_JCM_Record_16]"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "SPHASE": "08.79.00",
                      "SPDESC": "Hardware Accessories",
                      "SPGPHAS": "1",
                      "SPCTYPE": "Labor",
                      "SPCACCA": "",
                      "SPCACCB": "",
                      "SPCACCC": "",
                      "SPOVRHT": "",
                      "SPUDESC": "",
                      "SPCUDSC": "",
                      "SPSNDBL": "1",
                      "SPUEWSL": "0",
                      "SPTAXEX": "Taxable",
                      "SPCAT1": "",
                      "SPUD1": "",
                      "SPCAT2": "",
                      "SPUD2": "",
                      "SPCAT3": "",
                      "SPUD3": "",
                      "SPCAT4": "",
                      "SPUD4": "",
                      "SPCAT5": "",
                      "SPUD5": "",
                      "SPCAT6": "",
                      "SPUD6": "",
                      "SPCAT7": "",
                      "SPUD7": "",
                      "SPCAT8": "",
                      "SPUD8": "",
                      "SPCAT9": "",
                      "SPUD9": "",
                      "SPCAT10": "",
                      "SPUD10": "",
                      "SPCAT11": "",
                      "SPUD11": "",
                      "SPCAT12": "",
                      "SPUD12": "",
                      "SPOSTMP": "",
                      "SPDSTMP": "2022-01-01",
                      "SPTSTMP": "00:00:00",
                      "SPRWID": "eba38b63-ee3f-e711-8bef-0019b9211094",
                      "SPRWVR": "1495567886"
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "CostCode-11": {
        "allOf": [
          {
            "$ref": "#/components/schemas/CostCode"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "https://api.intacct.com/ia/xml/xmlgw.phtml"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "TASKID": "08.79.00",
                      "NAME": "Hardware Accessories",
                      "PARENTID": "08",
                      "WHENCREATED": "01/01/2022 00:00:00",
                      "WHENMODIFIED": "01/01/2022 00:00:00"
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "CostCode-12": {
        "allOf": [
          {
            "$ref": "#/components/schemas/CostCode"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "https://{id}.cloud.jobpac.com.au:{id}/CostCentreListing"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "Job": "123",
                      "CostCode": "08.79.00",
                      "ExcludeHeaderRecord": "Yes",
                      "ExcludeDetailRecord": "",
                      "JobStatus": "A",
                      "NotFinanciallyComplete": "Yes",
                      "CostType": "",
                      "Description": "Hardware Accessories",
                      "Status": "A",
                      "TradeCode": "",
                      "ElementCode": "",
                      "ItemNumber": "",
                      "StandardItemCode": "",
                      "ClaimCode": "",
                      "ClaimEntryCode": "",
                      "GeneralLedgerAccount": "",
                      "CostPlus": "",
                      "CostPlusPercentage": "",
                      "UserDefinedField1": "",
                      "UserDefinedField2": "",
                      "AllowCostUpdates": "",
                      "ClaimStructureFinalised": "",
                      "OriginalBudgetQuantity": "",
                      "UnitOfMeasure": "",
                      "OriginalBudgetValue": "",
                      "CurrentBudgetQuantity": "",
                      "OutstandingQuantity": "",
                      "IncurredQuantity": "",
                      "ActualQuantity": "",
                      "CommittedQuantity": "",
                      "CurrentBudgetValue": "",
                      "OutstandingAmount": "",
                      "IncurredAmount": "",
                      "ActualAmount": "",
                      "CommittedCost": "",
                      "ApprovedVariationBudget": "",
                      "ApprovedBudgetChanges": "",
                      "BudgetCommitted": "",
                      "TotalClaimAmount": "",
                      "CurrentClaimAmount": "",
                      "ForecastCostToCompletion": "",
                      "ForecastFinalCost": "",
                      "NormalCost": "",
                      "OvertimePremium": "",
                      "Oncosts": "",
                      "CostOverruns": "",
                      "PaidAmount": "",
                      "RetentionHeld": "",
                      "Gain": "",
                      "Loss": "",
                      "Revenue": "",
                      "CurrentPercentageClaimed": "",
                      "PercentageOfTotalClaimValue": "",
                      "Escalation": "",
                      "Rate": "",
                      "UnapprovedVariationPrice": "",
                      "OrderAmount": "",
                      "ReportingLevel": "",
                      "OvertimeHours": ".00",
                      "OrderOverruns": "",
                      "ProjectManagersWorksheetPendings": "",
                      "ProjectManagersWorksheetContingencies": "",
                      "LastProjectManagersWorksheetUpdateDate": "01/01/22",
                      "ProjectManagersWorksheetFormula": "",
                      "TaskSavings": "",
                      "TaskOverruns": "",
                      "CurrentValuation": "",
                      "RiseAndFallOnBalanceOfWork": "",
                      "ScheduleOfRatesBudgetAdjustments": "",
                      "BudgetEntryMethod": "",
                      "SuppressGLUpdates": "",
                      "RevenueBudgetChanges": "",
                      "CurrentRevenueBudget": "",
                      "MultiplierPercentage": "",
                      "JobType": "",
                      "TradeCode2": "",
                      "Section": "",
                      "OriginalScopeQuantity": "",
                      "CurrentScopeQuantity": "",
                      "ScopeUnitOfMeasure": "",
                      "ScopeQuantityDescription": "",
                      "EarnedScopeQuantityValued": "",
                      "EarnedBudgetNettValuation": "",
                      "EarnedBudgetForecastQuantityToCompletion": "",
                      "EarnedBudgetForecastRateToCompletion": "",
                      "EarnedBudgetForecastCostToCompletion": "",
                      "LastForecastUpdateDate": "",
                      "LastBudgetUpdateDate": "",
                      "LastPaymentDate": "",
                      "LastCostUpdateDate": "",
                      "AvailableBudget": "",
                      "VisualAttribute": "",
                      "LastUpdateUser": "",
                      "LastUpdateTimestamp": "2022-01-01-00.00.00.000000"
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "CostCode-13": {
        "allOf": [
          {
            "$ref": "#/components/schemas/CostCode"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "https://{{domain}}.dexterchaney.com:8482/ws/GetPhaseEnhanced"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "Company_Code": "12345",
                      "Job_Number": "12345",
                      "Phase_Code": "087900",
                      "Cost_Type": "B",
                      "Description": "Hardware Accessories",
                      "Status_Code": "A",
                      "Unit_of_Measure": null,
                      "JTD_Quantity": ".00",
                      "JTD_Hours": ".00",
                      "JTD_Actual_Dollars": ".00",
                      "Projected_Quantity": ".00",
                      "Projected_Hours": ".00",
                      "Projected_Dollars": ".00",
                      "Estimated_Quantity": ".00",
                      "Estimated_Hours": ".00",
                      "Current_Estimate_Dollars": ".00",
                      "Cost_Center": null,
                      "Price_Method_Code": null,
                      "Complete_Date": null,
                      "Start_Date": null,
                      "End_Date": null,
                      "Comment": null
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "CostCode-14": {
        "allOf": [
          {
            "$ref": "#/components/schemas/CostCode"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The SQL path on the Source System.",
                    "example": "bJCJP"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "JCCo": "12345",
                      "Job": " A123",
                      "PhaseGroup": "12345",
                      "Phase": "087900",
                      "Description": "Hardware Accessories",
                      "Contract": " A123",
                      "Item": "12345",
                      "ProjMinPct": ".0000",
                      "ActiveYN": "Y",
                      "Notes": null,
                      "UniqueAttchID": null,
                      "KeyID": "12345",
                      "InsCode": null
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "NewCostCode": {
        "required": [
          "code",
          "name",
          "source_data"
        ],
        "type": "object",
        "properties": {
          "code": {
            "type": "string",
            "description": "The characters for the Cost Code.",
            "example": "79"
          },
          "name": {
            "type": "string",
            "description": "The name of the Cost Code.",
            "example": "Hardware Accessories"
          },
          "parent_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the Cost Code's Parent."
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          }
        }
      },
      "NewCostCode-2": {
        "required": [
          "code",
          "name",
          "source_data"
        ],
        "type": "object",
        "properties": {
          "code": {
            "type": "string",
            "description": "The characters for the Cost Code.",
            "example": "79"
          },
          "name": {
            "type": "string",
            "description": "The name of the Cost Code.",
            "example": "Hardware Accessories"
          },
          "source_data": {
            "type": "object",
            "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
            "properties": {
              "Item": {
                "description": "The Project Prime Contract Line Item that this Cost Code is associated with.",
                "type": "string",
                "example": "1"
              }
            }
          }
        }
      },
      "CostType": {
        "type": "object",
        "properties": {
          "id": {
            "allOf": [
              {
                "description": "The UUID of the Cost Type assigned by Agave."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "source_id": {
            "type": "string",
            "readOnly": true,
            "example": "12345",
            "description": "The ID of the Cost Type in the Source System."
          },
          "code": {
            "type": "string",
            "description": "The label or abbreviation for the Cost Type.",
            "example": "E"
          },
          "name": {
            "type": "string",
            "description": "The name of the Cost Type.",
            "example": "Equipment"
          },
          "source_create_time": {
            "allOf": [
              {
                "description": "The datetime the Cost Type was created."
              },
              {
                "$ref": "#/components/schemas/DateTimeProperty"
              }
            ]
          },
          "source_update_time": {
            "allOf": [
              {
                "description": "The datetime the Cost Type was last updated."
              },
              {
                "$ref": "#/components/schemas/DateTimeProperty"
              }
            ]
          }
        }
      },
      "CostType-2": {
        "allOf": [
          {
            "$ref": "#/components/schemas/CostType"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "https://{{hostname}}/AcumaticaU100/entity/Default/20.200.001/AccountGroup"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "id": "d2638340-e4eb-e811-b816-00155d408001",
                      "rowNumber": 1,
                      "note": {
                        "value": ""
                      },
                      "AccountGroupID": {
                        "value": "E"
                      },
                      "Active": {
                        "value": true
                      },
                      "DefaultAccountID": [],
                      "Description": {
                        "value": "Equipment"
                      },
                      "Expense": {
                        "value": true
                      },
                      "SortOrder": {
                        "value": 4
                      },
                      "Type": {
                        "value": "Expense"
                      }
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "CostType-3": {
        "allOf": [
          {
            "$ref": "#/components/schemas/CostType"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": {
                      "Endpoint": null
                    }
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {}
                  }
                }
              }
            }
          }
        ]
      },
      "CostType-4": {
        "allOf": [
          {
            "$ref": "#/components/schemas/CostType"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "{{server}}/{{environemnt}}/jc-rest-api/rest/1/jcmastercategories"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "CatActiveFlag": "Y",
                      "CatAvailableOnScFlag": "B",
                      "CatBillAccCode": "12345",
                      "CatBillGroupCode": null,
                      "CatBillingFlag": "Y",
                      "CatBudgetFlag": "Y",
                      "CatCcAccCode": "12345",
                      "CatCode": "E",
                      "CatCompCode": "12345",
                      "CatCostFlag": "Y",
                      "CatCostRollupCatCode": null,
                      "CatCostTypeCode": null,
                      "CatCtrlCode": "ALL",
                      "CatDefaultBillingType": null,
                      "CatDefaultBudmethCode": "A",
                      "CatDefaultInvFormatCode": null,
                      "CatEtimeFlag": "N",
                      "CatExclCostBudgWip": "N",
                      "CatExclCostWip": "N",
                      "CatFwdLossOvrhPct": null,
                      "CatHier": "E",
                      "CatIbAlternateWipAccCode": null,
                      "CatInclInForecastFlag": "Y",
                      "CatIuCreateDate": "2022-01-01T00:00:00-00:00",
                      "CatIuUpdateDate": "2022-01-01T00:00:00-00:00",
                      "CatJbBackupCatColumnNum": null,
                      "CatJcsCostType": null,
                      "CatLabourForecastFlag": "N",
                      "CatLbcAccCode": "12345",
                      "CatLtcAccCode": "12345",
                      "CatName": "Equipment",
                      "CatNonRecoverableFlag": "Y",
                      "CatProcurementFlag": "Y",
                      "CatRate": null,
                      "CatReserveRevAccCode": "12345",
                      "CatUnbilledRevAccCode": "12345",
                      "CatWbsvCode1": null,
                      "CatWbsvCode2": null,
                      "CatWbsvCode3": null,
                      "CatWbsvCode4": null,
                      "CatWbsvEditableFlag1": "Y",
                      "CatWbsvEditableFlag2": "Y",
                      "CatWbsvEditableFlag3": "Y",
                      "CatWbsvEditableFlag4": "N",
                      "CatWbsvRequiredFlag1": "N",
                      "CatWbsvRequiredFlag2": "N",
                      "CatWbsvRequiredFlag3": "N",
                      "CatWbsvRequiredFlag4": "N",
                      "CatWipAccCode": "12345",
                      "CatWmCode": "$"
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "CostType-5": {
        "allOf": [
          {
            "$ref": "#/components/schemas/CostType"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "https://{{instance_name}}.coinscloud.com/env/{{environment}}/rest/pages/company/{{company_id}}/jc_config"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "jcf_cat": "E",
                      "jcf_catd": "Equipment",
                      "RO_jtcreated": "2022-01-01T00:00:00.000",
                      "RO_jtchanged": "2022-01-01T00:00:00.000"
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "CostType-6": {
        "allOf": [
          {
            "$ref": "#/components/schemas/CostType"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The SQL path on the Source System.",
                    "example": "jccosttype"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "id": 1,
                      "code": "E",
                      "name": "Equipment",
                      "gl": "500.0",
                      "overhead": 9,
                      "sortorder": 1,
                      "account": ""
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "CostType-7": {
        "allOf": [
          {
            "$ref": "#/components/schemas/CostType"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The database query for the Source System.",
                    "example": "select * from [cost_classes]"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "company_no": "12345",
                      "cost_class_no": "12345",
                      "description": "Labor",
                      "short_desc": "LAB",
                      "allocated_overhead_perc": ".0000000",
                      "record_status": "A",
                      "row_modified_by": "12345",
                      "row_modified_on": "2022-01-01 00:00:00.000",
                      "row_unique_id": "12345",
                      "income_expense": "E",
                      "company_id": "12345",
                      "cost_class_id": "12345",
                      "Tm_Markup_Category": "LB",
                      "Tm_Include_In_Tax_Base": "Y",
                      "include_in_cost_code_budget_set": "Y",
                      "ap_invoice_gl_expense": null,
                      "use_in_jc_ovhd_calc": "Y",
                      "tm_force_zero_price": "N",
                      "include_in_pct_cmpl_ws": "Y",
                      "record_guid": "12345",
                      "validation_type": "P"
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "CostType-8": {
        "allOf": [
          {
            "$ref": "#/components/schemas/CostCode"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "https://api.procore.com/rest/v1.0/cost_codes"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "id": 12345,
                      "base_type": "equipment",
                      "code": "E",
                      "name": "Equipment",
                      "origin_data": null,
                      "origin_id": null
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "CostType-9": {
        "allOf": [
          {
            "$ref": "#/components/schemas/CostType"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The database query for the Source System.",
                    "example": "select * from [csttyp]"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "_idnum": "12345935-899F-E511-B83D-005056C00008",
                      "recnum": 3,
                      "typnme": "Labor",
                      "insdte": "2022-01-01T00:00:00.000Z",
                      "insusr": "John",
                      "upddte": "2022-01-01T00:00:00.000Z",
                      "updusr": "John"
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "CostType-10": {
        "allOf": [
          {
            "$ref": "#/components/schemas/CostType"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The database query for the Source System.",
                    "example": "select * from [Master_JCM_Record_17]"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "SCAT": "E",
                      "SCDESC": "Equipment",
                      "SCCTYPE": "Equipment",
                      "SCCACCA": "5004",
                      "SCCACCB": "",
                      "SCCACCC": "",
                      "SCUDESC": "",
                      "SCSNDBL": "1",
                      "SCTAXEX": "Non-Taxable",
                      "SCOSTMP": "JohnDoe",
                      "SCDSTMP": "2022-01-01",
                      "SCTSTMP": "00:00:00",
                      "SCRWID": "20a58b63-ee3f-e711-8bef-0019b9211094",
                      "SCRWVR": "1682739241"
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "CostType-11": {
        "allOf": [
          {
            "$ref": "#/components/schemas/CostType"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "https://api.intacct.com/ia/xml/xmlgw.phtml"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "COSTTYPEID": "E",
                      "NAME": "Equipment",
                      "WHENCREATED": "01/01/2022 00:00:00",
                      "WHENMODIFIED": "01/01/2022 00:00:00"
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "CostType-12": {
        "allOf": [
          {
            "$ref": "#/components/schemas/CostType"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "https://{id}.cloud.jobpac.com.au:{id}/CostTypeListing"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "ValidForAccountsPayable": "YN",
                      "ValidForPurchasing": "YN",
                      "ValidForSubcontracts": "YN",
                      "ValidForLabour": "LN",
                      "ValidForGeneralLedgerJournals": "YN",
                      "Descriptions": "Labour Equipment",
                      "CostTypes": "L E",
                      "GeneralLedgerAccounts": "12345 67890"
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "CostType-13": {
        "allOf": [
          {
            "$ref": "#/components/schemas/CostCode"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "https://{{domain}}.dexterchaney.com:8482/ws/GetPhaseEnhanced"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "Company_Code": "12345",
                      "Job_Number": "12345",
                      "Phase_Code": "087900",
                      "Cost_Type": "E",
                      "Description": "Hardware Accessories",
                      "Status_Code": "A",
                      "Unit_of_Measure": null,
                      "JTD_Quantity": ".00",
                      "JTD_Hours": ".00",
                      "JTD_Actual_Dollars": ".00",
                      "Projected_Quantity": ".00",
                      "Projected_Hours": ".00",
                      "Projected_Dollars": ".00",
                      "Estimated_Quantity": ".00",
                      "Estimated_Hours": ".00",
                      "Current_Estimate_Dollars": ".00",
                      "Cost_Center": null,
                      "Price_Method_Code": null,
                      "Complete_Date": null,
                      "Start_Date": null,
                      "End_Date": null,
                      "Comment": null
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "CostType-14": {
        "allOf": [
          {
            "$ref": "#/components/schemas/CostType"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The SQL path on the Source System.",
                    "example": "bJCCT"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "PhaseGroup": "12345",
                      "CostType": "1",
                      "Description": "Equipment",
                      "Abbreviation": "E",
                      "TrackHours": "Y",
                      "LinkProgress": null,
                      "Notes": null,
                      "JBCostTypeCategory": "E",
                      "UniqueAttchID": null,
                      "KeyID": "1"
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "NewCostType": {
        "type": "object",
        "properties": {
          "code": {
            "type": "string",
            "description": "The label or abbreviation for the Cost Type.",
            "example": "E"
          },
          "name": {
            "type": "string",
            "description": "The name of the Cost Type.",
            "example": "Equipment"
          }
        }
      },
      "Department": {
        "type": "object",
        "properties": {
          "id": {
            "allOf": [
              {
                "description": "The UUID of the Department assigned by Agave."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "source_id": {
            "type": "string",
            "readOnly": true,
            "example": "12345",
            "description": "The ID of the Department in the Source System."
          },
          "code": {
            "type": "string",
            "description": "A code or number for the Department.",
            "example": "10010"
          },
          "name": {
            "type": "string",
            "description": "The name of the Department.",
            "example": "Commercial Department"
          },
          "status": {
            "type": "string",
            "description": "The status of the Department.",
            "example": "Active",
            "enum": [
              "Active",
              "Inactive"
            ]
          },
          "type": {
            "type": "string",
            "description": "The type of the Department.\n\n**Note for ComputerEase**: valid values include \"Job Cost\".\n\n**Note for Viewpoint Spectrum**: valid values include \"Cost Center\".\n\n**Note for Viewpoint Vista**: valid values include \"Equipment Management\", \"Job Cost\", \"Payroll\", and \"Service Management\".\n",
            "example": "Cost Center"
          },
          "source_create_time": {
            "allOf": [
              {
                "description": "The datetime the Department was created."
              },
              {
                "$ref": "#/components/schemas/DateTimeProperty"
              }
            ]
          },
          "source_update_time": {
            "allOf": [
              {
                "description": "The datetime the Department was last updated."
              },
              {
                "$ref": "#/components/schemas/DateTimeProperty"
              }
            ]
          }
        }
      },
      "Department-2": {
        "allOf": [
          {
            "$ref": "#/components/schemas/Department"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "https://agave-customer-acumatica-sandbox-2.ngrok.io/AcumaticaERP/entity/Default/23.200.001/CompaniesStructure?$expand=Results"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "id": "1c54b58b-54db-e811-b816-00155d408001",
                      "rowNumber": 1,
                      "note": {
                        "value": ""
                      },
                      "BaseCurrencyID": {
                        "value": "USD"
                      },
                      "BranchCountry": {
                        "value": "US"
                      },
                      "BranchID": {
                        "value": "RETAIL"
                      },
                      "BranchName": {
                        "value": "SweetLife Store"
                      },
                      "BranchStatus": {
                        "value": true
                      },
                      "CompanyID": {
                        "value": "SWEETLIFE"
                      },
                      "CompanyName": {
                        "value": "SweetLife Fruits & Jams"
                      },
                      "CompanyStatus": {
                        "value": true
                      },
                      "CompanyType": {
                        "value": "With Branches Not Requiring Balancing"
                      },
                      "custom": [],
                      "_links": {
                        "files:put": "/AcumaticaERP/entity/Default/23.200.001/files/PX.Data.PXGenericInqGrph/Results/1c54b58b-54db-e811-b816-00155d408001/{filename}"
                      }
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "Department-3": {
        "allOf": [
          {
            "$ref": "#/components/schemas/Department"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The SQL path on the Source System.",
                    "example": "bJCDM"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "deptnum": "1",
                      "des": "West Coast Department",
                      "type0_account": "",
                      "type0_mask": "",
                      "type1_account": "500.0",
                      "type1_mask": "",
                      "type2_account": "500.0",
                      "type2_mask": "",
                      "type3_account": "512.0",
                      "type3_mask": "",
                      "type4_account": "513.0",
                      "type4_mask": "",
                      "type5_account": "501.0",
                      "type5_mask": "",
                      "type6_account": "503.0",
                      "type6_mask": "",
                      "type7_account": "506.0",
                      "type7_mask": "",
                      "type8_account": "507.0",
                      "type8_mask": "",
                      "type9_account": "",
                      "type9_mask": "",
                      "type10_account": "",
                      "type10_mask": "",
                      "type11_account": "",
                      "type11_mask": "",
                      "type12_account": "",
                      "type12_mask": "",
                      "type13_account": "",
                      "type13_mask": "",
                      "type14_account": "",
                      "type14_mask": "",
                      "type15_account": "",
                      "type15_mask": "",
                      "type16_account": "",
                      "type16_mask": "",
                      "payrolldept": "OFFICE",
                      "defaulticlocnum": "CENTRAL",
                      "routegroup": "",
                      "posticlocnum": "CENTRAL"
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "Department-4": {
        "allOf": [
          {
            "$ref": "#/components/schemas/Department"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "https://api.procore.com/rest/v1.0/departments"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "id": 12345,
                      "name": "Commercial Department",
                      "origin_data": null,
                      "origin_id": null
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "Department-5": {
        "type": "object",
        "properties": {
          "id": {
            "allOf": [
              {
                "description": "The UUID of the Department assigned by Agave."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "source_id": {
            "type": "string",
            "readOnly": true,
            "example": "12345",
            "description": "The ID of the Department in the Source System."
          },
          "code": {
            "type": "string",
            "description": "A code or number for the Department.",
            "example": "10010"
          },
          "name": {
            "type": "string",
            "description": "The name of the Department.",
            "example": "Commercial Department"
          },
          "source_create_time": {
            "allOf": [
              {
                "description": "The datetime the Department was created."
              },
              {
                "$ref": "#/components/schemas/DateTimeProperty"
              }
            ]
          },
          "source_update_time": {
            "allOf": [
              {
                "description": "The datetime the Department was last updated."
              },
              {
                "$ref": "#/components/schemas/DateTimeProperty"
              }
            ]
          },
          "source_data": {
            "type": "object",
            "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
            "properties": {
              "path": {
                "type": "string",
                "description": "The database query for the Source System.",
                "example": "select * from [dptmnt]"
              },
              "content_type": {
                "type": "string",
                "description": "The content type of the Source Data.",
                "example": "application/json"
              },
              "data": {
                "type": "string",
                "description": "The raw data from the Source System.",
                "example": {
                  "_idnum": "60768935-899F-E511-B83D-005056C00008",
                  "recnum": "1",
                  "dptnme": "California Office",
                  "ntetxt": "",
                  "insdte": "2015-12-10T21:58:57.343Z",
                  "insusr": "Bob",
                  "upddte": "2024-08-19T22:19:37.770Z",
                  "updusr": "agave-admin-2"
                }
              }
            }
          }
        }
      },
      "Department-6": {
        "allOf": [
          {
            "$ref": "#/components/schemas/Department"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "https://api-integration.servicetitan.io/settings/v2/tenant/{{tenantId}}/business-units?includeTotal=true"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "id": 12345,
                      "active": true,
                      "name": "Commercial Department",
                      "officialName": "Commercial Department LLC",
                      "email": "contact@agaveapitest.com",
                      "currency": "USD",
                      "phoneNumber": "(123) 555-0100",
                      "invoiceHeader": null,
                      "invoiceMessage": null,
                      "defaultTaxRate": 0,
                      "authorizationParagraph": null,
                      "acknowledgementParagraph": null,
                      "address": {
                        "street": null,
                        "unit": null,
                        "city": null,
                        "state": null,
                        "zip": null,
                        "country": null
                      },
                      "materialSku": null,
                      "quickbooksClass": null,
                      "accountCode": null,
                      "franchiseId": null,
                      "conceptCode": "NotSet",
                      "corporateContractNumber": null,
                      "tenant": {
                        "id": 986142371,
                        "name": "agave",
                        "accountCode": null,
                        "franchiseId": null,
                        "conceptCode": "NotSet",
                        "modifiedOn": "2024-08-04T09:44:02.7684069Z"
                      },
                      "createdOn": "2022-01-01T21:31:28.1949664Z",
                      "modifiedOn": "2022-01-01T19:31:24.1283114Z",
                      "externalData": []
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "Department-7": {
        "allOf": [
          {
            "$ref": "#/components/schemas/Department"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The SQL path on the Source System.",
                    "example": "select * from [EM_COST_CENTERS_MC]"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "Company_Code": "12345",
                      "Cost_Center_Code": "1010",
                      "Cost_Center_Description": "Commercial",
                      "Status": "A",
                      "Address_1": "123 Main Street",
                      "Address_2": "",
                      "City": "AnyTown",
                      "State": "CA",
                      "Zip": "19703",
                      "Phone": "123456789",
                      "Contact": "",
                      "Fax": "",
                      "Cost_Center_ID": "",
                      "Web_Address": "",
                      "Email": "",
                      "Ship_Address_1": "",
                      "Ship_Address_2": "",
                      "Ship_City": "",
                      "Ship_State": "",
                      "Ship_Zip": "",
                      "Ship_Phone": "",
                      "User_Defined1": "",
                      "User_Defined2": "",
                      "User_Defined3": "",
                      "User_Defined4": "",
                      "User_Defined5": "",
                      "AP_Bank_Account": "",
                      "PR_Bank_Account": "",
                      "Entity_Code": "",
                      "id": 12345,
                      "CD_Bank_Account": "",
                      "ePay_Bank_Account": ""
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "Department-8": {
        "allOf": [
          {
            "$ref": "#/components/schemas/Department"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The SQL path on the Source System.",
                    "example": "bJCDM"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "JCCo": 201,
                      "Department": "1",
                      "Description": "West Coast Department",
                      "GLCo": 201,
                      "OpenRevAcct": "40000.              ",
                      "ClosedRevAcct": "40900.              ",
                      "Notes": null,
                      "UniqueAttchID": null,
                      "KeyID": "1"
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "Employee": {
        "type": "object",
        "properties": {
          "id": {
            "allOf": [
              {
                "description": "The UUID of the Employee assigned by Agave."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "source_id": {
            "type": "string",
            "readOnly": true,
            "example": "12345",
            "description": "The ID of the Employee in the Source System."
          },
          "address": {
            "$ref": "#/components/schemas/Address"
          },
          "company": {
            "description": "The Employee's company.",
            "type": "string",
            "example": "AnyCompany Inc."
          },
          "email": {
            "type": "string",
            "description": "The email address for the Employee.",
            "example": "contact@agaveapi.com"
          },
          "first_name": {
            "description": "The Employee's first name.",
            "type": "string",
            "example": "John"
          },
          "full_name": {
            "description": "The Employee's full name.",
            "type": "string",
            "example": "John Doe"
          },
          "gender": {
            "type": "string",
            "description": "The gender of the Employee. \n\n**Note for ComputerEase**: possible values include \"Female\", \"Male\", and \"X\".\n\n**Note for Foundation**: possible values include \"Female\" and \"Male\".\n\n**Note for QuickBooks Online**: possible values include \"Female\" and \"Male\".\n\n**Note for Sage 100C**: possible values include \"Female\", \"Male\", and \"Non-binary\".\n\n**Note for Sage 300 CRE**: possible values include \"Female\", \"Male\", and \"Non-binary\".\n\n**Note for Viewpoint Vista**: possible values include \"Female\", \"Male\", \"Non-Binary\", and \"Other\".\n",
            "example": "Male"
          },
          "hire_date": {
            "allOf": [
              {
                "description": "The date when the Employee was last hired."
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ]
          },
          "industry": {
            "description": "The Employee's industry or trade.",
            "type": "string",
            "example": "Electrical"
          },
          "job_title": {
            "description": "The Employee's job title.",
            "type": "string",
            "example": "Project Manager"
          },
          "last_name": {
            "description": "The Employee's last name.",
            "type": "string",
            "example": "Doe"
          },
          "mobile_phone": {
            "description": "The Employee's mobile phone number.",
            "type": "string",
            "example": "(123) 555-1010"
          },
          "phone": {
            "description": "The Employee's phone number.",
            "type": "string",
            "example": "(123) 555-1230"
          },
          "status": {
            "description": "The Employee's status.\n\n**Note for Procore**: Possible values include \"Active\" and \"Inactive\".\n\n**Note for QuickBooks Online**: Based on the employee record's status (not Payroll status). Possible values include \"Active\" and \"Inactive\".\n\n**Note for Viewpoint Spectrum**: Possible values include \"Active\", \"Inactive\", \"Terminated\", and \"Deceased\".\n",
            "type": "string",
            "example": "Active"
          },
          "termination_date": {
            "allOf": [
              {
                "description": "The date when the Employee was last terminated."
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ]
          },
          "type": {
            "description": "The Employee's type.\n\n**Note for ComputerEase**: valid values include \"Full Time\", \"Part Time\", and \"Salaried\".\n\n**Note for HCSS HeavyJob**: valid values include \"Hourly\" and \"Salaried\".\n",
            "type": "string",
            "example": "Hourly"
          },
          "source_create_time": {
            "allOf": [
              {
                "description": "The datetime the Employee was created in the Source System."
              },
              {
                "$ref": "#/components/schemas/DateTimeProperty"
              }
            ]
          },
          "source_update_time": {
            "allOf": [
              {
                "description": "The datetime the Employee was last updated in the Source System."
              },
              {
                "$ref": "#/components/schemas/DateTimeProperty"
              }
            ]
          }
        }
      },
      "Employee-2": {
        "allOf": [
          {
            "$ref": "#/components/schemas/Employee"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "https://{{hostname}}/AcumaticaU100/entity/Default/20.200.001/Employee?%24top=10&%24expand=ContactInfo%2CContactInfo%2FAddress%2CEmployeeSettings%2CEmploymentHistory\""
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "id": "ee5cac12-94e2-e811-b816-00155d408001",
                      "rowNumber": 1,
                      "note": {
                        "value": ""
                      },
                      "ContactInfo": {
                        "id": "1a894240-853b-4e4c-821d-0b206dc3fd0c",
                        "rowNumber": 1,
                        "note": null,
                        "Address": {
                          "id": "37488916-11ac-4976-81d3-ff1aa5a1a358",
                          "rowNumber": 1,
                          "note": null,
                          "AddressLine1": {
                            "value": "123 Main Street"
                          },
                          "AddressLine2": [],
                          "City": {
                            "value": "Anytown"
                          },
                          "Country": {
                            "value": "US"
                          },
                          "PostalCode": {
                            "value": "19703"
                          },
                          "State": {
                            "value": "CA"
                          },
                          "custom": []
                        },
                        "DateOfBirth": [],
                        "Email": {
                          "value": "contact@agaveapi.com"
                        },
                        "Fax": [],
                        "FaxType": {
                          "value": "Home Fax"
                        },
                        "FirstName": {
                          "value": "John"
                        },
                        "LastName": {
                          "value": "Doe"
                        },
                        "MiddleName": [],
                        "Phone1": {
                          "value": "+1 (123) 555-1230"
                        },
                        "Phone1Type": {
                          "value": "Home"
                        },
                        "Phone2": [],
                        "Phone2Type": {
                          "value": "Cell"
                        },
                        "Phone3": [],
                        "Phone3Type": {
                          "value": "Business 1"
                        },
                        "Title": {
                          "value": "Mr."
                        },
                        "WebSite": [],
                        "custom": []
                      },
                      "EmployeeID": {
                        "value": "12345"
                      },
                      "EmployeeName": {
                        "value": "John Doe"
                      },
                      "EmployeeSettings": {
                        "id": "a2913a1e-aa2c-40b9-990c-b8e90b58f50c",
                        "rowNumber": 1,
                        "note": null,
                        "BranchID": {
                          "value": "AnyCompany Branch 1"
                        },
                        "Calendar": {
                          "value": "MAIN"
                        },
                        "CurrencyID": {
                          "value": "USD"
                        },
                        "CurrencyRateTypeID": [],
                        "DepartmentID": {
                          "value": "SALES"
                        },
                        "EmployeeClass": {
                          "value": "EMPHOURLY"
                        },
                        "EmployeeRefNbr": [],
                        "EnableCurrencyOverride": {
                          "value": false
                        },
                        "EnableRateOverride": {
                          "value": false
                        },
                        "LaborItem": {
                          "value": "CONSULTPM"
                        },
                        "RegularHoursValidation": {
                          "value": "Warning Only"
                        },
                        "ReportsTo": [],
                        "RouteEmails": {
                          "value": true
                        },
                        "Salesperson": [],
                        "TimeCardIsRequired": {
                          "value": true
                        },
                        "UnionLocalID": [],
                        "custom": []
                      },
                      "EmploymentHistory": [],
                      "LastModifiedDateTime": {
                        "value": "2022-01-01T00:00:00+00:00"
                      },
                      "Status": {
                        "value": "Active"
                      }
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "Employee-3": {
        "allOf": [
          {
            "$ref": "#/components/schemas/Employee"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The database query for the Source System.",
                    "example": "select * from [employee]"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "empnum": "A123",
                      "name": "John Doe",
                      "address1": "123 Main Street",
                      "address2": "AnyTown, CA 19703",
                      "address3": "",
                      "phonenum": "(513) 555-3214",
                      "ssnum": "000-00-0000",
                      "department": "OFFICE",
                      "location": "",
                      "unionnum": "",
                      "unionlocal": "",
                      "class": "",
                      "exportid": "",
                      "wcompnum1": "6135",
                      "wcompnum2": "",
                      "addresscity": "Anytown",
                      "addressstate": "CA",
                      "addresszip": "19703",
                      "lastname": "Sparks",
                      "firstname": "James",
                      "middlename": "K.",
                      "namesuffix": "",
                      "eeocskillnum": "",
                      "workstate": "",
                      "worklocal": "",
                      "status": 1,
                      "birthdate": "19991-01-11",
                      "sex": 1,
                      "married": 2,
                      "type": 3,
                      "payperiod": 2,
                      "ratetype": 1,
                      "payrate": 26,
                      "overtimemult": 1.5,
                      "billrate": 0,
                      "sicktime": 0,
                      "vactime": 0,
                      "equipop": 2,
                      "eictable": 0,
                      "memo": "",
                      "executivepr": 2,
                      "weeklyhours": 40,
                      "workloc": 0,
                      "sickaccruedate": null,
                      "vacaccruedate": null,
                      "attachid": "0",
                      "eeocrace": 7,
                      "certexempt": 0,
                      "serialnum": "9",
                      "email": "",
                      "emailpw": "",
                      "emailcheck": 0,
                      "noautoot": 0,
                      "sickrules": "JAMES",
                      "vacrules": "JAMES",
                      "empddid": 0,
                      "autootrate": 0,
                      "ffcra_regularrate": 0,
                      "spslself_total": 0,
                      "spslself_used": 0,
                      "spslother_total": 0,
                      "spslother_used": 0,
                      "retirementeligible": 0,
                      "taxgender": 1,
                      "user_1": "Michelle",
                      "user_2": "(513) 740-2514",
                      "user_3": "",
                      "user_4": null
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "Employee-4": {
        "allOf": [
          {
            "$ref": "#/components/schemas/Employee"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "https://mobtest.cmiccloudr12.com/cmictestrti/hcm-rest-api/rest/1/pyemployee?offset=0&limit=50&q=EmpCompCode%3D001"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "EmpNo": "98089",
                      "EmpCalcPref": "S",
                      "EmpComment": null,
                      "EmpResLoc": null,
                      "EmpOtEligibility": null,
                      "EmpPaymentMode": null,
                      "EmpLastIncrDate": null,
                      "EmpLastPromDate": null,
                      "EmpLastTranDate": null,
                      "EmpUser": "JOHNDOE",
                      "EmpIuCreateDatetime": "2023-04-04T12:27:24-04:00",
                      "EmpIuUpdateDatetime": null,
                      "EmpTd1ExempAmt": null,
                      "EmpEiCode": null,
                      "EmpAdpFilingStatus": "S",
                      "EmpSseFlag": "N",
                      "EmpTd1ExempFlag": "N",
                      "EmpEligibilityFlag": "N",
                      "EmpHardshipSuspFlag": "N",
                      "EmpSecGrpEmpCode": null,
                      "EmpSecGrpEmpName": null,
                      "EmpFlsaType": "N",
                      "EmpHemplYearlySal": null,
                      "EmpHemplType": "H",
                      "EmpHasCert": null,
                      "EmpHasSkill": null,
                      "EmpHrrTypeCode": null,
                      "EmpHrrTypeDesc": null,
                      "EmpLastTshJobCompCode": null,
                      "EmpLastTshJobCode": null,
                      "EmpLastTshJobDesc": null,
                      "EmpWorkCellPhone": null,
                      "EmpWorkEmailAddress": null,
                      "EmpVertexGeocodeSource": "M",
                      "EmpAddressForeignFlag": "N",
                      "EmpPhAddressForeignFlag": "N",
                      "EmpPhCountryCode": null,
                      "EmpPhCountryName": null,
                      "EmpPhStateCode": null,
                      "EmpPhStateName": null,
                      "EmpReportsTo": null,
                      "EmpReportsToName": null,
                      "EmpFullName": "Doe John",
                      "EmpFirstName": "John",
                      "EmpMiddleName": null,
                      "EmpLastName": "Doe",
                      "EmpPrefixName": null,
                      "EmpSuffixName": null,
                      "EmpNickName": null,
                      "EmpSinNo": "123456789",
                      "EmpType": "H",
                      "EmpFullPartTime": "F",
                      "EmpStatus": "A",
                      "EmpStatusDesc": "Active",
                      "EmpSubStatus": "W",
                      "EmpCalcAccruedLeave": "Y",
                      "EmpUnionized": "N",
                      "EmpMembershipDate": null,
                      "EmpRehireEligible": "Y",
                      "EmpUniCode": null,
                      "EmpUniName": null,
                      "EmpUnionMemNo": null,
                      "EmpJobTitle": null,
                      "EmpPlaceOfBirth": null,
                      "EmpDateOfBirth": "1999-12-31T19:00:00-05:00",
                      "EmpHireDate": "2021-12-31T19:00:00-05:00",
                      "EmpTerminationDate": null,
                      "EmpReHireDate": null,
                      "EmpDateDeceased": null,
                      "EmpSeniorityDate": null,
                      "EmpNextReviewDate": null,
                      "EmpAdjustedSeriviceDate": "2021-12-31T19:00:00-05:00",
                      "EmpPrimaryEmpNo": "98089",
                      "EmpYearWorkingDays": null,
                      "EmpYearWorkingHours": null,
                      "EmpServiceYears": null,
                      "EmpUeValidFlag": "Y",
                      "EmpCompCode": "001",
                      "EmpCompName": "CMiC Construction Inc",
                      "EmpHomeCompCode": "001",
                      "EmpHomeCompName": "CMiC Construction Inc",
                      "EmpDeptCode": "00",
                      "EmpDeptName": "Company Level",
                      "EmpHomeDeptCode": "00",
                      "EmpHomeDeptName": "Company Level",
                      "EmpGlAccCode": "84090",
                      "EmpGlAccName": "Salaries - Other",
                      "EmpPayrollClearAccCode": "85600",
                      "EmpPayrollClearAccName": "Payroll Clearing",
                      "EmpDrClearAccCode": "85600",
                      "EmpDrClearAccName": "Payroll Clearing",
                      "EmpLevAcruGlAccCode": "20130",
                      "EmpLevAcruGlAccName": "Leave Expense Accrual",
                      "EmpLevClearAccCode": "20131",
                      "EmpLevClearAccName": "Leave Expense Clearing",
                      "EmpPrnCode": "WK",
                      "EmpPrnName": "Weekly Payroll",
                      "EmpPygCode": "CON",
                      "EmpPygName": "CONTRACTOR",
                      "EmpWrlCode": "2100",
                      "EmpWrlName": "ELLERSLIE",
                      "EmpGrdCode": null,
                      "EmpGrdName": null,
                      "EmpTrdCode": "ACCT",
                      "EmpTrdName": "Accountant",
                      "EmpExpAprvGrpCode": null,
                      "EmpExpAprvGrpName": null,
                      "EmpTshCode": "WK",
                      "EmpTshName": "Weekly Payroll",
                      "EmpCklocCode": null,
                      "EmpCklocName": null,
                      "EmpWcbCode": null,
                      "EmpWcbName": null,
                      "EmpPlCode": null,
                      "EmpPlName": null,
                      "EmpWcbByJob": "N",
                      "EmpPlByJob": "N",
                      "EmpWrlFlag": "N",
                      "EmpExcpInclFlag": "N",
                      "EmpInclCertPyRepFlag": "N",
                      "EmpAutogenerateTimesheet": "N",
                      "EmpDispatchFlag": "N",
                      "EmpAnnualSalary": null,
                      "EmpHourlyRate": 10,
                      "EmpChargeOutRate": 1,
                      "EmpBillingRate": 1,
                      "EmpRateCode": "REG",
                      "EmpRateName": "Regular Rate Multiplier",
                      "EmpOtRateCode": "OT",
                      "EmpOtRateName": "Overtime Rate Multiplier",
                      "EmpDotRateCode": "DOT",
                      "EmpDotRateName": "Double Overtime Multiplier",
                      "EmpOthRateCode": "OTHR",
                      "EmpOthRateName": "Other Hours Rate Multiplier",
                      "EmpPreferPayRate": "E",
                      "EmpPreferChargeRate": "J",
                      "EmpPreferBillRate": "J",
                      "EmpDirectDepMethod": "M",
                      "EmpDirectDepEmail": null,
                      "EmpMinHourCode": null,
                      "EmpUserEnteredOt": "N",
                      "EmpUserEnteredDt": "N",
                      "EmpJobCompCode": null,
                      "EmpJobCompName": null,
                      "EmpJobCode": null,
                      "EmpJobName": null,
                      "EmpPhsCode": null,
                      "EmpPhsName": null,
                      "EmpCatCode": null,
                      "EmpCatName": null,
                      "EmpEquipmentNo": null,
                      "EmpEquipmentName": null,
                      "EmpEquipPhsCode": null,
                      "EmpEquipPhsName": null,
                      "EmpEquipCategory": null,
                      "EmpEquipCatName": null,
                      "EmpEquipTranCode": null,
                      "EmpEquipTranName": null,
                      "EmpAddress1": null,
                      "EmpAddress2": null,
                      "EmpAddress3": null,
                      "EmpZipCode": "94127",
                      "EmpPhAddress1": null,
                      "EmpPhAddress2": null,
                      "EmpPhAddress3": null,
                      "EmpPhZipCode": null,
                      "EmpCountryCode": "US",
                      "EmpCountryName": "United States of America",
                      "EmpStateCode": "CA",
                      "EmpStateName": "California",
                      "EmpCountyCode": null,
                      "EmpCountyName": null,
                      "EmpCityCode": null,
                      "EmpCityName": null,
                      "EmpPhone": null,
                      "EmpWorkPhone": null,
                      "EmpCellPhone": null,
                      "EmpPager": null,
                      "EmpFax": null,
                      "EmpWorkFax": null,
                      "EmpEmailAddress": null,
                      "EmpResLatitude": null,
                      "EmpResLongitude": null,
                      "EmpBpCode": null,
                      "EmpPrefContactMth": "E",
                      "EmpVertexGeocode": "050753040",
                      "EmpVertexSchdist": null,
                      "EmpResidentStatus": "C",
                      "EmpFilingStatus": "01",
                      "EmpFilingStatusName": "Single",
                      "EmpStateFilingStatus": null,
                      "EmpStateFilingStatusName": null,
                      "EmpCityFilingStatus": null,
                      "EmpCityFilingStatusName": null,
                      "EmpPrimExemp": null,
                      "EmpSecnExemp": null,
                      "EmpTertExemp": null,
                      "EmpPrimExempAmt": null,
                      "EmpSuplExempAmt": null,
                      "EmpSuiState": null,
                      "EmpSuiStateName": null,
                      "EmpNrCertificate": "Y",
                      "EmpPensionFlag": "N",
                      "EmpDefCompFlag": "N",
                      "EmpAddrCompCode": null,
                      "EmpAddrCode": null,
                      "EmpAddrName": null,
                      "EmpRegCompCode": null,
                      "EmpRegionCode": null,
                      "EmpRegionName": null,
                      "EmpPosCode": null,
                      "EmpPosName": null,
                      "EmpDisabilityDisCode": null,
                      "EmpDisabilityDisName": null,
                      "EmpTravelFlag": "N",
                      "EmpTravelDistance": null,
                      "EmpLanguageLangName": null,
                      "EmpApplicantAplNo": null,
                      "EmpLoginUser": null,
                      "EmpSex": "M",
                      "EmpMaritalStatus": "S",
                      "EmpEthnicCode": "W",
                      "EmpMilitaryStatus": "NV",
                      "EmpMilitarySeparationDate": null,
                      "EmpDominantHand": "R",
                      "EmpLeaveCalcPref": "R",
                      "EmhActionCode": null,
                      "EmhDateDeceased": null,
                      "EmhEffectiveDate": null,
                      "EmpEtimeAccessRoleCode": null,
                      "EmpMsgId": null,
                      "EmpPositionCode": null,
                      "EmpFieldTrackingFlag": "N",
                      "EmpTd1ProvExempAmt": null,
                      "EmpWorkProvince": null,
                      "EmpPensionNumber": null,
                      "EmpDisabledFlag": null,
                      "EmpAboriginalFlag": null,
                      "EmpVisibleMinorityFlag": null,
                      "EmpTxtCode": null,
                      "EmpCreateAccessCode": null,
                      "EmpDeleteAccessCode": null,
                      "EmpDeleteFromAprvList": null,
                      "EmpBenDedEndDate": null,
                      "EmpSource": null,
                      "EmpVUuid": "F885BBFDADE510BBE05316821FACA7B0",
                      "EmpBpFlag": null,
                      "links": [
                        {
                          "rel": "self",
                          "href": "http://mobtest.cmiccloudr12.com:80/cmictestrti/hcm-rest-api/rest/1/pyemployee/F885BBFDADE510BBE05316821FACA7B0",
                          "name": "pyemployee",
                          "kind": "item"
                        },
                        {
                          "rel": "canonical",
                          "href": "http://mobtest.cmiccloudr12.com:80/cmictestrti/hcm-rest-api/rest/1/pyemployee/F885BBFDADE510BBE05316821FACA7B0",
                          "name": "pyemployee",
                          "kind": "item"
                        }
                      ]
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "Employee-5": {
        "allOf": [
          {
            "$ref": "#/components/schemas/Employee"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The database query for the Source System.",
                    "example": "select * from [employees]"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "company_no": "AnyCompany Inc.",
                      "employee_no": "12345",
                      "first_name": "John",
                      "middle_initial": "",
                      "last_name": "Doe",
                      "ss_no": "**********",
                      "sex": "M",
                      "address_1": "123 Main Street",
                      "address_2": "Unit B",
                      "city": "AnyTown",
                      "state": "CA",
                      "zip_code": "19703",
                      "phone": "1235551230",
                      "date_of_birth": "1990-01-01 00:00:00.000",
                      "date_hired": "2022-01-01 00:00:00.000",
                      "date_terminated": "2022-01-01 00:00:00.000",
                      "date_rehired": "2022-01-01 00:00:00.000",
                      "termination_reason": null,
                      "date_last_worked": "2022-01-01 00:00:00.000",
                      "union_no": "12345",
                      "trade_no": "12345",
                      "minority_no": "12345",
                      "tax_pr_no": null,
                      "fed_filing_status": "S ",
                      "state_filing_status": "S ",
                      "certified_payroll": "Y",
                      "direct_deposit": "N",
                      "direct_deposit_number": null,
                      "pay_period_no": "W",
                      "deceased": "N",
                      "futa_suta": "N",
                      "security_access": "N",
                      "hourly_or_salary": "H",
                      "pay_rate": "10.00000",
                      "pay_periods_per_year": "52",
                      "earn_type_no": "REG  ",
                      "comments": null,
                      "dept_no": "12345",
                      "cost_code_no": "12345",
                      "override_for_941": "0",
                      "wc_state": "CA",
                      "wc_class_no": "12345",
                      "sui_state_override": null,
                      "hrs_req_sal_flag": "N",
                      "wc_max_week_exposure": ".00",
                      "pension": "N",
                      "al_file_status": "N",
                      "ms_exemption": ".00",
                      "residence_tax": "N",
                      "veteran": "N",
                      "accrued_time_flag": "N",
                      "prevailing_rate": ".00000",
                      "prevailing_fringe_no": null,
                      "driver_license_number": "******",
                      "driver_license_state": "CA",
                      "record_status": "A",
                      "row_modified_by": "12345",
                      "row_modified_on": "2022-01-01 00:00:00.000",
                      "row_unique_id": "12345",
                      "email_address": "contact@agaveapi.com",
                      "prev_reduction_factor": ".00000",
                      "az_perc_of_federal": ".000000",
                      "ca_add_allowances": "0",
                      "ct_apply_exempt_credits": "Y",
                      "company_id": "12345",
                      "cost_code_id": "12345",
                      "dept_id": "12345",
                      "earn_type_id": "12345",
                      "employee_id": "12345",
                      "minority_id": "12345",
                      "pay_period_id": "12345",
                      "prevailing_fringe_id": null,
                      "ss_id": "*********",
                      "tax_pr_id": null,
                      "trade_id": "12345",
                      "union_id": "12345",
                      "wc_class_id": "12345",
                      "state_of_hire": null,
                      "suffix": null,
                      "prev_reduction_per_pay": ".00",
                      "corporate_officer_flag": "N",
                      "suta_avg_hrs_per_week": ".0000",
                      "in_dep_exemptions": null,
                      "county_pr_no": null,
                      "county_pr_id": null,
                      "statutory": "N",
                      "mi_family_status": null,
                      "provider": null,
                      "nonresident_alien": "N",
                      "crew_no": null,
                      "cell_phone_no": null,
                      "cell_phone_id": null,
                      "crew_id": null,
                      "ssn_applied_for": "N",
                      "ohsa_level": null,
                      "ohsa_cert_num": null,
                      "default_shift": null,
                      "kc_resident": "N",
                      "experience_level": null,
                      "multiracial": "N",
                      "hire_act_start_date": null,
                      "la_dep_exemptions": null,
                      "trns_grad": "N",
                      "equipment_no": null,
                      "equipment_id": null,
                      "union_id_num": null,
                      "ohsa_trade_license": null,
                      "swac_twic_id": null,
                      "allow_recurring_timecards": "N",
                      "attachment_no": null,
                      "driver_license_number_eid": "12345",
                      "ohsa_trade_license_eid": null,
                      "ohsa_cert_num_eid": null,
                      "union_id_num_eid": null,
                      "swac_twic_id_eid": null,
                      "ss_no_eid": "1",
                      "emp_status": "F",
                      "emp_apprentice_rate": ".0000000",
                      "emp_ojt_rate": ".0000000",
                      "dc_owner_relationship": null,
                      "soc_code": null,
                      "unemployment_pay_rate": ".00000",
                      "attachment_id": null,
                      "start_date": "2022-01-01 00:00:00.000",
                      "aca_exempt": "N",
                      "measurement_group_no": null,
                      "geographic_code": null,
                      "use_job_based_accruals": "Y",
                      "apprentice_level": null,
                      "owner_operator": "N",
                      "i9_verified": "N",
                      "apprentice_code": null,
                      "apprentice_code_eid": null,
                      "measurement_group_id": null,
                      "driver_license_exp": null,
                      "claim_status_exemption": "Y",
                      "prev_reduction_pct_gross": ".0000000",
                      "gen_liab_state": null,
                      "gen_liab_class_no": null,
                      "gen_liab_class_id": null,
                      "record_guid": "12345",
                      "hide_disabled_rows_flag": "N",
                      "estimator_salesperson": "N",
                      "nj_rate_table": "0",
                      "fitness_no": null,
                      "non_binary_transgender": "N",
                      "force_ss_limit_yr": null,
                      "force_addl_medicare_yr": null,
                      "wa_ltc_exempt": "N",
                      "fitness_id": null,
                      "co_annual_allowance": ".00",
                      "dc_include_out_of_state_wages": "N",
                      "apprentice_state": null,
                      "electronic_w2_consent": "N"
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "Employee-6": {
        "allOf": [
          {
            "$ref": "#/components/schemas/Employee"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "https://api.hcssapps.com/setups/api/v1/Employee?businessUnitCode=MANAGER"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "code": "DOE,JOHN",
                      "businessUnitCode": "MANAGER",
                      "id": "f4e3ab55-6062-4878-acd1-3ede030a2676",
                      "payClass": "OPERATOR",
                      "phone": "123-555-1230",
                      "address": "123 Main Street",
                      "city": "AnyTown",
                      "state": "CA",
                      "zipCode": "19703",
                      "isForeman": false,
                      "isActive": true,
                      "isSalaried": false,
                      "isDiscontinued": false,
                      "supervisor": "",
                      "defaultEquipment": "",
                      "mobilePhone": "123-555-1010",
                      "lastName": "Doe",
                      "firstName": "John",
                      "accountingTemplateName": "Viewpoint"
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "Employee-7": {
        "allOf": [
          {
            "$ref": "#/components/schemas/Employee"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The database query for the Source System.",
                    "example": "https://{domain}.ineight.com/integrations/v1/Employees?includeAttributes=true"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "CraftId": "12345",
                      "EmployeeId": "12345",
                      "FirstName": "John",
                      "LastName": "Doe",
                      "SourceSystemId": "12345",
                      "VendorCode": null,
                      "IsActive": true,
                      "EmployeePIN": null,
                      "CanReportTime": false,
                      "SourceSystemName": null,
                      "StartDate": "2022-01-01T00:00:00+00:00",
                      "EndDate": "2022-01-01T00:00:00+00:00",
                      "CurrencyCode": "USD",
                      "UOMName": "Hour",
                      "StraightTimeRate": 10,
                      "OverTimeFactor": 1.5,
                      "OverTimeRate": 15,
                      "DoubleTimeFactor": 1,
                      "DoubleTimeRate": 15,
                      "UseBaseWageFactors": true,
                      "UnionSourceSystemId": null,
                      "PrimaryCompany": "AnyCompany Inc",
                      "JobTitle": "Project Manager",
                      "UnionJobTitle": null,
                      "SupervisorId": null,
                      "CountryISOCode": "US",
                      "DefaultCostCenterSourceSystemId": null,
                      "AdditionalPayrollInstructionCode": null,
                      "IsOverrideAdditionalPayrollInstructionCodeAllowed": false,
                      "IsAvailableWeeklyTimeSheet": false,
                      "RequiresSupervisorApproval": true
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "Employee-8": {
        "allOf": [
          {
            "$ref": "#/components/schemas/Employee"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "https://api.procore.com/rest/v1.0/companies/{{company_id}}/users/11280632?is_employee=true"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "address": "123 Main Street",
                      "business_phone": "(123) 555-0100",
                      "city": "AnyTown",
                      "country_code": "US",
                      "email_address": "contact@agaveapi.com",
                      "email_signature": "Sent From Procore.",
                      "employee_id": "123456789",
                      "fax_number": "(123) 555-0101",
                      "first_name": "John",
                      "name": "John Doe",
                      "id": 12345,
                      "initials": "JD",
                      "is_active": true,
                      "is_employee": true,
                      "job_title": "Project Manager",
                      "last_name": "Doe",
                      "mobile_phone": "(123) 555-1010",
                      "notes": "",
                      "state_code": "CA",
                      "zip": "19703",
                      "created_at": "2022-01-01T00:00:00Z",
                      "updated_at": "2022-01-01T00:00:00Z",
                      "is_insurance_manager": false
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "Employee-9": {
        "allOf": [
          {
            "$ref": "#/components/schemas/Employee"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "EmployeeRq"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "SSN": "XXX-XX-XXXX",
                      "PrimaryAddr": {
                        "Id": "4",
                        "Line1": "123 Main St",
                        "City": "AnyTown",
                        "CountrySubDivisionCode": "CA",
                        "PostalCode": "19703"
                      },
                      "BillableTime": false,
                      "BirthDate": "1990-01-01",
                      "Gender": "Male",
                      "HiredDate": "2022-01-01",
                      "domain": "QBO",
                      "sparse": false,
                      "Id": "5",
                      "SyncToken": "2",
                      "MetaData": {
                        "CreateTime": "2022-01-01T00:00:00-00:00",
                        "LastUpdatedTime": "2022-01-01T00:00:00-00:00"
                      },
                      "GivenName": "John",
                      "FamilyName": "Doe",
                      "DisplayName": "John Doe",
                      "PrintOnCheckName": "John Doe",
                      "Active": true,
                      "PrimaryPhone": {
                        "FreeFormNumber": "1235551230"
                      },
                      "Mobile": {
                        "FreeFormNumber": "1235551010"
                      },
                      "PrimaryEmailAddr": {
                        "Address": "contact@agaveapi.com"
                      }
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "Employee-10": {
        "allOf": [
          {
            "$ref": "#/components/schemas/Employee"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "https://quickbooks.api.intuit.com/v3/company/<realmID>/query"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "SSN": "XXX-XX-XXXX",
                      "PrimaryAddr": {
                        "Id": "4",
                        "Line1": "123 Main St",
                        "City": "AnyTown",
                        "CountrySubDivisionCode": "CA",
                        "PostalCode": "19703"
                      },
                      "BillableTime": false,
                      "BirthDate": "1990-01-01",
                      "Gender": "Male",
                      "HiredDate": "2022-01-01",
                      "domain": "QBO",
                      "sparse": false,
                      "Id": "5",
                      "SyncToken": "2",
                      "MetaData": {
                        "CreateTime": "2022-01-01T00:00:00-00:00",
                        "LastUpdatedTime": "2022-01-01T00:00:00-00:00"
                      },
                      "GivenName": "John",
                      "FamilyName": "Doe",
                      "DisplayName": "John Doe",
                      "PrintOnCheckName": "John Doe",
                      "Active": true,
                      "PrimaryPhone": {
                        "FreeFormNumber": "1235551230"
                      },
                      "Mobile": {
                        "FreeFormNumber": "1235551010"
                      },
                      "PrimaryEmailAddr": {
                        "Address": "contact@agaveapi.com"
                      }
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "Employee-11": {
        "allOf": [
          {
            "$ref": "#/components/schemas/Employee"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The SQL path on the Source System.",
                    "example": "select * from [employ]"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "_idnum": "12345935-899F-E511-B83D-005056C00008",
                      "recnum": "1",
                      "lstnme": "Doe",
                      "fstnme": "John",
                      "midini": "J",
                      "status": 1,
                      "addrs1": "123 Main Street",
                      "addrs2": "Unit B",
                      "ctynme": "AnyTown",
                      "state_": "CA",
                      "zipcde": "19703",
                      "phnnum": "123 555-0100",
                      "pagnum": "",
                      "faxnum": "",
                      "cllphn": "123 555-0100",
                      "homnum": "",
                      "e_mail": "",
                      "socsec": "vf4hOW5u3Pyk3nh+ksbvrh7Y0HK8wqFwulrWbInvjcE=",
                      "eqpnum": null,
                      "dtebth": "2022-01-01T00:00:00.000Z",
                      "dtehre": "2022-01-01T00:00:00.000Z",
                      "dteina": null,
                      "lstrse": "2022-01-01T00:00:00.000Z",
                      "gender": 1,
                      "mrtsts": 2,
                      "hertge": 1,
                      "paypst": 1,
                      "wrkcmp": 9999,
                      "empcmp": 1,
                      "crtrpt": 1,
                      "taxste": "CA",
                      "payprd": 1,
                      "paygrp": null,
                      "payrt1": ".0000",
                      "payrt2": ".0000",
                      "payrt3": ".0000",
                      "salary": "1538.46",
                      "advdue": ".00",
                      "accsck": ".00",
                      "sckrte": ".00000",
                      "sckmth": 1,
                      "accvac": ".00",
                      "vacrte": ".00000",
                      "vacmth": 1,
                      "usrdf1": "",
                      "usrdf2": "",
                      "loctax": null,
                      "uninum": null,
                      "ntetxt": "",
                      "qt1grs": "19999.98",
                      "qt2grs": "18461.52",
                      "qt3grs": "1538.46",
                      "qt4grs": ".00",
                      "qt1fic": "19999.98",
                      "qt2fic": "18461.52",
                      "qt3fic": "1538.46",
                      "qt4fic": ".00",
                      "qt1med": "19999.98",
                      "qt2med": "18461.52",
                      "qt3med": "1538.46",
                      "qt4med": ".00",
                      "imgfle": "",
                      "i9verf": 1,
                      "exmovr": 1,
                      "emptyp": 1,
                      "comisn": ".0000",
                      "actnum": "8+C+Kp26+VPqk3y9Rt5fMmFRzK9QLiWMKdxT4f5SKx8=",
                      "rtnmbr": "123456789",
                      "prente": 3,
                      "acttyp": 1,
                      "depamt": ".00",
                      "actnm2": "",
                      "rtnmb2": "",
                      "prent2": 0,
                      "acttp2": 1,
                      "dp2amt": ".00",
                      "actnm3": "",
                      "rtnmb3": "",
                      "prent3": 0,
                      "acttp3": 1,
                      "dp3amt": ".00",
                      "actnm4": "",
                      "rtnmb4": "",
                      "prent4": 0,
                      "acttp4": 1,
                      "dp4amt": ".00",
                      "dirdep": 1,
                      "retchk": 0,
                      "fullst": "Doe, John",
                      "fulfst": "John Doe",
                      "rtetyp": 3,
                      "rtetp2": 0,
                      "rtetp3": 0,
                      "rtetp4": 0,
                      "sckchk": 0,
                      "htglst": 0,
                      "hiract": 0,
                      "pyreml": "contact@agaveapitest.com",
                      "locwrk": null,
                      "othded": ".00",
                      "nthzne": ".00",
                      "lbspfn": ".00",
                      "addtax": ".00",
                      "eftsts": 0,
                      "eftiid": "",
                      "eftrtn": "",
                      "eftact": "",
                      "eftst2": 0,
                      "eftid2": "",
                      "eftrt2": "",
                      "eftac2": "",
                      "eftst3": 0,
                      "eftid3": "",
                      "eftrt3": "",
                      "eftac3": "",
                      "eftst4": 0,
                      "eftid4": "",
                      "eftrt4": "",
                      "eftac4": "",
                      "fstwrk": null,
                      "lstroe": null,
                      "vacdue": ".00",
                      "insdte": "2022-01-01T00:00:00.000Z",
                      "insusr": "John",
                      "upddte": "2022-01-01T00:00:00.000Z",
                      "updusr": "BEST\\johndoe",
                      "w_2elc": 0,
                      "acaelc": 0,
                      "sckmax": ".00",
                      "sckbeg": ".00",
                      "paycls": 0,
                      "inactv": 0,
                      "vacmax": ".00",
                      "vacbeg": ".00",
                      "scklmt": ".00",
                      "sckytd": ".00",
                      "fdskrt": ".00000",
                      "fdsklm": ".00",
                      "fdsktd": ".00",
                      "vaclmt": ".00",
                      "vacytd": ".00",
                      "eeoprx": 0,
                      "w4_1_c": 0,
                      "w4_2_c": 0,
                      "w4_3__": ".00",
                      "w4_4_a": ".00",
                      "w4_4_b": ".00",
                      "w4_4_c": ".00",
                      "w4_dte": null,
                      "soccde": null,
                      "admacs": 0,
                      "ncknme": "",
                      "dental": 0,
                      "pstnme": "Project Manager"
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "Employee-12": {
        "allOf": [
          {
            "$ref": "#/components/schemas/Employee"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The SQL path on the Source System.",
                    "example": "select * from [MASTER_PRM_RECORD_1] order by [MASTER_PRM_RECORD_1].[EMPID] asc"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "EMPID": "12345",
                      "ENAME": "Doe; John",
                      "ETITLE": "Project Manager",
                      "EOCCUP": "Electrical",
                      "ECNTRY": "US",
                      "EADDR1": "123 Main St",
                      "EADDR2": "Unit 1",
                      "ECITY": "AnyTown",
                      "ESTATE": "CA",
                      "EZIP": "19703",
                      "EFSTATE": "",
                      "EFZIP": "",
                      "EEMAIL": "contact@agaveapi.com",
                      "EPHONE": "(123)555-1230",
                      "ESSN": "837-37-9557",
                      "EPGID": "FIELD",
                      "EMOBL": "(123) 555-1010",
                      "ESM": "0",
                      "EGEND": "Male",
                      "EAPPR": "Journeyman",
                      "EBORN": "1990-01-01",
                      "ERACE": "Caucasian",
                      "EELECW2": "0",
                      "ERES2": "CA",
                      "EWORK2": "CA",
                      "ERES3": "",
                      "EWORK3": "",
                      "EUSEEMP": "0",
                      "EWCST": "",
                      "EWCCD": "",
                      "EUSEW4A": "1",
                      "EW4DEP": 0,
                      "EW4OTH": 0,
                      "EW4DED": 0,
                      "EFSTAT": "0",
                      "EEICST": "",
                      "EPEX": 0,
                      "ETAXCD": 0,
                      "EPAY": "1",
                      "EJOB": "A-123",
                      "EPHS": "2-840",
                      "EEQ": "",
                      "ECOST": "",
                      "EUNION": "",
                      "ELOCAL": "",
                      "ECLASS": "",
                      "EDEPT": "",
                      "ECCLASS": "",
                      "ESHIFT": "",
                      "EPROP": "",
                      "EMISC1": "",
                      "EMISC2": "",
                      "EPEN": "0",
                      "ETPSICK": "0",
                      "EABILL": "0",
                      "ECERT": "0",
                      "EHIRE": "2022-01-01",
                      "EHIREQL": "0",
                      "EREHIRE": null,
                      "ETERM": null,
                      "ETRMRES": "None",
                      "ETRMRSN": "None",
                      "ECHKOR": "",
                      "ECHKMAX": 0,
                      "ELCHK": 0,
                      "ELCHKD": null,
                      "ELCHKA": 0,
                      "ELST1": "0",
                      "ELST2": "0",
                      "ELST3": "0",
                      "ELST4": "0",
                      "ELST5": "0",
                      "ELST6": "0",
                      "ELST7": "0",
                      "ELST8": "0",
                      "ELST9": "0",
                      "ELST10": "0",
                      "ESOCCDE": "",
                      "EPYREG": 0,
                      "EYREG": 0,
                      "EPYOT": 0,
                      "EYOT": 0,
                      "EPYOP": 0,
                      "EYOP": 0,
                      "EPYGRSS": 0,
                      "EYGROSS": 0,
                      "EPYTAX": 0,
                      "EYTAX": 0,
                      "EPYDED": 0,
                      "EYDED": 0,
                      "EPYDDDE": 0,
                      "EYDDDED": 0,
                      "EPYNET": 0,
                      "EYNET": 0,
                      "EPYREGH": 0,
                      "EYREGH": 0,
                      "EPYOTH": 0,
                      "EYOTH": 0,
                      "EPYTAXE": 0,
                      "EYTAXE": 0,
                      "EPYFRG": 0,
                      "EYFRG": 0,
                      "EPQREG": 0,
                      "EQREG": 0,
                      "EPQOT": 0,
                      "EQOT": 0,
                      "EPQOP": 0,
                      "EQOP": 0,
                      "EPQGRSS": 0,
                      "EQGROSS": 0,
                      "EPQTAX": 0,
                      "EQTAX": 0,
                      "EPQDED": 0,
                      "EQDED": 0,
                      "EPQDDDE": 0,
                      "EQDDDED": 0,
                      "EPQNET": 0,
                      "EQNET": 0,
                      "EPQREGH": 0,
                      "EQREGH": 0,
                      "EPQOTH": 0,
                      "EQOTH": 0,
                      "EPQTAXE": 0,
                      "EQTAXE": 0,
                      "EPQFRG": 0,
                      "EQFRG": 0,
                      "EPMREG": 0,
                      "EMREG": 0,
                      "EPMOT": 0,
                      "EMOT": 0,
                      "EPMOP": 0,
                      "EMOP": 0,
                      "EPMGRSS": 0,
                      "EMGROSS": 0,
                      "EPMTAX": 0,
                      "EMTAX": 0,
                      "EPMDED": 0,
                      "EMDED": 0,
                      "EPMDDDE": 0,
                      "EMDDDED": 0,
                      "EPMNET": 0,
                      "EMNET": 0,
                      "EPMREGH": 0,
                      "EMREGH": 0,
                      "EPMOTH": 0,
                      "EMOTH": 0,
                      "EPMTAXE": 0,
                      "EMTAXE": 0,
                      "EPMFRG": 0,
                      "EMFRG": 0,
                      "EACAXMP": "Full-time",
                      "EDEFCOD": "Default",
                      "EDEFCST": 0,
                      "ESAFHBR": "Default",
                      "EPOLORG": "Default",
                      "EOSTAMP": "sageintegration",
                      "EDSTAMP": "2023-11-03",
                      "ETSTAMP": "10:46:55",
                      "ERWID": "6ffb1538-6d7a-ee11-8456-122f56880ad7",
                      "ERWVR": "1699033615",
                      "R1NTS": "November 3, 2023  10:30 am, Sage Integration\r\ntest attachment",
                      "R1FLS": null
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "Employee-13": {
        "allOf": [
          {
            "$ref": "#/components/schemas/Employee"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "https://api.intacct.com/ia/xml/xmlgw.phtml"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "RECORDNO": "12345",
                      "EMPLOYEEID": "12345",
                      "LOCATION.LOCATIONID": null,
                      "STATUS": "active",
                      "PERSONALINFO.FIRSTNAME": "John",
                      "PERSONALINFO.LASTNAME": "Doe",
                      "PERSONALINFO.CONTACTNAME": "John Doe",
                      "PERSONALINFO.COMPANYNAME": "AnyCompany Inc.",
                      "PERSONALINFO.EMAIL1": "contact@agaveapi.com",
                      "PERSONALINFO.PHONE1": "123-555-1230",
                      "PERSONALINFO.CELLPHONE": "123-555-1010",
                      "EMPPOSITIONNAME": null,
                      "STARTDATE": "01/01/2022",
                      "GENDER": null,
                      "WHENCREATED": "01/01/2022 00:00:00",
                      "WHENMODIFIED": "01/01/2022 00:00:00"
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "Employee-14": {
        "allOf": [
          {
            "$ref": "#/components/schemas/Employee"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "https://api-integration.servicetitan.io/settings/v2/tenant/{{tenant_source_id}}/technicians"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "id": 3581058,
                      "userId": 3581058,
                      "name": "Jose Muñoz",
                      "roleIds": [
                        4
                      ],
                      "businessUnitId": null,
                      "mainZoneId": null,
                      "zoneIds": [],
                      "createdOn": "2024-10-03T22:46:26.2905361Z",
                      "modifiedOn": "2024-10-03T22:46:26.7172933Z",
                      "email": null,
                      "phoneNumber": "4155557264",
                      "loginName": "Tech_C82",
                      "home": {
                        "street": "240 Avenida Vista Montana",
                        "unit": "C/O Foreman",
                        "country": null,
                        "city": "San Clemente",
                        "state": "CA",
                        "zip": "92672",
                        "streetAddress": "C/O Foreman 240 Avenida Vista Montana",
                        "latitude": null,
                        "longitude": null
                      },
                      "dailyGoal": 0,
                      "isManagedTech": true,
                      "customFields": [],
                      "active": true,
                      "aadUserId": null,
                      "burdenRate": 0,
                      "team": null,
                      "jobFilter": null,
                      "permissions": [
                        {
                          "id": 27,
                          "value": "Edit Purchase Order in Pending Status"
                        },
                        {
                          "id": 263,
                          "value": "Edit Tax"
                        },
                        {
                          "id": 279,
                          "value": "Calculate Prices"
                        },
                        {
                          "id": 289,
                          "value": "View Item Prices"
                        },
                        {
                          "id": 290,
                          "value": "Edit Service Price"
                        },
                        {
                          "id": 291,
                          "value": "Edit Equipment Price"
                        },
                        {
                          "id": 292,
                          "value": "Edit Material Price"
                        },
                        {
                          "id": 293,
                          "value": "Edit Material Charge"
                        },
                        {
                          "id": 478,
                          "value": "Create Purchase Order"
                        },
                        {
                          "id": 493,
                          "value": "Receive Shipment"
                        },
                        {
                          "id": 1024,
                          "value": "Mobile"
                        },
                        {
                          "id": 1027,
                          "value": "Mobile Pricebook Access"
                        },
                        {
                          "id": 1028,
                          "value": "Mobile View Material Costs"
                        },
                        {
                          "id": 1030,
                          "value": "Mobile View Forms"
                        },
                        {
                          "id": 1040,
                          "value": "Mobile Listen To Call Recording"
                        },
                        {
                          "id": 1041,
                          "value": "Mobile Clock In And Out"
                        },
                        {
                          "id": 1050,
                          "value": "Mobile View Scorecard"
                        },
                        {
                          "id": 1100,
                          "value": "Mobile View Customer Record"
                        },
                        {
                          "id": 1101,
                          "value": "Mobile View Location Record"
                        },
                        {
                          "id": 1102,
                          "value": "Mobile View Customer Phone Numbers"
                        },
                        {
                          "id": 1103,
                          "value": "Mobile View Location Phone Numbers"
                        },
                        {
                          "id": 1104,
                          "value": "Mobile View Customer Emails"
                        },
                        {
                          "id": 1105,
                          "value": "Mobile View Location Emails"
                        },
                        {
                          "id": 1106,
                          "value": "Mobile View Job Notes"
                        },
                        {
                          "id": 1107,
                          "value": "Mobile View Job Attachments"
                        },
                        {
                          "id": 1108,
                          "value": "Mobile View Location Attachments"
                        },
                        {
                          "id": 1109,
                          "value": "Mobile View Customer Attachments"
                        },
                        {
                          "id": 1110,
                          "value": "Mobile Check In Out"
                        },
                        {
                          "id": 1111,
                          "value": "Mobile Meal Break"
                        },
                        {
                          "id": 1112,
                          "value": "Mobile Bypass Signature"
                        },
                        {
                          "id": 1113,
                          "value": "Mobile Add On Checkbox"
                        },
                        {
                          "id": 1114,
                          "value": "Mobile Technician Job Sold By Assigning"
                        },
                        {
                          "id": 1115,
                          "value": "Mobile Edit Payment"
                        },
                        {
                          "id": 1116,
                          "value": "Mobile Mark Estimate As Recommended"
                        },
                        {
                          "id": 1117,
                          "value": "Mobile Allow Switch To Training Mode"
                        },
                        {
                          "id": 1118,
                          "value": "Mobile Self Dispatching"
                        },
                        {
                          "id": 1119,
                          "value": "Pause on an Appointment"
                        },
                        {
                          "id": 1120,
                          "value": "Mobile Access Follow Ups"
                        },
                        {
                          "id": 1121,
                          "value": "Mobile View History Tab"
                        },
                        {
                          "id": 1122,
                          "value": "Mobile View Scorecard 2.0"
                        },
                        {
                          "id": 1123,
                          "value": "Mobile Upload Photos And Videos"
                        },
                        {
                          "id": 1125,
                          "value": "Mobile Make Estimate Name Required"
                        },
                        {
                          "id": 1134,
                          "value": "Mobile Allow Forms Duplication"
                        },
                        {
                          "id": 1136,
                          "value": "Mobile Enable Phone Capture"
                        },
                        {
                          "id": 1138,
                          "value": "Enable Visit Assistant"
                        },
                        {
                          "id": 1141,
                          "value": "Allow technician to send POs of permitted PO Types"
                        },
                        {
                          "id": 1142,
                          "value": "Allow technician to add inventoried items to invoices if the item is not on their truck or truck template"
                        },
                        {
                          "id": 1145,
                          "value": "Allow uploading attachments after job is completed or put on hold"
                        },
                        {
                          "id": 1149,
                          "value": "Create Item Requests"
                        },
                        {
                          "id": 1151,
                          "value": "(New) Field Mobile App Experience"
                        },
                        {
                          "id": 1152,
                          "value": "Classic Mobile Experience"
                        }
                      ]
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "Employee-15": {
        "allOf": [
          {
            "$ref": "#/components/schemas/Employee"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The request path on the Source System.",
                    "example": ""
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "ssn": "999999999",
                      "shift": "Z",
                      "gender": "M",
                      "i9DocA": null,
                      "i9DocB": null,
                      "i9DocC": null,
                      "isSmoker": false,
                      "jobTitle": null,
                      "lastName": "Test",
                      "mailstop": null,
                      "payGroup": "NOPAY",
                      "personId": "5c8f16b8-41d3-4a70-a5ca-db23a84a42f3",
                      "termType": null,
                      "userName": "test@gmail.com",
                      "addressId": "16c356cf-e853-4638-b347-23ed28b9c897",
                      "clockCode": null,
                      "companyID": "X1234",
                      "companyId": "X1234",
                      "dateInJob": "2024-06-06T00:00:00",
                      "firstName": "Field",
                      "homePhone": "1234567890",
                      "payPeriod": "W",
                      "addressSms": null,
                      "cobraNotes": null,
                      "emplStatus": "A",
                      "employeeID": "FB4634001234",
                      "employeeId": "FB4634001234",
                      "formerName": null,
                      "healthEyes": null,
                      "healthHair": null,
                      "hireSource": "ATS",
                      "i9Verified": true,
                      "i9VisaType": null,
                      "i9WorkAuth": null,
                      "isAutoPaid": false,
                      "isAutopaid": "N",
                      "isDisabled": false,
                      "middleName": null,
                      "nameFormer": null,
                      "nationalId": "999999999",
                      "okToRehire": "N",
                      "otherRate1": 0,
                      "otherRate2": 0,
                      "otherRate3": 0,
                      "otherRate4": 0,
                      "shiftGroup": "Z",
                      "termReason": null,
                      "unionLocal": null,
                      "addressCity": "Parker",
                      "cobraExport": "N",
                      "cobraReason": null,
                      "cobraStatus": "Z",
                      "companyCode": "TEST",
                      "companyName": "Test Construction, Inc.",
                      "dateOfBirth": "1972-11-21T00:00:00",
                      "militaryEra": null,
                      "previousSSN": null,
                      "timeclockID": null,
                      "weeklyHours": 0,
                      "addressLine1": "123 Main Street",
                      "addressLine2": "",
                      "addressLine3": null,
                      "addressLine4": null,
                      "addressState": "CO",
                      "annualSalary": 70000,
                      "autoAllocate": "N",
                      "currencyCode": null,
                      "dateDeceased": null,
                      "dateLastPaid": null,
                      "datePaidThru": null,
                      "emailAddress": "test@gmail.com",
                      "ethnicIDCode": "3",
                      "healthWeight": 0,
                      "jobGroupCode": null,
                      "languageCode": "EN",
                      "lastHireDate": "2024-02-01T00:00:00",
                      "nationality1": null,
                      "nationality2": null,
                      "nationality3": null,
                      "payGroupCode": "NOPAY",
                      "payScaleCode": null,
                      "piecePayRate": 0,
                      "positionCode": null,
                      "scheduledFTE": 1,
                      "smsApprovals": false,
                      "supervisorID": null,
                      "w2IsDeceased": false,
                      "addressCounty": "Douglas",
                      "bonusTotalHrs": 0,
                      "cobraIsActive": false,
                      "hourlyPayRate": 35,
                      "i9AlienNumber": null,
                      "isMultipleJob": false,
                      "orgLevel1Code": "TEST",
                      "orgLevel2Code": "811",
                      "orgLevel3Code": "CO",
                      "orgLevel4Code": null,
                      "originCountry": null,
                      "preferredName": "Test Field",
                      "unionNational": null,
                      "weeklyPayRate": 1400,
                      "addressCountry": "USA",
                      "addressZipCode": "80138",
                      "dateLastWorked": null,
                      "disabilityType": null,
                      "employeeNumber": "99972",
                      "jobDescription": "Laborer 1",
                      "jobSalaryGrade": null,
                      "namePrefixCode": null,
                      "nameSuffixCode": null,
                      "originLocation": null,
                      "primaryJobCode": "LA1",
                      "salaryOrHourly": "H",
                      "supervisorCOID": null,
                      "totalAnnSalary": 0,
                      "additionalName1": null,
                      "additionalName2": null,
                      "addressLatitude": 40.12343707266717,
                      "bonusTotalOtHrs": 0,
                      "cobraStatusDate": null,
                      "dateOfSeniority": "2024-02-01T00:00:00",
                      "dateTimeChanged": "2024-07-11T10:26:51.333",
                      "dateTimeCreated": "2024-05-01T17:35:28.393",
                      "datetimeChanged": "2024-07-11T10:26:49.617",
                      "datetimeCreated": "2024-05-01T17:35:28.393",
                      "healthBloodType": null,
                      "isAutoAllocated": false,
                      "isMultiPayGroup": false,
                      "leaveReasonCode": null,
                      "militaryService": false,
                      "ssnIsSuppressed": true,
                      "statusStartDate": "2024-02-01T00:00:00",
                      "workPhoneNumber": "9792132323",
                      "avgPayRateCurPer": 0,
                      "companyGLSegment": null,
                      "dateOfCobraEvent": null,
                      "dateOfLocalUnion": null,
                      "dateOfRetirement": "2037-11-21T00:00:00",
                      "dateOfSuspension": null,
                      "earningGroupCode": "UN",
                      "employeeTypeCode": "TES",
                      "healthHeightFeet": null,
                      "homePhoneCountry": "USA",
                      "isSeasonalWorker": false,
                      "numberOfPayments": 0,
                      "originalHireDate": "2024-02-01T00:00:00",
                      "payPeriodPayRate": 1414.4,
                      "primaryShiftCode": "Z",
                      "scheduledWorkHrs": 40,
                      "workPhoneCountry": "USA",
                      "ResidentialStatus": "CIT",
                      "dateOfCobraExport": null,
                      "dateOfCobraLetter": null,
                      "dateOfTermination": null,
                      "ethnicDescription": "Hispanic or Latino",
                      "locationGLSegment": "MAIN",
                      "maritalStatusCode": "S",
                      "nationalIdCountry": "USA",
                      "chkCashingInstCode": null,
                      "dateOfI9Expiration": null,
                      "deductionGroupCode": "UN",
                      "employeeStatusCode": "A",
                      "healthHeightInches": null,
                      "homePhoneIsPrivate": true,
                      "militaryIsMedalVet": "D",
                      "plannedLeaveReason": null,
                      "primaryProjectCode": null,
                      "salaryOrHourlyCode": "H",
                      "scheduledAnnualHrs": 2080,
                      "smsPayNotification": false,
                      "supervisorLastName": null,
                      "workPhoneExtension": null,
                      "consentElectronicW2": false,
                      "dateLastPayDatePaid": null,
                      "dateOfNationalUnion": null,
                      "isHighlyCompensated": false,
                      "jobChangeReasonCode": "Z",
                      "payGroupDescription": "No Pay Employees",
                      "supervisorFirstName": null,
                      "healthLastDonateDate": null,
                      "i9VisaExpirationDate": null,
                      "militaryBranchServed": null,
                      "militaryIsOthEligVet": "N",
                      "consentElectronicw2pr": false,
                      "dateOfEarlyRetirement": "2034-11-21T00:00:00",
                      "emailAddressAlternate": "test@noemail.com",
                      "militaryIsDisabledVet": "D",
                      "performanceReviewType": null,
                      "primaryShiftGroupCode": "Z",
                      "supervisorCompanyCode": null,
                      "addressIsOnTaxBoundary": false,
                      "dateOfBenefitSeniority": "2024-02-01T00:00:00",
                      "dateOfLastSalaryReview": null,
                      "dateOfNextSalayrReview": "2024-05-01T00:00:00",
                      "distributionCenterCode": "MAIL",
                      "fullTimeOrPartTimeCode": "F",
                      "militarySeparationDate": null,
                      "lastNameNotSameAsSSCard": null,
                      "performanceReviewRating": null,
                      "primaryWorkLocationCode": "MAIN",
                      "scheduledAnnualWorkHours": 2080,
                      "scheduledPeriodWorkHours": 40,
                      "supervisorEmployeeNumber": null,
                      "communityBroadcastSmsCode": null,
                      "militaryIsOthEligVetBasis": null,
                      "militaryIsActiveWartimeVet": "D",
                      "scheduledFullTimeEquivalency": 1,
                      "terminationReasonDescription": null
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "Employee-16": {
        "allOf": [
          {
            "$ref": "#/components/schemas/Employee"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "https://{{domain}}.dexterchaney.com:8482/ws/GetEmployee"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "Company_Code": "12345",
                      "Employee_Code": "A123",
                      "Employee_Name": "John Doe",
                      "Supervisor_Code": "123",
                      "Employment_Status": "A",
                      "Department_Code": "12345",
                      "Union_Code": "12345",
                      "Wage_Class": "A1",
                      "Worker_Comp_Code": "12345",
                      "First_Name": "John",
                      "Middle_Name": null,
                      "Last_Name": "Doe",
                      "Occupation": "Project Management",
                      "Trade": "Electrical",
                      "Title": "Project Manager",
                      "Employee_Mobile_Phone": "1235551230",
                      "Employee_Extension": null,
                      "Cost_Center": "1010",
                      "Error_Code": null,
                      "Error_Description": null,
                      "Error_Column": null
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "Employee-17": {
        "allOf": [
          {
            "$ref": "#/components/schemas/Employee"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The SQL path on the Source System.",
                    "example": "select * from [bPREH] where [bPREH].[PRCo] = 12345 order by [bPREH].[Employee] asc offset 1 rows fetch next 1 rows only"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "PRCo": "12345",
                      "Employee": "12345",
                      "LastName": "Doe",
                      "FirstName": "John",
                      "MidName": "Jay",
                      "SortName": "DOEJOHN",
                      "Address": "123 Main Street",
                      "City": "AnyTown",
                      "State": "CA",
                      "Zip": "19703",
                      "Address2": null,
                      "Phone": "5551230100",
                      "SSN": "123-45-6789",
                      "Race": "1",
                      "Sex": "M",
                      "BirthDate": null,
                      "HireDate": "2022-01-01 00:00:00",
                      "TermDate": null,
                      "PRGroup": "12345",
                      "PRDept": "12345",
                      "Craft": "12345",
                      "Class": "12345",
                      "InsCode": "812345",
                      "TaxState": null,
                      "UnempState": "CA",
                      "InsState": "CA",
                      "LocalCode": null,
                      "GLCo": "12345",
                      "UseState": "N",
                      "UseIns": "N",
                      "JCCo": null,
                      "Job": null,
                      "Crew": null,
                      "LastUpdated": null,
                      "EarnCode": "12345",
                      "HrlyRate": ".00000",
                      "SalaryAmt": ".00",
                      "OTOpt": "W",
                      "OTSched": null,
                      "JCFixedRate": ".00000",
                      "EMFixedRate": ".00000",
                      "SMFixedRate": ".00000",
                      "YTDSUI": ".00",
                      "OccupCat": null,
                      "CatStatus": null,
                      "DirDeposit": "N",
                      "RoutingId": null,
                      "BankAcct": null,
                      "AcctType": "C",
                      "ActiveYN": "Y",
                      "PensionYN": "N",
                      "PostToAll": "N",
                      "CertYN": "Y",
                      "ChkSort": null,
                      "AuditYN": "Y",
                      "Notes": null,
                      "UniqueAttchID": null,
                      "Email": "contact@agaveapi.com",
                      "DefaultPaySeq": "N",
                      "DDPaySeq": null,
                      "Suffix": null,
                      "TradeSeq": null,
                      "CSLimit": null,
                      "CSGarnGroup": null,
                      "CSAllocMethod": "P",
                      "Shift": null,
                      "NonResAlienYN": "N",
                      "KeyID": "12345",
                      "Country": "US",
                      "HDAmt": null,
                      "F1Amt": null,
                      "LCFStock": null,
                      "LCPStock": null,
                      "NAICS": null,
                      "AUEFTYN": "N",
                      "AUAccountNumber": null,
                      "AUBSB": null,
                      "AUReference": null,
                      "EMCo": "12345",
                      "Equipment": null,
                      "EMGroup": "12345",
                      "PayMethodDelivery": "N",
                      "CPPQPPExempt": "N",
                      "EIExempt": "N",
                      "PPIPExempt": "N",
                      "TimesheetRevGroup": null,
                      "UpdatePRAEYN": "N",
                      "WOTaxState": null,
                      "WOLocalCode": null,
                      "UseLocal": "N",
                      "UseUnempState": "N",
                      "UseInsState": "N",
                      "NewHireActStartDate": null,
                      "NewHireActEndDate": null,
                      "CellPhone": "5551234564",
                      "ArrearsActiveYN": "N",
                      "RecentRehireDate": "2022-01-01 00:00:00",
                      "RecentSeparationDate": null,
                      "SeparationReason": null,
                      "SeparationReasonExplanation": null,
                      "WeeklyHours": ".00",
                      "ETPPostedYN": "N",
                      "AdditionalSourceDedns": null,
                      "AuthorizedSourceDedns": null,
                      "ExemptHealthContribution": "N",
                      "AlwaysCalcQPIP": "N",
                      "PrintInFrench": "N",
                      "CAProgramAccount": null,
                      "QCFileNumber": null,
                      "EmailW2YN": "N",
                      "Email1095CYN": "N",
                      "EmailT4YN": "N",
                      "EmailPAYGSumYN": "N",
                      "PAYGIncomeType": null,
                      "StatusIndianYN": "N",
                      "APVendorGroup": "12345",
                      "APVendor": null,
                      "PRUpdateAPVMYN": "N",
                      "GeographicCode": null,
                      "JobKeeperStartFN": null,
                      "JobKeeperFinishFN": null,
                      "JobKeeperTierLevel": null,
                      "JobMakerNominate": null,
                      "JobMakerRenominate": null,
                      "JobMakerEligPeriod01": null,
                      "JobMakerEligPeriod02": null,
                      "JobMakerEligPeriod03": null,
                      "JobMakerEligPeriod04": null,
                      "JobMakerEligPeriod05": null,
                      "JobMakerEligPeriod06": null,
                      "JobMakerEligPeriod07": null,
                      "JobMakerEligPeriod08": null,
                      "GenderIdentity": null,
                      "GenderIdentityOther": null,
                      "EmploymentBasis": "F",
                      "CessationType": null,
                      "MedicareLevySurchargeYN": "N",
                      "MedicareLevySurchargeTier": null,
                      "MedicareLevyReductionYN": "N",
                      "IncomeStreamCountry": null,
                      "FederalTaxExemptYN": "N"
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "NewEmployee": {
        "type": "object",
        "required": [
          "code",
          "first_name",
          "last_name",
          "source_data"
        ],
        "properties": {
          "address": {
            "$ref": "#/components/schemas/Address"
          },
          "code": {
            "description": "The Employee's code.",
            "type": "string",
            "example": "JDOE"
          },
          "email": {
            "type": "string",
            "description": "The email address for the Employee.",
            "example": "contact@agaveapi.com"
          },
          "first_name": {
            "description": "The Employee's first name.",
            "type": "string",
            "example": "John"
          },
          "gender": {
            "type": "string",
            "description": "The gender of the Employee. \n",
            "example": "Male",
            "enum": [
              "Female",
              "Male"
            ]
          },
          "hire_date": {
            "allOf": [
              {
                "description": "The date when the Employee was last hired."
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ]
          },
          "industry": {
            "description": "The Employee's industry or trade.\n\n**Note for Foundation**: a list of possible values for this field can be found with the \"description\" column in the `trades` table, which requires a passthrough request. To learn more about passthrough requests, see [link](/agave-api/passthrough-requests#foundation-viewpoint-spectrum-and-viewpoint-vista).\n",
            "type": "string",
            "example": "Electrical"
          },
          "last_name": {
            "description": "The Employee's last name.",
            "type": "string",
            "example": "Doe"
          },
          "phone": {
            "description": "The Employee's phone number.",
            "type": "string",
            "example": "(123) 555-1230"
          },
          "termination_date": {
            "allOf": [
              {
                "description": "The date when the Employee most recently left the company."
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ]
          },
          "source_data": {
            "type": "object",
            "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
            "properties": {
              "fed_filing_status": {
                "type": "string",
                "description": "The federal filing status for the Employee.\n\n**Note for Foundation**: possible values include \"M\" for \"Married\", or \"S\" for \"Single\".\n",
                "enum": [
                  "M",
                  "S"
                ],
                "example": "S"
              },
              "state_filing_status": {
                "type": "string",
                "description": "The state filing status for the Employee.\n\n**Note for Foundation**: possible values include \"HH\" for Head of Household, “MJ” for a married employee filing jointly, “MS” for a married employee filing separately, and \"S\" for \"Single\".\n",
                "enum": [
                  "HH",
                  "MJ",
                  "MS",
                  "S"
                ],
                "example": "S"
              },
              "pay_period_no": {
                "type": "string",
                "description": "The pay period for the Employee.\n\n**Note for Foundation**: a list of possible values for this field can be found with the \"pay_period_no\" column in the `pay_periods` table, which requires a passthrough request. To learn more about passthrough requests, see [link](/agave-api/passthrough-requests#foundation-viewpoint-spectrum-and-viewpoint-vista).\n",
                "example": "W"
              },
              "pay_periods_per_year": {
                "type": "string",
                "description": "The number of pay periods per year for the Employee.\n",
                "example": "52"
              },
              "tax_state": {
                "type": "string",
                "description": "The tax state for the Employee.\n\n**Note for Foundation**: this field is not returned in the Source Data response object.\n",
                "example": "CA"
              }
            }
          }
        }
      },
      "NewEmployee-2": {
        "required": [
          "first_name",
          "last_name",
          "source_data"
        ],
        "type": "object",
        "properties": {
          "address": {
            "$ref": "#/components/schemas/Address"
          },
          "email": {
            "type": "string",
            "description": "The email address for the Employee.",
            "example": "contact@agaveapi.com"
          },
          "first_name": {
            "description": "The Employee's first name.",
            "type": "string",
            "example": "John"
          },
          "last_name": {
            "description": "The Employee's last name.",
            "type": "string",
            "example": "Doe"
          },
          "mobile_phone": {
            "description": "The Employee's mobile phone number.",
            "type": "string",
            "example": "(123) 555-1010"
          },
          "phone": {
            "description": "The Employee's phone number.",
            "type": "string",
            "example": "(123) 555-1230"
          },
          "status": {
            "description": "The Employee's status.",
            "type": "string",
            "example": "Active",
            "enum": [
              "Active",
              "Inactive"
            ]
          },
          "type": {
            "type": "string",
            "description": "The Employee's type.\n\n**Note for HCSS HeavyJob**: valid enums include \"Hourly\" and \"Salaried\".\n",
            "example": "Employee"
          },
          "source_data": {
            "type": "object",
            "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
            "properties": {
              "code": {
                "allOf": [
                  {
                    "description": "The code of the Employee in the Source System."
                  },
                  {
                    "type": "string"
                  },
                  {
                    "example": "DOE,JOHN"
                  }
                ]
              }
            }
          }
        }
      },
      "NewEmployee-3": {
        "type": "object",
        "required": [
          "first_name",
          "last_name",
          "source_data"
        ],
        "properties": {
          "address": {
            "$ref": "#/components/schemas/Address"
          },
          "company": {
            "description": "The Employee's company.",
            "type": "string",
            "example": "AnyCompany Inc."
          },
          "first_name": {
            "description": "The Employee's first name.",
            "type": "string",
            "example": "John"
          },
          "hire_date": {
            "allOf": [
              {
                "description": "The date when the Employee was last hired."
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ]
          },
          "job_title": {
            "description": "The Employee's job title.",
            "type": "string",
            "example": "Project Manager"
          },
          "last_name": {
            "description": "The Employee's last name.",
            "type": "string",
            "example": "Doe"
          },
          "source_data": {
            "type": "object",
            "properties": {
              "CurrencyCode": {
                "type": "string",
                "description": "The currency associated with the employee which is used to determine the employee’s standard rate of pay.",
                "example": "USD"
              },
              "CraftId": {
                "type": "string",
                "description": "The craft of the employee. The value in this field must match a valid public identifier for a craft from the Crafts Integration or values manually entered in InEight.",
                "example": "12345"
              },
              "EmployeeId": {
                "type": "string",
                "description": "The identifier of the Employee in InEight. Note, this value becomes the `source_id`.",
                "example": "12345"
              },
              "UOMName": {
                "type": "string",
                "description": "The name or identifier of an existing Unit of Measure record that should be used for resources assigned to the employee. This is used to determine the employee’s standard rate of pay.",
                "example": "Hour"
              }
            }
          }
        }
      },
      "NewEmployee-4": {
        "type": "object",
        "properties": {
          "address": {
            "$ref": "#/components/schemas/Address"
          },
          "email": {
            "type": "string",
            "description": "The email address for the Employee.",
            "example": "contact@agaveapi.com"
          },
          "first_name": {
            "description": "The Employee's first name.",
            "type": "string",
            "example": "John"
          },
          "full_name": {
            "description": "The Employee's full name.",
            "type": "string",
            "example": "John Doe"
          },
          "job_title": {
            "description": "The Employee's job title.",
            "type": "string",
            "example": "Project Manager"
          },
          "last_name": {
            "description": "The Employee's last name.",
            "type": "string",
            "example": "Doe"
          },
          "mobile_phone": {
            "description": "The Employee's mobile phone number.",
            "type": "string",
            "example": "(123) 555-1010"
          },
          "phone": {
            "description": "The Employee's phone number.",
            "type": "string",
            "example": "(123) 555-1230"
          },
          "status": {
            "description": "The Employee's status.\n\n**Note for Procore**: Possible values include \"Active\" and \"Inactive\".\n\n**Note for QuickBooks Online**: Based on the employee record's status (not Payroll status). Possible values include \"Active\" and \"Inactive\".\n\n**Note for Viewpoint Spectrum**: Possible values include \"Active\", \"Inactive\", \"Terminated\", and \"Deceased\".\n",
            "type": "string",
            "example": "Active"
          }
        }
      },
      "NewEmployee-5": {
        "required": [
          "first_name",
          "last_name"
        ],
        "type": "object",
        "properties": {
          "address": {
            "$ref": "#/components/schemas/Address"
          },
          "email": {
            "type": "string",
            "description": "The email address for the Employee.",
            "example": "contact@agaveapi.com"
          },
          "first_name": {
            "description": "The Employee's first name.",
            "type": "string",
            "example": "John"
          },
          "gender": {
            "type": "string",
            "description": "The gender of the Employee. \n\n**Note for QuickBooks Desktop**: this field is not supported for update requests.\n",
            "example": "Male",
            "enum": [
              "Female",
              "Male"
            ]
          },
          "hire_date": {
            "allOf": [
              {
                "description": "The date when the Employee was last hired."
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ]
          },
          "job_title": {
            "description": "The Employee's job title.",
            "type": "string",
            "example": "Project Manager"
          },
          "last_name": {
            "description": "The Employee's last name.",
            "type": "string",
            "example": "Doe"
          },
          "mobile_phone": {
            "description": "The Employee's mobile phone number.",
            "type": "string",
            "example": "(123) 555-1010"
          },
          "phone": {
            "description": "The Employee's phone number.",
            "type": "string",
            "example": "(123) 555-1230"
          },
          "status": {
            "description": "The Employee's status.",
            "type": "string",
            "example": "Active",
            "enum": [
              "Active",
              "Inactive"
            ]
          }
        }
      },
      "NewEmployee-6": {
        "required": [
          "employee_id",
          "first_name",
          "last_name",
          "status",
          "type",
          "gender",
          "job_title",
          "source_data"
        ],
        "type": "object",
        "properties": {
          "employee_id": {
            "type": "string",
            "description": "The unique identifier for the employee",
            "example": "EMP12345"
          },
          "first_name": {
            "type": "string",
            "description": "The employee's first name",
            "example": "Dan"
          },
          "last_name": {
            "type": "string",
            "description": "The employee's last name",
            "example": "Simmons"
          },
          "gender": {
            "type": "string",
            "description": "The employee's gender",
            "example": "Male"
          },
          "hire_date": {
            "type": "string",
            "format": "date",
            "description": "The date the employee was hired",
            "example": "1989-08-14"
          },
          "job_title": {
            "type": "string",
            "description": "The employee's job title",
            "example": "Comptroller"
          },
          "email": {
            "type": "string",
            "format": "email",
            "description": "The employee’s work email",
            "example": "ds@aol.com"
          },
          "phone": {
            "type": "string",
            "description": "The employee’s primary phone number",
            "example": "2222222222"
          },
          "mobile_phone": {
            "type": "string",
            "description": "The employee’s mobile phone number",
            "example": "1111111111"
          },
          "code": {
            "type": "string",
            "description": "The Employee’s code in Sage",
            "example": "68"
          },
          "status": {
            "type": "string",
            "description": "The Employee’s status in Sage 100C (e.g. Active, Terminated, etc.)",
            "example": "Terminated"
          },
          "termination_date": {
            "type": "string",
            "format": "date",
            "description": "The Employee’s termination date in Sage 100C",
            "example": "2024-01-02"
          },
          "type": {
            "type": "string",
            "description": "The Employee’s type in Sage 100C (e.g. Regular Full-time)",
            "example": "Regular Full-time"
          },
          "address": {
            "type": "object",
            "description": "The employee's primary address. Note that Sage100C does not record Country in address.",
            "properties": {
              "street_1": {
                "type": "string",
                "description": "The first line of the address",
                "example": "240 Avenida Vista Montana"
              },
              "street_2": {
                "type": "string",
                "description": "The second line of the address (e.g., apartment, suite, or care of)",
                "example": "C/O Foreman"
              },
              "city": {
                "type": "string",
                "description": "The city of the address",
                "example": "San Clemente"
              },
              "state": {
                "type": "string",
                "description": "The state of the address",
                "example": "CA"
              },
              "postal_code": {
                "type": "string",
                "description": "The postal code of the address",
                "example": "92672"
              }
            }
          },
          "source_data": {
            "type": "object",
            "description": "Additional Sage-specific input data or overrides.\nMay include fields that map directly to Sage 100C’s underlying fields.\n",
            "properties": {
              "Heritage": {
                "type": "integer",
                "description": "The Sage 100C \"hertge\" field",
                "example": 0
              },
              "PayPeriod": {
                "type": "integer",
                "description": "The Sage 100C \"payprd\" field",
                "example": 1
              },
              "TaxState": {
                "type": "string",
                "description": "The Sage 100C \"taxste\" field",
                "example": "CA"
              },
              "WorkersCompCodeRef": {
                "type": "object",
                "description": "The Sage 100C \"wrkcmp\" field reference",
                "properties": {
                  "ObjectID": {
                    "type": "integer",
                    "example": 5697
                  }
                }
              }
            }
          }
        }
      },
      "NewEmployee-7": {
        "required": [
          "code",
          "full_name"
        ],
        "type": "object",
        "properties": {
          "employee_id": {
            "type": "string",
            "description": "The unique identifier for the employee",
            "example": "EMP12345"
          },
          "full_name": {
            "type": "string",
            "description": "The employee's first name",
            "example": "Dan Flavin"
          },
          "gender": {
            "type": "string",
            "description": "The employee's gender",
            "example": "Male"
          },
          "hire_date": {
            "type": "string",
            "format": "date",
            "description": "The date the employee was hired",
            "example": "1989-08-14"
          },
          "job_title": {
            "type": "string",
            "description": "The employee's job title",
            "example": "Comptroller"
          },
          "email": {
            "type": "string",
            "format": "email",
            "description": "The employee’s work email",
            "example": "ds@aol.com"
          },
          "phone": {
            "type": "string",
            "description": "The employee’s primary phone number",
            "example": "2222222222"
          },
          "mobile_phone": {
            "type": "string",
            "description": "The employee’s mobile phone number",
            "example": "1111111111"
          },
          "code": {
            "type": "string",
            "description": "The Employee’s code in Sage",
            "example": "68"
          },
          "address": {
            "type": "object",
            "description": "The employee's primary address.",
            "properties": {
              "street_1": {
                "type": "string",
                "description": "The first line of the address",
                "example": "240 Avenida Vista Montana"
              },
              "street_2": {
                "type": "string",
                "description": "The second line of the address (e.g., apartment, suite, or care of)",
                "example": "C/O Foreman"
              },
              "city": {
                "type": "string",
                "description": "The city of the address",
                "example": "San Clemente"
              },
              "state": {
                "type": "string",
                "description": "The state of the address",
                "example": "CA"
              },
              "postal_code": {
                "type": "string",
                "description": "The postal code of the address",
                "example": "92672"
              },
              "country": {
                "type": "string",
                "description": "The country of the address",
                "example": "US"
              }
            }
          }
        }
      },
      "NewEmployee-8": {
        "type": "object",
        "properties": {
          "address": {
            "$ref": "#/components/schemas/Address"
          },
          "email": {
            "type": "string",
            "description": "The email address for the Employee.",
            "example": "contact@agaveapi.com"
          },
          "full_name": {
            "description": "The Employee's full name.",
            "type": "string",
            "example": "John Doe"
          },
          "phone": {
            "description": "The Employee's phone number.",
            "type": "string",
            "example": "(123) 555-1230"
          },
          "type": {
            "description": "The Employee type.",
            "type": "string",
            "example": "Technician",
            "enum": [
              "Technician"
            ]
          },
          "source_data": {
            "type": "object",
            "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
            "properties": {
              "roleId": {
                "description": "The ID of the Technician role. These can be found under Settings > People > Role Permissions. The ID can be found in the URL when editing a role.\n",
                "example": "1"
              },
              "licenseType": {
                "description": "The type of license for the Technician.\n",
                "enum": [
                  "ManagedTech",
                  "NonManagedTech",
                  "ManagedInstaller"
                ],
                "example": "ManagedTech"
              },
              "positions": {
                "type": "array",
                "items": {
                  "type": "string",
                  "description": "A list of company positions that best captures the Technician's roles and responsibilities.\n",
                  "enum": [
                    "Installer",
                    "Service",
                    "Sales",
                    "Maintenance",
                    "Helper",
                    "InstallProductionManager",
                    "ServiceManager",
                    "SalesManager",
                    "PartRunner",
                    "DummyTech"
                  ]
                },
                "example": [
                  "Service",
                  "DummyTech"
                ]
              }
            }
          }
        }
      },
      "EstimateLineItem": {
        "type": "object",
        "properties": {
          "id": {
            "allOf": [
              {
                "description": "The UUID of the Line Item assigned by Agave."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "source_id": {
            "type": "string",
            "readOnly": true,
            "example": "12345",
            "description": "The ID of the Line Item in the Source System."
          },
          "amount": {
            "type": "string",
            "description": "The total monetary amount of the Line Item, including tax.",
            "example": "100.00"
          },
          "description": {
            "type": "string",
            "description": "A description of the Line Item.",
            "example": "Two tons of cement."
          },
          "item_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Item](#tag--items) for the Line Item."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "quantity": {
            "type": "string",
            "description": "The estimated quantity of the unit in the Line Item.",
            "example": "2.0"
          },
          "type": {
            "type": "string",
            "description": "The type of the Line Item.",
            "example": "Concrete"
          },
          "unit_price": {
            "type": "string",
            "description": "The price of each unit associated with the Line Item.",
            "example": "50.0"
          },
          "source_create_time": {
            "allOf": [
              {
                "description": "The datetime the Line Item was created in the Source System."
              },
              {
                "$ref": "#/components/schemas/DateTimeProperty"
              }
            ]
          },
          "source_update_time": {
            "allOf": [
              {
                "description": "The datetime the Line Item was last updated in the Source System."
              },
              {
                "$ref": "#/components/schemas/DateTimeProperty"
              }
            ]
          }
        }
      },
      "Estimate": {
        "type": "object",
        "properties": {
          "id": {
            "allOf": [
              {
                "description": "The UUID of the Estimate assigned by Agave."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "source_id": {
            "type": "string",
            "readOnly": true,
            "example": "12345",
            "description": "The ID of the Estimate in the Source System."
          },
          "address": {
            "allOf": [
              {
                "description": "The address for the Estimate."
              },
              {
                "$ref": "#/components/schemas/Address"
              }
            ]
          },
          "amount": {
            "type": "string",
            "description": "The total amount of the Estimate, including tax.",
            "example": "318.60"
          },
          "customer_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Customer](#tag--customers)."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "due_date": {
            "allOf": [
              {
                "description": "The date when payment for the Estimate is due."
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ]
          },
          "issue_date": {
            "allOf": [
              {
                "description": "The date of the Estimate. **Note:** if a value is not included for this field, this value will default to the Source System's current date."
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ]
          },
          "line_items": {
            "description": "The line items for the Estimate.",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/EstimateLineItem"
            }
          },
          "name": {
            "type": "string",
            "description": "The name of the Estimate.",
            "example": "Concrete pour"
          },
          "number": {
            "type": "string",
            "description": "The number of the Estimate.",
            "example": "A123"
          },
          "status": {
            "type": "string",
            "description": "The current status of the Estimate.",
            "example": "Scheduled"
          },
          "source_create_time": {
            "allOf": [
              {
                "description": "The datetime the Estimate was created in the Source System."
              },
              {
                "$ref": "#/components/schemas/DateTimeProperty"
              }
            ]
          },
          "source_update_time": {
            "allOf": [
              {
                "description": "The datetime the Estimate was last updated in the Source System."
              },
              {
                "$ref": "#/components/schemas/DateTimeProperty"
              }
            ]
          }
        }
      },
      "Estimate-2": {
        "allOf": [
          {
            "$ref": "#/components/schemas/Estimate"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "https://api.housecallpro.com/estimates/{id}"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "id": "12345",
                      "estimate_number": "123",
                      "work_status": "scheduled",
                      "lead_source": null,
                      "customer": {
                        "id": "12345",
                        "first_name": "John",
                        "last_name": "Doe",
                        "email": "contact@agaveapi.com",
                        "mobile_number": "(123) 555-0100",
                        "home_number": "(123) 555-0100",
                        "work_number": "(123) 555-0100\"",
                        "company": "AnyCustomer Inc.",
                        "notifications_enabled": true,
                        "lead_source": null,
                        "company_name": "AnyCustomer",
                        "company_id": "12345",
                        "tags": [
                          "string"
                        ]
                      },
                      "address": {
                        "id": "12345",
                        "type": "service",
                        "street": "123 Main Street",
                        "street_line_2": "Unit 1",
                        "city": "AnyTown",
                        "state": "CA",
                        "zip": "19703",
                        "country": "USA"
                      },
                      "company_name": "AnyCompany Inc.",
                      "company_id": "12345",
                      "work_timestamps": {
                        "on_my_way_at": null,
                        "started_at": null,
                        "completed_at": null
                      },
                      "schedule": {
                        "scheduled_start": "2022-01-01T00:00:00Z",
                        "scheduled_end": "2022-01-01T00:00:00Z",
                        "arrival_window": 0
                      },
                      "assigned_employees": [
                        {
                          "id": "12345",
                          "first_name": "Jane",
                          "last_name": "Doe",
                          "email": "support@agaveapi.com",
                          "mobile_number": "(123) 555-0100",
                          "color_hex": "EF9159",
                          "avatar_url": "/assets/add_image_thumb.png",
                          "role": "field tech",
                          "tags": [],
                          "permissions": {
                            "can_add_and_edit_job": true,
                            "can_be_booked_online": true,
                            "can_call_and_text_with_customers": true,
                            "can_chat_with_customers": true,
                            "can_delete_and_cancel_job": true,
                            "can_edit_message_on_invoice": false,
                            "can_see_street_view_data": true,
                            "can_share_job": true,
                            "can_take_payment_see_prices": true,
                            "can_see_customers": true,
                            "can_see_full_schedule": true,
                            "can_see_future_jobs": true,
                            "can_see_marketing_campaigns": true,
                            "can_see_reporting": true,
                            "can_edit_settings": true,
                            "is_point_of_contact": false,
                            "is_admin": true
                          },
                          "company_name": "AnyCompany Inc.",
                          "company_id": "12345"
                        }
                      ],
                      "options": [
                        {
                          "id": "12345",
                          "name": "Option #1",
                          "option_number": "2-1",
                          "total_amount": 93000,
                          "approval_status": null,
                          "message_from_pro": null
                        },
                        {
                          "id": "12345",
                          "name": "Option #2",
                          "option_number": "2-2",
                          "total_amount": 100000,
                          "approval_status": null,
                          "message_from_pro": null
                        }
                      ]
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "Estimate-3": {
        "allOf": [
          {
            "$ref": "#/components/schemas/Estimate"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The XML path on the Source System.",
                    "example": "EstimateRq"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "TxnID": "12345",
                      "TimeCreated": "2022-01-01T00:00:00-00:00",
                      "TimeModified": "2022-01-01T00:00:00-00:00",
                      "EditSequence": "1797370216",
                      "TxnNumber": "2586",
                      "CustomerRef": {
                        "ListID": "8000008D-1797365454",
                        "FullName": "Test Customer 2"
                      },
                      "TemplateRef": {
                        "ListID": "12345",
                        "FullName": "Custom Estimate"
                      },
                      "TxnDate": "2022-01-01",
                      "RefNumber": "01-1020",
                      "ShipAddress": {
                        "Addr1": "123 Main Street",
                        "Addr2": "Unit B",
                        "City": "AnyTown",
                        "State": "DE",
                        "PostalCode": "19703",
                        "Country": "USA"
                      },
                      "ShipAddressBlock": {
                        "Addr1": "123 Main Street",
                        "Addr2": "Unit B",
                        "Addr3": "AnyTown, DE 19703",
                        "Addr4": "USA"
                      },
                      "IsActive": "true",
                      "DueDate": "2022-01-01",
                      "Subtotal": "100.00",
                      "SalesTaxPercentage": "0.00",
                      "SalesTaxTotal": "0.00",
                      "TotalAmount": "100.00",
                      "Memo": "Sample estimate",
                      "IsToBeEmailed": "false"
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "Estimate-4": {
        "allOf": [
          {
            "$ref": "#/components/schemas/Estimate"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "https://quickbooks.api.intuit.com/v3/company/<realmID>/query"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "domain": "QBO",
                      "sparse": false,
                      "Id": "573398",
                      "SyncToken": "0",
                      "MetaData": {
                        "CreateTime": "2022-01-01T00:00:00-00:00",
                        "LastUpdatedTime": "2022-01-01T00:00:00-00:00"
                      },
                      "CustomField": [
                        {
                          "DefinitionId": "1",
                          "Name": "Crew #",
                          "Type": "StringType"
                        }
                      ],
                      "DocNumber": "A123",
                      "TxnDate": "2024-01-23",
                      "CurrencyRef": {
                        "value": "USD",
                        "name": "United States Dollar"
                      },
                      "TxnStatus": "Accepted",
                      "Line": [
                        {
                          "Id": "1",
                          "LineNum": 1,
                          "Amount": 250,
                          "DetailType": "SalesItemLineDetail",
                          "SalesItemLineDetail": {
                            "ItemRef": {
                              "value": "255",
                              "name": "test11"
                            },
                            "Qty": 5,
                            "TaxCodeRef": {
                              "value": "NON"
                            }
                          }
                        },
                        {
                          "Amount": 250,
                          "DetailType": "SubTotalLineDetail",
                          "SubTotalLineDetail": []
                        }
                      ],
                      "TxnTaxDetail": {
                        "TotalTax": 0
                      },
                      "CustomerRef": {
                        "value": "115821",
                        "name": "AnyCustomer Inc."
                      },
                      "BillAddr": {
                        "Id": "162236"
                      },
                      "ShipAddr": {
                        "Id": "162632",
                        "Line1": "123 Main Street",
                        "Line2": "Unit 1",
                        "City": "AnyTown",
                        "Country": "US",
                        "CountrySubDivisionCode": "CA",
                        "PostalCode": "19703"
                      },
                      "TotalAmt": 250,
                      "ApplyTaxAfterDiscount": false,
                      "PrintStatus": "NeedToPrint",
                      "EmailStatus": "NotSet"
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "NewEstimateLineItem": {
        "type": "object",
        "required": [
          "item_id"
        ],
        "properties": {
          "amount": {
            "type": "string",
            "description": "The total monetary amount of the Line Item, including tax.",
            "example": "100.00"
          },
          "description": {
            "type": "string",
            "description": "A description of the Line Item. **Note:** if this field is not included in your request, the value for it will default to the name of the Item.",
            "example": "Two tons of cement."
          },
          "item_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Item](#tag--items) for the Line Item. **Note:** only items that have a type of \"Inventory\" or \"Service\" can be used for Estimates."
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          },
          "quantity": {
            "type": "string",
            "description": "The estimated quantity of the unit in the Line Item.",
            "example": "2.0"
          },
          "unit_of_measure": {
            "type": "string",
            "example": "Each",
            "description": "The unit of measure for the Line Item. \n\n**Note for QuickBooks Desktop**: units of measure must be enabled to be used in the API. To enable them, see [link](https://docs.agaveapi.com/agave-link/source-systems/quickbooks-desktop#3-units-of-measure-are-not-enabled).\n"
          },
          "unit_price": {
            "type": "string",
            "description": "The price of each unit associated with the Line Item. **Note:** if this field is not included in your request, the value for it will default to the unit price of the Item.",
            "example": "50.0"
          }
        }
      },
      "NewEstimate": {
        "type": "object",
        "required": [
          "customer_id",
          "line_items"
        ],
        "properties": {
          "address": {
            "allOf": [
              {
                "description": "The address for the Estimate."
              },
              {
                "$ref": "#/components/schemas/Address"
              }
            ]
          },
          "customer_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Customer](#tag--customers)."
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          },
          "issue_date": {
            "allOf": [
              {
                "description": "The date of the Estimate. **Note:** if a value is not included for this field, this value will default to the Source System's current date."
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ]
          },
          "line_items": {
            "description": "The line items for the Estimate.",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/NewEstimateLineItem"
            }
          },
          "name": {
            "description": "The name of the Estimate.",
            "type": "string",
            "example": "Concrete pour"
          },
          "status": {
            "description": "The status of the Estimate. **Note:** this value can only be changed in update requests.",
            "type": "string",
            "example": "Active",
            "enum": [
              "Active",
              "Inactive"
            ]
          },
          "type": {
            "description": "The type of the Estimate. **Note:** values for this endpoint can be retrieved using a Passthrough endpoint request to `ClassQueryRq`.",
            "type": "string",
            "example": "Overhead Costs"
          }
        }
      },
      "NewEstimateLineItem-2": {
        "type": "object",
        "required": [
          "item_id"
        ],
        "properties": {
          "amount": {
            "type": "string",
            "description": "The total monetary amount of the Line Item.",
            "example": "100.00"
          },
          "description": {
            "type": "string",
            "description": "A description of the Line Item.",
            "example": "Two tons of cement."
          },
          "item_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Item](#tag--items) for the Line Item. \n\n**Note for QuickBooks Online:** only Items that have a type of \"Inventory\", \"NonInventory\", or \"Service\" can be used for Estimates (i.e. Items with a type of \"Group\" are not supported).\n"
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          },
          "quantity": {
            "type": "string",
            "description": "The estimated quantity of the unit in the Line Item.",
            "example": "2.0"
          },
          "type": {
            "type": "string",
            "description": "The type of the Line Item. \n\n**Note for QuickBooks Online**: Note, the potential values for this field can be found with the Class endpoint in QuickBooks Online, which requires a passthrough request. To learn more about this passthrough request, see [link](/agave-api/passthrough-requests#example-requests).\n",
            "example": "Revenue - Job"
          },
          "unit_of_measure": {
            "type": "string",
            "example": "Each",
            "description": "The unit of measure for the Line Item.\n"
          },
          "unit_price": {
            "type": "string",
            "description": "The price of each unit associated with the Line Item. **Note:** if this field is not included in your request, the value for it will default to the unit price of the Item.",
            "example": "50.0"
          }
        }
      },
      "NewEstimate-2": {
        "type": "object",
        "required": [
          "customer_id",
          "line_items"
        ],
        "properties": {
          "address": {
            "allOf": [
              {
                "description": "The address for the Estimate."
              },
              {
                "$ref": "#/components/schemas/Address"
              }
            ]
          },
          "customer_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Customer](#tag--customers)."
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          },
          "issue_date": {
            "allOf": [
              {
                "description": "The date of the Estimate. **Note:** if a value is not included for this field, this value will default to the Source System's current date."
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ]
          },
          "line_items": {
            "description": "The line items for the Estimate.",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/NewEstimateLineItem-2"
            }
          },
          "name": {
            "description": "The name of the Estimate.",
            "type": "string",
            "example": "Concrete pour"
          },
          "number": {
            "description": "The number of the Estimate.",
            "type": "string",
            "example": "A123"
          },
          "status": {
            "description": "The status of the Estimate. \n\n**Note for QuickBooks Online**: the default value is \"Pending\" if this field is not included.\n",
            "type": "string",
            "example": "Pending",
            "enum": [
              "Accepted",
              "Closed",
              "Converted",
              "Pending",
              "Rejected"
            ]
          }
        }
      },
      "EstimateLineItem-2": {
        "allOf": [
          {
            "$ref": "#/components/schemas/EstimateLineItem"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The XML path on the Source System.",
                    "example": "EstimateRq"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "TxnLineID": "12345",
                      "ItemRef": {
                        "ListID": "12345",
                        "FullName": "Concrete"
                      },
                      "Desc": "Two tons of concrete.",
                      "Quantity": "2",
                      "Rate": "50.00",
                      "Amount": "100.00",
                      "SalesTaxCodeRef": {
                        "ListID": "12345",
                        "FullName": "Non"
                      }
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "EstimateLineItem-3": {
        "allOf": [
          {
            "$ref": "#/components/schemas/EstimateLineItem"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "https://quickbooks.api.intuit.com/v3/company/<realmID>/query"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "Id": "1",
                      "LineNum": 1,
                      "Amount": 250,
                      "DetailType": "SalesItemLineDetail",
                      "SalesItemLineDetail": {
                        "ItemRef": {
                          "value": "255",
                          "name": "test11"
                        },
                        "Qty": 5,
                        "TaxCodeRef": {
                          "value": "NON"
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "ExpenseLineItem": {
        "type": "object",
        "properties": {
          "id": {
            "allOf": [
              {
                "description": "The UUID of the Line Item assigned by Agave."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "source_id": {
            "type": "string",
            "readOnly": true,
            "example": "12345",
            "description": "The ID of the Line Item in the Source System."
          },
          "amount": {
            "type": "string",
            "description": "The amount of the Line Item, exclusive of tax.",
            "example": "100.00"
          },
          "cost_code_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Cost Code](#tag--cost-codes) for the Line Item."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "cost_type_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Cost Type](#tag--cost-types) for the Line Item."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "customer_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Customer](#tag--customers) for the Line Item."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "description": {
            "type": "string",
            "description": "A description of the Line Item.",
            "example": "2x4 - Framing Lumber"
          },
          "item_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Item](#tag--items) for the Line Item."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "ledger_account_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Ledger Account](#tag--ledger-accounts) for the Line Item."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "project_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Project](#tag--projects) for the Line Item to be costed towards."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "quantity": {
            "type": "string",
            "description": "The estimated quantity of the unit in the Line Item.",
            "example": "2.0"
          },
          "tax_amount": {
            "type": "string",
            "description": "The tax amount of the Line Item.",
            "example": "10.00"
          },
          "type": {
            "type": "string",
            "description": "The type of the Line Item. \n",
            "example": "Job - Revenue"
          },
          "unit_cost": {
            "type": "string",
            "description": "The cost of each unit associated with the Line Item.",
            "example": "50"
          },
          "unit_of_measure": {
            "type": "string",
            "description": "The unit used for measuring the estimated quantity of the Line Item.",
            "example": "Tons"
          },
          "source_create_time": {
            "allOf": [
              {
                "description": "The datetime the Line Item was created in the Source System."
              },
              {
                "$ref": "#/components/schemas/DateTimeProperty"
              }
            ]
          },
          "source_update_time": {
            "allOf": [
              {
                "description": "The datetime the Line Item was last updated in the Source System."
              },
              {
                "$ref": "#/components/schemas/DateTimeProperty"
              }
            ]
          }
        }
      },
      "Expense": {
        "type": "object",
        "properties": {
          "id": {
            "allOf": [
              {
                "description": "The UUID of the Expense assigned by Agave."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "source_id": {
            "type": "string",
            "example": "12345",
            "description": "The ID of the Expense in the Source System."
          },
          "bank_account_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the Bank Account from which you are drawing money to pay the Expense."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "description": {
            "type": "string",
            "description": "A description (often internal) of the Expense.",
            "example": "1/1/2022 - AnyStore Suppplies"
          },
          "ledger_account_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Ledger Account](#tag--ledger-accounts) for the Expense. \n\n**Note for QuickBooks Desktop**: the Ledger Account must be a Credit Card.\n"
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "line_items": {
            "description": "The line items for the Expense.",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ExpenseLineItem"
            }
          },
          "number": {
            "type": "string",
            "description": "The number of the Expense.",
            "example": "A123"
          },
          "payment_date": {
            "allOf": [
              {
                "description": "The date the Expense."
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ]
          },
          "payment_method": {
            "description": "The payment method for the Expense (e.g. Check, Credit Card).\n\n**Note for QuickBooks Desktop**: Possible values are \"Check\", \"CreditCardCharge\", and \"CreditCardCredit\".\n",
            "type": "string",
            "example": "CreditCard"
          },
          "payment_number": {
            "type": "string",
            "description": "The payment (e.g. Check) number of the Expense.\n",
            "example": "A123"
          },
          "project_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Project](#tag--projects)."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "status": {
            "type": "string",
            "description": "The status of the Expense.\n\n**Note for Procore**: valid values include \"Approved\", \"Draft\", \"Pending\", and \"Revise and Resubmit\".\n",
            "example": "Approved"
          },
          "type": {
            "type": "string",
            "description": "The type of the Expense.\n\n**Note for Procore**: valid values include \"Invoice\", \"Expense\", and \"Payroll\".\n",
            "example": "Invoice"
          },
          "total_amount": {
            "type": "string",
            "description": "The total amount of the Expense, including tax and misc amounts.",
            "example": "120"
          },
          "vendor_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Vendor](#tag--vendors)."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "source_create_time": {
            "allOf": [
              {
                "description": "The datetime the Expense was created in the Source System."
              },
              {
                "$ref": "#/components/schemas/DateTimeProperty"
              }
            ]
          },
          "source_update_time": {
            "allOf": [
              {
                "description": "The datetime the Expense was last updated in the Source System."
              },
              {
                "$ref": "#/components/schemas/DateTimeProperty"
              }
            ]
          }
        }
      },
      "Expense-2": {
        "allOf": [
          {
            "$ref": "#/components/schemas/Expense"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "https://developer.api.autodesk.com/cost/v1/containers/{Container_Id}/expenses"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "status": "pending",
                      "id": "12345",
                      "containerId": "12345",
                      "mainContractId": "12345",
                      "budgetPaymentId": null,
                      "supplierId": "12345",
                      "supplierName": "AnyStore Supplies",
                      "type": null,
                      "number": "A123",
                      "name": "Drywall Installation",
                      "description": null,
                      "note": null,
                      "amount": "100.0000",
                      "term": null,
                      "referenceNumber": null,
                      "creatorId": "12345",
                      "changedBy": "12345",
                      "purchasedBy": null,
                      "scope": "full",
                      "receivedAt": null,
                      "issuedAt": null,
                      "paymentDue": null,
                      "approvedAt": null,
                      "paidAt": "2022-01-01T00:00:00.000Z",
                      "forecastDistributionAt": null,
                      "createdAt": "2022-01-01T00:00:00.000Z",
                      "updatedAt": "2022-01-01T00:00:00.000Z",
                      "integrationState": null,
                      "integrationStateChangedAt": null,
                      "integrationStateChangedBy": null
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "Expense-3": {
        "allOf": [
          {
            "$ref": "#/components/schemas/Expense"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "https://api.procore.com/rest/v1.0/direct_costs"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "id": 598134329260551,
                      "amount": "3500.0",
                      "created_at": "2024-04-12T22:26:59Z",
                      "description": "Sample Expense",
                      "direct_cost_type": "expense",
                      "direct_cost_date": "2024-04-12",
                      "grand_total": "3500.0",
                      "origin_id": null,
                      "payment_date": "2024-04-30",
                      "received_date": "2024-04-19",
                      "status": "draft",
                      "terms": "Net 30",
                      "updated_at": "2024-04-12T22:26:59Z",
                      "vendor": "ABC Office supply",
                      "vendor_id": 598134327726313,
                      "vendor_name": "ABC Office supply",
                      "currency_configuration": {
                        "currency_iso_code": null
                      }
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "Expense-4": {
        "allOf": [
          {
            "$ref": "#/components/schemas/Expense"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The XML path on the Source System.",
                    "example": "CreditCardChargeQueryRq"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "TxnID": "12345",
                      "TimeCreated": "2022-01-01T00:00:00-00:00",
                      "TimeModified": "2022-01-01T00:00:00-00:00",
                      "EditSequence": "12345",
                      "TxnNumber": "12345",
                      "AccountRef": {
                        "ListID": "12345",
                        "FullName": "Mastercard Payable"
                      },
                      "PayeeEntityRef": {
                        "ListID": "12345\"",
                        "FullName": "AnyCompany Inc."
                      },
                      "TxnDate": "2022-01-01",
                      "Amount": "100.00",
                      "RefNumber": "CC",
                      "ExpenseLineRet": {
                        "TxnLineID": "12345",
                        "AccountRef": {
                          "ListID": "12345",
                          "FullName": "Office Supplies"
                        },
                        "Amount": "100.00"
                      }
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "Expense-5": {
        "allOf": [
          {
            "$ref": "#/components/schemas/Expense"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "https://sandbox-quickbooks.api.intuit.com/v3/company/{companyId}/query?query=select+%2A+from+Purchase\""
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "AccountRef": {
                        "value": "12345",
                        "name": "Mastercard"
                      },
                      "PaymentMethodRef": {
                        "value": "3"
                      },
                      "PaymentType": "CreditCard",
                      "EntityRef": {
                        "value": "12345",
                        "name": "AnyCompany",
                        "type": "Vendor"
                      },
                      "Credit": false,
                      "TotalAmt": 120,
                      "domain": "QBO",
                      "status": "Voided",
                      "sparse": false,
                      "Id": "12345",
                      "SyncToken": "12345",
                      "MetaData": {
                        "CreateTime": "2022-01-01T00:00:00-00:00",
                        "LastUpdatedTime": "2022-01-01T00:00:00-00:00"
                      },
                      "DocNumber": "A123",
                      "TxnDate": "2022-01-01",
                      "CurrencyRef": {
                        "value": "USD",
                        "name": "United States Dollar"
                      },
                      "PrivateNote": "1/1/2022 - AnyStore Suppplies",
                      "Line": [
                        {
                          "Id": "12345",
                          "Description": "2x4 - Framing Lumber",
                          "Amount": 100,
                          "DetailType": "ItemBasedExpenseLineDetail",
                          "ItemBasedExpenseLineDetail": {
                            "CustomerRef": {
                              "value": "12345",
                              "name": "AnyCustomer Inc."
                            },
                            "BillableStatus": "Billable",
                            "ItemRef": {
                              "value": "12345",
                              "name": "2x4 - Framing Lumber"
                            },
                            "ClassRef": {
                              "value": "12345",
                              "name": "Revenue - Job"
                            },
                            "Qty": 2,
                            "TaxCodeRef": {
                              "value": "TAX"
                            }
                          }
                        }
                      ]
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "Expense-6": {
        "allOf": [
          {
            "$ref": "#/components/schemas/ApInvoice"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The SQL path on the Source System.",
                    "example": "bAPUI"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "APCo": "12345",
                      "UIMth": "2022-01-01 00:00:00",
                      "UISeq": "1",
                      "VendorGroup": "12345",
                      "Vendor": "12345",
                      "APRef": "A123",
                      "Description": "Materials for January",
                      "InvDate": "2022-01-01 00:00:00",
                      "DiscDate": null,
                      "DueDate": "2022-01-01 00:00:00",
                      "InvTotal": "200",
                      "HoldCode": null,
                      "PayControl": null,
                      "PayMethod": "C",
                      "CMCo": "12345",
                      "CMAcct": "12345",
                      "V1099YN": "Y",
                      "V1099Type": "MISC",
                      "V1099Box": "7",
                      "PayOverrideYN": "N",
                      "PayName": null,
                      "PayAddress": null,
                      "PayCity": null,
                      "PayState": null,
                      "PayZip": null,
                      "InUseMth": null,
                      "InUseBatchId": null,
                      "PayAddInfo": null,
                      "DocName": null,
                      "SeparatePayYN": "N",
                      "Notes": null,
                      "UniqueAttchID": null,
                      "AddressSeq": null,
                      "KeyID": "1",
                      "ReviewerGroup": null,
                      "SLKeyID": null,
                      "PayCountry": null,
                      "InvStatus": "0"
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "NewExpense": {
        "type": "object",
        "required": [
          "description",
          "source_data"
        ],
        "properties": {
          "description": {
            "type": "string",
            "description": "A description (often internal) of the Expense.",
            "example": "1/1/2022 - AnySupplier Stores"
          },
          "number": {
            "type": "string",
            "description": "The number of the Expense.",
            "example": "A123"
          },
          "payment_date": {
            "allOf": [
              {
                "description": "The date the Expense."
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ]
          },
          "payment_type": {
            "allOf": [
              {
                "description": "The payment type for the expense (e.g. Check, Credit Card Charge)."
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ]
          },
          "vendor_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Vendor](#tag--vendors)."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "source_data": {
            "type": "object",
            "properties": {
              "supplierName": {
                "type": "string",
                "description": "The name of the Supplier paid in the Expense.",
                "example": "AnySupplier Stores"
              }
            }
          }
        }
      },
      "ExpenseLineItem-2": {
        "allOf": [
          {
            "$ref": "#/components/schemas/ExpenseLineItem"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "https://api.procore.com/rest/v1.0/direct_costs"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "id": 598134332493432,
                      "created_at": "2024-04-12T22:26:59Z",
                      "updated_at": "2024-04-12T22:26:59Z",
                      "amount": "1000.0",
                      "company": {
                        "id": 598134325524667,
                        "name": "Agave Demo ERP"
                      },
                      "cost_code": {
                        "id": 598134363245188,
                        "name": "General Conditions",
                        "full_code": "10100",
                        "origin_id": null,
                        "origin_data": null,
                        "standard_cost_code_id": null,
                        "biller": "West Portal Properties",
                        "biller_id": 598134325710009,
                        "biller_type": "Project",
                        "biller_origin_id": null,
                        "budgeted": true,
                        "code": "10100",
                        "parent": {
                          "id": null
                        },
                        "sortable_code": "10100",
                        "created_at": "2024-03-21T22:18:40Z",
                        "deleted_at": null,
                        "line_item_types": [
                          {
                            "id": 598134326235731,
                            "name": "Accomodation",
                            "code": "AC",
                            "base_type": "other",
                            "origin_id": null
                          },
                          {
                            "id": 598134326194756,
                            "name": "Labour",
                            "code": "LA",
                            "base_type": null,
                            "origin_id": null
                          }
                        ],
                        "position": null,
                        "updated_at": "2024-03-21T22:18:40Z"
                      },
                      "wbs_code": {
                        "description": "10100.AC",
                        "flat_code": "10100.AC",
                        "id": 598134380033725
                      },
                      "description": "Sample Line Item",
                      "extended_type": "calculated",
                      "holder": {
                        "id": 598134329260551,
                        "holder_type": "DirectCost::Item"
                      },
                      "line_item_type": {
                        "id": 598134326235731,
                        "name": "Accomodation",
                        "code": "AC",
                        "base_type": "other",
                        "origin_id": null
                      },
                      "origin_id": null,
                      "position": 1,
                      "project": {
                        "id": 598134325710009,
                        "name": "835 - West Portal Properties"
                      },
                      "quantity": "1.0",
                      "tax_code_id": 598134325514267,
                      "total_amount": "1000.0",
                      "extended_amount": "1000.0",
                      "unit_cost": "1000.0",
                      "uom": "ls",
                      "currency_configuration": {
                        "currency_iso_code": null
                      }
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "NewExpense-2": {
        "type": "object",
        "required": [
          "number",
          "type",
          "vendor_id"
        ],
        "properties": {
          "description": {
            "type": "string",
            "description": "A description (often internal) of the Expense.",
            "example": "1/1/2022 - Home Depot Purchase"
          },
          "line_items": {
            "description": "The line items for the Expense.",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ExpenseLineItem-2"
            }
          },
          "number": {
            "type": "string",
            "description": "The number of the Expense.",
            "example": "A123"
          },
          "payment_date": {
            "allOf": [
              {
                "description": "The date the Expense."
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ]
          },
          "status": {
            "type": "string",
            "description": "The type of the Expense.\n",
            "example": "Approved",
            "enum": [
              "Approved",
              "Draft",
              "Pending",
              "Revise and Resubmit"
            ]
          },
          "type": {
            "type": "string",
            "description": "The type of the Expense.\n",
            "example": "Invoice",
            "enum": [
              "Expense",
              "Invoice",
              "Payroll"
            ]
          },
          "vendor_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Vendor](#tag--vendors)."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          }
        }
      },
      "NewExpenseLineItem": {
        "type": "object",
        "required": [
          "item_id",
          "ledger_account_id"
        ],
        "properties": {
          "amount": {
            "type": "string",
            "description": "The amount of the Line Item.",
            "example": "100.00"
          },
          "customer_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Customer](#tag--customers) for the Line Item."
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          },
          "description": {
            "type": "string",
            "description": "A description of the Line Item.",
            "example": "2x4 - Framing Lumber"
          },
          "item_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Item](#tag--items) for the Line Item.\n\n**Note for QuickBooks Desktop**: Item ID is required when Ledger Account ID is not present. Items that are the of the type \"Discount\", \"Payment\", \" Sales Tax\", \"Sales Tax Group\", and \"Item Group\" are not supported.\n"
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          },
          "ledger_account_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Ledger Account](#tag--ledger-accounts) for the Line Item. \n\n**Note for QuickBooks Desktop**: Ledger Account ID is required when Item ID is not present. If a Ledger Account has a type of \"Accounts Payable\", a value for `vendor_id` must be included.\n"
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          },
          "quantity": {
            "type": "string",
            "description": "The estimated quantity of the unit in the Line Item.",
            "example": "2.0"
          },
          "type": {
            "type": "string",
            "description": "The type of the Line Item. Note, the potential values for this field can be found with the ClassQueryRq endpoint in QuickBooks Desktop, which requires a passthrough request. To learn more about this passthrough request, see [link](/agave-api/passthrough-requests#quickbooks-desktop).",
            "example": "Material Costs - Job Related"
          },
          "unit_cost": {
            "type": "string",
            "description": "The cost of each unit associated with the Line Item.\n\n**Note for QuickBooks Desktop**: this value will default to the unit cost associated with the Item ID.\n",
            "example": "50"
          },
          "unit_of_measure": {
            "type": "string",
            "description": "The unit used for measuring the estimated quantity of the Line Item. \n\n**Note for QuickBooks Desktop**: units of measure must be enabled to be used in the API. To enable them, see [link](https://docs.agaveapi.com/agave-link/source-systems/quickbooks-desktop#3-units-of-measure-are-not-enabled).\n",
            "example": "Tons"
          },
          "vendor_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Vendor](#tag--vendors) for the Line Item."
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          }
        }
      },
      "NewExpense-3": {
        "type": "object",
        "required": [
          "ledger_account_id",
          "line_items",
          "payment_method"
        ],
        "properties": {
          "bank_account_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Bank Account](#tag--bank-accounts) from which you are drawing money to pay the AP Payment.\n\n**Note for QuickBooks Desktop:** you must use a [Bank Account](#tag--bank-accounts) that has a type of \"Bank\" when `payment_method` is set to \"Check\", or \"CreditCard\" when `payment_method` is set to \"CreditCardCharge\" or \"CreditCardCredit\".\n"
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          },
          "description": {
            "type": "string",
            "description": "A description (often internal) of the Expense.",
            "example": "1/1/2022 - Home Depot Purchase"
          },
          "line_items": {
            "description": "The line items for the Expense.",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/NewExpenseLineItem"
            }
          },
          "payment_date": {
            "allOf": [
              {
                "description": "The date of the Expense."
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ]
          },
          "payment_method": {
            "description": "The payment method for the Expense (e.g. Check, Credit Card). Note, this will be determined by the Ledger Account ID if not provided.",
            "example": "CreditCard",
            "enum": [
              "Check",
              "CreditCardCharge",
              "CreditCardCredit"
            ]
          },
          "vendor_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Vendor](#tag--vendors)."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          }
        }
      },
      "NewExpenseLineItem-2": {
        "type": "object",
        "required": [
          "item_id",
          "ledger_account_id"
        ],
        "properties": {
          "amount": {
            "type": "string",
            "description": "The amount of the Line Item.",
            "example": "100.00"
          },
          "customer_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Customer](#tag--customers) for the Line Item."
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          },
          "description": {
            "type": "string",
            "description": "A description of the Line Item.",
            "example": "2x4 - Framing Lumber"
          },
          "item_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Item](#tag--items) for the Line Item.\n\n**Note for QuickBooks Online**: Item ID is required when Ledger Account ID is not present. Items that are the of the type \"Discount\", \"Payment\", \" Sales Tax\", \"Sales Tax Group\", and \"Item Group\" are not supported.\n"
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          },
          "ledger_account_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Ledger Account](#tag--ledger-accounts) for the Line Item. \n\n**Note for QuickBooks Online**: Ledger Account ID is required when Item ID is not present. \n"
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          },
          "quantity": {
            "type": "string",
            "description": "The estimated quantity of the unit in the Line Item.",
            "example": "2.0"
          },
          "status": {
            "type": "string",
            "description": "An identifier denoting whether or not the line item is billable to a Customer.\n\n**Note for QuickBooks Online**: a value for `customer_id` must be included if the status is set to \"Billable\" or \"HasBeenBilled\".\n",
            "example": "Billable",
            "enum": [
              "Billable",
              "HasBeenBilled",
              "NotBillable"
            ]
          },
          "type": {
            "type": "string",
            "description": "The type of the Line Item. Note, the potential values for this field can be found with the ClassQueryRq endpoint in QuickBooks Online, which requires a [passthrough request](/agave-api/passthrough-requests).",
            "example": "Revenue - Job"
          },
          "unit_cost": {
            "type": "string",
            "description": "The cost of each unit associated with the Line Item.\n\n**Note for QuickBooks Online**: this value will default to the unit cost associated with the Item ID.\n",
            "example": "50"
          }
        }
      },
      "NewExpense-4": {
        "required": [
          "bank_account_id",
          "line_items",
          "payment_method"
        ],
        "type": "object",
        "properties": {
          "bank_account_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the Bank Account from which you are drawing money to pay the Expense.\n\n**Note for QuickBooks Online:** you must use a [Bank Account](#tag--bank-accounts) that has a type of \"Bank\" when `payment_method` is set to \"Cash\" or \"Check\", or \"Credit Card\" when `payment_method` is set to \"CreditCard\".\n"
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          },
          "description": {
            "type": "string",
            "description": "A description (often internal) of the Expense.",
            "example": "1/1/2022 - Home Depot Purchase"
          },
          "line_items": {
            "description": "The line items for the Expense.",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/NewExpenseLineItem-2"
            }
          },
          "number": {
            "type": "string",
            "description": "The number of the Expense.",
            "example": "A123"
          },
          "payment_date": {
            "allOf": [
              {
                "description": "The date of the Expense."
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ]
          },
          "payment_method": {
            "allOf": [
              {
                "description": "The payment type for the expense"
              },
              {
                "example": "Cash"
              },
              {
                "enum": [
                  "Cash",
                  "Check",
                  "CreditCard"
                ]
              }
            ]
          },
          "vendor_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Vendor](#tag--vendors)."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          }
        }
      },
      "NewExpense-5": {
        "type": "object",
        "required": [
          "batch",
          "issue_date",
          "line_items",
          "number",
          "payment_method",
          "payment_number",
          "vendor_id",
          "source_data"
        ],
        "properties": {
          "batch": {
            "type": "string",
            "description": "The batch the Expense is associated with. **Note for Viewpoint Vista:** the value must be an integer and an existing batch in the month. If a value for this is not supplied, a new batch will be generated.",
            "example": "4"
          },
          "description": {
            "type": "string",
            "description": "A description (often internal) of the Expense.",
            "example": "Materials for January."
          },
          "discount_date": {
            "allOf": [
              {
                "description": "The discount date of the Expense."
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ]
          },
          "due_date": {
            "allOf": [
              {
                "description": "The date when payment for the Expense is due. **Note**: if a value is not included for this field, a due date will be calculated from the Vendor's payment terms (e.g. net 30).\n"
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ]
          },
          "issue_date": {
            "allOf": [
              {
                "description": "The date of the Expense transaction or when it was issued.\n"
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ]
          },
          "line_items": {
            "description": "The line items for the Expense. To learn more about creating and updating Line Items, see [link](/agave-api/line-items).",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/NewApInvoiceLineItem-11"
            }
          },
          "number": {
            "type": "string",
            "description": "The number of the Expense.\n",
            "example": "A123"
          },
          "payment_date": {
            "allOf": [
              {
                "description": "The date the Expense."
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ]
          },
          "payment_method": {
            "allOf": [
              {
                "description": "The payment type for the expense (e.g. Check, Credit Card Charge)."
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              },
              {
                "enum": [
                  "Check"
                ]
              }
            ]
          },
          "payment_number": {
            "type": "string",
            "description": "The payment (e.g. Check) number of the Expense.\n\n**Note for Viewpoint Vista**: this number must be unique.\n",
            "example": "A123"
          },
          "vendor_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Vendor](#tag--vendors)."
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          },
          "source_data": {
            "type": "object",
            "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
            "properties": {
              "Mth": {
                "allOf": [
                  {
                    "description": "The batch month for the Expense. Note, you cannot write batches to months outside of a General Ledger window that is configured for your Vista company."
                  },
                  {
                    "$ref": "#/components/schemas/DateTimeProperty"
                  },
                  {
                    "example": "2022-01-01 00:00:00"
                  }
                ]
              }
            }
          }
        }
      },
      "ExpenseLineItem-3": {
        "allOf": [
          {
            "$ref": "#/components/schemas/ExpenseLineItem"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "https://developer.api.autodesk.com/cost/v1/containers/{Container_Id}/expenses/{Payment_Id}/expenseItems"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "realizedGainOrLoss": 0,
                      "id": "12345",
                      "containerId": "12345",
                      "expenseId": "12345",
                      "contractId": "12345",
                      "budgetId": "12345",
                      "number": "A123",
                      "name": "2x4 - Framing Lumber",
                      "description": null,
                      "note": null,
                      "quantity": 10,
                      "unitPrice": "10.00000000",
                      "unit": "ea",
                      "amount": "1000.0000",
                      "tax": null,
                      "scope": null,
                      "createdAt": "2022-01-01T00:00:00.000Z",
                      "updatedAt": "2022-01-01T00:00:00.000Z",
                      "aggregateBy": null,
                      "exchangeRate": "1.00000000",
                      "originalExchangeRate": "1.00000000"
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "ExpenseLineItem-4": {
        "allOf": [
          {
            "$ref": "#/components/schemas/ExpenseLineItem"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "CreditCardChargeQueryRq"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "ExpenseLineRet": {
                        "TxnLineID": "12345",
                        "AccountRef": {
                          "ListID": "12345",
                          "FullName": "Office Supplies"
                        },
                        "Amount": "100.00"
                      }
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "ExpenseLineItem-5": {
        "allOf": [
          {
            "$ref": "#/components/schemas/ExpenseLineItem"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "https://sandbox-quickbooks.api.intuit.com/v3/company/{companyId}/query?query=select+%2A+from+Purchase"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "Id": "12345",
                      "Description": "2x4 - Framing Lumber",
                      "Amount": 100,
                      "DetailType": "ItemBasedExpenseLineDetail",
                      "ItemBasedExpenseLineDetail": {
                        "CustomerRef": {
                          "value": "12345",
                          "name": "AnyCustomer Inc."
                        },
                        "BillableStatus": "Billable",
                        "ItemRef": {
                          "value": "12345",
                          "name": "2x4 - Framing Lumber"
                        },
                        "ClassRef": {
                          "value": "12345",
                          "name": "Revenue - Job"
                        },
                        "Qty": 2,
                        "TaxCodeRef": {
                          "value": "TAX"
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "ExpenseLineItem-6": {
        "allOf": [
          {
            "$ref": "#/components/schemas/ApInvoiceLineItem"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The SQL path on the Source System.",
                    "example": "bAPUL"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "APCo": "12345",
                      "Line": "12345",
                      "UIMth": "2022-01-01 00:00:00",
                      "UISeq": "1",
                      "LineType": "1",
                      "PO": null,
                      "POItem": null,
                      "ItemType": null,
                      "SL": null,
                      "SLItem": null,
                      "JCCo": "12345",
                      "Job": "A123",
                      "PhaseGroup": "12345",
                      "Phase": "08.79.00",
                      "JCCType": null,
                      "EMCo": null,
                      "WO": null,
                      "WOItem": null,
                      "Equip": null,
                      "EMGroup": null,
                      "CostCode": null,
                      "EMCType": null,
                      "CompType": null,
                      "Component": null,
                      "INCo": null,
                      "Loc": null,
                      "MatlGroup": "12345",
                      "Material": "A123",
                      "GLCo": "12345",
                      "GLAcct": "12345",
                      "Description": "Two Tons of Cement",
                      "UM": "LBS",
                      "Units": "2.000",
                      "UnitCost": "100.00000",
                      "ECM": "E",
                      "VendorGroup": "12345",
                      "Supplier": "12345",
                      "PayType": "12345",
                      "GrossAmt": "200.00",
                      "MiscAmt": ".00",
                      "MiscYN": "Y",
                      "TaxGroup": "12345",
                      "TaxCode": null,
                      "TaxType": null,
                      "TaxBasis": ".00",
                      "TaxAmt": ".00",
                      "Retainage": ".00",
                      "Discount": ".00",
                      "Notes": null,
                      "UniqueAttchID": null,
                      "PayCategory": null,
                      "KeyID": "12345",
                      "ReviewerGroup": "12345",
                      "InvOriginator": null,
                      "SLDetailKeyID": null,
                      "Receiver#": null,
                      "SLKeyID": null,
                      "SMCo": null,
                      "SMWorkOrder": null,
                      "Scope": null,
                      "POItemLine": null,
                      "SMCostType": null,
                      "SMJCCostType": null,
                      "SMPhaseGroup": null,
                      "SMPhase": null,
                      "FieldTicket": null
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "NewExpenseLineItem-3": {
        "type": "object",
        "properties": {
          "amount": {
            "type": "string",
            "description": "The tax amount of the Line Item.",
            "example": "100.00"
          },
          "cost_code_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Cost Code](#tag--cost-codes) for the Line Item."
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          },
          "cost_type_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Cost Type](#tag--cost-types) for the Line Item."
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          },
          "description": {
            "type": "string",
            "description": "A description of the Line Item.",
            "example": "2x4 - Framing Lumber"
          },
          "quantity": {
            "type": "string",
            "description": "The estimated quantity of the unit in the Line Item.",
            "example": "2.0"
          },
          "unit_cost": {
            "type": "string",
            "description": "The cost of each unit associated with the Line Item.",
            "example": "50"
          },
          "unit_of_measure": {
            "type": "string",
            "description": "The unit used for measuring the estimated quantity of the Line Item.",
            "example": "Tons"
          },
          "sub_job_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Sub Job](#tag--sub-jobs) for the Line Item."
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          },
          "wbs_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [WBS](#tag--wbs) for the Line Item."
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          }
        }
      },
      "NewExpenseLineItem-4": {
        "required": [
          "amount",
          "quantity",
          "type",
          "unit_cost",
          "unit_of_measure"
        ],
        "type": "object",
        "properties": {
          "amount": {
            "type": "string",
            "description": "The total monetary amount of the Line Item, including tax.",
            "example": "100.00"
          },
          "contract": {
            "type": "object",
            "description": "The Contract (i.e. Purchase Order or Subcontract) associated with the Expense Line Item.",
            "properties": {
              "id": {
                "allOf": [
                  {
                    "description": "The UUID of the Contract (i.e. [Purchase Order](#tag--purchase-orders) or [Subcontract](#tag--subcontracts)) assigned by Agave. \n\n**Notes for Viewpoint Vista:** \n- The `vendor_id` associated with this Contract must match the `vendor_id` in the Expense header.\n- The Purchase Order or Subcontract must not already be included in the Line Items of another pending Expense.\n"
                  },
                  {
                    "$ref": "#/components/schemas/IdPropertyWriteOnly"
                  }
                ]
              },
              "line_item_id": {
                "allOf": [
                  {
                    "description": "The UUID of the Contract Line Item (i.e. Purchase Order Line Item or Subcontract Line Item) assigned by Agave."
                  },
                  {
                    "$ref": "#/components/schemas/IdPropertyWriteOnly"
                  }
                ]
              },
              "type": {
                "type": "string",
                "description": "The type of Contract associated with the Expense Line Itme.",
                "example": "subcontract",
                "enum": [
                  "purchase_order",
                  "subcontract"
                ]
              }
            }
          },
          "cost_code_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Cost Code](#tag--cost-codes) for the Line Item. **Note:** if the value for Line Item `type` is `Job`, this field is required."
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          },
          "cost_type_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Cost Type](#tag--cost-types) for the Line Item. **Note:** if the value for Line Item `type` is `Job`, this field is required."
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          },
          "description": {
            "type": "string",
            "description": "A description of the Line Item.",
            "example": "Two tons of cement."
          },
          "item_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Item](#tag--items) for the Line Item. **Note:** if the value for Line Item `type` is `Purchase Order` or `Subcontract`, this value will be ignored."
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          },
          "project_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Project](#tag--projects) for the Line Item. **Note:** if the value for Line Item `type` is `Job`, this field is required. If the value for Line Item `type` is `Purchase Order` or `Subcontract`, this value will be ignored."
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          },
          "quantity": {
            "type": "string",
            "description": "The estimated quantity of the unit in the Line Item. **Note**: if the value for `type` is set to \"Other\", this value will be ignored.\n",
            "example": "2.0"
          },
          "tax_code_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Sales Tax Code](#tag--tax-codes) for the Line Item."
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          },
          "type": {
            "type": "string",
            "description": "The type of the Line Item.\n",
            "example": "Contract",
            "enum": [
              "Job",
              "Purchase Order",
              "Subcontract"
            ]
          },
          "unit_cost": {
            "type": "string",
            "description": "The cost of each unit associated with the Line Item.\n",
            "example": "50.00000"
          },
          "unit_of_measure": {
            "type": "string",
            "description": "The unit used for measuring the quantity of the Line Item.",
            "example": "EA"
          },
          "source_data": {
            "type": "object",
            "properties": {
              "Retainage": {
                "description": "The retainage amount for the Line Item.",
                "type": "string",
                "example": "5.00"
              }
            }
          }
        }
      },
      "InventoryLocation": {
        "type": "object",
        "properties": {
          "id": {
            "allOf": [
              {
                "description": "The UUID of the Inventory Location assigned by Agave."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "source_id": {
            "type": "string",
            "readOnly": true,
            "example": "12345",
            "description": "The ID of the Inventory Location in the Source System."
          },
          "address": {
            "allOf": [
              {
                "description": "The Inventory Location's address."
              },
              {
                "$ref": "#/components/schemas/Address"
              }
            ]
          },
          "name": {
            "type": "string",
            "description": "The name of the Inventory Location.",
            "example": "Westside Warehouse"
          },
          "number": {
            "type": "string",
            "description": "The number or code of the Inventory Location.",
            "example": "A123"
          },
          "status": {
            "type": "string",
            "enum": [
              "Active",
              "Inactive"
            ],
            "description": "The status of the Inventory Location.",
            "example": "Active"
          },
          "type": {
            "type": "string",
            "description": "The type of the Inventory Location. \n\n**Note for ServiceTitan**: possible values include \"Truck\" and \"Warehouse\".\n\n**Note for Viewpoint Spectrum**: possible values include \"Warehouse\".\n",
            "example": "Warehouse"
          },
          "source_create_time": {
            "allOf": [
              {
                "description": "The datetime the Inventory Location was created in the Source System."
              },
              {
                "$ref": "#/components/schemas/DateTimeProperty"
              }
            ]
          },
          "source_update_time": {
            "allOf": [
              {
                "description": "The datetime the Inventory Location was last updated in the Source System."
              },
              {
                "$ref": "#/components/schemas/DateTimeProperty"
              }
            ]
          }
        }
      },
      "InventoryLocation-2": {
        "allOf": [
          {
            "$ref": "#/components/schemas/InventoryLocation"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "https://agave-customer-acumatica-sandbox-2.ngrok.io/AcumaticaERP/entity/Default/23.200.001/Warehouse?%24top=10&%24expand=Locations"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "path": "https://agave-customer-acumatica-sandbox-2.ngrok.io/AcumaticaERP/entity/Default/23.200.001/Warehouse?%24top=10&%24expand=Locations",
                      "content_type": "application/json",
                      "data": {
                        "id": "78db8958-dfd7-ef11-ba6a-0e1f07f567e3",
                        "rowNumber": 3,
                        "note": {
                          "value": ""
                        },
                        "Active": {
                          "value": true
                        },
                        "COGSExpenseAccount": [],
                        "COGSExpenseSubaccount": [],
                        "Description": {
                          "value": "Portola Warehouse"
                        },
                        "DiscountAccount": [],
                        "DiscountSubaccount": [],
                        "DropShipLocationID": [],
                        "FreightChargeAccount": [],
                        "FreightChargeSubaccount": [],
                        "InventoryAccount": [],
                        "InventorySubaccount": [],
                        "LandedCostVarianceAccount": [],
                        "LandedCostVarianceSubaccount": [],
                        "LastModifiedDateTime": {
                          "value": "2025-01-27T21:05:53.837-05:00"
                        },
                        "Locations": [
                          {
                            "id": "f7b65c28-e5d7-ef11-ba6a-0e1f07f567e3",
                            "rowNumber": 1,
                            "note": {
                              "value": ""
                            },
                            "Active": {
                              "value": true
                            },
                            "Description": {
                              "value": "Dogpatch Location"
                            },
                            "LocationID": {
                              "value": "DOGPATCH"
                            },
                            "PickPriority": {
                              "value": 1
                            },
                            "ReceiptsAllowed": {
                              "value": true
                            },
                            "SalesAllowed": {
                              "value": true
                            },
                            "TransfersAllowed": {
                              "value": true
                            },
                            "custom": [],
                            "_links": {
                              "files:put": "/AcumaticaERP/entity/Default/23.200.001/files/PX.Objects.IN.INSiteMaint/location/f7b65c28-e5d7-ef11-ba6a-0e1f07f567e3/{filename}"
                            }
                          }
                        ],
                        "MiscChargeAccount": [],
                        "MiscChargeSubaccount": [],
                        "NonStockPickingLocationID": [],
                        "OverrideInventoryAccountSubaccount": {
                          "value": false
                        },
                        "POAccrualAccount": [],
                        "POAccrualSubaccount": [],
                        "PurchasePriceVarianceAccount": [],
                        "PurchasePriceVarianceSubaccount": [],
                        "ReasonCodeSubaccount": [],
                        "ReceivingLocationID": [],
                        "RMALocationID": [],
                        "SalesAccount": [],
                        "SalesSubaccount": [],
                        "ShippingLocationID": [],
                        "StandardCostRevaluationAccount": [],
                        "StandardCostRevaluationSubaccount": [],
                        "StandardCostVarianceAccount": [],
                        "StandardCostVarianceSubaccount": [],
                        "UseItemDefaultLocationForPicking": {
                          "value": false
                        },
                        "WarehouseID": {
                          "value": "PORTOLA"
                        },
                        "custom": [],
                        "_links": {
                          "self": "/AcumaticaERP/entity/Default/23.200.001/Warehouse/78db8958-dfd7-ef11-ba6a-0e1f07f567e3",
                          "files:put": "/AcumaticaERP/entity/Default/23.200.001/files/PX.Objects.IN.INSiteMaint/site/78db8958-dfd7-ef11-ba6a-0e1f07f567e3/{filename}"
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "InventoryLocation-3": {
        "allOf": [
          {
            "$ref": "#/components/schemas/InventoryLocation"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "https://api.servicetitan.io/inventory/v2/tenant/{tenantId}/warehouses"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "id": 12345,
                      "name": "Westside Warehouse",
                      "active": true,
                      "address": {
                        "street": "123 Main Street",
                        "unit": "Floor 1",
                        "city": "AnyTown",
                        "state": "CA",
                        "zip": "19703",
                        "country": "US"
                      },
                      "createdOn": "2022-01-01T00:00:00.0000000Z",
                      "modifiedOn": "2022-01-01T00:00:00.0000000Z",
                      "externalData": []
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "InventoryLocation-4": {
        "allOf": [
          {
            "$ref": "#/components/schemas/InventoryLocation"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The SQL path on the Source System.",
                    "example": "select * from IM_WAREHOUSE_MASTER_MC"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "Company_Code": "CCD",
                      "Warehouse_Code": "A123",
                      "Name": "Westside Warehouse",
                      "Address_Line_1": "123 Main Street",
                      "Address_Line_2": "Floor 2",
                      "City": "AnyTown",
                      "State": "CA",
                      "Zip_Code": "19703",
                      "Phone": "1235550100",
                      "Sales_Tax_Code": "NT",
                      "Warehouse_GL_Department": "1010",
                      "Use_Tax_Code": "NU",
                      "Cost_Center": "1010"
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "Item": {
        "type": "object",
        "properties": {
          "id": {
            "allOf": [
              {
                "description": "The UUID of the Item assigned by Agave."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "source_id": {
            "type": "string",
            "readOnly": true,
            "example": "12345",
            "description": "The ID of the Item in the Source System."
          },
          "asset_account_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Ledger Account](#tag--ledger-accounts) the Item is associated with when the Item is an Asset."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "cost_unit_of_measure": {
            "type": "string",
            "description": "The unit of measure for sales of the Item.",
            "example": "FT"
          },
          "description": {
            "type": "string",
            "description": "The description of the Item.",
            "example": "Professional concrete pour."
          },
          "expense_account_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Ledger Account](#tag--ledger-accounts) the Item is associated with when the Item is bought from a Vendor."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "income_account_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Ledger Account](#tag--ledger-accounts) the Item is associated with when the Item is sold to a Customer."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "name": {
            "type": "string",
            "description": "The name of the Item.",
            "example": "Concrete"
          },
          "price_unit_of_measure": {
            "type": "string",
            "description": "The unit of measure for sales of the Item.",
            "example": "FT"
          },
          "status": {
            "type": "string",
            "enum": [
              "Active",
              "Archived",
              "Inactive",
              "Unknown"
            ],
            "description": "The status of the Item.",
            "example": "Active"
          },
          "type": {
            "type": "string",
            "description": "The type of the Item. \n\n**Note for QuickBooks Desktop**: possible values include Service, Non Inventory, Other Charge, Inventory, Inventory Assembly, Fixed Asset, Subtotal, Discount, Payment, Sales Tax, Sales Tax Group, and Item Group.\n\n**Note for ServiceTitan**: possible values include \"Material\".\n\n**Note for Viewpoint Spectrum**: a list of possible values for this field can be retried using the `Category_Description` field in the `IM_CATEGORY_MASTER_MC` table, which requires a passthrough request. To learn more about passthrough requests, see [link](/agave-api/passthrough-requests#foundation-viewpoint-spectrum-and-viewpoint-vista).\n\n**Note for Viewpoint Vista**: possible values include \"Equipment\" or \"Standard\".\n",
            "example": "Standard"
          },
          "unit_cost": {
            "type": "string",
            "description": "The unit cost of the Item.",
            "example": "5.00"
          },
          "unit_price": {
            "type": "string",
            "description": "The unit price of the Item.",
            "example": "10.00"
          },
          "source_create_time": {
            "allOf": [
              {
                "description": "The datetime the Item was created in the Source System."
              },
              {
                "$ref": "#/components/schemas/DateTimeProperty"
              }
            ]
          },
          "source_update_time": {
            "allOf": [
              {
                "description": "The datetime the Item was last updated in the Source System."
              },
              {
                "$ref": "#/components/schemas/DateTimeProperty"
              }
            ]
          }
        }
      },
      "Item-2": {
        "allOf": [
          {
            "$ref": "#/components/schemas/Item"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "https://agave-customer-acumatica-sandbox-2.ngrok.io/AcumaticaERP/entity/Default/23.200.001/StockItem?%24top=10&%24expand=VendorDetails"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "id": "f69e5699-cdd7-ef11-ba6a-0e1f07f567e3",
                      "rowNumber": 1,
                      "note": {
                        "value": ""
                      },
                      "ABCCode": [],
                      "AutoIncrementalValue": [],
                      "Availability": {
                        "value": "Store Default"
                      },
                      "AverageCost": {
                        "value": 15.99
                      },
                      "BaseUOM": {
                        "value": "EA"
                      },
                      "COGSAccount": {
                        "value": "51600"
                      },
                      "COGSSubaccount": {
                        "value": "02"
                      },
                      "Content": {
                        "value": "<HTML><head><style>/* RTE style begin */.rich ol, .rich ul { margin-top: 0px; margin-bottom: 0px;}\r\n.rich .imgbrdr {\r\n\tborder: solid 1px;\r\n}\r\n.richIcon {\r\n\tdisplay: inline-block;\r\n\tbackground-image: url(Images/sprite_main5.png);\r\n\tbackground-repeat: no-repeat;\r\n\twidth: 15px;\r\n}\r\n.richAttach {\r\n\tbackground-position: -2px -122px;\r\n}\r\n.richImg {\r\n\tbackground-position: -2px -1120px;\r\n}\r\n.richScreen {\r\n\tbackground-position: -24px -1032px;\r\n}\r\n.richArticle {\r\n\tbackground-position: -24px -1054px;\r\n}\r\n\r\n/* Correct box */\r\n.rich .GrayBox {\r\n\tborder: solid 1px #CCCCCC;\r\n\tbackground-color: #F9F9F9;\r\n\tpadding: 4px;\r\n\t/*margin: 4px;*/\r\n\twidth: 98%;\r\n}\r\n.rich .hintcell\r\n{\r\n\theight: 36px;\r\n\twidth: 32px;\r\n\tvertical-align: middle;\r\n}\r\n\r\n.rich .warncell\r\n{\r\n\theight: 36px;\r\n\twidth: 32px;\r\n\tvertical-align: middle;\r\n}\r\n\r\n.rich .boxcontent{ width: 100% }\r\n.rich pre { font-size:1.3em }\r\n\r\n.rich iframe{\r\n\tborder: none;\r\n}\r\n.rich iframe.iframeBorder, .rich img.iframeBorder {\r\n\tborder: solid black 1px;\r\n}\r\n\r\n.rtetable > tbody > tr > td, .rtetable > tr > td { white-space: nowrap }\r\n.rtetable > tbody > tr:first-child > td, .rtetable > tr:first-child > td { background-color: silver }\r\n\r\n\r\n.rich pre.source-highlighted {background-color: #F0F0FF;}\r\n.rich pre.source-highlighted .nu, .rich .sourcetable .nu { color: brown; }\r\n.rich pre.source-highlighted .kw, .rich .sourcetable .kw { color: blue; }\r\n.rich pre.source-highlighted .cmt, .rich .sourcetable .cmt { color: green; }\r\n.rich pre.source-highlighted .sl, .rich .sourcetable .sl { color: brown; }\r\n.rich pre.source-highlighted .br, .rich .sourcetable .br {color: darkgreen; }\r\n\r\n.rich pre.source-highlighted .add, .rich .sourcetable .add { background: palegreen; }\r\n.rich pre.source-highlighted .del, .rich .sourcetable .del { background: pink; }\r\n\r\n.rich table, .rich tr, .rich td, .rich img, .rich iframe {\r\n\tcursor: default;\r\n}\r\n.layout .rtecell {\r\n\tvertical-align: top;\r\n\tfont-size: small;\r\n}\r\n.rtetable > tbody > tr > td, .rtetable > tr > td { vertical-align: top; }\r\n\r\n.rich p{\r\n\tmargin:0px 5px 0px 0px;\r\n}\r\n.rich .align-center{\r\n\ttext-align: center;\r\n}\r\n.rich .align-right{\r\n\ttext-align: right;\r\n}\r\n.rich .align-left{\r\n\ttext-align: left;\r\n}\r\n.rich li[style*='text-align: center'], .rich li[style*='text-align: right'] {\r\nlist-style-position: inside;\r\n}\r\n\r\n.rtetable { empty-cells: show; border: solid 1px black; border-collapse:collapse; }\r\n.rtetable > tbody > tr > td, .rtetable > tr > td { border: solid 1px black; height: 1.5em; min-width: 20px;  padding: 0px 5px }\r\n.rich table {font-family: arial; font-size: small}\r\n.rich blockquote.shift {\r\n\tmargin-right: 0px;margin-top: 0px; margin-bottom: 0px;\r\n}\r\n.rich img[data-expand] {\r\n\tdisplay: block;\r\n}\r\n.rich p, .rich p.richp  {font-family: arial; font-size: small}\r\n.rich blockquote.shift h1, .rich blockquote.shift h2, .rich blockquote.shift h3, .rich blockquote.shift h4, .rich blockquote.shift h5, .rich blockquote.shift h6 {\r\n    margin-top: 0px;\r\n}\r\n.rich, .rich * {\r\n    word-wrap: break-word;\r\n}\r\n\r\n\r\n\r\n.sourcetable {background-color: #F0F0FF; font-family: monospace; width: 100%}\r\n.sourcetable tr {\r\n\tmargin: 0px;\r\n\tpadding: 0px;\r\n}\r\n.sourcetable td {\r\n\tmargin: 0px;\r\n\tpadding: 0px;\r\n\twhite-space: nowrap;\r\n}\r\n.sourcetable > tbody > tr > td:first-child, .sourcetable > tr > td:first-child\r\n{\r\n\twidth:1px;\r\n}\r\n\r\n.filelist {\r\n\t/*display:inline-block;*/ padding: 5px;\r\n}\r\n\r\n.rich .toc {\r\n\t/*display:inline-block;*/ padding: 5px;\r\n}\r\n.rich .toc .header,.rich  .wikilist .header,.rich  .filelist .header {\r\n\tfont-size: 1.7em;\r\n}\r\n.rich .toc li,.rich  .filelist li {\r\n\tmargin: 5px 0px;\r\n}\r\n.rich .wikilist div {\r\n\tmargin: 10px;\r\n}\r\n\r\n.rich .layout {min-height: 2.5em; display:table; width:100%; border-spacing:5px; table-layout:fixed; empty-cells: show;}\r\n.rich .layout .rtecell {display:table-cell; height: 2.5em}\r\n.rich .layout .rteside {width: 25%}\r\n\r\n/*\r\n.rtetable {\r\n\tborder-collapse:collapse;\r\n}\r\n.rtetable > tbody > tr > td, .rtetable > tr > td {\r\n\tborder: 1px solid #ddd;\r\n\tpadding: 7px 10px;\r\n\tvertical-align: top;\r\n\ttext-align: left;\r\n}*/\r\n.rich blockquote.realbq {\r\n\tborder-left-color: lightblue;\r\n\tborder-left-width: 1px;\r\n\tborder-left-style: solid;\r\n\tmargin-top: 0px;\r\n\tmargin-bottom: 0px;\r\n\tpadding-left: 5px;\r\n}\r\n.rich body {font-family: arial; font-size: small}\r\n\r\n.rich .GrayBox {\r\n\tmargin-left: 8px;\r\n}\r\n\r\n.rich .sourcetable { font-size:1.3em;}\r\n\r\n\r\n/* RTE style end */</style></head><body spellcheck=\"true\"  class=\"rich\" style=\"margin: 0px; padding: 0px; font-family: arial; font-size: small;\">Test description!</body></HTML>"
                      },
                      "CountryOfOrigin": [],
                      "CurrentStdCost": {
                        "value": 0
                      },
                      "CurySpecificMSRP": {
                        "value": 0
                      },
                      "CurySpecificPrice": {
                        "value": 50
                      },
                      "CustomURL": [],
                      "DefaultIssueLocationID": [],
                      "DefaultPrice": {
                        "value": 50
                      },
                      "DefaultReceiptLocationID": {
                        "value": "MAIN"
                      },
                      "DefaultWarehouseID": {
                        "value": "RETAIL"
                      },
                      "Description": {
                        "value": "16x25x1 Air Filter"
                      },
                      "DimensionVolume": {
                        "value": 0
                      },
                      "DimensionWeight": {
                        "value": 0
                      },
                      "DiscountAccount": [],
                      "DiscountSubaccount": [],
                      "ExportToExternal": {
                        "value": true
                      },
                      "ImageUrl": [],
                      "InventoryAccount": {
                        "value": "12100"
                      },
                      "InventoryID": {
                        "value": "ACU-AF"
                      },
                      "InventorySubaccount": {
                        "value": "0"
                      },
                      "ItemClass": {
                        "value": "MATERIAL"
                      },
                      "ItemStatus": {
                        "value": "Active"
                      },
                      "ItemType": {
                        "value": "Finished Good"
                      },
                      "LandedCostVarianceAccount": {
                        "value": "52400"
                      },
                      "LandedCostVarianceSubaccount": {
                        "value": "0"
                      },
                      "LastCost": {
                        "value": 15.99
                      },
                      "LastModified": {
                        "value": "2025-01-21T01:37:08.643-08:00"
                      },
                      "LastStdCost": {
                        "value": 0
                      },
                      "Markup": {
                        "value": 0
                      },
                      "MaxCost": {
                        "value": 15.99
                      },
                      "MetaDescription": [],
                      "MetaKeywords": [],
                      "MinCost": {
                        "value": 15.99
                      },
                      "MinMarkup": {
                        "value": 0
                      },
                      "MSRP": {
                        "value": 0
                      },
                      "NotAvailable": {
                        "value": "Store Default"
                      },
                      "NoteID": {
                        "value": "f69e5699-cdd7-ef11-ba6a-0e1f07f567e3"
                      },
                      "PageTitle": [],
                      "PendingStdCost": {
                        "value": 0
                      },
                      "POAccrualAccount": {
                        "value": "20100"
                      },
                      "POAccrualSubaccount": {
                        "value": "0"
                      },
                      "PostingClass": {
                        "value": "AOL"
                      },
                      "PriceClass": [],
                      "PriceManager": [],
                      "PriceWorkgroup": [],
                      "ProductManager": [],
                      "ProductWorkgroup": [],
                      "PurchasePriceVarianceAccount": {
                        "value": "52300"
                      },
                      "PurchasePriceVarianceSubaccount": {
                        "value": "0"
                      },
                      "PurchaseUOM": {
                        "value": "EA"
                      },
                      "ReasonCodeSubaccount": {
                        "value": "0"
                      },
                      "SalesAccount": {
                        "value": "49400"
                      },
                      "SalesSubaccount": {
                        "value": "02"
                      },
                      "SalesUOM": {
                        "value": "EA"
                      },
                      "SearchKeywords": [],
                      "StandardCostRevaluationAccount": {
                        "value": "52110"
                      },
                      "StandardCostRevaluationSubaccount": {
                        "value": "0"
                      },
                      "StandardCostVarianceAccount": {
                        "value": "52100"
                      },
                      "StandardCostVarianceSubaccount": {
                        "value": "0"
                      },
                      "TariffCode": [],
                      "TaxCategory": {
                        "value": "EXEMPT"
                      },
                      "TemplateItemID": [],
                      "ValuationMethod": {
                        "value": "Average"
                      },
                      "VendorDetails": [
                        {
                          "id": "a23f598a-d1d7-ef11-ba6a-0e1f07f567e3",
                          "rowNumber": 1,
                          "note": {
                            "value": ""
                          },
                          "Active": {
                            "value": true
                          },
                          "AddLeadTimeDays": {
                            "value": 0
                          },
                          "CurrencyID": {
                            "value": "USD"
                          },
                          "Default": {
                            "value": true
                          },
                          "EOQ": {
                            "value": 0
                          },
                          "LastVendorPrice": {
                            "value": 0
                          },
                          "LeadTimeDays": [],
                          "Location": {
                            "value": "MAIN"
                          },
                          "LotSize": {
                            "value": 0
                          },
                          "MaxOrderQty": {
                            "value": 0
                          },
                          "MinOrderFrequencyInDays": {
                            "value": 0
                          },
                          "MinOrderQty": {
                            "value": 0
                          },
                          "Override": {
                            "value": false
                          },
                          "PurchaseUnit": {
                            "value": "EA"
                          },
                          "RecordID": {
                            "value": 134
                          },
                          "VendorID": {
                            "value": "ACMEDO"
                          },
                          "VendorName": {
                            "value": "Acme Doors & Glass"
                          },
                          "Warehouse": [],
                          "custom": [],
                          "_links": {
                            "files:put": "/AcumaticaERP/entity/Default/23.200.001/files/PX.Objects.IN.InventoryItemMaint/VendorItems/a23f598a-d1d7-ef11-ba6a-0e1f07f567e3/{filename}"
                          }
                        }
                      ],
                      "Visibility": {
                        "value": "Store Default"
                      },
                      "VolumeUOM": [],
                      "WeightUOM": [],
                      "custom": [],
                      "_links": {
                        "self": "/AcumaticaERP/entity/Default/23.200.001/StockItem/f69e5699-cdd7-ef11-ba6a-0e1f07f567e3",
                        "files:put": "/AcumaticaERP/entity/Default/23.200.001/files/PX.Objects.IN.InventoryItemMaint/Item/f69e5699-cdd7-ef11-ba6a-0e1f07f567e3/{filename}"
                      }
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "Item-3": {
        "allOf": [
          {
            "$ref": "#/components/schemas/Item"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The SQL path on the Source System.",
                    "example": "icitem"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "itemnum": "200",
                      "name1": "B.P.S. 3 Pole, 480V 1200",
                      "name2": "",
                      "vennum": "",
                      "venitemnum": "",
                      "class": "SWITCH",
                      "lastvennum": "",
                      "upcnum": "",
                      "onhand": 20,
                      "onorder": 0,
                      "price1": 12,
                      "price2": 12.6,
                      "price3": 13.2,
                      "price4": 13.8,
                      "price5": 15,
                      "price6": 18,
                      "cost": 10.9375,
                      "type": 1,
                      "sequence": 5000,
                      "salesacct": "",
                      "qtyfmt": 1,
                      "qtymindec": 0,
                      "qtymaxdec": 0,
                      "qtyfracbase": 1,
                      "mult": 1,
                      "unitofmeasure": "ea",
                      "qtysep": "",
                      "altunitofmeasure": "",
                      "qtycommas": 1,
                      "altmult": 0,
                      "altdiv": 0,
                      "buyqty_fmt": 1,
                      "buyqty_mindec": 0,
                      "buyqty_maxdec": 0,
                      "buyqty_fracbase": 1,
                      "buyqty_mult": 1,
                      "buyqty_unitofmeasure": "ea",
                      "buyqty_sep": "",
                      "buyqty_altunitofmeasure": "",
                      "buyqty_commas": 1,
                      "buyqty_altmult": 0,
                      "buyqty_altdiv": 0,
                      "pricefmt": 1,
                      "pricemindec": 2,
                      "pricemaxdec": 5,
                      "conv": 1,
                      "unitofsale": "ea",
                      "pricecommas": 1,
                      "buyprice_fmt": 1,
                      "buyprice_mindec": 2,
                      "buyprice_maxdec": 5,
                      "buyprice_conv": 1,
                      "buyprice_unitofsale": "ea",
                      "buyprice_commas": 1,
                      "reorderqty1": 0,
                      "reorderqty2": 0,
                      "reorderqty3": 0,
                      "reorderqty4": 0,
                      "lastcost": 8.75,
                      "lastsaledate": null,
                      "lastreceiptdate": "2021-02-12",
                      "billclass": 2,
                      "isassembly": 0,
                      "issumofparts": 0,
                      "showparts": 0,
                      "inactive": 0,
                      "groupcode": "",
                      "pricecode": "",
                      "buyoutcost": 0,
                      "rentalcost": 0,
                      "newused": 1,
                      "defaultrental": 0,
                      "buyoutsell": 0,
                      "reminder": "",
                      "serialized": 1,
                      "serialfmt": 1,
                      "seriallen": 0,
                      "onhandvalue": 218.75,
                      "lookup1": "",
                      "lookup2": "",
                      "billphase": "",
                      "billcat": "",
                      "seriallenmax": 0,
                      "uselastcost": 0,
                      "nongl": 0,
                      "mincost": 8.75,
                      "maxcost": 8.75,
                      "memo": "",
                      "attachid": "0",
                      "serialnum": "8",
                      "notesasdes": 0,
                      "barcode": "",
                      "status": 1,
                      "rentalcostweek": 0,
                      "rentalcostmonth": 0,
                      "user_1": 0,
                      "user_2": 0,
                      "user_3": 0
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "Item-4": {
        "allOf": [
          {
            "$ref": "#/components/schemas/Item"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The database query for the Source System.",
                    "example": "select * from [items]"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "company_no": "12345",
                      "item_no": "12345",
                      "description": "Concrete",
                      "standard_price": "10.000000",
                      "standard_cost": "5.000000",
                      "purchasing_unit_no": "EA",
                      "stocking_unit_no": "EA",
                      "primary_item_category_no": "  100",
                      "record_status": "A",
                      "row_modified_by": "98053",
                      "row_modified_on": "2022-01-01 00:00:00.000",
                      "row_unique_id": "12345",
                      "company_id": "1",
                      "item_id": "12345",
                      "primary_item_category_id": "12345",
                      "purchasing_unit_id": "EA",
                      "stocking_unit_id": "EA",
                      "delivery_unit_no": "EA",
                      "unit_conversion_no": null,
                      "calculate_unit_cost": "N",
                      "base": "PL",
                      "operation": "AD",
                      "amount": "10.000000",
                      "on_hand_average_cost": ".000000",
                      "last_cost": ".000000",
                      "last_date_purchased": null,
                      "item_2_category_no": null,
                      "item_3_category_no": null,
                      "item_4_category_no": null,
                      "item_5_category_no": null,
                      "item_6_category_no": null,
                      "DCI_alternate": null,
                      "UPC": null,
                      "ap_taxable": "Y",
                      "ar_taxable": "Y",
                      "price_service_description": null,
                      "delivery_unit_id": "EA",
                      "item_2_category_id": null,
                      "item_3_category_id": null,
                      "item_4_category_id": null,
                      "item_5_category_id": null,
                      "item_6_category_id": null,
                      "unit_conversion_id": null,
                      "bin_location_no": null,
                      "bin_location_id": null,
                      "default_cost_code": null,
                      "default_cost_class": null,
                      "default_phase": null,
                      "reorder_point": ".0000000",
                      "max_stocking_qty": ".0000000",
                      "gl_income": "4070",
                      "last_modified_source": "item_mnt",
                      "calc_history_average_cost": ".000000",
                      "calculate_average_flag": "O",
                      "calc_stocking_quantity": ".0000000",
                      "calc_onhand_average_cost": ".000000",
                      "calc_last_cost": ".000000",
                      "calc_last_purchase_date": null,
                      "non_inventory_item": "N",
                      "record_guid": "12345D2E-961F-EE11-83CE-005056A04820",
                      "provider": null,
                      "category_description": "Earthwork"
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "Item-5": {
        "allOf": [
          {
            "$ref": "#/components/schemas/Item"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The XML path on the Source System.",
                    "example": "InventoryQueryRq"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "Name": "Concrete",
                      "Active": true,
                      "FullyQualifiedName": "Concrete",
                      "Taxable": false,
                      "UnitPrice": 47,
                      "Type": "Service",
                      "IncomeAccountRef": {
                        "value": "123",
                        "name": "Accounts Payable (A/P)"
                      },
                      "PurchaseCost": 47,
                      "ExpenseAccountRef": {
                        "value": "123",
                        "name": "Purchases"
                      },
                      "TrackQtyOnHand": false,
                      "domain": "QBO",
                      "sparse": false,
                      "Id": "123",
                      "SyncToken": "4",
                      "MetaData": {
                        "CreateTime": "2022-01-01T00:00:00-00:00",
                        "LastUpdatedTime": "2022-01-01T00:00:00-00:00"
                      }
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "Item-6": {
        "allOf": [
          {
            "$ref": "#/components/schemas/Item"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "https://quickbooks.api.intuit.com/v3/company/{companyId}/query"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "Name": "Concrete",
                      "Active": true,
                      "FullyQualifiedName": "Concrete",
                      "Taxable": false,
                      "UnitPrice": 47,
                      "Type": "Service",
                      "IncomeAccountRef": {
                        "value": "123",
                        "name": "Accounts Payable (A/P)"
                      },
                      "PurchaseCost": 47,
                      "ExpenseAccountRef": {
                        "value": "123",
                        "name": "Purchases"
                      },
                      "TrackQtyOnHand": false,
                      "domain": "QBO",
                      "sparse": false,
                      "Id": "123",
                      "SyncToken": "4",
                      "MetaData": {
                        "CreateTime": "2022-01-01T00:00:00-00:00",
                        "LastUpdatedTime": "2022-01-01T00:00:00-00:00"
                      }
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "Item-7": {
        "allOf": [
          {
            "$ref": "#/components/schemas/Item"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "https://api.servicetitan.io/pricebook/v2/tenant/{tenantId}/materials"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "id": 3414079,
                      "code": "518",
                      "displayName": "Rebar",
                      "description": "Steel bars used to reinforce concrete, providing tensile strength to support the concrete structure.",
                      "cost": 578.34,
                      "active": true,
                      "price": 650.23,
                      "memberPrice": 630.23,
                      "addOnPrice": 630.12,
                      "addOnMemberPrice": 623.12,
                      "hours": 50.12,
                      "bonus": 5.23,
                      "commissionBonus": 0.0123,
                      "paysCommission": true,
                      "deductAsJobCost": false,
                      "unitOfMeasure": "Ton",
                      "isInventory": true,
                      "account": "Revenue",
                      "costOfSaleAccount": "Cost of Goods Sold:Materials",
                      "assetAccount": "Cash",
                      "taxable": true,
                      "primaryVendor": {
                        "id": 3414081,
                        "vendorName": "Abernathy - Goodwin Glass",
                        "vendorId": 3405006,
                        "memo": "Rebar for Abernathy",
                        "vendorPart": "12345-00",
                        "cost": 578.34,
                        "active": true,
                        "primarySubAccount": null,
                        "otherSubAccounts": []
                      },
                      "otherVendors": [
                        {
                          "id": 3417217,
                          "vendorName": "Acevedo Plumbing",
                          "vendorId": 3405018,
                          "memo": null,
                          "vendorPart": null,
                          "cost": 0,
                          "active": false,
                          "primarySubAccount": null,
                          "otherSubAccounts": []
                        }
                      ],
                      "categories": [
                        3414250
                      ],
                      "assets": [],
                      "modifiedOn": "2022-01-01T00:00:00.000000Z",
                      "source": null,
                      "externalId": null,
                      "externalData": [],
                      "isConfigurableMaterial": false,
                      "chargeableByDefault": true,
                      "variationsOrConfigurableMaterials": []
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "Item-8": {
        "allOf": [
          {
            "$ref": "#/components/schemas/Item"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The SQL path on the Source System.",
                    "example": "select * from IM_ITEM_MASTER_MC"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "Company_Code": "12345",
                      "Item_Code": "12345",
                      "Item_Description": "Concrete",
                      "Vendor_Code_List1": "",
                      "Vendor_Code_List2": "",
                      "Alternate_Item_Code1": "",
                      "Alternate_Item_Code2": "",
                      "Item_Category": "STND",
                      "Unit_Of_Measure1": "CY",
                      "Unit_Of_Measure2": "CY",
                      "Unit_Of_Measure_Conversion": "1.0000",
                      "Unit_Weight": ".0000",
                      "Taxable_Flag": "Y",
                      "Discontinue_Flag": "N",
                      "Commission_Flag": "Y",
                      "Discount_Code": "",
                      "Price_List1": "10.00",
                      "Price_List2": "9.75",
                      "Price_List3": "9.50",
                      "Price_List4": "9.25",
                      "Price_List5": "9.00",
                      "Date_Discontinued": null,
                      "Standard_Cost": "5.0000",
                      "Vendor_Part_Number": "",
                      "ABC_Class": "A",
                      "Phase_Code": "",
                      "Cost_Type": "M",
                      "Markup_Price": ".00",
                      "Average_Cost": ".00",
                      "Price_Per_Factor": "1.0000",
                      "Mix_Flag": "N",
                      "Default_Cost_Category": "",
                      "Use_Tax_Flag": "Y",
                      "Price_Changed_Date": "2022-01-01 00:00:00.000",
                      "Cost_Changed_Date": "2022-01-01 00:00:00.000",
                      "Exclude_SI_Ticket": "",
                      "Exclude_SI_Freight": "",
                      "All_Cost_Centers": "Y",
                      "Category_Description": "Standard"
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "Item-9": {
        "allOf": [
          {
            "$ref": "#/components/schemas/Item"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The SQL path on the Source System.",
                    "example": "select * from [HQMT] where [HQMT].[MatlGroup] = 12345"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "MatlGroup": "12345",
                      "Material": "12345",
                      "Category": "Professional Concrete pour",
                      "Description": "Concrete",
                      "StdUM": "t",
                      "Cost": "5.00000",
                      "CostECM": "E",
                      "Price": "10.00000",
                      "PriceECM": "E",
                      "PayDiscType": "N",
                      "PurchaseUM": "EA",
                      "SalesUM": "EA",
                      "WeightConv": null,
                      "Stocked": "N",
                      "Taxable": "N",
                      "MatlPhase": null,
                      "MatlJCCostType": null,
                      "HaulPhase": null,
                      "HaulJCCostType": null,
                      "HaulCode": null,
                      "Active": "Y",
                      "PriceServiceId": null,
                      "Type": "S",
                      "Notes": null,
                      "PayDiscRate": ".00000",
                      "MetricUM": "t",
                      "UniqueAttchID": null,
                      "KeyID": "12345"
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "NewItem": {
        "type": "object",
        "required": [
          "name",
          "status",
          "type"
        ],
        "properties": {
          "asset_account_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Ledger Account](#tag--ledger-accounts) the Item is associated with when the Item is an Asset. Note, an Asset Account ID is required for creating Items with a type of `Inventory` and `Payment`."
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          },
          "description": {
            "type": "string",
            "description": "The description of the Item.",
            "example": "Professional concrete pour."
          },
          "expense_account_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Ledger Account](#tag--ledger-accounts) the Item is associated with when the Item is bought from a Vendor."
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          },
          "income_account_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Ledger Account](#tag--ledger-accounts) the Item is associated with when the Item is sold to a Customer."
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          },
          "name": {
            "type": "string",
            "description": "The name of the Item.",
            "example": "Concrete"
          },
          "status": {
            "type": "string",
            "enum": [
              "Active",
              "Inactive"
            ],
            "description": "The status of the Item.",
            "example": "Active"
          },
          "type": {
            "type": "string",
            "description": "The type of the Item. QuickBooks Desktop requires or does not support certain fields based on the type:\n- **Discount**: this typee requires `expense_account_id` and does not support `income_account_id` and `unit_price`.\n- **Inventory**: this type requires `asset_account_id` and `expense_account_id`.\n- **InventoryAssembly**: this type requires `asset_account_id` and `expense_account_id`, and `income_account_id`.\n- **NonInventory**: this type does not support `asset_account_id`.\n- **OtherCharge**: this type does not support `asset_account_id`.\n- **Payment**: requires `asset_account_id`. This type does not support `expense_account_id`, `income_account_id`, `unit_cost`, and `unit_price`.\n- **Service**: this type does not support `asset_account_id`.\n- **Subtotal**: this type does not support `asset_account_id`, `expense_account_id`, `income_account_id`, `unit_cost`, and `unit_price`.\n",
            "enum": [
              "Discount",
              "Inventory",
              "InventoryAssembly",
              "NonInventory",
              "OtherCharge",
              "Payment",
              "Service",
              "Subtotal"
            ],
            "example": "Inventory"
          },
          "unit_cost": {
            "type": "string",
            "description": "The unit cost of the Item.",
            "example": "5.00"
          },
          "unit_price": {
            "type": "string",
            "description": "The unit price of the Item.",
            "example": "10.00"
          }
        }
      },
      "NewItem-2": {
        "type": "object",
        "required": [
          "name"
        ],
        "properties": {
          "asset_account_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Ledger Account](#tag--ledger-accounts) the Item is associated with when the Item is an Asset."
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          },
          "description": {
            "type": "string",
            "description": "The description of the Item.",
            "example": "Professional concrete pour."
          },
          "expense_account_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Ledger Account](#tag--ledger-accounts) the Item is associated with when the Item is bought from a Vendor. This field is required when `income_account_id` is not present."
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          },
          "income_account_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Ledger Account](#tag--ledger-accounts) the Item is associated with when the Item is sold to a Customer. This field is required when `expense_account_id` is not present."
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          },
          "name": {
            "type": "string",
            "description": "The name of the Item.",
            "example": "Concrete"
          },
          "status": {
            "type": "string",
            "enum": [
              "Active",
              "Inactive"
            ],
            "description": "The status of the Item.",
            "example": "Active"
          },
          "type": {
            "type": "string",
            "description": "The type of the Item. \n",
            "enum": [
              "Group",
              "Inventory",
              "NonInventory",
              "Service"
            ],
            "example": "Inventory"
          },
          "unit_cost": {
            "type": "string",
            "description": "The unit cost of the Item.",
            "example": "5.00"
          },
          "unit_price": {
            "type": "string",
            "description": "The unit price of the Item.",
            "example": "10.00"
          }
        }
      },
      "NewItem-3": {
        "type": "object",
        "required": [
          "code",
          "cost_unit_of_measure",
          "name",
          "price_unit_of_measure",
          "source_data"
        ],
        "properties": {
          "code": {
            "type": "string",
            "description": "A reference code or number for the Item.",
            "example": "A123"
          },
          "cost_unit_of_measure": {
            "type": "string",
            "description": "The unit of measure for purchases of the Item.",
            "example": "FT"
          },
          "name": {
            "type": "string",
            "description": "The name of the Item.",
            "example": "Rebar"
          },
          "price_unit_of_measure": {
            "type": "string",
            "description": "The unit of measure for sales of the Item.",
            "example": "FT"
          },
          "status": {
            "type": "string",
            "enum": [
              "Active",
              "Discontinued",
              "Not Used"
            ],
            "description": "The status of the Item.\n\n**Note for Viewpoint Spectrum**: the value will default to \"Active\" if not included in the request.\n",
            "example": "Active"
          },
          "type": {
            "type": "string",
            "description": "The type of the Item. \n\n**Note for Viewpoint Spectrum**: a list of possible values for this field can be retried using the `Category_Description` field in the `IM_CATEGORY_MASTER_MC` table, which requires a passthrough request. To learn more about passthrough requests, see [link](/agave-api/passthrough-requests#foundation-viewpoint-spectrum-and-viewpoint-vista).\n",
            "example": "Materials"
          },
          "unit_cost": {
            "type": "string",
            "description": "The unit cost of the Item.",
            "example": "5.00"
          },
          "unit_price": {
            "type": "string",
            "description": "The unit price of the Item.",
            "example": "10.00"
          },
          "source_data": {
            "type": "object",
            "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
            "properties": {
              "Unit_Of_Measure_Conversion": {
                "type": "string",
                "example": "1",
                "description": "The Unit of Measure Conversion value.\n"
              }
            }
          }
        }
      },
      "ItemReceiptLineItem": {
        "type": "object",
        "properties": {
          "id": {
            "allOf": [
              {
                "description": "The UUID of the Item Receipt Line Item assigned by Agave."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "source_id": {
            "type": "string",
            "readOnly": true,
            "example": 3478238,
            "description": "The ID of the Item in the Source System."
          },
          "contract.line_item_id": {
            "type": "string",
            "description": "The Line Item number of the Item Receipt Line Item",
            "example": "2"
          },
          "description": {
            "type": "string",
            "description": "A description of the Item Receipt Line Item.",
            "example": "Two tons of cement."
          },
          "item_id": {
            "type": "string",
            "description": "The SKU ID of the Item Receipt Line Item.",
            "example": 3471323
          },
          "quantity": {
            "type": "number",
            "description": "The quantity received of the Item Receipt Line Item.",
            "example": 1
          },
          "unit_cost": {
            "type": "number",
            "description": "The cost per received unit of the Item Receipt Line Item.",
            "example": 3300
          }
        }
      },
      "ItemReceipt": {
        "type": "object",
        "properties": {
          "id": {
            "allOf": [
              {
                "description": "The UUID of the Item assigned by Agave."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "source_id": {
            "type": "string",
            "readOnly": true,
            "example": "12345",
            "description": "The ID of the Item in the Source System."
          },
          "contract": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string",
                "example": 3079310
              },
              "type": {
                "type": "string",
                "example": "Purchase Order",
                "description": "The type of contract that the Item Receipt references.\n\n**Note for Viewpoint Spectrum**: This is always \"purchase_order\".\n\n**Note for ServiceTitan**: This is always \"purchase_order\".\n"
              }
            }
          },
          "delivery_date": {
            "allOf": [
              {
                "description": "Datetime the Item was received."
              },
              {
                "$ref": "#/components/schemas/DateTimeProperty"
              }
            ]
          },
          "line_items": {
            "description": "The line items for the Item Receipt.",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ItemReceiptLineItem"
            }
          },
          "number": {
            "type": "string",
            "description": "The number of the Item Receipt.",
            "example": "100001-R1"
          },
          "status": {
            "type": "string",
            "description": "The status of the Item receipt.\n\n**Note for ServiceTitan**: this value can be one of the following:\n  - Active\n  - Inactive\n  \n**Note for Viewpoint Spectrum**: this value can be one of the following:\n  - O - Open\n  - I - Invoiced\n",
            "example": "Active"
          },
          "description": {
            "type": "string",
            "description": "A detailed description of the Item Receipt.",
            "example": "Received two tons of cement."
          },
          "vendor_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Vendor](#tag--vendors)."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "source_create_time": {
            "allOf": [
              {
                "description": "Datetime the Item Receipt was created in the Source System."
              },
              {
                "$ref": "#/components/schemas/DateTimeProperty"
              }
            ]
          },
          "source_update_time": {
            "allOf": [
              {
                "description": "The datetime the Item Receipt was last updated in the Source System."
              },
              {
                "$ref": "#/components/schemas/DateTimeProperty"
              }
            ]
          }
        }
      },
      "ItemReceipt-2": {
        "allOf": [
          {
            "$ref": "#/components/schemas/ItemReceipt"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "https://api.servicetitan.io/inventory/v2/tenant/{tenantId}/receipts"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "id": 3478237,
                      "active": true,
                      "number": "3471520-R8",
                      "vendorInvoiceNumber": null,
                      "createdById": 2266282,
                      "memo": null,
                      "purchaseOrderId": 3471520,
                      "billId": 3478137,
                      "jobId": null,
                      "businessUnitId": 12289,
                      "vendorId": 3444921,
                      "technicianId": null,
                      "inventoryLocationId": 135,
                      "shipTo": {
                        "street": "125 West Street",
                        "unit": "Unit 100",
                        "city": "AnyTown",
                        "state": "CA",
                        "zip": "19703",
                        "country": "US"
                      },
                      "shipToDescription": "Default Warehouse",
                      "receiptAmount": 3300,
                      "taxAmount": 0,
                      "shippingAmount": 0,
                      "receivedOn": "2024-07-30T00:00:00Z",
                      "createdOn": "2024-07-31T19:12:00.003607Z",
                      "modifiedOn": "2024-07-31T19:12:00.0287999Z",
                      "batchId": null,
                      "syncStatus": "Pending",
                      "items": [
                        {
                          "id": 3478238,
                          "skuId": 3471323,
                          "name": "Laminated Veneer Lumber",
                          "code": "lvl",
                          "description": "Laminated Veneer Lumber",
                          "quantity": 1,
                          "cost": 3300,
                          "generalLedgerAccount": {
                            "name": "Revenue",
                            "number": "4000",
                            "type": "Income",
                            "detailType": "Income"
                          },
                          "costOfSaleAccount": {
                            "name": "Cost of Goods Sold:Materials",
                            "number": "5001",
                            "type": "Cost of Goods Sold",
                            "detailType": "Expense"
                          },
                          "assetAccount": null
                        }
                      ],
                      "customFields": null
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "ItemReceipt-3": {
        "allOf": [
          {
            "$ref": "#/components/schemas/ItemReceipt"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The SQL path on the Source System.",
                    "example": "select [PO_PACK_LIST_HEADER_MC].*, [PO_PURCHASE_ORDER_HEADER_MC].[Job_Number] from [PO_PACK_LIST_HEADER_MC] left join [PO_PURCHASE_ORDER_HEADER_MC] on [PO_PURCHASE_ORDER_HEADER_MC].[Company_Code] = [PO_PACK_LIST_HEADER_MC].[Company_Code] and [PO_PURCHASE_ORDER_HEADER_MC].[PO_Number] = [PO_PACK_LIST_HEADER_MC].[PO_Number] where [PO_PACK_LIST_HEADER_MC].[Company_Code] = 'CCD' and [PO_PACK_LIST_HEADER_MC].[Company_Code] = 'CCD' and [PO_PACK_LIST_HEADER_MC].[PO_Number] = '      1144' and [PO_PACK_LIST_HEADER_MC].[Receipt_Number] = 003"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "Company_Code": "CCD",
                      "PO_Number": "      1144",
                      "Receipt_Number": "003",
                      "Pack_List_Number": "",
                      "Receipt_Date": "2024-09-14 00:00:00.000",
                      "Remarks": "RL-Test-Item-Receipt",
                      "Status_Flag": "O",
                      "Total_Detail_Extension": "20.00",
                      "Select_Flag": "N",
                      "Invoice_Number": "",
                      "Job_Site_Status_Code": "",
                      "Job_Number": ""
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "NewItemReceiptLineItem": {
        "required": [
          "item_id",
          "quantity",
          "unit_cost"
        ],
        "type": "object",
        "properties": {
          "item_id": {
            "type": "string",
            "description": "The ServiceTitan Item SKU number.",
            "example": 3079310
          },
          "description": {
            "type": "string",
            "description": "The description for the ServiceTitan Item Receipt Line Item."
          },
          "quantity": {
            "type": "number",
            "description": "Quantity of the Line Item.",
            "example": 1
          },
          "unit_cost": {
            "type": "number",
            "description": "Cost of the Line Item.",
            "example": 3300
          }
        }
      },
      "NewItemReceipt": {
        "required": [
          "contract.id",
          "delivery_date",
          "source_data.tax",
          "source_data.shipping"
        ],
        "type": "object",
        "properties": {
          "contract": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string",
                "example": 3079310
              },
              "type": {
                "type": "string",
                "example": "purchase_order",
                "description": "The type of contract that the Item Receipt references. In the case of ServiceTitan, it is always \"purchase_order\"."
              }
            }
          },
          "delivery_date": {
            "allOf": [
              {
                "description": "Datetime the Item was received."
              },
              {
                "$ref": "#/components/schemas/DateTimeProperty"
              }
            ]
          },
          "line_items": {
            "description": "The line items for the Item Receipt.",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/NewItemReceiptLineItem"
            }
          },
          "description": {
            "type": "string",
            "description": "A detailed description of the Item Receipt.",
            "example": "Received two tons of cement."
          },
          "source_data": {
            "type": "object",
            "properties": {
              "tax": {
                "type": "number",
                "description": "The total tax on the Items received in the Item Receipt.",
                "example": 39.35
              },
              "shipping": {
                "type": "number",
                "description": "The total shipping on the Items received in the Item Receipt.",
                "example": 15.63
              }
            }
          }
        }
      },
      "NewItemReceiptLineItem-2": {
        "required": [
          "contract.id",
          "contract.line_item_id"
        ],
        "type": "object",
        "properties": {
          "contract": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string",
                "example": "       001",
                "description": "The id of the contract that the Item Receipt references."
              },
              "line_item_id": {
                "type": "string",
                "example": "001",
                "description": "The id of the contract line item that the Item Receipt receives against."
              }
            }
          },
          "item_id": {
            "type": "string",
            "description": "The Spectrum Item Code.",
            "example": "1001"
          },
          "quantity": {
            "type": "number",
            "description": "Quantity of the Line Item.",
            "example": "1"
          }
        }
      },
      "NewItemReceipt-2": {
        "required": [
          "contract.id",
          "contract.type",
          "line_items.item_id",
          "line_items.contract.id",
          "line_items.contract.line_item_id"
        ],
        "type": "object",
        "properties": {
          "contract": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string",
                "example": "       001",
                "description": "The id of the contract that the Item Receipt references."
              },
              "type": {
                "type": "string",
                "example": "purchase_order",
                "description": "The type of contract that the Item Receipt references. In the case of Spectrum, it is always \"purchase_order\"."
              }
            }
          },
          "delivery_date": {
            "allOf": [
              {
                "description": "Datetime the Item was received."
              },
              {
                "$ref": "#/components/schemas/DateTimeProperty"
              }
            ]
          },
          "line_items": {
            "description": "The line items for the Item Receipt.",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/NewItemReceiptLineItem-2"
            }
          },
          "description": {
            "type": "string",
            "description": "A detailed description of the Item Receipt.",
            "example": "Received two tons of cement."
          }
        }
      },
      "PrimeContractLineItem": {
        "type": "object",
        "properties": {
          "id": {
            "allOf": [
              {
                "description": "The UUID of the Line Item assigned by Agave."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "source_id": {
            "type": "string",
            "readOnly": true,
            "example": "12345",
            "description": "The ID of the Line Item in the Source System."
          },
          "amount": {
            "type": "string",
            "description": "The total monetary amount of the Line Item, including tax.",
            "example": "100.00"
          },
          "cost_code_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Cost Code](#tag--cost-codes) for the Line Item."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "cost_type_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Cost Type](#tag--cost-types) for the Line Item."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "description": {
            "type": "string",
            "description": "A description of the Line Item.",
            "example": "Two tons of cement."
          },
          "quantity": {
            "type": "string",
            "description": "The estimated quantity of the unit in the Line Item.",
            "example": "2.0"
          },
          "type": {
            "type": "string",
            "description": "The type of Line Item.\n\n**Note for Sage 300 CRE**: possible values include \"Progress Billing\" and \"Time and Material\".\n\n**Note for Sage Intacct**: possible values include \"Progress Billing\" and \"Time and Material\".\n",
            "example": "2.0"
          },
          "unit_cost": {
            "type": "string",
            "description": "The price of each unit associated with the Line Item.",
            "example": "50"
          },
          "unit_of_measure": {
            "type": "string",
            "description": "The unit used for measuring the estimated quantity of the Line Item.",
            "example": "Tons"
          },
          "wbs_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [WBS](#tag--wbs) for the Line Item."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "source_create_time": {
            "allOf": [
              {
                "description": "The datetime the Line Item was created in the Source System."
              },
              {
                "$ref": "#/components/schemas/DateTimeProperty"
              }
            ]
          },
          "source_update_time": {
            "allOf": [
              {
                "description": "The datetime the Line Item was last updated in the Source System."
              },
              {
                "$ref": "#/components/schemas/DateTimeProperty"
              }
            ]
          }
        }
      },
      "PrimeContract": {
        "type": "object",
        "properties": {
          "id": {
            "allOf": [
              {
                "description": "The UUID of the Prime Contract assigned by Agave."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "source_id": {
            "type": "string",
            "readOnly": true,
            "example": "12345",
            "description": "The ID of the Prime Contract in the Source System."
          },
          "actual_completion_date": {
            "allOf": [
              {
                "description": "The date the services governed by the Prime Contract were completed."
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ]
          },
          "amount": {
            "allOf": [
              {
                "$ref": "#/components/schemas/MoneyProperty"
              },
              {
                "description": "The current total amount of the Prime Contract."
              },
              {
                "example": "150000.00"
              }
            ]
          },
          "approved_change_order_amount": {
            "allOf": [
              {
                "$ref": "#/components/schemas/MoneyProperty"
              },
              {
                "description": "The current total amount of approved change orders to the Prime Contract."
              },
              {
                "example": "150000.00"
              }
            ]
          },
          "balance": {
            "allOf": [
              {
                "$ref": "#/components/schemas/MoneyProperty"
              },
              {
                "description": "The remaining balance for the Prime Contract."
              },
              {
                "example": "150000.00"
              }
            ]
          },
          "contact_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the Primary [Contact](#tag--contacts) (i.e. Employee) for the Prime Contract."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "customer_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Customer](#tag--customers) for the Prime Contract."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "description": {
            "type": "string",
            "description": "A description of the Prime Contract.",
            "example": "This is a Prime Contract with AnyCustomer for a multi-year Project to build a new Arena on the West Coast."
          },
          "estimated_completion_date": {
            "allOf": [
              {
                "description": "The estimated completion date of the services governed by the Prime Contract."
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ]
          },
          "execution_date": {
            "allOf": [
              {
                "description": "The date the Prime Contract was fully-signed."
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ]
          },
          "line_items": {
            "description": "The line items for the Prime Contract.",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PrimeContractLineItem"
            }
          },
          "name": {
            "type": "string",
            "description": "The name of the Prime Contract.",
            "example": "West Coast Arena Contract"
          },
          "number": {
            "type": "string",
            "description": "The contract number of the Prime Contract.",
            "example": "A123"
          },
          "original_amount": {
            "allOf": [
              {
                "description": "The original amount on the Prime Contract (i.e. exclusive of any approved change order amounts)."
              },
              {
                "$ref": "#/components/schemas/MoneyProperty"
              },
              {
                "example": "20000.00"
              }
            ]
          },
          "paid_amount": {
            "allOf": [
              {
                "description": "The total amount of all payments to-date on the Prime Contract."
              },
              {
                "$ref": "#/components/schemas/MoneyProperty"
              },
              {
                "example": "20000.00"
              }
            ]
          },
          "retention_percent": {
            "type": "string",
            "description": "This is the percent of an amount withheld from Prime Contract payments until a later date.",
            "example": "5.0"
          },
          "start_date": {
            "allOf": [
              {
                "description": "The start date of the Prime Contract."
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ]
          },
          "status": {
            "type": "string",
            "description": "The status of the Prime Contract. \n\n**Note for Acumatica:** default values include \"In Planning\", \"Pending Approval\", \"Active\", \"Completed\", \"Canceled\", and \"Suspended\".\n\n**Note for Procore**: possible values include \"Approved\", \"Complete\", \"Draft\", \"Out For Bid\", \"Out For Signature\", and \"Terminated\".\n\n**Note for Sage 300 CRE**: possible values include \"Approved\", \"Closed\", \"Paid in Full\", \"Proposed\", and \"Released.\"\n\n**Note for Sage Intacct**: possible values include \"Active\" and \"Inactive\".\n\n**Note for Viewpoint Vista:** possible values include \"Open\", \"Soft\", or \"Closed\".\n",
            "example": "Open"
          },
          "type": {
            "type": "string",
            "description": "The Prime Contract type (e.g. “Progress”).\n\n**Note for Procore**: possible values include \"Amount\" and \"Unit Price\".\n\n**Note for Sage 300 CRE**: possible values include \"AIA\", \"Customer\", \"Standard\", and \"Work Order\".\n\n**Note for Viewpoint Spectrum:** possible values include \"Fixed Price\" and \"Unit Price\".\n\n**Note for Viewpoint Vista:** possible values include \"Progress\", \"T & M\" (Time and Materials), \"Both\", or \"None\".\n",
            "example": "Progress"
          },
          "vendor_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Vendor](#tag--vendor) for the Prime Contract."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "source_create_time": {
            "allOf": [
              {
                "description": "The datetime the Prime Contract was created in the Source System."
              },
              {
                "$ref": "#/components/schemas/DateTimeProperty"
              }
            ]
          },
          "source_update_time": {
            "allOf": [
              {
                "description": "The datetime the Prime Contract was last updated in the Source System."
              },
              {
                "$ref": "#/components/schemas/DateTimeProperty"
              }
            ]
          }
        }
      },
      "JobCost": {
        "allOf": [
          {
            "$ref": "#/components/schemas/PrimeContract"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The database query for the Source System.",
                    "example": "select * from [jccat]"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "jobnum": "A123",
                      "phasenum": "A",
                      "catnum": "30",
                      "des1": "Painting",
                      "des2": "",
                      "invnum": "",
                      "type": 22,
                      "date": "2021-01-05",
                      "hours": 0,
                      "cost": 5000,
                      "billat": 0,
                      "taxable": 0,
                      "quantity": 0,
                      "ponum": "100-003",
                      "subtype": 0,
                      "jcunique": "129",
                      "dateposted": "2022-01-01",
                      "glperiod": 202101,
                      "who": "AnyCompany Suppliers",
                      "billcycle": 0,
                      "serialnum": "5",
                      "memo": "",
                      "usebillqty": 0,
                      "billqty": 0,
                      "linktype": "",
                      "linkdata": ""
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "JobCost-2": {
        "type": "object",
        "properties": {
          "id": {
            "allOf": [
              {
                "description": "The UUID of the Job Cost assigned by Agave."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "source_id": {
            "type": "string",
            "readOnly": true,
            "example": "12345",
            "description": "The ID of the Job Cost in the Source System."
          },
          "accounting_date": {
            "allOf": [
              {
                "description": "The accounting period the Job Cost is allocated to. For Viewpoint Vista, this is the first of the month."
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ]
          },
          "actual_amount": {
            "type": "string",
            "description": "The actual amount of this Job Cost.",
            "example": "100.00"
          },
          "actual_quantity": {
            "type": "string",
            "description": "The actual quantity of this Job Cost.",
            "example": "10.00"
          },
          "actual_unit_cost": {
            "type": "string",
            "description": "The actual unit cost of this Job Cost.",
            "example": "10.00"
          },
          "actual_unit_of_measure": {
            "type": "string",
            "description": "The actual unit of measure of this Job Cost.",
            "example": "HRS"
          },
          "cost_code_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Cost Code](#tag--cost-codes) the Job Cost is associated with."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "cost_type_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Cost Type](#tag--cost-types) the Job Cost is associated with."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "description": {
            "type": "string",
            "description": "The description of the Job Cost.",
            "example": "Concre shift."
          },
          "ledger_account_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Ledger Account](#tag--ledger-accounts) the Job Cost is associated with."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "name": {
            "type": "string",
            "description": "The name of the Job Cost.",
            "example": "Concrete Shift Payroll"
          },
          "number": {
            "type": "string",
            "description": "The number of the Job Cost.",
            "example": "12345"
          },
          "posted_date": {
            "allOf": [
              {
                "description": "The date the transaction that created this Job Cost was posted."
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ]
          },
          "prime_contract_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Prime Contract](#tag--prime-contracts) the Job Cost is associated with."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "project_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Project](#tag--projects) the Job Cost is associated with."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "reference_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the record that generated this Job Cost. The `reference_type` field indicates the type of record this id points to. \n\n**Note for Sage 300 CRE:** Valid object references include [AP Invoice](#tag--ap-invoices).\n\n**Note for Viewpoint Vista:** Valid object references include [AP Invoice](#tag--ap-invoices), [Asset](#tag--assets), [Employee](#tag--employees), [Purchase Order](#tag--purchase-orders), and [Subcontract](#tag--subcontracts).\n"
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "reference_type": {
            "type": "string",
            "description": "The type of record that generated this Job Cost. The `reference_id` field indicates the id of the record this type points to.\n\n**Note for Deltek ComputerEase**: valid values include \"AP Voucher\" when the `reference_id` is set.\n\n**Note for Foundation**: valid values include \"Accounts Payable\", \"Accounts Receivable Journal\", \"Equipment Expense\", \"Equipment Usage\", \"General Ledger Journal\", \"Inventory Cost\", \"Inventory Quantity\", \"Inventory Receipt\", \"Job Journal\", \"Job Quantity\", \"Payroll\", and \"Period Percent\".\n\n**Note for Sage 100 C**: valid values include \"Employee\".\n\n**Note for Sage 300 CRE**: valid values include \"AP Invoice\", \"Employee\", \"Equipment\", \"Inventory\", and \"Work Order\".\n\n**Note for Sage Intacct**: valid values include \"Accounts Payable\", \"Employee\", \"Expense\", \"Item\", and \"Ledger Journal Entry\".\n\n**Note for Viewpoint Spectrum**: valid values include \"Employee\".\n\n**Note for Viewpoint Vista**: valid values include \"AP Invoice\", \"Purchase Order\", \"Subcontract\", \"Asset\", and \"Employee\" (for timecards).\n",
            "example": "Employee"
          },
          "status": {
            "type": "string",
            "description": "The status of the Job Cost (e.g. \"Open\", \"Voided\").\n\n**Note for Sage 100 C**: Possible values include \"Open\" and \"Voided\".\n",
            "example": "Open"
          },
          "sub_job_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Sub Job](#tag--sub-jobs) the Job Cost is associated with."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "transaction_date": {
            "allOf": [
              {
                "description": "The date of the transaction that created this Job Cost."
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ]
          },
          "type": {
            "type": "string",
            "description": "The type of the Job Cost. \n\n**Note for Deltek ComputerEase**: valid values include \"Accounts Payable\", \"Expense\", and \"Payroll\".\n\n**Note for Foundation**: valid values include \"Inventory\", \"Job\", \"Quantity\", and \"Percent\".\n\n**Note for Sage 100 C**: see [Transaction Source](https://help-sage100contractor.na.sage.com/Sage100Contractor/US/25_2/Content/Appendices/E-Transaction_Sources/About_transaction_sources.htm?tocpath=Transaction%20Sources%7C_____1) in the Sage 100 C documentation.\n\n**Note for Sage 300 CRE**: valid values include \"Accounts Payable\", \"Equipment\", \"Inventory\", \"Job Cost\", and \"Payroll\".\n\n**Note for Sage Intacct**: valid values include “Accounts Payable”, “Accounts Receivable”, “Cash Management”, “Company”, “Contracts and Revenue Management”, “Employee Expenses”, “General Ledger”, “Inventory Control”, ”Order Entry”, “Project and Resource Management”, and “Purchasing”.\n\n**Note for Viewpoint Vista**: see [Vista documentation](https://help.viewpoint.com/en/vista/vista/costs-and-contracts/job-cost/costs/types-of-cost-information/cost-detail-transaction-types) for all possible types. The `JC Trans Type` and `Source` fields are concatenated.\n",
            "example": "Payroll"
          },
          "vendor_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Vendor](#tag--vendors) the Job Cost is associated with."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "source_create_time": {
            "allOf": [
              {
                "description": "The datetime the Item was created in the Source System."
              },
              {
                "$ref": "#/components/schemas/DateTimeProperty"
              }
            ]
          },
          "source_update_time": {
            "allOf": [
              {
                "description": "The datetime the Item was last updated in the Source System."
              },
              {
                "$ref": "#/components/schemas/DateTimeProperty"
              }
            ]
          }
        }
      },
      "JobCost-3": {
        "allOf": [
          {
            "$ref": "#/components/schemas/JobCost-2"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The database query for the Source System.",
                    "example": "select * from [cost_codes]"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "company_no": 1,
                      "sequence_no": null,
                      "job_no": "        29",
                      "phase_no": "         1",
                      "cost_code_no": "      3000",
                      "cost_class_no": "    1",
                      "date_booked": "2024-03-31 00:00:00.000",
                      "job_trx_type": "J",
                      "trade_no": null,
                      "earn_type_no": null,
                      "transaction_no": 356,
                      "line_no": 1,
                      "date_posted": "2024-03-31 00:00:00.000",
                      "date_week_ended": null,
                      "account_wip": null,
                      "account_cr": null,
                      "price": ".00",
                      "cost": "6000.00",
                      "units": "1.000",
                      "quantity": ".0000000",
                      "percentage": ".0000000",
                      "unit_price": ".000000",
                      "unit_cost": ".000000",
                      "item_no": null,
                      "vendor_no": "       142",
                      "module_from": "A/P",
                      "warehouse_no": null,
                      "equipment_no": null,
                      "voucher_no": 356,
                      "usage_type": "N",
                      "description_1": "Concrete Shift Payroll",
                      "description_2": "Concre shift",
                      "comments": null,
                      "employee_no": null,
                      "ar_invoice_no": null,
                      "op_invoice_no": null,
                      "tm_invoice_no": null,
                      "cash_trx_no": 0,
                      "job_trx_no": 0,
                      "eqp_trx_no": 0,
                      "cost_code_method": "2",
                      "record_status": "A",
                      "row_modified_by": "98053",
                      "row_modified_on": "2024-03-31 19:51:13.993",
                      "row_unique_id": 2416,
                      "journal_no": null,
                      "unit_no": null,
                      "inventory_quantity": ".0000000",
                      "ar_invoice_id": null,
                      "cash_trx_id": null,
                      "company_id": "1",
                      "cost_class_id": "1",
                      "cost_code_id": "3000",
                      "earn_type_id": null,
                      "employee_id": null,
                      "eqp_trx_id": null,
                      "equipment_id": null,
                      "item_id": null,
                      "job_id": "29",
                      "job_trx_id": null,
                      "journal_id": null,
                      "line_id": "1",
                      "op_invoice_id": null,
                      "phase_id": "1",
                      "sequence_id": null,
                      "tm_invoice_id": null,
                      "trade_id": null,
                      "transaction_id": "356",
                      "unit_id": null,
                      "vendor_id": "142",
                      "voucher_id": "356",
                      "warehouse_id": null,
                      "tm_gathered": "N",
                      "tm_worksheet_no": null,
                      "tm_markup_category": null,
                      "tm_markup_line": null,
                      "tm_inv_row_unique_id": null,
                      "tm_worksheet_id": null,
                      "tm_unit_price": ".000000",
                      "tm_price_level_no": null,
                      "Qty_Upd_Trx_No": null,
                      "Qty_Upd_Seq_No": null,
                      "tm_price_level_id": null,
                      "qty_upd_trx_id": null,
                      "qty_upd_seq_id": null,
                      "dept_no": null,
                      "dept_id": null,
                      "ovhd_gathered": "N",
                      "update_row_unique_id": null,
                      "fuel_trx_no": null,
                      "fuel_trx_id": null,
                      "prev_allocate_flag": "N",
                      "ap_audit_number": null,
                      "ap_chk_trx_no": null,
                      "pr_burden_dtl": "N",
                      "record_guid": "123458E-B9EF-EE11-83B9-0050560190F2",
                      "datetime_posted": "2022-01-01 19:51:13.993",
                      "correction_no": 0,
                      "voucher_line_no": 1,
                      "Batch_No": null,
                      "PO_Sub_No": null,
                      "PO_Sub_Type": null
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "JobCost-4": {
        "allOf": [
          {
            "$ref": "#/components/schemas/JobCost-2"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The database query for the Source System.",
                    "example": "CustomDetailReport"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "Name": "Wiessinger, Gary:Bathroom Addition",
                      "TxnNumber": "2704",
                      "TxnType": "Bill",
                      "Date": "2024-05-13",
                      "RefNumber": "PO-03-01",
                      "Account": "5110 · Job Related Costs",
                      "Item": "06 (Floor Framing Masonry)",
                      "ItemDesc": "Floor Framing Masonry",
                      "Class": "Subcontractor Costs",
                      "Quantity": "0.1",
                      "UnitPrice": "6000.00",
                      "Amount": "600.00",
                      "PaidStatus": "Paid",
                      "Memo": "Floor Framing-Subcontractor Costs",
                      "SourceName": "Acme Fast Fuel",
                      "ModifiedTime": "12/15/2026 14:24:01",
                      "LastModifiedBy": "Admin",
                      "ProgressAmount": "-21220.00",
                      "ProgressPercent": "1405.30",
                      "TxnID": "338EA-1797380955",
                      "index": 1,
                      "agave:reference_id": "520000-1025636552",
                      "agave:reference_type": "Vendor",
                      "agave:project_id": {
                        "uuid": "3696cadc-a363-5d7c-82e6-42a4d8fb10e6"
                      },
                      "agave:cost_code_id": {
                        "uuid": "16c3cb96-3545-5393-ac49-2b73c2771045"
                      },
                      "agave:cost_type_id": {
                        "uuid": "043d1895-4e74-5941-8301-03a37d8d9fe9"
                      }
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "JobCost-5": {
        "allOf": [
          {
            "$ref": "#/components/schemas/JobCost-2"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The SQL path on the Source System.",
                    "example": "select top 10 * from [jobcst] order by [insdte] desc, [jobcst].[recnum] asc"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "_idnum": "14A5503C-FEC6-EE11-842C-1213C2B0AF47",
                      "recnum": "12345",
                      "wrkord": "",
                      "jobnum": "121212",
                      "trnnum": "12345",
                      "dscrpt": "Concrete Shift Payroll",
                      "trndte": "2022-01-01T00:00:00.000Z",
                      "entdte": "2022-01-01T00:00:00.000Z",
                      "actprd": 1,
                      "srcnum": 16,
                      "status": 1,
                      "bllsts": 1,
                      "phsnum": "0",
                      "cstcde": "6120.000",
                      "csttyp": 2,
                      "vndnum": null,
                      "eqpnum": null,
                      "empnum": "70",
                      "payrec": "271",
                      "paytyp": 1,
                      "csthrs": "10.00",
                      "cstamt": "100.00",
                      "blgqty": "0",
                      "blgamt": "100.00",
                      "pieces": ".00",
                      "lgrrec": "0",
                      "blgunt": 0,
                      "eqptyp": 0,
                      "eqpunt": 0,
                      "eqpqty": ".00",
                      "grswge": "8.00",
                      "ovrrde": 0,
                      "blgttl": ".00",
                      "active": 0,
                      "acrinv": "0",
                      "shwamt": ".00",
                      "ovhamt": ".00",
                      "pftamt": ".00",
                      "taxabl": 0,
                      "usrnme": "CORP\\sage100c-customers",
                      "ntetxt": "",
                      "postyr": 2022,
                      "insdte": "2022-01-01T00:00:00.000Z",
                      "insusr": "CORP\\sage100c-customers",
                      "upddte": null,
                      "updusr": null
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "JobCost-6": {
        "allOf": [
          {
            "$ref": "#/components/schemas/JobCost-2"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The database query for the Source System.",
                    "example": "select * from [cost_codes]"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": "{\n  \"TJOB\": \"03-001\",\n  \"TEXTRA\": \"\",\n  \"TPHASE\": \"1-040\",\n  \"TCAT\": \"E\",\n  \"TRANTYP\": \"JC cost\",\n  \"TRUN\": 28,\n  \"TSEQ\": 8,\n  \"TRANDAT\": \"2022-02-28\",\n  \"TACTDAT\": \"2022-02-28\",\n  \"TDESC\": \"PM's pickup expense\",\n  \"TUNITS\": 15,\n  \"TUNTCST\": 0,\n  \"TAMOUNT\": 273.3,\n  \"TDRACCT\": \"21-5004\",\n  \"TCRACCT\": \"21-6102\",\n  \"TGLJRN\": 30,\n  \"TAPPL\": \"JC\",\n  \"TBATCH\": \"47\",\n  \"TSOURCE\": \"Enter direct costs\",\n  \"TNCSTTX\": 0,\n  \"TVENDOR\": \"\",\n  \"TINV\": \"\",\n  \"TDSEQ\": 0,\n  \"TCCTYPE\": \"Subcontract\",\n  \"TSUB\": \"\",\n  \"TSITEM\": 0,\n  \"TEMPL\": \"\",\n  \"TPEDATE\": null,\n  \"TCHKSEQ\": \"First\",\n  \"TPAY\": \"\",\n  \"TTAX\": \"\",\n  \"TFRINGE\": \"\",\n  \"TEQ\": \"\",\n  \"TEQCT\": \"\",\n  \"TREF1\": \"\",\n  \"TREF2\": \"\",\n  \"TCO\": \"\",\n  \"TSUBCO\": \"\",\n  \"TPMTID\": 0,\n  \"TPTYPE\": \"None\",\n  \"TBANK\": \"\",\n  \"TCHECK\": 0,\n  \"TDEPID\": \"\",\n  \"TDEPDAT\": null,\n  \"TDEPADJ\": \"0\",\n  \"TRETAIN\": 0,\n  \"TDRACC2\": \"\",\n  \"TCRACC2\": \"\",\n  \"TDRAW\": \"\",\n  \"TBINV\": \"\",\n  \"TBILLED\": \"0\",\n  \"TCUSCHK\": 0,\n  \"TRDPLOC\": \"\",\n  \"TRDPRUN\": 0,\n  \"TRDPSEQ\": 0,\n  \"TERCODE\": \"\",\n  \"TECCODE\": \"\",\n  \"TCUST\": \"\",\n  \"TATYPE\": \"Total Billed\",\n  \"TPMT\": \"\",\n  \"TADJTYP\": \"\",\n  \"TADJID\": 0,\n  \"TTXTAX\": \"\",\n  \"TCNT\": \"\",\n  \"TCNI\": \"\",\n  \"TWRKORD\": 0,\n  \"TSTATUS\": \"None\",\n  \"TOSRC\": 0,\n  \"TSTDITM\": \"\",\n  \"TWIPID\": 0,\n  \"TCEID\": 0,\n  \"TCEDID\": 0,\n  \"TAOID\": 0,\n  \"ACOID\": 0,\n  \"TCCOID\": 0,\n  \"TCCODID\": 0,\n  \"T2NDVID\": 0,\n  \"TCHGURL\": \"\",\n  \"TCHGAR1\": \"\",\n  \"TCHGAR2\": \"\",\n  \"TOSTAMP\": \"\",\n  \"TDSTAMP\": \"2022-01-01\",\n  \"TTSTAMP\": \"00:00:00\",\n  \"TRWID\": \"1234369-ee3f-e711-8bef-0019b9211094\",\n  \"TRWVR\": \"1650495381\",\n  \"R1NTS\": null,\n  \"R1FLS\": null\n}\n"
                  }
                }
              }
            }
          }
        ]
      },
      "JobCost-7": {
        "allOf": [
          {
            "$ref": "#/components/schemas/JobCost-2"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "https://api.intacct.com/ia/xml/xmlgw.phtml"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "RECORDNO": "48-883---accrual",
                      "AMOUNT": "525",
                      "TASKID": "G01-040",
                      "COSTTYPEID": "REG",
                      "BATCH_TITLE": "GC: Time entries for 01/05/2020 - 01/11/2020",
                      "ACCOUNTNO": "5001",
                      "BATCH_DATE": "01/11/2020",
                      "PROJECTID": "20-005",
                      "AUWHENCREATED": "04/15/2020 04:17:04",
                      "WHENMODIFIED": "04/15/2020 04:17:04",
                      "ENTRY_DATE": "01/11/2020",
                      "MODULEKEY": "48.PROJACCT",
                      "VENDORID": null,
                      "BATCHKEY": "48",
                      "SYMBOL": "PYRJ",
                      "BATCH_NO": "6",
                      "BOOKID": "ACCRUAL",
                      "CHILDENTITY": null,
                      "MODIFIED": "04/15/2020 04:17:05",
                      "REFERENCENO": null,
                      "ADJ": "F",
                      "OWNERSHIPKEY": "2",
                      "LINE_NO": "115",
                      "TR_TYPE": "1",
                      "DOCUMENT": null,
                      "ACCOUNTTITLE": "Cost of Sales - Labor",
                      "STATISTICAL": "F",
                      "DEPARTMENTID": null,
                      "DEPARTMENTTITLE": null,
                      "LOCATIONID": "GC-SAN",
                      "LOCATIONNAME": "General Construction - San Antonio",
                      "CURRENCY": "USD",
                      "BASECURR": "USD",
                      "DESCRIPTION": "Supervision",
                      "DEBITAMOUNT": "525",
                      "CREDITAMOUNT": "0",
                      "TRX_DEBITAMOUNT": "525",
                      "TRX_CREDITAMOUNT": "0",
                      "TRX_AMOUNT": "525",
                      "CLEARED": "F",
                      "CLRDATE": null,
                      "CUSTENTITY": null,
                      "VENDENTITY": null,
                      "EMPENTITY": null,
                      "LOCENTITY": null,
                      "RECORDTYPE": null,
                      "RECORDID": null,
                      "DOCNUMBER": null,
                      "STATE": null,
                      "WHENCREATED": null,
                      "WHENDUE": null,
                      "WHENPAID": null,
                      "PRDESCRIPTION": null,
                      "PRCLEARED": null,
                      "PRCLRDATE": null,
                      "FINANCIALENTITY": null,
                      "TOTALENTERED": null,
                      "TOTALPAID": null,
                      "TOTALDUE": null,
                      "ENTRYDESCRIPTION": null,
                      "GLENTRYKEY": "883",
                      "CREATEDBY": "Dennis",
                      "BATCH_STATE": "P",
                      "ENTRY_STATE": "P",
                      "AUCREATEDBY": "3",
                      "MODIFIEDBY": "3",
                      "PROJECTDIMKEY": "7",
                      "PROJECTNAME": "LaQuinta - Austin",
                      "CUSTOMERDIMKEY": "70",
                      "CUSTOMERID": "C106",
                      "CUSTOMERNAME": "Bill Rickey Holdings",
                      "VENDORDIMKEY": null,
                      "VENDORNAME": null,
                      "EMPLOYEEDIMKEY": "2",
                      "EMPLOYEEID": "GC101",
                      "EMPLOYEENAME": "Robert E Jones",
                      "ITEMDIMKEY": null,
                      "ITEMID": null,
                      "ITEMNAME": null,
                      "TASKDIMKEY": "207",
                      "TASKNAME": "Coordination",
                      "COSTTYPEDIMKEY": "667",
                      "COSTTYPENAME": "Regular Labor",
                      "RECORD_URL": null
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "JobCost-8": {
        "allOf": [
          {
            "$ref": "#/components/schemas/JobCost-2"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The SQL path on the Source System.",
                    "example": "select top 1000 * from [JC_TRANSACTION_HISTORY_MC] where [JC_TRANSACTION_HISTORY_MC].[Company_Code] = 'CCD' and [JC_TRANSACTION_HISTORY_MC].[Job_Number] = '    HS1912' order by [JC_TRANSACTION_HISTORY_MC].[Cost_Type] asc, [JC_TRANSACTION_HISTORY_MC].[Detail_Sequence] asc, [JC_TRANSACTION_HISTORY_MC].[Phase_Code] asc, [JC_TRANSACTION_HISTORY_MC].[Reference_1] asc, [JC_TRANSACTION_HISTORY_MC].[Reference_2] asc, [JC_TRANSACTION_HISTORY_MC].[Tran_Date_Text] asc, [JC_TRANSACTION_HISTORY_MC].[Tran_Type_Code] asc"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "Company_Code": "CCD",
                      "Job_Number": "    A123",
                      "Phase_Code": "010900",
                      "Cost_Type": "L",
                      "Tran_Type_Code": "PR",
                      "Tran_Date_Text": "20220101",
                      "Reference_1": "     ABBTED",
                      "Reference_2": "  1939",
                      "Detail_Sequence": "",
                      "Description": "POSTED FROM PAYROLL",
                      "Employee_Code": "     ABBTED",
                      "Vendor_Code": "",
                      "Item_Code": "",
                      "Adjust_Reference": "",
                      "Invoice_Number": "",
                      "Invoice_Date": null,
                      "Po_Number": "",
                      "Check_Number": "  1939",
                      "Quantity": ".00",
                      "Pr_Burden": "633.52",
                      "PR_Hours1": "40.00",
                      "PR_Hours2": ".00",
                      "PR_Hours3": ".00",
                      "PR_Hours4": ".00",
                      "PR_Hours5": ".00",
                      "PR_Hours6": ".00",
                      "Total_Hours": "10.00",
                      "Tran_Amount": "100.00",
                      "PR_Pay_Amount1": "100.00",
                      "PR_Pay_Amount2": ".00",
                      "PR_Pay_Amount3": ".00",
                      "PR_Pay_Amount4": ".00",
                      "PR_Pay_Amount5": ".00",
                      "PR_Pay_Amount6": ".00",
                      "PR_Pay_Amount7": ".00",
                      "Pr_Company_Code": "CCD",
                      "Employee_Name": "Ted Abbotts",
                      "AP_Company_Code": "",
                      "Vendor_Name": "",
                      "Equip_Company_Code": "",
                      "Batch_Code": "",
                      "Batch_Sequence": ".00",
                      "Unit_of_Measure": "",
                      "Draw_Appl_Number": "",
                      "Customer_Code": "",
                      "Inventory_Company_Code": "",
                      "Item_Description": "",
                      "Crew_Number": "",
                      "Cost_Center": "1040",
                      "Tran_Date_Text_Year": "2022",
                      "Tran_Date_Text_Period": "01"
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "JobCost-9": {
        "allOf": [
          {
            "$ref": "#/components/schemas/JobCost-2"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The SQL path on the Source System.",
                    "example": "select top 10 * from [bJCCD] where [bJCCD].[JCCo] = 200"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "JCCo": 200,
                      "Mth": "2022-01-01 00:00:00",
                      "CostTrans": 12345,
                      "Job": " A123- C",
                      "PhaseGroup": 201,
                      "Phase": "310000-00-0000",
                      "CostType": 1,
                      "PostedDate": "2022-01-01 00:00:00",
                      "ActualDate": "2022-01-01 00:00:00",
                      "JCTransType": "PR",
                      "Source": "PR Entry",
                      "Description": null,
                      "BatchId": 19192,
                      "InUseBatchId": null,
                      "GLCo": null,
                      "GLTransAcct": null,
                      "GLOffsetAcct": null,
                      "ReversalStatus": 0,
                      "UM": "HRS",
                      "ActualUnitCost": ".00000",
                      "PerECM": null,
                      "ActualHours": "10.00",
                      "ActualUnits": ".000",
                      "ActualCost": "100.00",
                      "ProgressCmplt": ".0000",
                      "EstHours": ".00",
                      "EstUnits": ".000",
                      "EstCost": ".00",
                      "ProjHours": ".00",
                      "ProjUnits": ".000",
                      "ProjCost": ".00",
                      "ForecastHours": ".00",
                      "ForecastUnits": ".000",
                      "ForecastCost": ".00",
                      "PostedUM": "HRS",
                      "PostedUnits": ".000",
                      "PostedUnitCost": ".00000",
                      "PostedECM": null,
                      "PostTotCmUnits": ".000",
                      "PostRemCmUnits": ".000",
                      "TotalCmtdUnits": ".000",
                      "TotalCmtdCost": ".00",
                      "RemainCmtdUnits": ".000",
                      "RemainCmtdCost": ".00",
                      "DeleteFlag": "N",
                      "AllocCode": null,
                      "ACO": null,
                      "ACOItem": null,
                      "PRCo": 200,
                      "Employee": 1,
                      "Craft": "2",
                      "Class": "1",
                      "Crew": "1",
                      "EarnFactor": "2.000000",
                      "EarnType": 5,
                      "Shift": 1,
                      "LiabilityType": null,
                      "VendorGroup": null,
                      "Vendor": null,
                      "APCo": null,
                      "APTrans": null,
                      "APLine": null,
                      "APRef": null,
                      "PO": null,
                      "POItem": null,
                      "SL": null,
                      "SLItem": null,
                      "MO": null,
                      "MOItem": null,
                      "MatlGroup": null,
                      "Material": null,
                      "INCo": null,
                      "Loc": null,
                      "INStdUnitCost": ".00000",
                      "INStdECM": null,
                      "INStdUM": null,
                      "MSTrans": null,
                      "MSTicket": null,
                      "JBBillStatus": null,
                      "JBBillMonth": null,
                      "JBBillNumber": null,
                      "EMCo": null,
                      "EMEquip": null,
                      "EMRevCode": null,
                      "EMGroup": null,
                      "EMTrans": null,
                      "TaxType": null,
                      "TaxGroup": null,
                      "TaxCode": null,
                      "TaxBasis": ".00",
                      "TaxAmt": ".00",
                      "UniqueAttchID": null,
                      "SrcJCCo": null,
                      "KeyID": "83290",
                      "TotalCmtdTax": ".00",
                      "RemCmtdTax": ".00",
                      "OffsetGLCo": null,
                      "POItemLine": null,
                      "SMWorkCompletedID": null,
                      "SMCo": null,
                      "SMWorkOrder": null,
                      "SMScope": null,
                      "PMCostProjection": null,
                      "PORDKeyID": null,
                      "JCFTKeyID": null,
                      "udNotes": null,
                      "udModifiedBy": null
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "NewJobCost": {
        "required": [
          "name",
          "number",
          "job_id",
          "transaction_date"
        ],
        "type": "object",
        "properties": {
          "id": {
            "allOf": [
              {
                "description": "The UUID of the Job Cost assigned by Agave."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "source_id": {
            "type": "string",
            "readOnly": true,
            "example": "12345",
            "description": "The ID of the Job Cost in the Source System."
          },
          "accounting_date": {
            "allOf": [
              {
                "description": "The accounting period the Job Cost is allocated to. For Viewpoint Vista, this is the first of the month."
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ]
          },
          "actual_amount": {
            "type": "string",
            "description": "The actual amount of this Job Cost.",
            "example": "100.00"
          },
          "actual_quantity": {
            "type": "string",
            "description": "The actual quantity of this Job Cost.",
            "example": "10.00"
          },
          "actual_unit_cost": {
            "type": "string",
            "description": "The actual unit cost of this Job Cost.",
            "example": "10.00"
          },
          "actual_unit_of_measure": {
            "type": "string",
            "description": "The actual unit of measure of this Job Cost.",
            "example": "EA"
          },
          "cost_code_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Cost Code](#tag--cost-codes) the Job Cost is associated with."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "cost_type_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Cost Type](#tag--cost-types) the Job Cost is associated with."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "description": {
            "type": "string",
            "description": "The description of the Job Cost.",
            "example": "Concrete shift."
          },
          "ledger_account_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Ledger Account](#tag--ledger-accounts) the Job Cost is associated with."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "name": {
            "type": "string",
            "description": "The name of the Job Cost.",
            "example": "Concrete Shift Payroll"
          },
          "number": {
            "type": "string",
            "description": "The number of the Job Cost.",
            "example": "12345"
          },
          "posted_date": {
            "allOf": [
              {
                "description": "The date the transaction that created this Job Cost was posted."
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ]
          },
          "prime_contract_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Prime Contract](#tag--prime-contracts) the Job Cost is associated with."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "project_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Project](#tag--projects) the Job Cost is associated with."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "reference_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the record that generated this Job Cost. The `reference_type` field indicates the type of record this id points to. \n\n**Note for Sage 300 CRE:** Valid object references include [AP Invoice](#tag--ap-invoices).\n"
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "reference_type": {
            "type": "string",
            "description": "The type of record that generated this Job Cost. The `reference_id` field indicates the id of the record this type points to.\n\n**Note for Sage 300 CRE**: valid values include \"AP Invoice\", \"Employee\", \"Equipment\", \"Inventory\", and \"Work Order\".\n",
            "example": "Employee"
          },
          "status": {
            "type": "string",
            "description": "The status of the Job Cost (e.g., \"Open\", \"Voided\").\n\n**Note for Sage 100 C**: Possible values include \"Open\" and \"Voided\".\n",
            "example": "Open"
          },
          "sub_job_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Sub Job](#tag--sub-jobs) the Job Cost is associated with."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "transaction_date": {
            "allOf": [
              {
                "description": "The date of the transaction that created this Job Cost.\n\n**Note**: If this field is not set, it will default to today's date.\n"
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ]
          },
          "type": {
            "type": "string",
            "description": "The type of the Job Cost. \n**Note for Sage 300 CRE**: valid values include \"Accounts Payable\", \"Equipment\", \"Inventory\", \"Job Cost\", and \"Payroll\".\n",
            "example": "AP Cost"
          },
          "vendor_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Vendor](#tag--vendors) the Job Cost is associated with."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "source_create_time": {
            "allOf": [
              {
                "description": "The datetime the Item was created in the Source System."
              },
              {
                "$ref": "#/components/schemas/DateTimeProperty"
              }
            ]
          },
          "source_update_time": {
            "allOf": [
              {
                "description": "The datetime the Item was last updated in the Source System."
              },
              {
                "$ref": "#/components/schemas/DateTimeProperty"
              }
            ]
          }
        }
      },
      "NewJobCost-2": {
        "required": [
          "code",
          "job_id",
          "name"
        ],
        "type": "object",
        "properties": {
          "code": {
            "type": "string",
            "description": "A unique reference code for the Job Cost.",
            "example": "JC-123"
          },
          "job_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Job](#tag--jobs) associated with the Job Cost."
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          },
          "name": {
            "type": "string",
            "description": "The name of the Job Cost.",
            "example": "Test Job Cost 2"
          },
          "description": {
            "type": "string",
            "description": "A detailed description of the Job Cost.",
            "example": "Test Job Cost 2"
          },
          "status": {
            "type": "string",
            "description": "The current status of the Job Cost.",
            "example": "Pending",
            "enum": [
              "Pending",
              "Approved",
              "Rejected"
            ]
          },
          "transaction_date": {
            "type": "string",
            "format": "date",
            "description": "The date of the transaction for the Job Cost. \n\n**Note**: If this field is not set, it will default to today's date.\n",
            "example": "2016-04-04"
          },
          "posted_date": {
            "type": "string",
            "format": "date",
            "description": "The date the Job Cost was posted.",
            "example": "2024-12-06"
          },
          "amount": {
            "type": "number",
            "description": "The monetary amount of the Job Cost.",
            "example": 20
          },
          "quantity": {
            "type": "number",
            "description": "The actual quantity for the Job Cost.",
            "example": 2
          },
          "unit_cost": {
            "type": "number",
            "description": "The actual unit cost for the Job Cost.",
            "example": 10
          },
          "cost_code_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Cost Code](#tag--cost-codes) associated with the Job Cost."
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          },
          "cost_type_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Cost Type](#tag--cost-types) associated with the Job Cost."
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          },
          "reference_id": {
            "allOf": [
              {
                "description": "The UUID of the reference entity for the Job Cost."
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          },
          "reference_type": {
            "type": "string",
            "description": "The type of the reference entity (e.g., Invoice, Purchase Order).",
            "example": "AP Invoice"
          },
          "ledger_account_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Ledger Account](#tag--ledger-accounts) associated with the Job Cost."
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          },
          "vendor_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Vendor](#tag--vendors) associated with the Job Cost."
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          },
          "source_data": {
            "type": "object",
            "description": "The Source Data as we received it from the Source System.\nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
            "properties": {
              "path": {
                "type": "string",
                "description": "The database query for the Source System.",
                "example": "select * from [NEW_JCT_RECORD_1] where [NEW_JCT_RECORD_1].[TJOB] = 'A-123'"
              },
              "content_type": {
                "type": "string",
                "description": "The content type of the Source Data.",
                "example": "application/json"
              },
              "data": {
                "type": "object",
                "description": "The raw data from the Source System.",
                "example": "{\n  \"TJOB\": \"A-123\",\n  \"TEXTRA\": \"\",\n  \"TPHASE\": \"2-840\",\n  \"TCAT\": \"L\",\n  \"TRANTYP\": \"AP cost\",\n  \"TRUN\": 1448,\n  \"TSEQ\": 1,\n  \"TRANDAT\": \"2024-12-06\",\n  \"TACTDAT\": \"2016-04-04\",\n  \"TDESC\": \"Test Job Cost 2\",\n  \"TUNITS\": 2,\n  \"TUNTCST\": 10,\n  \"TAMOUNT\": 20,\n  \"TDRACCT\": \"10-5001\",\n  \"TCRACCT\": \"\",\n  \"TGLJRN\": 30,\n  \"TAPPL\": \"JC\",\n  \"TBATCH\": \"1437\",\n  \"TSOURCE\": \"Import direct costs\",\n  \"TNCSTTX\": 0,\n  \"TVENDOR\": \"\",\n  \"TINV\": \"\",\n  \"TDSEQ\": 0,\n  \"TCCTYPE\": \"Subcontract\",\n  \"TSUB\": \"\",\n  \"TSITEM\": 0,\n  \"TEMPL\": \"\",\n  \"TPEDATE\": null,\n  \"TCHKSEQ\": \"First\",\n  \"TPAY\": \"\",\n  \"TTAX\": \"\",\n  \"TFRINGE\": \"\",\n  \"TEQ\": \"\",\n  \"TEQCT\": \"\",\n  \"TREF1\": \"\",\n  \"TREF2\": \"\",\n  \"TCO\": \"\",\n  \"TSUBCO\": \"\",\n  \"TPMTID\": 0,\n  \"TPTYPE\": \"None\",\n  \"TBANK\": \"\",\n  \"TCHECK\": 0,\n  \"TDEPID\": \"\",\n  \"TDEPDAT\": null,\n  \"TDEPADJ\": \"0\",\n  \"TRETAIN\": 0,\n  \"TDRACC2\": \"\",\n  \"TCRACC2\": \"\",\n  \"TDRAW\": \"\",\n  \"TBINV\": \"\",\n  \"TBILLED\": \"0\",\n  \"TCUSCHK\": 0,\n  \"TRDPLOC\": \"\",\n  \"TRDPRUN\": 0,\n  \"TRDPSEQ\": 0,\n  \"TERCODE\": \"\",\n  \"TECCODE\": \"\",\n  \"TCUST\": \"\",\n  \"TATYPE\": \"Total Billed\",\n  \"TPMT\": \"\",\n  \"TADJTYP\": \"\",\n  \"TADJID\": 0,\n  \"TTXTAX\": \"\",\n  \"TCNT\": \"\",\n  \"TCNI\": \"\",\n  \"TWRKORD\": 0,\n  \"TSTATUS\": \"None\",\n  \"TOSRC\": 0,\n  \"TSTDITM\": \"\",\n  \"TWIPID\": 0,\n  \"TCEID\": 0,\n  \"TCEDID\": 0,\n  \"TAOID\": 0,\n  \"ACOID\": 0,\n  \"TCCOID\": 0,\n  \"TCCODID\": 0,\n  \"T2NDVID\": 0,\n  \"TCHGURL\": \"\",\n  \"TCHGAR1\": \"\",\n  \"TCHGAR2\": \"\",\n  \"TOSTAMP\": \"sageintegration\",\n  \"TDSTAMP\": \"2024-12-06\",\n  \"TTSTAMP\": \"21:52:45\",\n  \"TRWID\": \"814cc57a-5fb4-ef11-8585-122f56880ad7\",\n  \"TRWVR\": \"1733550765\",\n  \"R1NTS\": null,\n  \"R1FLS\": null\n}\n"
              }
            }
          }
        }
      },
      "NewJobCost-3": {
        "required": [
          "actual_amount",
          "actual_quantity",
          "cost_code_id",
          "cost_type_id",
          "name",
          "status",
          "transaction_date",
          "source_data"
        ],
        "type": "object",
        "properties": {
          "actual_amount": {
            "type": "string",
            "description": "The actual amount of this Job Cost.",
            "example": "100.00"
          },
          "actual_quantity": {
            "type": "string",
            "description": "The actual quantity of this Job Cost.",
            "example": "10.00"
          },
          "cost_code_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Cost Code](#tag--cost-codes) the Job Cost is associated with."
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          },
          "cost_type_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Cost Type](#tag--cost-types) the Job Cost is associated with."
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          },
          "name": {
            "type": "string",
            "description": "The name of the Job Cost.",
            "example": "Concrete Shift Payroll"
          },
          "status": {
            "type": "string",
            "description": "The status of the Job Cost.\n",
            "example": "Pending",
            "enum": [
              "Pending"
            ]
          },
          "transaction_date": {
            "allOf": [
              {
                "description": "The date of the transaction that created this Job Cost."
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ]
          },
          "source_data": {
            "type": "object",
            "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
            "properties": {
              "BatchId": {
                "allOf": [
                  {
                    "description": "The Batch ID associated with the Job Cost."
                  },
                  {
                    "type": "string"
                  },
                  {
                    "example": "50"
                  }
                ]
              },
              "Mth": {
                "allOf": [
                  {
                    "description": "The batch month for the Job Cost. Note, you cannot write batches to months outside of a General Ledger window that is configured for your Vista company."
                  },
                  {
                    "$ref": "#/components/schemas/DateTimeProperty"
                  },
                  {
                    "example": "2022-01-01 00:00:00"
                  }
                ]
              },
              "GLOffsetAcct": {
                "allOf": [
                  {
                    "description": "The GL Offset Account for the Job Cost."
                  },
                  {
                    "type": "string"
                  },
                  {
                    "example": "50000."
                  }
                ]
              }
            }
          }
        }
      },
      "LedgerAccount": {
        "type": "object",
        "properties": {
          "id": {
            "allOf": [
              {
                "description": "The UUID of the Ledger Account assigned by Agave."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "source_id": {
            "type": "string",
            "readOnly": true,
            "example": "12345",
            "description": "The ID of the Ledger Account in the Source System."
          },
          "classification": {
            "type": "string",
            "description": "The classification of the Ledger Account.",
            "example": "Liability"
          },
          "currency_code": {
            "type": "string",
            "description": "The code of the Ledger Account's currency. Valid values are ISO 4217 codes.",
            "example": "USD"
          },
          "current_balance": {
            "type": "string",
            "description": "The current balance of the Ledger Account.",
            "example": "1602.67"
          },
          "description": {
            "type": "string",
            "description": "The description of the Ledger Account.",
            "example": "AP account for Agave Tech Inc."
          },
          "name": {
            "type": "string",
            "description": "The name of the Ledger Account.",
            "example": "Accounts Payable (A/P)"
          },
          "number": {
            "type": "string",
            "description": "The reference given to each nominal Ledger Account for a business. This is used to ensure money is allocated to the correct account.",
            "example": "123"
          },
          "status": {
            "type": "string",
            "enum": [
              "Active",
              "Archived",
              "Pending",
              "Unknown"
            ],
            "description": "The current status of the Ledger Account.",
            "example": "Active"
          },
          "type": {
            "type": "string",
            "description": "The type of the Ledger Account. Usually a sub-classification of the \"classification\" property determined within the Source System.",
            "example": "Accounts Payable"
          },
          "source_create_time": {
            "allOf": [
              {
                "description": "The datetime the Ledger Account was created in the Source System."
              },
              {
                "$ref": "#/components/schemas/DateTimeProperty"
              }
            ]
          },
          "source_update_time": {
            "allOf": [
              {
                "description": "The datetime the Ledger Account was last updated in the Source System."
              },
              {
                "$ref": "#/components/schemas/DateTimeProperty"
              }
            ]
          }
        }
      },
      "LedgerAccount-2": {
        "allOf": [
          {
            "$ref": "#/components/schemas/LedgerAccount"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The database query for the Source System.",
                    "example": "select * from [glhead]"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "account": "701.0",
                      "name": "Office Salaries",
                      "status": 1,
                      "type": 7,
                      "reportdefault": 1,
                      "accesscode": "",
                      "iscontrol": 0,
                      "serialnum": "46",
                      "attachid": "0",
                      "user_1": 0,
                      "user_2": 0,
                      "user_3": 0,
                      "user_4": 0,
                      "user_5": 0,
                      "user_6": "",
                      "user_7": ""
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "LedgerAccount-3": {
        "allOf": [
          {
            "$ref": "#/components/schemas/LedgerAccount"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The database query for the Source System.",
                    "example": "select * from [accounts]"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "company_no": "12345",
                      "account_no": "12345",
                      "description": "Accounts Payable (A/P)",
                      "debit_credit": "C",
                      "apply_subdivision": "N",
                      "inc_exp_type": "N ",
                      "overhead_percent": ".0000000",
                      "overhead_formula_percent": ".0000000",
                      "force_job_costing": "12345",
                      "jc_income_expense": " ",
                      "cash_flag": "N",
                      "bonding_class": null,
                      "record_status": "D",
                      "row_modified_by": "12345",
                      "row_modified_on": "2022-01-01 00:00:00.000",
                      "row_unique_id": "1",
                      "ovhd_alloc_income_expense": null,
                      "percent_to_allocate": null,
                      "overhead_weight_factor": null,
                      "account_id": "1",
                      "company_id": "1",
                      "direct_deposit_format": "G",
                      "dir_dep_exp_dsg_report_no": null,
                      "direct_deposit_pr_file": null,
                      "ach_dest_routing_num": null,
                      "ach_dest_name": null,
                      "ach_origin_routing_num": null,
                      "ach_origin_name": null,
                      "ach_origin_reference_code": null,
                      "ach_company_name": null,
                      "ach_company_id": null,
                      "ach_pr_entry_desc": null,
                      "ach_pr_discretionary_data": null,
                      "ach_pr_emp_identifier": "N",
                      "ach_pr_emp_name_format": "F",
                      "dir_dep_exp_dsg_report_id": null,
                      "condense_on_cash_rec": "N",
                      "statement_category_no": null,
                      "bank_account_num": null,
                      "bank_account_type": "C",
                      "ach_balanced_file": "Y",
                      "statement_category_id": null,
                      "include_in_canned_financials": "Y",
                      "ach_origin_dfi_id": null,
                      "positive_pay_exp_dsg_report_no": null,
                      "positive_pay_export_file": null,
                      "positive_pay_exp_dsg_report_id": null,
                      "ach_use_origin_routing_bal_dfi": "Y",
                      "ach_use_dest_routing_bal_dfi": "N",
                      "ach_origin_type": "R",
                      "account_type": "O",
                      "gl_history_report_rollup": "N",
                      "dir_dep_exp_header": null,
                      "ach_ap_entry_desc": null,
                      "ach_ap_discretionary_data": null,
                      "vnd_dir_pay_exp_header": null,
                      "vnd_dir_pay_export_file": null,
                      "ach_dest_routing_num_eid": null,
                      "ach_origin_routing_num_eid": null,
                      "bank_account_num_eid": null,
                      "ach_origin_dfi_id_eid": null,
                      "dir_dep_exp_header_eid": null,
                      "vnd_dir_pay_exp_header_eid": null,
                      "create_addenda_records": "N",
                      "micr_account": "N",
                      "integrations_account_name": null,
                      "classification": null
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "LedgerAccount-4": {
        "allOf": [
          {
            "$ref": "#/components/schemas/LedgerAccount"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The XML path on the Source System.",
                    "example": "AccountQueryRq"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "ListID": "12345",
                      "TimeCreated": "2022-01-01T00:00:00-00:00",
                      "TimeModified": "2022-01-01T00:00:00-00:00",
                      "EditSequence": "12345",
                      "Name": "Accounts Payable",
                      "FullName": "Accounts Payable",
                      "IsActive": "true",
                      "Sublevel": "0",
                      "AccountType": "AccountsPayable",
                      "AccountNumber": "12345",
                      "Balance": "1602.67",
                      "TotalBalance": "1602.67",
                      "CashFlowClassification": "Operating"
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "LedgerAccount-5": {
        "allOf": [
          {
            "$ref": "#/components/schemas/LedgerAccount"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "https://quickbooks.api.intuit.com/v3/company/{companyId}/query"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "Name": "Accounts Payable (A/P)",
                      "SubAccount": false,
                      "FullyQualifiedName": "Accounts Payable (A/P)",
                      "Active": true,
                      "Classification": "Liability",
                      "AccountType": "Accounts Payable",
                      "AccountSubType": "AccountsPayable",
                      "CurrentBalance": 1602.67,
                      "CurrentBalanceWithSubAccounts": 1602.67,
                      "CurrencyRef": {
                        "value": "USD",
                        "name": "United States Dollar"
                      },
                      "domain": "QBO",
                      "sparse": false,
                      "Id": "123",
                      "SyncToken": "0",
                      "MetaData": {
                        "CreateTime": "2022-01-01T00:00:00-00:00",
                        "LastUpdatedTime": "2022-01-01T00:00:00-00:00"
                      }
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "LedgerAccount-6": {
        "allOf": [
          {
            "$ref": "#/components/schemas/LedgerAccount"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The database query for the Source System.",
                    "example": "select * from [lgract]"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "_idnum": "12345935-899F-E511-B83D-005056C00008",
                      "recnum": "12345",
                      "shtnme": "Accounts Payable",
                      "lngnme": "AP account for Agave Tech Inc.",
                      "subact": 0,
                      "sumact": null,
                      "csttyp": null,
                      "begbal": 1000,
                      "endbal": 1602.67,
                      "nxtchk": "12345",
                      "nxtdep": "12345",
                      "strbal": 0,
                      "acttyp": 1,
                      "dbtcrd": 1,
                      "ntetxt": "",
                      "jobsub": 0,
                      "iscrcd": 0,
                      "insdte": "2022-01-01T00:00:00.000Z",
                      "insusr": "John",
                      "upddte": "2022-01-01T00:00:00.000Z",
                      "updusr": "John",
                      "inactv": 0,
                      "bnk_id": "",
                      "trn_id": "0"
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "LedgerAccount-7": {
        "allOf": [
          {
            "$ref": "#/components/schemas/LedgerAccount"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The database query for the Source System.",
                    "example": "select * from [MASTER_GLM_Record_1]"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "AACCT": "12345",
                      "ATITLE": "Cash",
                      "ATYPE": "Current assets",
                      "ABGTS": "0",
                      "ACSFLW": "1",
                      "ACNTL": "0",
                      "AINGL": "0",
                      "ASUMM": "0",
                      "AICSTS": "Not Intercompany",
                      "AOWNACT": "",
                      "ACTLTY": "JC Cost Control Acct",
                      "AWRNLV": "No Warning Message",
                      "AFSCPCT": 0,
                      "ACRBAL": 911541.07,
                      "AFTBAL": 911541.07,
                      "ABALYR": 911541.07,
                      "ABALY1": 911541.07,
                      "ABALY2": 911541.07,
                      "ABALY3": 911541.07,
                      "ABALY4": 911541.07,
                      "ABALY5": 911541.07,
                      "ABALY6": 911541.07,
                      "ABALY7": 911541.07,
                      "ABALY8": 911541.07,
                      "ABALY9": 838468,
                      "ABALY10": 0,
                      "APRADJ": 0,
                      "ANTYTD": 0,
                      "ANTYD1": 0,
                      "AFP6": 0,
                      "AFP5": 0,
                      "AFP4": 0,
                      "AFP3": 0,
                      "AFP2": 0,
                      "AFP1": 0,
                      "ACRACT": 0,
                      "AP1": 0,
                      "AP2": 0,
                      "AP3": 0,
                      "AP4": 0,
                      "AP5": 0,
                      "AP6": 0,
                      "AP7": 0,
                      "AP8": 0,
                      "AP9": 0,
                      "AP10": 0,
                      "AP11": 0,
                      "AP12": 0,
                      "AY": 0,
                      "AYP1": 0,
                      "AYP2": 0,
                      "AYP3": 0,
                      "AYP4": 0,
                      "AYP5": 0,
                      "AYP6": 0,
                      "AYP7": 0,
                      "AYP8": 0,
                      "AYP9": 0,
                      "AYP10": 0,
                      "AYP11": 0,
                      "AYP12": 0,
                      "ADYTD": 0,
                      "ADYTDY1": 0,
                      "ADENDY1": 0,
                      "ADFP6": 0,
                      "ADFP5": 0,
                      "ADFP4": 0,
                      "ADFP3": 0,
                      "ADFP2": 0,
                      "ADFP1": 0,
                      "ADACT": 0,
                      "ADP1": 0,
                      "ADP2": 0,
                      "ADP3": 0,
                      "ADP4": 0,
                      "ADP5": 0,
                      "ADP6": 0,
                      "ADP7": 0,
                      "ADP8": 0,
                      "ADP9": 0,
                      "ADP10": 0,
                      "ADP11": 0,
                      "ADP12": 0,
                      "ADY": 0,
                      "ADYP1": 0,
                      "ADYP2": 0,
                      "ADYP3": 0,
                      "ADYP4": 0,
                      "ADYP5": 0,
                      "ADYP6": 0,
                      "ADYP7": 0,
                      "ADYP8": 0,
                      "ADYP9": 0,
                      "ADYP10": 0,
                      "ADYP11": 0,
                      "ADYP12": 0,
                      "ACCRBAL": 0,
                      "ACFTBAL": 0,
                      "ACBALYR": 0,
                      "ACBALY1": 0,
                      "ACBALY2": 0,
                      "ACBALY3": 0,
                      "ACBALY4": 0,
                      "ACBALY5": 0,
                      "ACBALY6": 0,
                      "ACBALY7": 0,
                      "ACBALY8": 0,
                      "ACBALY9": 0,
                      "ACBLY10": 0,
                      "ACPRADJ": 0,
                      "ACNTYTD": 0,
                      "ACNTYD1": 0,
                      "ACFP6": 0,
                      "ACFP5": 0,
                      "ACFP4": 0,
                      "ACFP3": 0,
                      "ACFP2": 0,
                      "ACFP1": 0,
                      "ACCRACT": 0,
                      "ACP1": 0,
                      "ACP2": 0,
                      "ACP3": 0,
                      "ACP4": 0,
                      "ACP5": 0,
                      "ACP6": 0,
                      "ACP7": 0,
                      "ACP8": 0,
                      "ACP9": 0,
                      "ACP10": 0,
                      "ACP11": 0,
                      "ACP12": 0,
                      "ACAY": 0,
                      "ACAYP1": 0,
                      "ACAYP2": 0,
                      "ACAYP3": 0,
                      "ACAYP4": 0,
                      "ACAYP5": 0,
                      "ACAYP6": 0,
                      "ACAYP7": 0,
                      "ACAYP8": 0,
                      "ACAYP9": 0,
                      "ACAYP10": 0,
                      "ACAYP11": 0,
                      "ACAYP12": 0,
                      "ACDYTD": 0,
                      "ACDYTDY": 0,
                      "ACDENDY": 0,
                      "ACDFP6": 0,
                      "ACDFP5": 0,
                      "ACDFP4": 0,
                      "ACDFP3": 0,
                      "ACDFP2": 0,
                      "ACDFP1": 0,
                      "ACDACT": 0,
                      "ACDP1": 0,
                      "ACDP2": 0,
                      "ACDP3": 0,
                      "ACDP4": 0,
                      "ACDP5": 0,
                      "ACDP6": 0,
                      "ACDP7": 0,
                      "ACDP8": 0,
                      "ACDP9": 0,
                      "ACDP10": 0,
                      "ACDP11": 0,
                      "ACDP12": 0,
                      "ACDY": 0,
                      "ACDYP1": 0,
                      "ACDYP2": 0,
                      "ACDYP3": 0,
                      "ACDYP4": 0,
                      "ACDYP5": 0,
                      "ACDYP6": 0,
                      "ACDYP7": 0,
                      "ACDYP8": 0,
                      "ACDYP9": 0,
                      "ACDYP10": 0,
                      "ACDYP11": 0,
                      "ACDYP12": 0,
                      "AOSTMP": "sageintegration",
                      "ADSTMP": "2022-01-01",
                      "ATSTMP": "00:00:00",
                      "ARWID": "12345b63-ee3f-e711-8bef-0019b9211094",
                      "ARWVR": "1697932065",
                      "R1NTS": null,
                      "R1FLS": null
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "LedgerAccount-8": {
        "allOf": [
          {
            "$ref": "#/components/schemas/LedgerAccount"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "https://api.intacct.com/ia/xml/xmlgw.phtml"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "ACCOUNTNO": "12345",
                      "CATEGORY": "Current Liabilities",
                      "TITLE": "Accounts Payable (A/P)",
                      "STATUS": "active",
                      "ACCOUNTTYPE": "balancesheet",
                      "WHENCREATED": "01/01/2022 00:00:00",
                      "WHENMODIFIED": "01/01/2022 00:00:00"
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "LedgerAccount-9": {
        "allOf": [
          {
            "$ref": "#/components/schemas/LedgerAccount"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "https://api-integration.servicetitan.io/accounting/v2/tenant/986142371/gl-accounts?includeTotal=true"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "id": 51,
                      "name": "Cash",
                      "number": "0000",
                      "description": null,
                      "type": "Asset",
                      "subtype": "Bank",
                      "active": true,
                      "isIntacctGroup": false,
                      "isIntacctBankAccount": false,
                      "source": "ManuallyCreated",
                      "defaultAccountType": null,
                      "createdOn": "2019-01-10T22:12:41.7240936Z",
                      "modifiedOn": "2019-02-14T10:05:54.497Z"
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "LedgerAccount-10": {
        "allOf": [
          {
            "$ref": "#/components/schemas/LedgerAccount"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "https://{{server}}.cloud.jobpac.com.au:{{environment}}/GLAccountListing"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "GeneralLedgerAccount": "12345",
                      "Description": "Accounts Payable (A/P)",
                      "Status": "A",
                      "Group": "",
                      "ProfitCentre": "",
                      "RecordType": "",
                      "ReportSequence": "",
                      "AccountType": "1",
                      "Category": "",
                      "Level": "",
                      "Group2": "",
                      "BalanceSheetOrPLAccount": "B",
                      "SpreadMethod": "",
                      "UserDefinedField": "",
                      "CostControlAccount": "",
                      "HeadingCode": "",
                      "SubheadingCode": "",
                      "JobGroupCode": "",
                      "ReportingUnit": "",
                      "ReportingSubunit": "",
                      "ExtractForConexa": ""
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "LedgerAccount-11": {
        "allOf": [
          {
            "$ref": "#/components/schemas/LedgerAccount"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The SQL path on the Source System.",
                    "example": "select * from [GL_MASTER_MC] where [GL_MASTER_MC].[Company_Code] = 12345"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "Company_Code": "12345",
                      "GL_Account": "12345",
                      "Description": "AP account for Agave Tech Inc.",
                      "Short_Description": "Accounts Payable",
                      "Account_Type_Code": "L",
                      "Post_AP_Detail_Flag": "Y",
                      "Direct_Cost_Flag": "N",
                      "Cost_Type": " ",
                      "Status": "A",
                      "All_Cost_Centers": "Y",
                      "id": "12345"
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "LedgerAccount-12": {
        "allOf": [
          {
            "$ref": "#/components/schemas/LedgerAccount"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The SQL path on the Source System.",
                    "example": "bGLAC"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "GLCo": "12345",
                      "GLAcct": "12345",
                      "Description": "Liability",
                      "AcctType": "L",
                      "SubType": null,
                      "NormBal": "D",
                      "InterfaceDetail": "N",
                      "Active": "Y",
                      "SummaryAcct": "12345",
                      "CashAccrual": "A",
                      "CashOffAcct": null,
                      "Notes": null,
                      "Part1": "12345",
                      "Part2": null,
                      "Part3": null,
                      "Part4": null,
                      "Part5": null,
                      "Part6": null,
                      "AllParts": "12345",
                      "CrossRefMemAcct": null,
                      "UniqueAttchID": null,
                      "KeyID": "12345",
                      "ReviewerGroup": null
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "NewLedgerAccount": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "description": "The name of the Ledger Account.",
            "example": "Accounts Payable (A/P)"
          },
          "number": {
            "type": "string",
            "description": "The reference given to each nominal Ledger Account for a business. This is used to ensure money is allocated to the correct account.",
            "example": "123"
          },
          "status": {
            "type": "string",
            "enum": [
              "Active",
              "Inactive"
            ],
            "description": "The current status of the Ledger Account.",
            "example": "Active"
          }
        }
      },
      "LedgerJournal": {
        "type": "object",
        "properties": {
          "id": {
            "allOf": [
              {
                "description": "The UUID of the Ledger Journal assigned by Agave."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "source_id": {
            "type": "string",
            "readOnly": true,
            "example": "GJ",
            "description": "The ID of the Ledger Journal in the Source System."
          },
          "code": {
            "type": "string",
            "description": "The short code for the Ledger Journal.",
            "example": "GJ"
          },
          "name": {
            "type": "string",
            "description": "The name of the Ledger Journal.",
            "example": "General Journal"
          },
          "type": {
            "type": "string",
            "description": "The type of Ledger Journal. **Note for Viewpoint Vista**: valid values include \"Regular\" and \"Reversing\".\n",
            "example": "Regular"
          },
          "source_create_time": {
            "allOf": [
              {
                "description": "The datetime the Ledger Account was created in the Source System."
              },
              {
                "$ref": "#/components/schemas/DateTimeProperty"
              }
            ]
          },
          "source_update_time": {
            "allOf": [
              {
                "description": "The datetime the Ledger Account was last updated in the Source System."
              },
              {
                "$ref": "#/components/schemas/DateTimeProperty"
              }
            ]
          }
        }
      },
      "LedgerJournal-2": {
        "allOf": [
          {
            "$ref": "#/components/schemas/LedgerJournal"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The SQL path on the Source System.",
                    "example": "select * from [bGLJR] where [bGLJR].[GLCo] = 12345"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "GLCo": 12345,
                      "Jrnl": "GJ",
                      "Description": "General Journal",
                      "Rev": "N",
                      "RevJrnl": null,
                      "Notes": null,
                      "UniqueAttchID": null,
                      "KeyID": "57"
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "LedgerJournalEntryLineItem": {
        "type": "object",
        "properties": {
          "id": {
            "allOf": [
              {
                "description": "The UUID of the Line Item assigned by Agave."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "source_id": {
            "type": "string",
            "readOnly": true,
            "example": "12345",
            "description": "The ID of the Line Item in the Source System."
          },
          "cost_code_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Cost Code](#tag--cost-codes) for this Line Item."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "credit_amount": {
            "type": "string",
            "description": "The total Credit Amount (balance decrease) of this Line Item.",
            "example": "150"
          },
          "debit_amount": {
            "type": "string",
            "description": "The total Debit Amount (balance increase) of this Line Item.",
            "example": "0"
          },
          "description": {
            "description": "The description of this Line Item.",
            "type": "string",
            "example": "Additional fencing purchases for January"
          },
          "ledger_account_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Ledger Account](#tag--ledger-account) that this Line Item credits or debits."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "ledger_journal_entry_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Ledger Journal Entry](#tag--ledger-journal-entries) header for this Line Item."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "ledger_journal_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Ledger Journal](#tag--ledger-journal) for the Line Item."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "project_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Project](#tag--projects) for the Line Item."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "reference": {
            "type": "string",
            "description": "The reference for this Line Item (eg. check number). Each reference must be balanced across line items for a Journal Entry to be posted.",
            "example": "5"
          },
          "transaction_date": {
            "allOf": [
              {
                "description": "The date of the transaction this Line Item represents."
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ]
          },
          "source_create_time": {
            "allOf": [
              {
                "description": "The datetime the Ledger Journal Entry was created in the Source System."
              },
              {
                "$ref": "#/components/schemas/DateTimeProperty"
              }
            ]
          },
          "source_update_time": {
            "allOf": [
              {
                "description": "The datetime the Ledger Journal Entry was last updated in the Source System."
              },
              {
                "$ref": "#/components/schemas/DateTimeProperty"
              }
            ]
          }
        }
      },
      "LedgerJournalEntry": {
        "type": "object",
        "properties": {
          "id": {
            "allOf": [
              {
                "description": "The UUID of the Ledger Journal Entry assigned by Agave."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "source_id": {
            "type": "string",
            "readOnly": true,
            "example": "GJ",
            "description": "The ID of the Ledger Journal Entry in the Source System."
          },
          "batch_id": {
            "type": "string",
            "allOf": [
              {
                "description": "The UUID of the Batch assigned by Agave."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "credit_amount": {
            "type": "string",
            "description": "The total Credit Amount of all line items associated with this Ledger Journal Entry.",
            "example": "150"
          },
          "debit_amount": {
            "type": "string",
            "description": "The total Debit Amount of all line items associated with this Ledger Journal Entry.",
            "example": "150"
          },
          "line_items": {
            "description": "The line items for the Ledger Journal Entry.",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/LedgerJournalEntryLineItem"
            }
          },
          "post_date": {
            "allOf": [
              {
                "description": "The date of the financial period this Ledger Journal Entry will be posted to."
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ]
          },
          "status": {
            "type": "string",
            "description": "The status of the Ledger Journal Entry. **Note for Viewpoint Vista**: valid values include \"Open\", \"Validating\", \"Validation Error\", \"Validation Warning\", \"Validation OK\", \"Posting\", \"Posted\", and \"Cancelled\".\n",
            "example": "Open"
          },
          "source_create_time": {
            "allOf": [
              {
                "description": "The datetime the Ledger Journal Entry was created in the Source System."
              },
              {
                "$ref": "#/components/schemas/DateTimeProperty"
              }
            ]
          },
          "source_update_time": {
            "allOf": [
              {
                "description": "The datetime the Ledger Journal Entry was last updated in the Source System."
              },
              {
                "$ref": "#/components/schemas/DateTimeProperty"
              }
            ]
          }
        }
      },
      "LedgerJournalEntry-2": {
        "allOf": [
          {
            "$ref": "#/components/schemas/LedgerJournalEntry"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The SQL path on the Source System.",
                    "example": "select * from [bHQBC] where [bHQBC].[Co] = 12345"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "Co": 200,
                      "Mth": "2022-01-01 00:00:00",
                      "BatchId": 216,
                      "Source": "GL Jrnl",
                      "TableName": "GLDB",
                      "InUseBy": null,
                      "DateCreated": "2022-01-01 00:00:00",
                      "CreatedBy": "VIEWPOINT\\JSmith.bhnc",
                      "Status": 0,
                      "Rstrict": "N",
                      "Adjust": "N",
                      "PRGroup": null,
                      "PREndDate": null,
                      "DatePosted": null,
                      "DateClosed": null,
                      "Notes": null,
                      "UniqueAttchID": null,
                      "KeyID": "114208"
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "NewLedgerJournalEntryLineItem": {
        "required": [
          "credit_amount",
          "debit_amount",
          "ledger_account_id",
          "ledger_journal_id",
          "reference",
          "transaction_date"
        ],
        "properties": {
          "credit_amount": {
            "type": "string",
            "description": "The total Credit Amount (balance decrease) of this Line Item. **Note for Viewpoint Vista**: Only one of credit_amount or debit_amount can be nonzero.\n",
            "example": "150"
          },
          "debit_amount": {
            "type": "string",
            "description": "The total Debit Amount (balance increase) of this Line Item. **Note for Viewpoint Vista**: Only one of credit_amount or debit_amount can be nonzero.\n",
            "example": "0"
          },
          "description": {
            "description": "The description of this Line Item.",
            "type": "string",
            "example": "Additional fencing purchases for January"
          },
          "ledger_account_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Ledger Account](#tag--ledger-account) that this Line Item credits or debits."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "ledger_journal_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Ledger Journal](#tag--ledger-journal) for the Line Item."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "reference": {
            "type": "string",
            "description": "The reference for this Line Item (eg. check number). Each reference must be balanced across line items for a Journal Entry to be posted.",
            "example": "5"
          },
          "transaction_date": {
            "allOf": [
              {
                "description": "The date of the transaction this Line Item represents."
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ]
          }
        }
      },
      "NewLedgerJournalEntry": {
        "required": [
          "post_date"
        ],
        "properties": {
          "line_items": {
            "description": "The line items for the Ledger Journal Entry.",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/NewLedgerJournalEntryLineItem"
            }
          },
          "post_date": {
            "allOf": [
              {
                "description": "The date of the financial period this Ledger Journal Entry will be posted to."
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ]
          }
        }
      },
      "UpdatedLedgerJournalEntry": {
        "required": [
          "status"
        ],
        "properties": {
          "status": {
            "type": "string",
            "enum": [
              "posted"
            ],
            "description": "The status of the Ledger Journal Entry. **Note for Viewpoint Vista**: Pass the \"posted\" status to post the Ledger Journal Entry.\n"
          }
        }
      },
      "LedgerJournalEntryLineItem-2": {
        "allOf": [
          {
            "$ref": "#/components/schemas/LedgerJournalEntryLineItem"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The SQL path on the Source System.",
                    "example": "select * from [bGLDB] where [bGLDB].[Co] = 12345"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "Co": 200,
                      "Mth": "2022-01-01 00:00:00",
                      "BatchId": 216,
                      "BatchSeq": 1,
                      "BatchTransType": "A",
                      "GLTrans": null,
                      "GLAcct": "10160.              ",
                      "Jrnl": "GJ",
                      "GLRef": "CHECK 12345",
                      "Source": "GL Jrnl   ",
                      "ActDate": "2022-01-01 00:00:00",
                      "Description": null,
                      "Amount": "-150.00",
                      "OldGLAcct": null,
                      "OldActDate": null,
                      "OldDesc": null,
                      "OldAmount": null,
                      "UniqueAttchID": null,
                      "InterCo": 200,
                      "KeyID": "16"
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "PrimeContract-2": {
        "allOf": [
          {
            "$ref": "#/components/schemas/PrimeContract"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "https://{{hostname}}/AcumaticaU100/entity/Default/20.200.001/Project/WCOAST"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "id": "1efba604-738e-ee11-8427-0e03bb6fbb09",
                      "rowNumber": 1,
                      "note": {
                        "value": ""
                      },
                      "Assets": [],
                      "Balances": [
                        {
                          "id": "8a89c66b-8999-4f9d-aba6-c6dd40886d56",
                          "rowNumber": 3,
                          "note": null,
                          "AccountGroup": [],
                          "ActualAmount": {
                            "value": 0
                          },
                          "ActualOpenCommittedAmount": {
                            "value": 0
                          },
                          "BudgetedCOAmount": {
                            "value": 0
                          },
                          "CommittedCOAmount": {
                            "value": 0
                          },
                          "CommittedInvoicedAmount": {
                            "value": 0
                          },
                          "CommittedOpenAmount": {
                            "value": 0
                          },
                          "Description": {
                            "value": "Income Totals"
                          },
                          "OriginalBudgetedAmount": {
                            "value": 150000
                          },
                          "OriginalCommittedAmount": {
                            "value": 0
                          },
                          "Performance": {
                            "value": 0
                          },
                          "RevisedBudgetedAmount": {
                            "value": 150000
                          },
                          "RevisedCommittedAmount": {
                            "value": 0
                          },
                          "VarianceAmount": {
                            "value": 150000
                          },
                          "custom": []
                        }
                      ],
                      "BillingAndAllocationSettings": {
                        "id": "9c1a163a-4ec9-4465-a42e-d7106f96c447",
                        "rowNumber": 1,
                        "note": null,
                        "AllocationRule": [],
                        "AutomaticallyReleaseARDocuments": {
                          "value": false
                        },
                        "BillingPeriod": {
                          "value": "Month"
                        },
                        "BillingRule": [],
                        "Branch": {
                          "value": "HEADOFFICE"
                        },
                        "CreateProFormaOnBilling": {
                          "value": true
                        },
                        "LastBillingDate": [],
                        "NextBillingDate": {
                          "value": "2023-12-28T00:00:00+00:00"
                        },
                        "RateTable": [],
                        "Retainage": {
                          "value": 0
                        },
                        "RunAllocationOnReleaseOfProjectTransactions": {
                          "value": false
                        },
                        "Terms": {
                          "value": "30D"
                        },
                        "UseTMRevenueBudgetLimits": {
                          "value": false
                        },
                        "custom": []
                      },
                      "Customer": {
                        "value": "ABAKERY"
                      },
                      "Description": {
                        "value": "West Coast Arena Contract"
                      },
                      "Expenses": [],
                      "ExternalRefNbr": [],
                      "Hold": {
                        "value": false
                      },
                      "Income": [],
                      "LastModifiedDateTime": {
                        "value": "2023-11-29T05:00:05.01+00:00"
                      },
                      "Liabilities": [],
                      "ProjectID": {
                        "value": "WCOAST"
                      },
                      "ProjectProperties": {
                        "id": "f792473d-1d36-4ebe-8f59-404695670585",
                        "rowNumber": 1,
                        "note": null,
                        "CertifiedJob": {
                          "value": false
                        },
                        "ChangeOrderWorkflow": {
                          "value": true
                        },
                        "EndDate": {
                          "value": "2022-01-01T00:00:00+00:00"
                        },
                        "LastRevenueChangeNbr": [],
                        "ProjectManager": [],
                        "RestrictEmployees": {
                          "value": false
                        },
                        "RestrictEquipment": {
                          "value": false
                        },
                        "RevenueBudgetLevel": {
                          "value": "Task"
                        },
                        "StartDate": {
                          "value": "2022-01-01T00:00:00+00:00"
                        },
                        "TrackProductionData": {
                          "value": false
                        },
                        "custom": []
                      },
                      "ProjectTemplateID": [],
                      "Status": {
                        "value": "Active"
                      },
                      "custom": [],
                      "_links": {
                        "self": "/AcumaticaU100/entity/Default/20.200.001/Project/1efba604-738e-ee11-8427-0e03bb6fbb09",
                        "files:put": "/AcumaticaU100/entity/Default/20.200.001/files/PX.Objects.PM.ProjectEntry/Project/1efba604-738e-ee11-8427-0e03bb6fbb09/{filename}"
                      }
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "PrimeContract-3": {
        "allOf": [
          {
            "$ref": "#/components/schemas/PrimeContract"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "https://developer.api.autodesk.com/cost/v1/containers/{Container_Id}/MainContracts"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "id": "12345",
                      "name": "ABC Owner Contract",
                      "description": "This is the Prime Contract for the ABC Owner deal.",
                      "containerId": "12345",
                      "code": "A123",
                      "status": "draft",
                      "paymentDue": null,
                      "companyId": "12345",
                      "type": "PrimeContract",
                      "templateId": null,
                      "contactId": "12345",
                      "mainContractId": "12345",
                      "recipients": null,
                      "address": null,
                      "awarded": null,
                      "changes": "0.0000",
                      "retention": "0.0000",
                      "retentionCap": null,
                      "creatorId": "12345",
                      "ownerId": "12345",
                      "changedBy": "12345",
                      "signedBy": "12345",
                      "awardedAt": null,
                      "statusChangedAt": "2022-01-01T00:00:00.000Z",
                      "sentAt": null,
                      "locked": false,
                      "lockedAt": null,
                      "lockedBy": null,
                      "respondedAt": null,
                      "responseDue": null,
                      "returnedAt": null,
                      "onsiteAt": null,
                      "offsiteAt": null,
                      "procuredAt": null,
                      "approvedAt": null,
                      "executedAt": null,
                      "createdAt": "2022-01-01T00:00:00.000Z",
                      "updatedAt": "2022-01-01T00:00:00.000Z",
                      "note": null,
                      "scopeOfWork": null,
                      "allowOverbilling": false,
                      "actualCost": null,
                      "integrationState": null,
                      "integrationStateChangedAt": null,
                      "integrationStateChangedBy": null,
                      "originalBudget": null,
                      "internalAdjustment": null,
                      "approvedContingency": null,
                      "pendingContingency": null,
                      "approvedOwnerChanges": null,
                      "pendingOwnerChanges": null,
                      "approvedOwnerChangesWithoutCont": null,
                      "pendingOwnerChangesWithoutCont": null,
                      "approvedChangeOrders": null,
                      "approvedInScopeChangeOrders": null,
                      "pendingChangeOrders": null,
                      "reserves": null,
                      "uncommitted": null,
                      "total": "150000.0000",
                      "revised": null,
                      "projected": null,
                      "projectedCost": null,
                      "projectedBudget": null,
                      "forecastFinalCost": null,
                      "forecastVariance": null,
                      "forecastCostComplete": null,
                      "varianceTotal": null,
                      "externalId": "12345",
                      "externalSystem": "Sage300",
                      "externalMessage": "Success.",
                      "lastSyncTime": "2022-01-01T00:00:00.000Z",
                      "approvedOwnerChangesContingency": null,
                      "approvedOwnerChangesOutOfScope": null,
                      "preSubmittedOwnerChangesContingency": null,
                      "preSubmittedOwnerChangesOutOfScope": null,
                      "submittedOwnerChangesContingency": null,
                      "submittedOwnerChangesOutOfScope": null,
                      "approvedChangeOrdersInScope": null,
                      "approvedChangeOrdersOutOfScope": null,
                      "approvedChangeOrdersContingency": null,
                      "pendingChangeOrdersInScope": null,
                      "pendingChangeOrdersOutOfScope": null,
                      "pendingChangeOrdersContingency": null,
                      "draftOwnerChanges": null,
                      "draftChangeOrders": null,
                      "reservesInScope": null,
                      "reservesOutOfScope": null,
                      "reservesContingency": null,
                      "actualCostDirectInput": null,
                      "approvedExpense": null,
                      "pendingExpense": null,
                      "approvedCostPaymentApplication": null,
                      "pendingCostPaymentApplication": null,
                      "forecastAdjustment": null,
                      "allocatedAmount": null
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "PrimeContract-4": {
        "allOf": [
          {
            "$ref": "#/components/schemas/PrimeContract"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "https://developer.api.autodesk.com/cost/v1/containers/{Container_Id}/contracts"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "id": "12345",
                      "name": "ABC Owner Contract",
                      "description": "This is the Prime Contract for the ABC Owner deal.",
                      "containerId": "12345",
                      "code": "A123",
                      "status": "draft",
                      "paymentDue": null,
                      "companyId": "12345",
                      "type": "PrimeContract",
                      "templateId": null,
                      "contactId": "12345",
                      "mainContractId": "12345",
                      "recipients": null,
                      "address": null,
                      "awarded": null,
                      "changes": "0.0000",
                      "retention": "0.0000",
                      "retentionCap": null,
                      "creatorId": "12345",
                      "ownerId": "12345",
                      "changedBy": "12345",
                      "signedBy": "12345",
                      "awardedAt": null,
                      "statusChangedAt": "2022-01-01T00:00:00.000Z",
                      "sentAt": null,
                      "locked": false,
                      "lockedAt": null,
                      "lockedBy": null,
                      "respondedAt": null,
                      "responseDue": null,
                      "returnedAt": null,
                      "onsiteAt": null,
                      "offsiteAt": null,
                      "procuredAt": null,
                      "approvedAt": null,
                      "executedAt": null,
                      "createdAt": "2022-01-01T00:00:00.000Z",
                      "updatedAt": "2022-01-01T00:00:00.000Z",
                      "note": null,
                      "scopeOfWork": null,
                      "allowOverbilling": false,
                      "actualCost": null,
                      "integrationState": null,
                      "integrationStateChangedAt": null,
                      "integrationStateChangedBy": null,
                      "originalBudget": null,
                      "internalAdjustment": null,
                      "approvedContingency": null,
                      "pendingContingency": null,
                      "approvedOwnerChanges": null,
                      "pendingOwnerChanges": null,
                      "approvedOwnerChangesWithoutCont": null,
                      "pendingOwnerChangesWithoutCont": null,
                      "approvedChangeOrders": null,
                      "approvedInScopeChangeOrders": null,
                      "pendingChangeOrders": null,
                      "reserves": null,
                      "uncommitted": null,
                      "total": "150000.0000",
                      "revised": null,
                      "projected": null,
                      "projectedCost": null,
                      "projectedBudget": null,
                      "forecastFinalCost": null,
                      "forecastVariance": null,
                      "forecastCostComplete": null,
                      "varianceTotal": null,
                      "externalId": "12345",
                      "externalSystem": "Sage300",
                      "externalMessage": "Success.",
                      "lastSyncTime": "2022-01-01T00:00:00.000Z",
                      "approvedOwnerChangesContingency": null,
                      "approvedOwnerChangesOutOfScope": null,
                      "preSubmittedOwnerChangesContingency": null,
                      "preSubmittedOwnerChangesOutOfScope": null,
                      "submittedOwnerChangesContingency": null,
                      "submittedOwnerChangesOutOfScope": null,
                      "approvedChangeOrdersInScope": null,
                      "approvedChangeOrdersOutOfScope": null,
                      "approvedChangeOrdersContingency": null,
                      "pendingChangeOrdersInScope": null,
                      "pendingChangeOrdersOutOfScope": null,
                      "pendingChangeOrdersContingency": null,
                      "draftOwnerChanges": null,
                      "draftChangeOrders": null,
                      "reservesInScope": null,
                      "reservesOutOfScope": null,
                      "reservesContingency": null,
                      "actualCostDirectInput": null,
                      "approvedExpense": null,
                      "pendingExpense": null,
                      "approvedCostPaymentApplication": null,
                      "pendingCostPaymentApplication": null,
                      "forecastAdjustment": null,
                      "allocatedAmount": null
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "PrimeContract-5": {
        "allOf": [
          {
            "$ref": "#/components/schemas/PrimeContract"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The database query for the Source System.",
                    "example": "select * from [aiasched]"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "jobnum": "94128",
                      "schedule": "94128",
                      "cusnum": "AGAVE",
                      "salesacct": "400.0",
                      "aracct": "111.0",
                      "retacct": "112.0",
                      "contractfor": "",
                      "projectnum": "94128",
                      "projectname": "Anycompany Properties",
                      "projectaddress": "123 Main Street\nAnytown, CA 19703",
                      "architect": "",
                      "deptnum": "",
                      "taxcode": "CA",
                      "reportformat": "NORMAL",
                      "salesrep": "PM",
                      "manager": "",
                      "contractdate": null,
                      "type": 1,
                      "firstappnum": 1,
                      "curappnum": 2,
                      "blurb": "These are referenceable notes for the Prime Contract.",
                      "nextinvnum": "",
                      "archaddress": "",
                      "hasjobitems": 1,
                      "waiver": "",
                      "taxcalc": 1,
                      "aiaisfromcats": 0,
                      "serialnum": "6",
                      "attachid": "0"
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "PrimeContract-6": {
        "allOf": [
          {
            "$ref": "#/components/schemas/PrimeContract"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The database query for the Source System.",
                    "example": "select * from [aia_header]"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "company_no": 12345,
                      "job_no": "12345",
                      "section_no": "         1",
                      "application_no": "4",
                      "application_date": null,
                      "billing_start_date": null,
                      "billing_end_date": null,
                      "arch_project_no": null,
                      "previous_certificate": "3200.00",
                      "previous_retainage": "300.00",
                      "customer_no": "      2000",
                      "owner_name": null,
                      "owner_address_1": "123 Main Street",
                      "owner_address_2": "Unit 1",
                      "owner_city": "AnyTown",
                      "owner_state": "CA",
                      "owner_zip_code": "19703",
                      "state_of": null,
                      "county_of": null,
                      "signature_name": null,
                      "signature_title": null,
                      "g702_type": "1",
                      "income_type_no": null,
                      "contract_description": null,
                      "contract_date": null,
                      "via_architect": null,
                      "via_architect_address_1": null,
                      "via_architect_address_2": null,
                      "via_architect_city": null,
                      "via_architect_state": null,
                      "via_architect_zip_code": null,
                      "via_contruction_manager": null,
                      "status": "A",
                      "record_status": "A",
                      "row_modified_by": "98053",
                      "row_modified_on": "2024-02-24 18:28:07.610",
                      "row_unique_id": 5,
                      "use_sections": "N",
                      "cost_code_no": null,
                      "phase_no": null,
                      "post_date": "2024-02-24 00:00:00.000",
                      "due_date": null,
                      "discount_date": null,
                      "discount_amount": ".00",
                      "discount_percent": ".00000",
                      "retainage_percent": ".00000",
                      "terms_no": "   30",
                      "gl_ar": "1040",
                      "gl_retainage": "1050",
                      "auto_post_to_ar": "Y",
                      "aia_rollback": "N",
                      "application_id": "4",
                      "arch_project_id": null,
                      "company_id": "1",
                      "cost_code_id": null,
                      "customer_id": "2000",
                      "income_type_id": null,
                      "job_id": "A123",
                      "phase_id": null,
                      "section_id": "1",
                      "terms_id": "30",
                      "retainage_paid_to_escrow": ".00",
                      "retainage_due_to_escrow": ".00",
                      "project_address_1": null,
                      "project_address_2": null,
                      "project_city": null,
                      "project_state": null,
                      "project_zip_code": null
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "PrimeContract-7": {
        "allOf": [
          {
            "$ref": "#/components/schemas/PrimeContract"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "https://api.procore.com/rest/v1.0/prime_contract"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "id": "4414401e-43db-51e1-90d2-1cedd029d0dd",
                      "source_id": "28345",
                      "actual_completion_date": "2017-03-31",
                      "contractor_id": null,
                      "description": "New Building",
                      "estimated_completion_date": "2017-01-31",
                      "execution_date": "2014-01-02",
                      "name": "Contract 2",
                      "outstanding_balance": "0.0",
                      "primary_contact_id": null,
                      "project_id": "328c4874-b85b-53dd-8a3e-44d90b43f2bd",
                      "source_create_time": "2022-01-02T05:40:34Z",
                      "source_update_time": "2022-01-02T05:40:34Z",
                      "start_date": "2015-01-31",
                      "total_amount": "0.0",
                      "total_payments": "0.0",
                      "type": "PrimeContract",
                      "source_data": {
                        "path": "https://api.procore.com/rest/v1.0/prime_contracts",
                        "content_type": "application/json",
                        "data": {
                          "id": 12345,
                          "accounting_method": "amount",
                          "actual_completion_date": "2022-01-01",
                          "allow_comments": false,
                          "allow_markups": true,
                          "allow_payment_applications": true,
                          "allow_payments": true,
                          "allow_redistributions": false,
                          "approval_letter_date": "2022-01-01",
                          "approved_change_orders": "0.0",
                          "architect": null,
                          "assigned_to": null,
                          "attachments": [],
                          "bill_to": null,
                          "budget_line_item_id": null,
                          "change_order_packages": [],
                          "contract_date": "2022-01-01",
                          "contract_estimated_completion_date": "2022-01-01",
                          "contract_start_date": "2022-01-01",
                          "contract_termination_date": null,
                          "contractor": {
                            "id": null
                          },
                          "cost_code": null,
                          "created_at": "2022-01-01T00:00:00Z",
                          "created_by": {
                            "id": 12345,
                            "login": "contact@agaveapi.com",
                            "name": "John Doe"
                          },
                          "custom_fields": [],
                          "deleted_at": null,
                          "delivery_date": null,
                          "description": "This is the Prime Contract for the ABC Owner deal.",
                          "display_materials_retainage": true,
                          "display_stored_materials": true,
                          "display_work_retainage": true,
                          "draft_change_orders_amount": "0.0",
                          "exclusions": "Decoration",
                          "executed": true,
                          "execution_date": "2022-01-01",
                          "grand_total": "150000.0",
                          "has_change_order_packages": false,
                          "has_potential_change_orders": false,
                          "inclusions": "Floor",
                          "issued_on_date": "2022-01-01",
                          "letter_of_intent_date": "2022-01-01",
                          "line_items": [],
                          "line_items_extended_total": "0.0",
                          "line_items_total": "0.0",
                          "number": "A123",
                          "origin_code": null,
                          "origin_data": "12345",
                          "origin_id": "12345",
                          "original_substantial_completion_date": null,
                          "outstanding_balance": "0.0",
                          "owner_invoices_amount": "0.0",
                          "payment_terms": null,
                          "payments_received": [],
                          "pending_change_orders_amount": "0.0",
                          "pending_revised_contract_amount": "0.0",
                          "percentage_paid": "0.0",
                          "position": 1,
                          "potential_change_orders": [],
                          "private": true,
                          "received_from": null,
                          "requisition_number": null,
                          "retainage_percent": "10.0",
                          "returned_date": "2022-01-01",
                          "revised_contract_amount": "0.0",
                          "ship_to": null,
                          "ship_via": null,
                          "show_line_items_to_non_admins": null,
                          "signed_contract_received_date": "2022-01-01",
                          "status": "Approved",
                          "substantial_completion_date": null,
                          "title": "ABC Owner Contract",
                          "total_payments": "20000.0",
                          "type": "PrimeContract",
                          "updated_at": "2022-01-01T00:00:00Z",
                          "vendor": {
                            "id": null
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "PrimeContract-8": {
        "allOf": [
          {
            "$ref": "#/components/schemas/PrimeContract"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The SQL path on the Source System.",
                    "example": "select top 10 [actrec].*, [propsl].[insdte] as [prop_insdte], [propsl].[upddte] as [prop_upddte], [propsl].[ntetxt] as [prop_ntetxt] from [actrec] left join [propsl] on [propsl].[recnum] = [actrec].[recnum] where [actrec].[recnum] = 186 and [propsl].[colshw] != 0 order by [actrec].[recnum] asc"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "_idnum": "97948935-899F-E511-B83D-005056C00008",
                      "recnum": "A123",
                      "jobnme": "West Coast Arena Contract",
                      "shtnme": "West Coast Arena Contract",
                      "clnnum": null,
                      "contct": "",
                      "addrs1": "123 Anyroad",
                      "addrs2": "",
                      "ctynme": "Anytwon",
                      "state_": "CA",
                      "zipcde": "94122",
                      "phnnum": "",
                      "faxnum": "",
                      "achtct": "104",
                      "lender": null,
                      "sprvsr": "7",
                      "slsemp": null,
                      "estemp": "5",
                      "usrdf1": "",
                      "usrdf2": "",
                      "lcltax": 1,
                      "slstax": 1,
                      "lgract": "4000",
                      "dptmnt": "1",
                      "dscdte": "",
                      "duedte": "30DY",
                      "dsccnt": ".00",
                      "finchg": ".00",
                      "retain": "5.00",
                      "cntrct": ".00",
                      "begbal": ".00",
                      "endbal": "20000.00.00",
                      "biddte": "2022-01-01:00:00.000Z",
                      "plnrcv": "2022-01-01T00:00:00.000Z",
                      "actbid": "2022-01-01T00:00:00.000Z",
                      "ctcdte": "2022-01-01T00:00:00.000Z",
                      "prelen": null,
                      "sttdte": "2022-01-01T00:00:00.000Z",
                      "cmpdte": "2022-01-01T00:00:00.000Z",
                      "lenfld": null,
                      "lenrls": null,
                      "jobtyp": 1,
                      "status": 4,
                      "pstwip": 0,
                      "crtfid": 1,
                      "connum": "77865PO",
                      "pchord": "",
                      "imgfle": "",
                      "csttym": "",
                      "csttyl": "",
                      "csttye": "",
                      "csttys": "",
                      "csttyo": "",
                      "usrcs6": "",
                      "usrcs7": "",
                      "usrcs8": "",
                      "usrcs9": "",
                      "ntetxt": "This is a Prime Contract with AnyCustomer for a multi-year Project to build a new Arena on the West Coast.",
                      "export": "",
                      "lotclr": "",
                      "lotprm": ".00",
                      "plnprc": ".00",
                      "actprc": ".00",
                      "estdte": null,
                      "actdte": null,
                      "lotnum": "",
                      "modnme": "",
                      "sqarft": "0",
                      "usrlst": "|JOSH - SAMPLE USER|",
                      "catxex": 0,
                      "pstexm": 0,
                      "insdte": "2022-01-01T00:00:00.000Z",
                      "insusr": "Bob",
                      "upddte": "2022-01-01T00:00:00.000Z",
                      "updusr": "agave-admin-1",
                      "inactv": 0,
                      "fedsck": 0,
                      "stmeml": "",
                      "ncrtck": 0,
                      "rtejob": 0,
                      "rtervw": null,
                      "county": "",
                      "fednum": "",
                      "stenum": "",
                      "awddte": null,
                      "strdte": null,
                      "dtecmp": null,
                      "pctcmp": 0,
                      "typwrk": "",
                      "subcnt": 0,
                      "prmnme": "",
                      "prmadd": "",
                      "prmcty": "",
                      "prmste": "",
                      "prmzip": "",
                      "prmphn": "",
                      "prmeml": "",
                      "prop_insdte": "2022-01-01T00:00:00.000Z",
                      "prop_upddte": "2022-01-01T00:00:00.000Z",
                      "prop_ntetxt": ""
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "PrimeContract-9": {
        "allOf": [
          {
            "$ref": "#/components/schemas/PrimeContract"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The SQL path on the Source System.",
                    "example": "select * from [ACTIVE_CNC_RECORD_1]"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "CCC": "12345",
                      "CCDESC": "West Coast Arena",
                      "CCTYPE": "AIA",
                      "CCAKEY": "",
                      "CCDATE": "2022-01-01",
                      "CCSWD": "2022-01-01",
                      "CCSCD": null,
                      "CCSTAT": "Approved",
                      "CCCOMET": "0",
                      "CCLOC": "185th Avenue, Beaverton",
                      "CCBFRQ": "None",
                      "CCBLOC": "Customer",
                      "CCAOT": "",
                      "CCBLWV": "Progress",
                      "CCBLOH": "0",
                      "CCSTRMT": "1",
                      "CCSTOF": "",
                      "CCCTYOF": "",
                      "CCDSTOW": "0",
                      "CCDSTAR": "0",
                      "CCDSTCO": "0",
                      "CCDST1C": "0",
                      "CCDST1E": "",
                      "CCDST2C": "0",
                      "CCDST2E": "",
                      "CCXFC": "0",
                      "CCFTYPE": "None",
                      "CCFPCNT": 0,
                      "CCFFLAT": 0,
                      "CCINVNS": "Contract",
                      "CCINVT": "0100100",
                      "CCLINVN": 10,
                      "CCINVC": 1,
                      "CCPWD1": "0",
                      "CCPWD2": "0",
                      "CCPWD3": "0",
                      "CCPWD4": "0",
                      "CCPWD5": "0",
                      "CCPWD6": "0",
                      "CCSGNB": "John Doe",
                      "CCSGND": "2022-01-14",
                      "CCAPRB": "Jane Doe",
                      "CCAPRD": "2022-01-02",
                      "CCSCOPE": "",
                      "CCPREFX": "21",
                      "CCSTMPO": "AnyUser",
                      "CCSTMPD": "2022-01-01",
                      "CCSTMPT": "14:55:03",
                      "CCRWID": "4c1d9257-ee3f-e711-8bef-0019b9211094",
                      "CCRWVR": "1719006903",
                      "R1NTS": null,
                      "R1FLS": null,
                      "IIJOB": "03-001",
                      "IIC": "0300100"
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "PrimeContract-10": {
        "allOf": [
          {
            "$ref": "#/components/schemas/PrimeContract"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "https://api.intacct.com/ia/xml/xmlgw.phtml"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "RECORDNO": "12345",
                      "ACTUALCOMPLETIONDATE": "06/06/2024",
                      "TOTALREVISEDPRICE": "17200.23",
                      "APPROVEDCHANGEPRICE": "0",
                      "BALANCETOBILL": "17200.23",
                      "CUSTOMERID": "A124",
                      "DESCRIPTION": "This is the prime contract for the West Coast Arena Project.",
                      "SCHEDULEDCOMPLETIONDATE": "06/03/2024",
                      "CONTRACTDATE": "06/15/2024",
                      "NAME": "West Coast Arena Contract",
                      "PROJECTCONTRACTID": "A100",
                      "ORIGINALPRICE": "17000.23",
                      "PROJECTID": "A123",
                      "TOTALRETAINAGEHELD": "0",
                      "RETAINAGEPERCENTAGE": null,
                      "WHENCREATED": "06/16/2024 00:20:42",
                      "WHENMODIFIED": "06/21/2024 02:43:45",
                      "ACTUALSTARTDATE": "06/02/2024",
                      "STATUS": "active",
                      "PROJECTCONTRACTTYPENAME": "Fixed Price",
                      "PROJECTNAME": "West Coast Arena",
                      "PROJECTKEY": "47",
                      "PROJECTLOCATIONID": "GIQ",
                      "PROJECTLOCATIONNAME": "Graphiq",
                      "PROJECTLOCATIONKEY": "17",
                      "CURRENCY": null,
                      "CUSTOMERNAME": "Prestige Developments Ltd.",
                      "CUSTOMERKEY": "99",
                      "PROJECTCONTRACTTYPEID": "Fixed",
                      "PROJECTCONTRACTTYPEKEY": "3",
                      "ARCHITECT": {
                        "CONTACTNAME": null
                      },
                      "ARCHITECTKEY": null,
                      "BILLABLE": "true",
                      "SUPDOCID": null,
                      "REVISIONPRICE": "200",
                      "PENDINGCHANGEPRICE": "0",
                      "OTHERPRICE": "4000",
                      "FORECASTPRICE": "2500",
                      "BILLEDPRICE": "0",
                      "TOTALBILLEDNETRETAINAGE": "0",
                      "PERCENTAGEBILLED": "0",
                      "PERCENTAGEBILLEDNETRETAINAGE": "0",
                      "TOTALRETAINAGERELEASED": "0",
                      "RETAINAGEBALANCE": "0",
                      "BALANCETOBILLNETRETAINAGE": "17200.23",
                      "TOTALPAYMENTSRECEIVED": "0",
                      "STOREDMATERIALS": null,
                      "TOTALRETAINAGEFROMWORK": null,
                      "TOTALRETAINAGEFROMSTORED": null,
                      "LASTAPPLICATIONNO": null,
                      "NETTOTALBILLED": null,
                      "NETTOTALPAYMENTSRECEIVED": "0",
                      "BILLEDTAXSUBTOTAL": null,
                      "BILLEDDISCOUNTSUBTOTAL": null,
                      "BILLEDCHARGESUBTOTAL": null,
                      "SCOPE": null,
                      "INCLUSIONS": null,
                      "EXCLUSIONS": null,
                      "TERMS": null,
                      "SCHEDULEDSTARTDATE": "06/01/2024",
                      "REVISEDCOMPLETIONDATE": "06/04/2024",
                      "SUBSTANTIALCOMPLETIONDATE": "06/05/2024",
                      "NOTICETOPROCEED": "06/07/2024",
                      "RESPONSEDUE": "06/08/2024",
                      "EXECUTEDON": "05/31/2024",
                      "SCHEDULEIMPACT": null,
                      "INTERNALREFNO": null,
                      "INTERNALINITIATEDBYKEY": null,
                      "INTERNALINITIATEDBY": null,
                      "INTERNALINITIATEDBYNAME": null,
                      "INTERNALVERBALBYKEY": null,
                      "INTERNALVERBALBY": null,
                      "INTERNALVERBALBYNAME": null,
                      "INTERNALISSUEDBYKEY": null,
                      "INTERNALISSUEDBY": null,
                      "INTERNALISSUEDBYNAME": null,
                      "INTERNALISSUEDON": null,
                      "INTERNALAPPROVEDBYKEY": null,
                      "INTERNALAPPROVEDBY": null,
                      "INTERNALAPPROVEDBYNAME": null,
                      "INTERNALAPPROVEDON": null,
                      "INTERNALSIGNEDBYKEY": null,
                      "INTERNALSIGNEDBY": null,
                      "INTERNALSIGNEDBYNAME": null,
                      "INTERNALSIGNEDON": null,
                      "INTERNALSOURCE": null,
                      "INTERNALSOURCEREFNO": null,
                      "EXTERNALREFNO": null,
                      "EXTERNALVERBALBYKEY": null,
                      "EXTERNALVERBALBY": null,
                      "EXTERNALAPPROVEDBYKEY": null,
                      "EXTERNALAPPROVEDBY": null,
                      "EXTERNALAPPROVEDON": null,
                      "EXTERNALSIGNEDBYKEY": null,
                      "EXTERNALSIGNEDBY": null,
                      "EXTERNALSIGNEDON": null,
                      "MODIFIEDBY": "7",
                      "CREATEDBY": "7",
                      "PREVENTGENINVOICE": null,
                      "POSTED": "false",
                      "POSTTO": "Project contract date",
                      "ORIGINALGLBUDGETKEY": null,
                      "ORIGINALGLBUDGETID": null,
                      "REVISIONGLBUDGETKEY": null,
                      "REVISIONGLBUDGETID": null,
                      "APPROVEDGLBUDGETKEY": null,
                      "APPROVEDGLBUDGETID": null,
                      "PENDINGGLBUDGETKEY": null,
                      "PENDINGGLBUDGETID": null,
                      "FORECASTGLBUDGETKEY": null,
                      "FORECASTGLBUDGETID": null,
                      "OTHERGLBUDGETKEY": null,
                      "OTHERGLBUDGETID": null,
                      "WIPEXCLUDE": "false",
                      "MEGAENTITYKEY": "16",
                      "MEGAENTITYID": "A123",
                      "MEGAENTITYNAME": "AnyCompany Contractors",
                      "RECORD_URL": "https://www.intacct.com/ia/acct/ur.phtml?.r=12345cwZ1ecrsUeJEVTVZ0nEQ9UyLkM_Qv1yZkcuQw"
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "PrimeContract-11": {
        "allOf": [
          {
            "$ref": "#/components/schemas/PrimeContract"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The SQL path on the Source System.",
                    "example": "select * from [CR_CONTRACT_MASTER1_V]"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "COMPANY_CODE": "12345",
                      "CUSTOMER_CODE": "12345",
                      "JOB_NUMBER": "12345",
                      "Description_Line_1": "",
                      "Description_Line_2": "",
                      "Description_Line_3": "",
                      "Architect": "",
                      "Original_Contract_Amount": "150000.00",
                      "CO_AMOUNT": ".00",
                      "Total_Contract_Amount": "300000.00",
                      "Month_To_Date_Billed": ".00",
                      "Year_To_Date_Billed": ".00",
                      "Job_To_Date_Billed": ".00",
                      "Retention_Billed": ".00",
                      "Month_To_Date_Paid": ".00",
                      "Year_To_Date_Paid": ".00",
                      "Job_To_Date_Paid": ".00",
                      "Last_Date_Billed": null,
                      "Last_Date_Paid": null,
                      "Retention_Percent": "10.00",
                      "Retention_Paid": ".00",
                      "Retention_Balance": ".00",
                      "Month_To_Date_Balance": 0,
                      "Year_To_Date_Balance": 0,
                      "Job_To_Date_Balance": ".00",
                      "Month_To_Date_Discount": ".00",
                      "Year_To_Date_Discount": ".00",
                      "Job_To_Date_Discount": ".00",
                      "Retention_Discount": ".00",
                      "Sales_Tax_Code": "NT",
                      "GL_Account": "12345",
                      "Contract_Date": "2022-01-01 00:00:00.000",
                      "Job_To_Date_Taxed": ".00",
                      "Year_To_Date_Taxed": ".00",
                      "Month_To_Date_Taxed": ".00",
                      "Unit_Price_Flag": "Y",
                      "Taxable_Flag": "",
                      "Last_Change_Order": "",
                      "GL_Retention_Revenue": "",
                      "Salesperson": "JP",
                      "Last_Reimbursable_CR_No": "",
                      "Last_Non_Reimbursable_CR_No": "",
                      "Approved_CO_Amount": ".00",
                      "Proposed_CO_Amount": ".00",
                      "Alternate_Address": "",
                      "Billto_Code": "",
                      "Cost_Center": "2030",
                      "Dist_By_GL": "",
                      "Name": "AnyCompany 10.",
                      "Alpha_Sort": "AnyCompa",
                      "Address_1": "123 Main Street",
                      "Address_2": "Unit 1",
                      "City": "AnyTown",
                      "State": "CA",
                      "Zip_Code": "19703",
                      "Phone": "1235550100",
                      "Type": "",
                      "Contact_1": "",
                      "Contact_2": "",
                      "Contact_3": "",
                      "Terms_Code": "2",
                      "Cust_Sales_Tax_Code": "NT",
                      "Resale_Number": "",
                      "Resale_Exp_Date": null,
                      "Cust_Salesperson": "",
                      "Billed_MTD": ".00",
                      "Billed_YTD": ".00",
                      "Billed_Last_Year": ".00",
                      "Cust_Retention_Billed": 0,
                      "Cust_Retention_Balance": ".00",
                      "Paid_MTD": ".00",
                      "Paid_YTD": ".00",
                      "Paid_Last_Year": ".00",
                      "Cust_Retention_Paid": 0,
                      "Balance_MTD": 0,
                      "Balance_YTD": 0,
                      "Balance_Last_Year": 0,
                      "Discount_MTD": ".00",
                      "Discount_YTD": ".00",
                      "Discount_Last_Year": ".00",
                      "Cust_Retention_Discount": 0,
                      "Statement_Flag": "Y",
                      "Finance_Charge": ".00",
                      "Date_Last_Billed": null,
                      "Date_Last_Paid": null,
                      "Date_Created": "2022-01-01 00:00:00.000",
                      "Balance": ".00",
                      "Fax_Phone": "",
                      "Credit_Limit": ".00",
                      "Price_Level_Labor": ".00",
                      "Price_Level_Material": ".00",
                      "Cust_Taxable_Flag": "",
                      "Standard_Retention_Percent": "10.00",
                      "Finance_Charge_Tran_Code": "",
                      "Current_Order_Balance": ".00",
                      "WO_Warning_Message": "",
                      "Status": "A"
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "PrimeContract-12": {
        "allOf": [
          {
            "$ref": "#/components/schemas/PrimeContract"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The SQL path on the Source System.",
                    "example": "select * from [bJCCM] where [bJCCM].[JCCo] = 12345"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "JCCo": "12345",
                      "Contract": " 12345",
                      "Description": "West Coast Arena Contract",
                      "Department": "12345",
                      "ContractStatus": "12345",
                      "OriginalDays": "365",
                      "CurrentDays": "365",
                      "StartMonth": "2022-01-01 00:00:00",
                      "MonthClosed": "2022-01-01 00:00:00",
                      "ProjCloseDate": "2022-01-01 00:00:00",
                      "ActualCloseDate": "2022-01-01 00:00:00",
                      "CustGroup": "12345",
                      "Customer": "12345",
                      "PayTerms": "12345",
                      "TaxInterface": "N",
                      "TaxGroup": "12345",
                      "TaxCode": null,
                      "RetainagePCT": ".0000",
                      "DefaultBillType": "P",
                      "OrigContractAmt": "150000.00",
                      "ContractAmt": "150000.00",
                      "BilledAmt": "1500.00",
                      "ReceivedAmt": "150000.00",
                      "CurrentRetainAmt": ".00",
                      "InBatchMth": null,
                      "InUseBatchId": null,
                      "Notes": null,
                      "SIRegion": null,
                      "SIMetric": null,
                      "ProcessGroup": null,
                      "BillAddress": null,
                      "BillAddress2": null,
                      "BillCity": null,
                      "BillState": null,
                      "BillZip": null,
                      "BillNotes": null,
                      "BillOnCompletionYN": "N",
                      "CustomerReference": null,
                      "CompleteYN": "N",
                      "RoundOpt": "N",
                      "ReportRetgItemYN": "N",
                      "ProgressFormat": null,
                      "TMFormat": null,
                      "BillGroup": null,
                      "BillDayOfMth": null,
                      "ArchitectName": null,
                      "ArchitectProject": null,
                      "ContractForDesc": null,
                      "StartDate": null,
                      "JBTemplate": null,
                      "JBFlatBillingAmt": ".00",
                      "JBLimitOpt": "N",
                      "UniqueAttchID": null,
                      "RecType": null,
                      "OverProjNotes": null,
                      "ClosePurgeFlag": "N",
                      "MiscDistCode": null,
                      "SecurityGroup": null,
                      "UpdateJCCI": "N",
                      "KeyID": "7",
                      "BillCountry": null,
                      "PotentialProject": null,
                      "MaxRetgOpt": "N",
                      "MaxRetgPct": ".0000",
                      "MaxRetgAmt": ".00",
                      "InclACOinMaxYN": "Y",
                      "MaxRetgDistStyle": "C",
                      "MarginPct": ".1000",
                      "AUUseTrustAccounts": "N",
                      "AUQualificationDate": null,
                      "AUCMCo": null,
                      "AUCMGeneralAcct": null,
                      "AUCMRetentionAcct": null,
                      "AUCMDisputedAcct": null,
                      "JBReviewerGroup": null,
                      "ReviewLevel": null
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "NewPrimeContractLineItem": {
        "required": [
          "cost_code_id",
          "cost_type_id",
          "sub_job_id"
        ],
        "type": "object",
        "properties": {
          "amount": {
            "type": "string",
            "description": "The total monetary amount of the Line Item.",
            "example": "100.00"
          },
          "cost_code_id": {
            "allOf": [
              {
                "description": "The UUID of the [Cost Code](#tag--cost-codes) for the Prime Contract Line Item, assigned by Agave."
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          },
          "cost_type_id": {
            "allOf": [
              {
                "description": "The UUID of the [Cost Type](#tag--cost-types) for the Prime Contract Line Item, assigned by Agave."
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          },
          "description": {
            "type": "string",
            "description": "A description of the Line Item.",
            "example": "Two tons of cement."
          },
          "quantity": {
            "type": "string",
            "description": "The estimated quantity of the unit in the Line Item.",
            "example": "2.0"
          },
          "unit_cost": {
            "type": "string",
            "description": "The price of each unit associated with the Line Item.",
            "example": "50"
          },
          "unit_of_measure": {
            "type": "string",
            "description": "The unit used for measuring the estimated quantity of the Line Item.",
            "example": "Tons"
          },
          "retention_percent": {
            "type": "string",
            "description": "The percentage of the Line Item's amount that is retained.",
            "example": "10.0"
          },
          "sub_job_id": {
            "allOf": [
              {
                "description": "The UUID of the [Sub-Job](#tag--sub-jobs) for the Prime Contract Line Item, assigned by Agave."
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          }
        }
      },
      "NewPrimeContract": {
        "required": [
          "line_items",
          "number"
        ],
        "type": "object",
        "properties": {
          "line_items": {
            "description": "The line items for the Prime Contract. \n\n**Note for Acumatica**: The Project is the Prime Contract header in Acumatica, so only the line items (Revenue Budget) are writeable through this endpoint.\n",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/NewPrimeContractLineItem"
            }
          }
        }
      },
      "NewPrimeContractLineItem-2": {
        "required": [
          "description",
          "wbs_id"
        ],
        "type": "object",
        "properties": {
          "amount": {
            "type": "string",
            "description": "The total monetary amount of the Line Item, including tax.",
            "example": "100.00"
          },
          "description": {
            "type": "string",
            "description": "A description of the Line Item.",
            "example": "Two tons of cement."
          },
          "quantity": {
            "type": "string",
            "description": "The estimated quantity of the unit in the Line Item.",
            "example": "2.0"
          },
          "unit_cost": {
            "type": "string",
            "description": "The price of each unit associated with the Line Item.",
            "example": "50"
          },
          "unit_of_measure": {
            "type": "string",
            "description": "The unit used for measuring the estimated quantity of the Line Item.",
            "example": "Tons"
          },
          "wbs_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [WBS](#tag--wbs) for the Line Item."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          }
        }
      },
      "NewPrimeContract-2": {
        "required": [
          "name",
          "number"
        ],
        "type": "object",
        "properties": {
          "actual_completion_date": {
            "allOf": [
              {
                "description": "The date the services governed by the Prime Contract were completed."
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ]
          },
          "description": {
            "type": "string",
            "description": "A description of the Prime Contract.",
            "example": "This is a Prime Contract with AnyCustomer for a multi-year Project to build a new Arena on the West Coast."
          },
          "estimated_completion_date": {
            "allOf": [
              {
                "description": "The estimated completion date of the services governed by the Prime Contract."
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ]
          },
          "execution_date": {
            "allOf": [
              {
                "description": "The date the Prime Contract was fully-signed."
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ]
          },
          "line_items": {
            "description": "The line items for the Prime Contract.",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/NewPrimeContractLineItem-2"
            }
          },
          "name": {
            "type": "string",
            "description": "The name of the Prime Contract.",
            "example": "West Coast Arena Contract"
          },
          "number": {
            "type": "string",
            "description": "The contract number of the Prime Contract.",
            "example": "A123"
          },
          "retention_percent": {
            "type": "string",
            "description": "This is the percent of an amount withheld from Prime Contract payments until a later date.",
            "example": "5.0"
          },
          "start_date": {
            "allOf": [
              {
                "description": "The start date of the Prime Contract."
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ]
          },
          "status": {
            "type": "string",
            "description": "The status of the Prime Contract. \n",
            "example": "Open",
            "enum": [
              "Closed",
              "Executed",
              "Review",
              "Signed"
            ]
          },
          "type": {
            "type": "string",
            "description": "The type of Prime Contract.\n\n**Note for Autodesk Build:** these values can be customized and retrieved with a [passthrough request](https://docs.agaveapi.com/agave-api/passthrough-requests) to Autodesk's [Cost Properties endpoint](https://aps.autodesk.com/en/docs/acc/v1/reference/http/cost-properties-GET/).\n",
            "example": "Fixed Price"
          }
        }
      },
      "NewPrimeContractLineItem-3": {
        "required": [
          "description"
        ],
        "type": "object",
        "properties": {
          "amount": {
            "type": "string",
            "description": "The total monetary amount of the Line Item.",
            "example": "100.00"
          },
          "description": {
            "type": "string",
            "description": "A description of the Line Item.",
            "example": "Two tons of cement."
          },
          "quantity": {
            "type": "string",
            "description": "The estimated quantity of the unit in the Line Item.",
            "example": "2.0"
          },
          "unit_cost": {
            "type": "string",
            "description": "The price of each unit associated with the Line Item.",
            "example": "50"
          },
          "unit_of_measure": {
            "type": "string",
            "description": "The unit used for measuring the estimated quantity of the Line Item.",
            "example": "Tons"
          },
          "wbs_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [WBS](#tag--wbs) for the Line Item."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          }
        }
      },
      "NewPrimeContract-3": {
        "required": [
          "name",
          "number"
        ],
        "type": "object",
        "properties": {
          "actual_completion_date": {
            "allOf": [
              {
                "description": "The date the services governed by the Prime Contract were completed."
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ]
          },
          "description": {
            "type": "string",
            "description": "A description of the Prime Contract.",
            "example": "This is a Prime Contract with AnyCustomer for a multi-year Project to build a new Arena on the West Coast."
          },
          "estimated_completion_date": {
            "allOf": [
              {
                "description": "The estimated completion date of the services governed by the Prime Contract."
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ]
          },
          "execution_date": {
            "allOf": [
              {
                "description": "The date the Prime Contract was fully-signed."
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ]
          },
          "line_items": {
            "description": "The line items for the Prime Contract.",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/NewPrimeContractLineItem-3"
            }
          },
          "name": {
            "type": "string",
            "description": "The name of the Prime Contract.",
            "example": "West Coast Arena Contract"
          },
          "number": {
            "type": "string",
            "description": "The contract number of the Prime Contract.",
            "example": "A123"
          },
          "retention_percent": {
            "type": "string",
            "description": "This is the percent of an amount withheld from Prime Contract payments until a later date.",
            "example": "5.0"
          },
          "start_date": {
            "allOf": [
              {
                "description": "The start date of the Prime Contract."
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ]
          },
          "status": {
            "type": "string",
            "description": "The status of the Prime Contract. \n",
            "example": "Approved",
            "enum": [
              "Approved",
              "Complete",
              "Draft",
              "Out For Bid",
              "Out For Signature",
              "Terminated"
            ]
          },
          "type": {
            "type": "string",
            "description": "The type of Prime Contract.\n",
            "example": "Amount",
            "enum": [
              "Amount",
              "Unit Price"
            ]
          }
        }
      },
      "NewPrimeContractLineItem-4": {
        "type": "object",
        "properties": {
          "amount": {
            "type": "string",
            "description": "The total monetary amount of the Line Item.",
            "example": "100.00"
          },
          "cost_code_id": {
            "allOf": [
              {
                "description": "The UUID or source_id of the [Cost Code](#tag--cost-codes) for this Line Item.\n\nFormat: Use \"source_id:{cost_code_id}\" when referencing by source ID.\n"
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          },
          "cost_type_id": {
            "allOf": [
              {
                "description": "The UUID or source_id of the [Cost Type](#tag--cost-types) for this Line Item.\n\nFormat: Use \"source_id:{cost_type_id}\" when referencing by source ID.\n"
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          },
          "description": {
            "type": "string",
            "description": "A description of the Line Item.",
            "example": "Two tons of cement."
          },
          "sub_job_id": {
            "allOf": [
              {
                "description": "The UUID or source_id of the [Sub Job](#tag--sub-jobs) for this Line Item.\n\nFormat: Use \"source_id:{sub_job_id}\" when referencing by source ID.\n"
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          }
        }
      },
      "NewPrimeContract-4": {
        "type": "object",
        "properties": {
          "type": {
            "type": "string",
            "description": "The Prime Contract type.\n\n**Note for Sage 100C**: possible values include \"Cost Code Proposal\".\n",
            "example": "Cost Code Proposal"
          },
          "description": {
            "type": "string",
            "description": "A description of the Prime Contract.",
            "example": "This is a Prime Contract with AnyCustomer for a multi-year Project to build a new Arena on the West Coast."
          },
          "line_items": {
            "description": "The line items for the Prime Contract. To learn more about creating and updating Line Items, see [Line Items](/agave-api/line-items).",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/NewPrimeContractLineItem-4"
            }
          }
        },
        "required": [
          "type",
          "description",
          "line_items"
        ]
      },
      "NewPrimeContract-5": {
        "allOf": [
          {
            "$ref": "#/components/schemas/NewPrimeContract-4"
          },
          {
            "type": "object",
            "properties": {
              "name": {
                "type": "string",
                "description": "The name of the Prime Contract.",
                "example": "Aidan Sage Job"
              },
              "project_id": {
                "type": "string",
                "description": "The UUID or source_id of the [Project](#tag--projects) for this Prime Contract.\n\nFormat: Use \"source_id:{project_id}\" when referencing by source ID.\n",
                "example": "9138ed0f-a707-53cc-a1d1-619d7635d8ff"
              },
              "status": {
                "type": "string",
                "description": "The status of the Prime Contract. For Sage 100 Contractor, this is generally set to \"Current\" for new proposals.",
                "example": "Current"
              },
              "retention_percent": {
                "type": "string",
                "description": "The retention percentage to apply to the Prime Contract.",
                "example": "0.00"
              },
              "source_data": {
                "type": "object",
                "description": "Additional data to send to the source system.",
                "properties": {
                  "short_name": {
                    "type": "string",
                    "description": "A short name or abbreviation for the Prime Contract.",
                    "example": "ASJ"
                  }
                }
              }
            },
            "required": [
              "type",
              "description"
            ]
          }
        ]
      },
      "PrimeContractLineItem-2": {
        "allOf": [
          {
            "$ref": "#/components/schemas/PrimeContractLineItem"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "https://{{hostname}}/AcumaticaU100/entity/Default/20.200.001/ProjectBudget"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "id": "54d20ca1-738e-ee11-8427-0e03bb6fbb09",
                      "rowNumber": 1,
                      "note": {
                        "value": ""
                      },
                      "AccountGroup": {
                        "value": "REVENUE"
                      },
                      "ActualAmount": {
                        "value": 0
                      },
                      "ActualPlusOpenCommittedAmount": {
                        "value": 0
                      },
                      "ActualQty": {
                        "value": 0
                      },
                      "AutoCompleted": {
                        "value": false
                      },
                      "BudgetedCOAmount": {
                        "value": 0
                      },
                      "BudgetedCOQty": {
                        "value": 0
                      },
                      "CommittedCOAmount": {
                        "value": 0
                      },
                      "CommittedCOQty": {
                        "value": 0
                      },
                      "CommittedInvoicedAmount": {
                        "value": 0
                      },
                      "CommittedInvoicedQty": {
                        "value": 0
                      },
                      "CommittedOpenAmount": {
                        "value": 0
                      },
                      "CommittedOpenQty": {
                        "value": 0
                      },
                      "CommittedReceivedQty": {
                        "value": 0
                      },
                      "Completed": {
                        "value": 0
                      },
                      "CostAtCompletion": {
                        "value": 0
                      },
                      "CostCode": {
                        "value": "00000"
                      },
                      "CostToComplete": {
                        "value": 0
                      },
                      "Description": {
                        "value": "Two tons of cement."
                      },
                      "DraftInvoicesAmount": {
                        "value": 0
                      },
                      "InventoryID": {
                        "value": "<N/A>"
                      },
                      "LastCostAtCompletion": {
                        "value": 0
                      },
                      "LastCostToComplete": {
                        "value": 0
                      },
                      "LastModifiedDateTime": {
                        "value": "2023-11-29T04:59:04.49+00:00"
                      },
                      "LastPercentageOfCompletion": {
                        "value": 0
                      },
                      "OriginalBudgetedAmount": {
                        "value": 100
                      },
                      "OriginalBudgetedQty": {
                        "value": 2
                      },
                      "OriginalCommittedAmount": {
                        "value": 0
                      },
                      "OriginalCommittedQty": {
                        "value": 0
                      },
                      "PendingInvoiceAmount": {
                        "value": 0
                      },
                      "PercentageOfCompletion": {
                        "value": 0
                      },
                      "Performance": {
                        "value": 0
                      },
                      "ProjectID": {
                        "value": "WCOAST"
                      },
                      "ProjectTaskID": {
                        "value": "CONCRETE"
                      },
                      "Retainage": {
                        "value": 0
                      },
                      "RevenueTask": [],
                      "RevisedBudgetedAmount": {
                        "value": 100
                      },
                      "RevisedBudgetedQty": {
                        "value": 2
                      },
                      "RevisedCommittedAmount": {
                        "value": 0
                      },
                      "RevisedCommittedQty": {
                        "value": 0
                      },
                      "TaxCategory": [],
                      "Type": {
                        "value": "Income"
                      },
                      "UnitRate": {
                        "value": 50
                      },
                      "UOM": {
                        "value": "Tons"
                      },
                      "VarianceAmount": {
                        "value": 100
                      },
                      "custom": [],
                      "_links": {
                        "self": "/AcumaticaU100/entity/Default/20.200.001/ProjectBudget/54d20ca1-738e-ee11-8427-0e03bb6fbb09",
                        "files:put": "/AcumaticaU100/entity/Default/20.200.001/files/PX.Objects.PM.ProjectBalanceMaint/Items/54d20ca1-738e-ee11-8427-0e03bb6fbb09/{filename}"
                      }
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "PrimeContractLineItem-3": {
        "allOf": [
          {
            "$ref": "#/components/schemas/PrimeContractLineItem"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "https://developer.api.autodesk.com/cost/v1/containers/{Container_Id}/MainContracts"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {}
                  }
                }
              }
            }
          }
        ]
      },
      "PrimeContractLineItem-4": {
        "allOf": [
          {
            "$ref": "#/components/schemas/PrimeContractLineItem"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "https://developer.api.autodesk.com/cost/v1/containers/{Container_Id}/contracts"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {}
                  }
                }
              }
            }
          }
        ]
      },
      "PrimeContractLineItem-5": {
        "allOf": [
          {
            "$ref": "#/components/schemas/PrimeContract"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The database query for the Source System.",
                    "example": "select * from [jccat]"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "jobnum": "94128",
                      "schedule": "94128",
                      "num": "2",
                      "des": "Floor 2",
                      "billphase": "2",
                      "billcat": "",
                      "salesacct": "",
                      "unitofmeasure": "",
                      "itemid": "109",
                      "parentid": "0",
                      "sequence": 1,
                      "firstappnum": 1,
                      "grouptype": 0,
                      "taxable": 0,
                      "retgroup": 0,
                      "autoupdate": 1,
                      "origvalue": 100000,
                      "origunits": 0,
                      "unitprice": 0,
                      "hideallzeros": 0,
                      "paidvalue": 0,
                      "paidunits": 0,
                      "hidegrouptotals": 0
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "PrimeContractLineItem-6": {
        "allOf": [
          {
            "$ref": "#/components/schemas/PrimeContractLineItem"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The database query for the Source System.",
                    "example": "select * from [aia_item]"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "company_no": 12345,
                      "job_no": "12345",
                      "section_no": "         1",
                      "aia_item_no": "         1",
                      "aia_item_subset_no": 1,
                      "item_type": "O",
                      "change_order_date": null,
                      "description": "Original Line 1",
                      "schedule_value": "10000.00",
                      "previous_application": "2800.00",
                      "work_in_place": ".00",
                      "stored_material": ".00",
                      "retainage": "250.00",
                      "percent_complete": "28.00000",
                      "work_in_place_percent": "28.00000",
                      "record_status": "A",
                      "row_modified_by": "98053",
                      "row_modified_on": "2024-02-25 18:06:52.743",
                      "row_unique_id": 16,
                      "post_date": "2024-02-24 00:00:00.000",
                      "gl_income": "3010",
                      "phase_no": "      1000",
                      "cost_code_no": "      1000",
                      "retainage_percent": "8.92857",
                      "stored_material_retainage_percent": ".00000",
                      "completed_retainage": "250.00",
                      "stored_retainage": ".00",
                      "div_level_1": null,
                      "div_level_2": null,
                      "div_level_3": null,
                      "div_level_4": null,
                      "full_account_no": "3010",
                      "aia_item_id": "1",
                      "aia_item_subset_id": "1",
                      "company_id": "1",
                      "cost_code_id": "1000",
                      "full_account_id": "3010",
                      "job_id": "A123",
                      "phase_id": "1000",
                      "section_id": "1",
                      "ordinal_position": 2,
                      "nesting_level": 0,
                      "row_type": "I",
                      "row_heading": null,
                      "take_retainage": "Y",
                      "change_order_no": null,
                      "change_order_seq": 0,
                      "auto_created_by_jc_co": "N",
                      "change_order_id": null
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "PrimeContractLineItem-7": {
        "allOf": [
          {
            "$ref": "#/components/schemas/PrimeContractLineItem"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "https://api.procore.com/rest/v1.0/prime_contract"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {}
                  }
                }
              }
            }
          }
        ]
      },
      "PrimeContractLineItem-8": {
        "allOf": [
          {
            "$ref": "#/components/schemas/PrimeContractLineItem"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The SQL path on the Source System.",
                    "example": "select top 1000 * from [prplin] where [prplin].[recnum] in (186) order by [prplin].[recnum] asc"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "_idnum": "2566853B-899F-E511-B83D-005056C00008",
                      "_idref": "1D66853B-899F-E511-B83D-005056C00008",
                      "recnum": "12345",
                      "phsnum": "0",
                      "linnum": 1,
                      "itmnum": "0",
                      "cstcde": "1000.000",
                      "dscrpt": "Two tons of cement",
                      "matprp": "100.00",
                      "labprp": ".00",
                      "eqpprp": ".00",
                      "subprp": ".00",
                      "othprp": ".00",
                      "usrcs6": ".00",
                      "usrcs7": ".00",
                      "usrcs8": ".00",
                      "usrcs9": ".00",
                      "ttlprp": "100.00",
                      "usrdf1": "",
                      "ntetxt": "",
                      "matorg": ".00",
                      "laborg": "100.00",
                      "eqporg": ".00",
                      "suborg": ".00",
                      "othorg": ".00",
                      "cs6org": ".00",
                      "cs7org": ".00",
                      "cs8org": ".00",
                      "cs9org": ".00",
                      "ttlorg": "100.00",
                      "insdte": "2022-01-01T00:00:00.000Z",
                      "insusr": "Bob",
                      "upddte": null,
                      "updusr": null,
                      "CostType": "2",
                      "CostTypeAmount": "100.00",
                      "CostTypeOriginalAmount": "100.00"
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "PrimeContractLineItem-9": {
        "allOf": [
          {
            "$ref": "#/components/schemas/PrimeContractLineItem"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The SQL path on the Source System.",
                    "example": "select * from [ACTIVE_CNC_RECORD_10]"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "IIC": "0300100",
                      "IICI": "1",
                      "IIDESC": "General Conditions",
                      "IIJOB": "03-001",
                      "IIEXTRA": "",
                      "IICS": "GA",
                      "IISWD": null,
                      "IISCD": null,
                      "IISTAT": "Approved",
                      "IIBLTYP": "Progress Billing",
                      "IIINVF": "Subcontract request",
                      "IISENDB": "0",
                      "IIBCOM": "0",
                      "IITSALC": "To Be Decided",
                      "IIRPCT": 10,
                      "IIMUPT": "",
                      "IIRT1": "",
                      "IIRT2": "",
                      "IIRT3": "",
                      "IIRT4": "",
                      "IIRT5": "",
                      "IIRT6": "",
                      "IIBLOH": "0",
                      "IIMISC1": "",
                      "IIMISC2": "",
                      "IIXFC": "0",
                      "IIFTYPE": "None",
                      "IIFPCNT": 0,
                      "IIFFLAT": 0,
                      "IIOCN1": 0,
                      "IIOCN2": 0,
                      "IIOCN3": 0,
                      "IIOCN4": 0,
                      "IIOCN5": 0,
                      "IIOCN6": 0,
                      "IIOCNT": 152400,
                      "IICNUNT": 0,
                      "IIUNTM": "",
                      "IIUNTPC": 0,
                      "IISTRMT": 0,
                      "IIPCTBL": 0,
                      "IIUNITC": 0,
                      "IISCOPE": "",
                      "IIPREFX": "",
                      "IIARACT": "1201",
                      "IIRRACT": "1204",
                      "IIREVAD": "4001",
                      "IIREVA1": "",
                      "IIREVA2": "",
                      "IIREVA3": "",
                      "IIREVA4": "",
                      "IIREVA5": "",
                      "IIREVA6": "",
                      "IITAXE": "Non-Taxable",
                      "IITAXE1": "Non-Taxable",
                      "IITAXE2": "Non-Taxable",
                      "IITAXE3": "Non-Taxable",
                      "IITAXE4": "Non-Taxable",
                      "IITAXE5": "Non-Taxable",
                      "IITAXE6": "Non-Taxable",
                      "IITAXG": "EXMPT",
                      "IITAXG1": "",
                      "IITAXG2": "",
                      "IITAXG3": "",
                      "IITAXG4": "",
                      "IITAXG5": "",
                      "IITAXG6": "",
                      "IIAPRDT": null,
                      "IISTMPO": "sagesandbox",
                      "IISTMPD": "2024-05-18",
                      "IISTMPT": "15:18:05",
                      "IIRWID": "891d9257-ee3f-e711-8bef-0019b9211094",
                      "IIRWVR": "1716070685",
                      "R10NTS": null,
                      "R10FLS": null
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "PrimeContractLineItem-10": {
        "allOf": [
          {
            "$ref": "#/components/schemas/PrimeContractLineItem"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "https://api.intacct.com/ia/xml/xmlgw.phtml"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "RECORDNO": "12345",
                      "TOTALREVISEDPRICE": "12200.23",
                      "TASKID": "R3-03-340",
                      "COSTTYPEID": "SUB",
                      "NAME": "Line Item 2",
                      "PROJECTCONTRACTLINEID": "2",
                      "RETAINAGEHELD": null,
                      "RETAINAGEPERCENTAGE": "5",
                      "WHENCREATED": "06/16/2024 00:27:34",
                      "WHENMODIFIED": "06/16/2024 00:53:14",
                      "BILLINGTYPE": "Progress",
                      "PROJECTCONTRACTKEY": "2",
                      "PROJECTCONTRACTID": "A100",
                      "PROJECTCONTRACTNAME": "West Coast Arena Contract",
                      "PARENTKEY": null,
                      "PARENTID": null,
                      "PARENTNAME": null,
                      "DESCRIPTION": "Sample Line Item",
                      "CONTRACTLINEDATE": "06/15/2024",
                      "ACCOUNTKEY": "6",
                      "ACCOUNTNO": "1100",
                      "ACCOUNTTITLE": "Accounts Receivable - trade",
                      "BILLABLE": "true",
                      "MAXIMUMBILLING": "Total revised price",
                      "MAXIMUMBILLINGAMOUNT": "0",
                      "SUMMARIZEBILL": "false",
                      "ORIGINALPRICE": "12000.23",
                      "REVISIONPRICE": "200",
                      "FORECASTPRICE": "2500",
                      "APPROVEDCHANGEPRICE": "0",
                      "PENDINGCHANGEPRICE": "0",
                      "OTHERPRICE": "0",
                      "PROJECTLOCATIONID": "GIQ",
                      "DEPARTMENTID": null,
                      "DEPARTMENTNAME": null,
                      "SCOPE": null,
                      "INCLUSIONS": null,
                      "EXCLUSIONS": null,
                      "TERMS": null,
                      "SCHEDULEDSTARTDATE": null,
                      "ACTUALSTARTDATE": null,
                      "SCHEDULEDCOMPLETIONDATE": null,
                      "REVISEDCOMPLETIONDATE": null,
                      "SUBSTANTIALCOMPLETIONDATE": null,
                      "ACTUALCOMPLETIONDATE": null,
                      "NOTICETOPROCEED": null,
                      "RESPONSEDUE": null,
                      "EXECUTEDON": null,
                      "SCHEDULEIMPACT": null,
                      "INTERNALREFNO": null,
                      "INTERNALINITIATEDBYKEY": null,
                      "INTERNALINITIATEDBY": null,
                      "INTERNALINITIATEDBYNAME": null,
                      "INTERNALVERBALBYKEY": null,
                      "INTERNALVERBALBY": null,
                      "INTERNALVERBALBYNAME": null,
                      "INTERNALISSUEDBYKEY": null,
                      "INTERNALISSUEDBY": null,
                      "INTERNALISSUEDBYNAME": null,
                      "INTERNALISSUEDON": null,
                      "INTERNALAPPROVEDBYKEY": null,
                      "INTERNALAPPROVEDBY": null,
                      "INTERNALAPPROVEDBYNAME": null,
                      "INTERNALAPPROVEDON": null,
                      "INTERNALSIGNEDBYKEY": null,
                      "INTERNALSIGNEDBY": null,
                      "INTERNALSIGNEDBYNAME": null,
                      "INTERNALSIGNEDON": null,
                      "INTERNALSOURCE": null,
                      "INTERNALSOURCEREFNO": null,
                      "EXTERNALREFNO": null,
                      "EXTERNALVERBALBYKEY": null,
                      "EXTERNALVERBALBY": null,
                      "EXTERNALAPPROVEDBYKEY": null,
                      "EXTERNALAPPROVEDBY": null,
                      "EXTERNALAPPROVEDON": null,
                      "EXTERNALSIGNEDBYKEY": null,
                      "EXTERNALSIGNEDBY": null,
                      "EXTERNALSIGNEDON": null,
                      "SUPDOCID": null,
                      "STATUS": "active",
                      "CREATEDBY": "7",
                      "MODIFIEDBY": "7",
                      "BILLEDPRICE": null,
                      "BILLEDNETRETAINAGE": "0",
                      "PERCENTAGEBILLED": "0",
                      "PERCENTAGEBILLEDNETRETAINAGE": "0",
                      "RETAINAGERELEASED": null,
                      "RETAINAGEBALANCE": "0",
                      "PAYMENTSRECEIVED": null,
                      "BALANCETOBILL": "12200.23",
                      "APPLIEDTODATE": null,
                      "RETAINAGEAMOUNTFROMWORK": null,
                      "RETAINAGEAMOUNTFROMSTORED": null,
                      "LASTAMOUNTAPPLIED": null,
                      "PERCENTCOMPLETED": null,
                      "STOREDMATERIALS": null,
                      "DEFAULTRATETABLEKEY": null,
                      "DEFAULTRATETABLEID": null,
                      "TSRATETABLEKEY": null,
                      "TSRATETABLEID": null,
                      "PORATETABLEKEY": null,
                      "PORATETABLEID": null,
                      "APRATETABLEKEY": null,
                      "APRATETABLEID": null,
                      "GLRATETABLEKEY": null,
                      "GLRATETABLEID": null,
                      "CCRATETABLEKEY": null,
                      "CCRATETABLEID": null,
                      "EERATETABLEKEY": null,
                      "EERATETABLEID": null,
                      "GLEXCLUDE": "false",
                      "MEGAENTITYKEY": "16",
                      "MEGAENTITYID": "A123",
                      "MEGAENTITYNAME": "AnyCompany Contractors",
                      "PROJECTDIMKEY": "47",
                      "PROJECTID": "A123",
                      "PROJECTNAME": "West Coast Arena",
                      "CUSTOMERDIMKEY": null,
                      "CUSTOMERID": null,
                      "CUSTOMERNAME": null,
                      "VENDORDIMKEY": null,
                      "VENDORID": null,
                      "VENDORNAME": null,
                      "EMPLOYEEDIMKEY": null,
                      "EMPLOYEEID": null,
                      "EMPLOYEENAME": null,
                      "ITEMDIMKEY": "40",
                      "ITEMID": "CN002",
                      "ITEMNAME": "Sitework",
                      "TASKDIMKEY": "1178",
                      "TASKNAME": "CONCRETE",
                      "COSTTYPEDIMKEY": "1959",
                      "COSTTYPENAME": "Subcontract",
                      "RECORD_URL": "https://www.intacct.com/ia/acct/ur.phtml?.r=HQCYmEK9XWTuzr_Hbgs5aHm077MFhIkmFIFRrVOrMx0"
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "PrimeContractLineItem-11": {
        "allOf": [
          {
            "$ref": "#/components/schemas/PrimeContractLineItem"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The SQL path on the Source System.",
                    "example": "select * from [CR_DRAW_UNIT_PRICE_BILL_MC]"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "Company_Code": "12345",
                      "Customer_Code": "12345",
                      "Job_Number": "    12345",
                      "Bill_Group_Code": "00",
                      "Bill_Item_Code": "1",
                      "Billing_Item_Description": "Two tons of cement.",
                      "Taxable_Flag": "N",
                      "Unit_Of_Measure": "CY",
                      "Unit_Price": "50.0000000000",
                      "Contract_Quantity": "2.0000000000",
                      "Contract_Amount": "100.00",
                      "Projected_Quantity": "2.0000000000",
                      "Projected_Amount": "100.00",
                      "Job_To_Date_Quantity": "1.0000000000",
                      "Job_To_Date_Billed": "50.00",
                      "Last_CO_Number": "",
                      "Memo": "",
                      "Unit_Price_Display_Mask": "Z,ZZZ,ZZZ.ZZZ-",
                      "Quantity_Display_Mask": "Z,ZZZ,ZZZ.ZZZ-",
                      "Description_2": "",
                      "GL_Sales_Account": "",
                      "Last_CR_Number": "",
                      "Cost_Center": "",
                      "Online_Tax_Code": ""
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "PrimeContractLineItem-12": {
        "allOf": [
          {
            "$ref": "#/components/schemas/PrimeContractLineItem"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The SQL path on the Source System.",
                    "example": "select * from [bJCCI] where [bJCCI].[JCCo] = 12345 and [Contract] =  12345"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "JCCo": "12345",
                      "Contract": " 12345",
                      "Item": "12345",
                      "Description": "Two tons of cement.",
                      "Department": "12345",
                      "TaxGroup": "12345",
                      "TaxCode": null,
                      "UM": "t",
                      "SIRegion": null,
                      "SICode": null,
                      "RetainPCT": ".00",
                      "OrigContractAmt": "100.00",
                      "OrigContractUnits": "2.000",
                      "OrigUnitPrice": "50.00000",
                      "ContractAmt": "100.00",
                      "ContractUnits": "2.000",
                      "UnitPrice": "50.00000",
                      "BilledAmt": "100.00",
                      "BilledUnits": "2.000",
                      "ReceivedAmt": ".00",
                      "CurrentRetainAmt": "0.00",
                      "BillType": "P",
                      "BillGroup": null,
                      "BillDescription": "Concrete Work",
                      "BillOriginalUnits": "2.00",
                      "BillOriginalAmt": "100.00",
                      "BillCurrentUnits": "2.00",
                      "BillCurrentAmt": "100.00",
                      "BillUnitPrice": "50.00",
                      "Notes": null,
                      "InitSubs": "Y",
                      "UniqueAttchID": null,
                      "StartMonth": "2022-01-01 00:00:00",
                      "MarkUpRate": ".000000",
                      "ProjNotes": null,
                      "ProjPlug": "N",
                      "KeyID": "12345",
                      "InitAsZero": "N"
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "NewPrimeContractLineItem-5": {
        "allOf": [
          {
            "$ref": "#/components/schemas/NewPrimeContractLineItem-4"
          },
          {
            "type": "object",
            "properties": {
              "number": {
                "type": "string",
                "description": "The line number for this line item.",
                "example": "1"
              },
              "source_data": {
                "type": "object",
                "description": "Additional data to send to the source system.",
                "properties": {
                  "material_amount": {
                    "type": "string",
                    "description": "The material amount for this line item. This applies when the cost_type_id is for Material (typically \"source_id:1\").\nThe system will automatically allocate the amount to the appropriate cost type field based on the cost_type_id.\n",
                    "example": "75.00"
                  },
                  "labor_amount": {
                    "type": "string",
                    "description": "The labor amount for this line item. This applies when the cost_type_id is for Labor (typically \"source_id:2\").\nThe system will automatically allocate the amount to the appropriate cost type field based on the cost_type_id.\n",
                    "example": "95.00"
                  },
                  "phase_number": {
                    "type": "string",
                    "description": "The phase number for this line item. This is used to identify sub-jobs.\nUse \"0\" for the main job and \"1\", \"2\", etc. for sub-jobs.\n",
                    "example": "1"
                  }
                }
              }
            },
            "required": [
              "amount",
              "cost_code_id",
              "cost_type_id"
            ]
          }
        ]
      },
      "PurchaseOrderLineItem": {
        "type": "object",
        "properties": {
          "id": {
            "allOf": [
              {
                "description": "The UUID of the Line Item assigned by Agave."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "source_id": {
            "type": "string",
            "readOnly": true,
            "example": "12345",
            "description": "The ID of the Line Item in the Source System."
          },
          "amount": {
            "type": "string",
            "description": "The amount of the Line Item, excluding tax.",
            "example": "100.00"
          },
          "cost_code_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Cost Code](#tag--cost-codes) for the Line Item."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "cost_type_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Cost Type](#tag--cost-types) for the Line Item."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "customer_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Customer](#tag--customers) for the Line Item."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "description": {
            "type": "string",
            "description": "A description of the Line Item.",
            "example": "Two tons of cement."
          },
          "item_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Item](#tag--items) associated with the Line Item."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "ledger_account_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the Expense [Ledger Account](#tag--ledger-accounts) for the Line Item."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "quantity": {
            "type": "string",
            "description": "The estimated quantity of the unit in the Line Item.",
            "example": "2.0"
          },
          "status": {
            "type": "string",
            "description": "The status of the Line Item.\n\n**Note for Viewpoint Vista**: valid values include:\n  - **Non-Interfaced**: for Line Items created in the Project Management module that have not been interfaced.\n  - **Pending**: for Line Items created in the Purchase Order module that have not been batch processed.\n  - **Posted**: for Line Items created in the Purchase Order module or Project Management module that can have AP Invoices applied against them.\n",
            "example": "Billable"
          },
          "tax_amount": {
            "type": "string",
            "description": "The tax amount of the Line Item.",
            "example": "10.00"
          },
          "tax_code_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Sales Tax Code](#tag--tax-codes) for the Line Item."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "type": {
            "type": "string",
            "description": "The type of the Line Item. \n\n**Note for COINS**: valid values include \"C\" - Commodity Code, \"S\" - Stock Code, \"T\" - Text only.\n\n**Note for QuickBooks Online**: this field corresponds to \n[QuickBooks Online Classes](https://quickbooks.intuit.com/learn-support/en-us/help-article/class-list/create-manage-classes-quickbooks-online/L1QzEOUxM_US_en_US).\n\n**Note for ServiceTitan**: this value can be one of the following:\n- Assembly\n- Equipment\n- Material\n",
            "example": "Revenue - Job"
          },
          "unit_cost": {
            "type": "string",
            "description": "The cost of each unit associated with the Line Item.",
            "example": "50"
          },
          "unit_of_measure": {
            "type": "string",
            "description": "The unit used for measuring the estimated quantity of the Line Item.",
            "example": "Tons"
          },
          "wbs_id": {
            "allOf": [
              {
                "description": "The UUID of the [WBS Code](#tag--wbs) for the Purchase Order Line Item, assigned by Agave."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "source_create_time": {
            "allOf": [
              {
                "description": "The datetime the Line Item was created in the Source System."
              },
              {
                "$ref": "#/components/schemas/DateTimeProperty"
              }
            ]
          },
          "source_update_time": {
            "allOf": [
              {
                "description": "The datetime the Line Item was last updated in the Source System."
              },
              {
                "$ref": "#/components/schemas/DateTimeProperty"
              }
            ]
          }
        }
      },
      "PurchaseOrder": {
        "type": "object",
        "properties": {
          "id": {
            "allOf": [
              {
                "description": "The UUID of the Purchase Order assigned by Agave."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "source_id": {
            "type": "string",
            "readOnly": true,
            "example": "12345",
            "description": "The ID of the Purchase Order in the Source System."
          },
          "amount": {
            "type": "string",
            "description": "Total amount of the Purchase Order, including tax.",
            "example": "100.00"
          },
          "approval_date": {
            "allOf": [
              {
                "description": "The approval date of the Purchase Order."
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ]
          },
          "batch_id": {
            "type": "string",
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Batch](#tag--batches)."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "creator_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Contact]](#tag--contacts) who created the Purchase Order."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "delivery_address": {
            "$ref": "#/components/schemas/Address"
          },
          "description": {
            "type": "string",
            "description": "A detailed description of the Purchase Order.",
            "example": "Two tons of cement"
          },
          "inventory_location_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Inventory Location](#tag--inventory-locations) for the Purchase Order."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "issue_date": {
            "allOf": [
              {
                "description": "The date the Purchase Order contract was issued."
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ]
          },
          "ledger_account_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the Accounts Payable [Ledger Account](#tag--ledger-accounts) for the Purchase Order."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "line_items": {
            "description": "The line items for the Purchase Order.",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PurchaseOrderLineItem"
            }
          },
          "name": {
            "type": "string",
            "description": "The name of the Purchase Order.",
            "example": "Initial Cement Order"
          },
          "number": {
            "type": "string",
            "description": "The number of the Purchase Order.",
            "example": "PO-123"
          },
          "order_date": {
            "allOf": [
              {
                "description": "The date the Purchase Order was made."
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ]
          },
          "project_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Project](#tag--projects) for the Purchase Order."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "ship_via": {
            "type": "string",
            "description": "The method of delivery for the Purchase Order.",
            "example": "AnyCompany Shipping"
          },
          "status": {
            "type": "string",
            "description": "The status of the Purchase Order.\n\n**Note for Acumatica**: this value can be one of the following:\n- On Hold\n- Pending Approval\n- Rejected\n- Open\n- Awaiting Link\n- Pending Printing\n- Pending Email\n- Completed\n- Cancelled\n- Printed\n\n**Note for COINS**: this value can be one of the following:\n- **Uncommitted**: the Purchase Order is open for editing.\n- **Committed**: the Purchase Order can be invoiced against.\n- **Complete**: the Purchase Order has been invoiced in full.\n- **Cancelled**: the Purchase Order has been cancelled and will not be invoiced against.\n\n**Note for Foundation**: this value can be one of the following:\n- **Staged**: the Purchase Order has been staged for import in Foundation.\n- **Open**: the Purchase Order has been entered but not invoiced against.\n- **Pending**: the Purchase Order may be modified before it is invoiced or is awaiting approval.\n- **Closed**: the Purchase Order has been invoiced in full.\n- **Cancelled**: the Purchase Order has been rejected and will not be invoiced against.\n\n**Note for ServiceTitan**: this value can be one of the following:\n- Canceled\n- Pending\n- PartiallyReceived\n- Received\n- Sent\n\n**Note for Viewpoint Vista**: this value can be one of the following:\n- **Pending**: these are Purchase Orders that have not yet been batch processed.\n- **PM**: these are Purchase Orders created in the Project Management module that have not yet been interfaced.\n- **Open**: these are Purchase Orders that have been posted and can have AP Invoices applied against them.\n- **Complete**: the Purchase Order is complete and no AP Invoices can be applied against it.\n- **Closed**: the Purchase Order is closed (which is manually done from within the Vista UI using the Purchase Order Close form).\n",
            "example": "Active"
          },
          "sub_job_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Sub Job](#tag--sub-jobs) for the Line Item."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "subtotal_amount": {
            "type": "string",
            "description": "The amount of the Purchase Order, excluding tax.",
            "example": "90.00"
          },
          "tax_amount": {
            "type": "string",
            "description": "The tax amount of the Purchase Order.",
            "example": "10.00"
          },
          "terms": {
            "type": "string",
            "description": "The payment terms for the Purchase Order.\n\n**Note for COINS** This is a concatenation of two open-ended text fields (poh_terms__1 and poh_terms__2).\n",
            "example": "Net 30"
          },
          "total_amount": {
            "type": "string",
            "description": "The total amount of the Purchase Order, including tax.",
            "example": "100.00"
          },
          "type": {
            "type": "string",
            "description": "The type of Purchase Order.\n\n**Note for COINS**: these values are user-configurable.\n\n**Note for Foundation**: valid options include \"Basic\" and \"Detail\".\n",
            "example": "Unit Price"
          },
          "vendor_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Vendor](#tag--vendors)."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "source_create_time": {
            "allOf": [
              {
                "description": "Datetime the Purchase Order was created in the Source System."
              },
              {
                "$ref": "#/components/schemas/DateTimeProperty"
              }
            ]
          },
          "source_update_time": {
            "allOf": [
              {
                "description": "The datetime the Purchase Order was last updated in the Source System."
              },
              {
                "$ref": "#/components/schemas/DateTimeProperty"
              }
            ]
          }
        }
      },
      "PurchaseOrder-2": {
        "allOf": [
          {
            "$ref": "#/components/schemas/PurchaseOrder"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "https://{{HOSTNAME}}/AcumaticaU100/entity/Default/22.200.001/PurchaseOrder?%24top=10&%24expand=Details%2CShippingInstructions%2CShippingInstructions%2FShipToAddress%2CTaxDetails"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "id": "6ac47e78-2c75-ef11-843c-0eb71309dd15",
                      "rowNumber": 1,
                      "note": {
                        "value": ""
                      },
                      "BaseCurrencyID": {
                        "value": "USD"
                      },
                      "Branch": {
                        "value": "HEADOFFICE"
                      },
                      "ControlTotal": {
                        "value": 305.71
                      },
                      "CurrencyEffectiveDate": {
                        "value": "2022-11-12T00:00:00+00:00"
                      },
                      "CurrencyID": {
                        "value": "USD"
                      },
                      "CurrencyRate": {
                        "value": 1
                      },
                      "CurrencyRateTypeID": [],
                      "CurrencyReciprocalRate": {
                        "value": 1
                      },
                      "Date": {
                        "value": "2024-09-09T00:00:00+00:00"
                      },
                      "Description": {
                        "value": "This is an APITest"
                      },
                      "Details": [
                        {
                          "id": "71c47e78-2c75-ef11-843c-0eb71309dd15",
                          "rowNumber": 1,
                          "note": {
                            "value": ""
                          },
                          "Account": {
                            "value": "54400"
                          },
                          "AlternateID": [],
                          "BranchID": {
                            "value": "HEADOFFICE"
                          },
                          "CalculateDiscountsOnImport": [],
                          "Cancelled": {
                            "value": false
                          },
                          "Completed": {
                            "value": false
                          },
                          "CompleteOn": {
                            "value": 100
                          },
                          "CostCode": {
                            "value": "00  921"
                          },
                          "Description": {
                            "value": "Project Travel Expense"
                          },
                          "ExtendedCost": {
                            "value": 150.15
                          },
                          "InventoryID": [],
                          "LineDescription": {
                            "value": "Fruit Planter"
                          },
                          "LineNbr": {
                            "value": 1
                          },
                          "LineType": {
                            "value": "Service"
                          },
                          "MaxReceiptPercent": {
                            "value": 100
                          },
                          "MinReceiptPercent": {
                            "value": 0
                          },
                          "OrderedQty": {
                            "value": 0
                          },
                          "OrderNbr": {
                            "value": "000080"
                          },
                          "OrderQty": {
                            "value": 5
                          },
                          "OrderType": {
                            "value": "RO"
                          },
                          "OrigPONbr": [],
                          "OrigPOType": [],
                          "Project": {
                            "value": "X"
                          },
                          "ProjectTask": [],
                          "Promised": {
                            "value": "2024-09-15T00:00:00+00:00"
                          },
                          "QtyOnReceipts": {
                            "value": 0
                          },
                          "ReceiptAction": {
                            "value": "Accept but Warn"
                          },
                          "ReceivedAmount": [],
                          "Requested": {
                            "value": "2024-09-09T00:00:00+00:00"
                          },
                          "Subaccount": {
                            "value": "0"
                          },
                          "TaxCategory": {
                            "value": "TAXABLE"
                          },
                          "UnitCost": {
                            "value": 15.5556
                          },
                          "UOM": {
                            "value": "EA"
                          },
                          "WarehouseID": {
                            "value": "RETAIL"
                          },
                          "custom": [],
                          "_links": {
                            "files:put": "/AcumaticaU100/entity/Default/22.200.001/files/PX.Objects.PO.POOrderEntry/Transactions/71c47e78-2c75-ef11-843c-0eb71309dd15/{filename}"
                          },
                          "AccountGroup": {
                            "value": "TRAVEL"
                          }
                        },
                        {
                          "id": "73c47e78-2c75-ef11-843c-0eb71309dd15",
                          "rowNumber": 2,
                          "note": {
                            "value": ""
                          },
                          "Account": [],
                          "AlternateID": [],
                          "BranchID": {
                            "value": "HEADOFFICE"
                          },
                          "CalculateDiscountsOnImport": [],
                          "Cancelled": {
                            "value": false
                          },
                          "Completed": {
                            "value": false
                          },
                          "CompleteOn": {
                            "value": 100
                          },
                          "CostCode": [],
                          "Description": [],
                          "ExtendedCost": {
                            "value": 77.78
                          },
                          "InventoryID": {
                            "value": "BLADE12"
                          },
                          "LineDescription": {
                            "value": "Fruit Planter (Not Taxable)"
                          },
                          "LineNbr": {
                            "value": 2
                          },
                          "LineType": {
                            "value": "Goods for IN"
                          },
                          "MaxReceiptPercent": {
                            "value": 100
                          },
                          "MinReceiptPercent": {
                            "value": 0
                          },
                          "OrderedQty": {
                            "value": 0
                          },
                          "OrderNbr": {
                            "value": "000080"
                          },
                          "OrderQty": {
                            "value": 5
                          },
                          "OrderType": {
                            "value": "RO"
                          },
                          "OrigPONbr": [],
                          "OrigPOType": [],
                          "Project": {
                            "value": "X"
                          },
                          "ProjectTask": [],
                          "Promised": {
                            "value": "2024-09-15T00:00:00+00:00"
                          },
                          "QtyOnReceipts": {
                            "value": 0
                          },
                          "ReceiptAction": {
                            "value": "Accept but Warn"
                          },
                          "ReceivedAmount": [],
                          "Requested": {
                            "value": "2024-09-09T00:00:00+00:00"
                          },
                          "Subaccount": [],
                          "TaxCategory": {
                            "value": "EXEMPT"
                          },
                          "UnitCost": {
                            "value": 15.5556
                          },
                          "UOM": {
                            "value": "PIECE"
                          },
                          "WarehouseID": {
                            "value": "RETAIL"
                          },
                          "custom": [],
                          "_links": {
                            "files:put": "/AcumaticaU100/entity/Default/22.200.001/files/PX.Objects.PO.POOrderEntry/Transactions/73c47e78-2c75-ef11-843c-0eb71309dd15/{filename}"
                          }
                        },
                        {
                          "id": "75c47e78-2c75-ef11-843c-0eb71309dd15",
                          "rowNumber": 3,
                          "note": {
                            "value": ""
                          },
                          "Account": [],
                          "AlternateID": [],
                          "BranchID": {
                            "value": "HEADOFFICE"
                          },
                          "CalculateDiscountsOnImport": [],
                          "Cancelled": {
                            "value": false
                          },
                          "Completed": {
                            "value": false
                          },
                          "CompleteOn": {
                            "value": 100
                          },
                          "CostCode": [],
                          "Description": [],
                          "ExtendedCost": {
                            "value": 77.78
                          },
                          "InventoryID": [],
                          "LineDescription": {
                            "value": "Fruit Planter (Not Taxable)"
                          },
                          "LineNbr": {
                            "value": 3
                          },
                          "LineType": {
                            "value": "Description"
                          },
                          "MaxReceiptPercent": {
                            "value": 100
                          },
                          "MinReceiptPercent": {
                            "value": 0
                          },
                          "OrderedQty": {
                            "value": 0
                          },
                          "OrderNbr": {
                            "value": "000080"
                          },
                          "OrderQty": {
                            "value": 5
                          },
                          "OrderType": {
                            "value": "RO"
                          },
                          "OrigPONbr": [],
                          "OrigPOType": [],
                          "Project": {
                            "value": "X"
                          },
                          "ProjectTask": [],
                          "Promised": {
                            "value": "2024-09-15T00:00:00+00:00"
                          },
                          "QtyOnReceipts": {
                            "value": 0
                          },
                          "ReceiptAction": {
                            "value": "Accept"
                          },
                          "ReceivedAmount": [],
                          "Requested": {
                            "value": "2024-09-09T00:00:00+00:00"
                          },
                          "Subaccount": [],
                          "TaxCategory": {
                            "value": "EXEMPT"
                          },
                          "UnitCost": {
                            "value": 0
                          },
                          "UOM": [],
                          "WarehouseID": [],
                          "custom": [],
                          "_links": {
                            "files:put": "/AcumaticaU100/entity/Default/22.200.001/files/PX.Objects.PO.POOrderEntry/Transactions/75c47e78-2c75-ef11-843c-0eb71309dd15/{filename}"
                          }
                        }
                      ],
                      "Hold": {
                        "value": true
                      },
                      "IsTaxValid": [],
                      "LastModifiedDateTime": {
                        "value": "2024-09-17T19:38:54.997+00:00"
                      },
                      "LineTotal": {
                        "value": 305.71
                      },
                      "Location": {
                        "value": "MAIN"
                      },
                      "OrderNbr": {
                        "value": "000080"
                      },
                      "OrderTotal": {
                        "value": 305.71
                      },
                      "Owner": {
                        "value": "EP00000009"
                      },
                      "Project": {
                        "value": "X"
                      },
                      "PromisedOn": {
                        "value": "2024-09-15T00:00:00+00:00"
                      },
                      "ShippingInstructions": {
                        "id": "e35dacc7-1a1c-40a9-bc9a-7444f025c508",
                        "rowNumber": 1,
                        "note": null,
                        "ShippingDestinationType": {
                          "value": "Branch"
                        },
                        "ShippingLocation": {
                          "value": "MAIN"
                        },
                        "ShipTo": {
                          "value": "HEADOFFICE"
                        },
                        "ShipToAddress": {
                          "id": "733908f6-2bc3-4c5d-bf9a-50492d0d4ad4",
                          "rowNumber": 1,
                          "note": null,
                          "AddressLine1": {
                            "value": ", Flushing"
                          },
                          "AddressLine2": {
                            "value": ""
                          },
                          "City": {
                            "value": "w York"
                          },
                          "Country": {
                            "value": "US"
                          },
                          "PostalCode": {
                            "value": "13367"
                          },
                          "State": {
                            "value": "NY"
                          },
                          "custom": []
                        },
                        "ShipToAddressOverride": {
                          "value": true
                        },
                        "ShipToContactOverride": {
                          "value": false
                        },
                        "Warehouse": [],
                        "custom": []
                      },
                      "Status": {
                        "value": "On Hold"
                      },
                      "TaxDetails": [],
                      "TaxTotal": {
                        "value": 0
                      },
                      "Terms": {
                        "value": "30D"
                      },
                      "Type": {
                        "value": "Normal"
                      },
                      "VendorID": {
                        "value": "ACMEDO"
                      },
                      "VendorRef": [],
                      "VendorTaxZone": [],
                      "custom": [],
                      "_links": {
                        "self": "/AcumaticaU100/entity/Default/22.200.001/PurchaseOrder/6ac47e78-2c75-ef11-843c-0eb71309dd15",
                        "files:put": "/AcumaticaU100/entity/Default/22.200.001/files/PX.Objects.PO.POOrderEntry/Document/6ac47e78-2c75-ef11-843c-0eb71309dd15/{filename}"
                      }
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "PurchaseOrder-3": {
        "allOf": [
          {
            "$ref": "#/components/schemas/PurchaseOrder"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "https://developer.api.autodesk.com/cost/v1/containers/{{containerId}}/contracts/{{subcontractId}}"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "id": "12345",
                      "name": "Initial Concrete Orrder",
                      "description": "Two tons of concrete.",
                      "containerId": "12345",
                      "code": "A123",
                      "status": "Active",
                      "paymentDue": null,
                      "paymentDueType": null,
                      "companyId": "12345",
                      "type": "Subcontract",
                      "templateId": null,
                      "contactId": null,
                      "mainContractId": "12345",
                      "recipients": null,
                      "address": null,
                      "awarded": "0.0000",
                      "changes": "0.0000",
                      "retention": "0.0000",
                      "retentionCap": null,
                      "creatorId": "12345",
                      "ownerId": "12345",
                      "changedBy": "12345",
                      "signedBy": null,
                      "awardedAt": "2022-01-01T00:00:00.000Z",
                      "statusChangedAt": "2022-01-01T00:00:00.000Z",
                      "sentAt": null,
                      "locked": false,
                      "lockedAt": null,
                      "lockedBy": null,
                      "respondedAt": null,
                      "responseDue": null,
                      "returnedAt": null,
                      "onsiteAt": null,
                      "offsiteAt": null,
                      "procuredAt": null,
                      "approvedAt": null,
                      "executedAt": null,
                      "createdAt": "2022-01-01T00:00:00.000Z",
                      "updatedAt": "2022-01-01T00:00:00.000Z",
                      "note": "{\"blocks\":[{\"key\":\"crs58\",\"text\":\"These are notes.\",\"type\":\"unstyled\",\"depth\":0,\"inlineStyleRanges\":[],\"entityRanges\":[],\"data\":{}}],\"entityMap\":{}}",
                      "scopeOfWork": "{\"blocks\":[{\"key\":\"apuv5\",\"text\":\"This is the scope of work\",\"type\":\"unstyled\",\"depth\":0,\"inlineStyleRanges\":[],\"entityRanges\":[],\"data\":{}}],\"entityMap\":{}}",
                      "allowOverbilling": false,
                      "actualCost": null,
                      "integrationState": null,
                      "integrationStateChangedAt": null,
                      "integrationStateChangedBy": null,
                      "currency": null,
                      "exchangeRate": "1.00000000",
                      "originalBudget": "00.0000",
                      "internalAdjustment": null,
                      "approvedContingency": null,
                      "pendingContingency": null,
                      "approvedOwnerChanges": null,
                      "pendingOwnerChanges": null,
                      "approvedOwnerChangesWithoutCont": null,
                      "pendingOwnerChangesWithoutCont": null,
                      "approvedChangeOrders": null,
                      "approvedInScopeChangeOrders": null,
                      "pendingChangeOrders": null,
                      "reserves": null,
                      "uncommitted": null,
                      "total": "15000.0000",
                      "revised": "00.0000",
                      "projected": "00.0000",
                      "projectedCost": "00.0000",
                      "projectedBudget": "00.0000",
                      "forecastFinalCost": "00.0000",
                      "forecastVariance": "0.0000",
                      "forecastCostComplete": "00.0000",
                      "varianceTotal": "0.0000",
                      "externalId": null,
                      "externalSystem": null,
                      "externalMessage": null,
                      "lastSyncTime": null,
                      "properties": [
                        {
                          "name": "Type",
                          "value": "",
                          "propertyDefinitionId": "12345",
                          "position": 0,
                          "builtIn": true,
                          "type": "options"
                        }
                      ],
                      "approvedOwnerChangesContingency": null,
                      "approvedOwnerChangesOutOfScope": null,
                      "approvedOwnerChangesBudgetOnlyScope": null,
                      "preSubmittedOwnerChangesContingency": null,
                      "preSubmittedOwnerChangesOutOfScope": null,
                      "preSubmittedOwnerChangesBudgetOnlyScope": null,
                      "submittedOwnerChangesContingency": null,
                      "submittedOwnerChangesOutOfScope": null,
                      "submittedOwnerChangesBudgetOnlyScope": null,
                      "approvedChangeOrdersInScope": null,
                      "approvedChangeOrdersOutOfScope": null,
                      "approvedChangeOrdersContingency": null,
                      "pendingChangeOrdersInScope": null,
                      "pendingChangeOrdersOutOfScope": null,
                      "pendingChangeOrdersContingency": null,
                      "draftOwnerChanges": null,
                      "draftChangeOrders": null,
                      "reservesInScope": null,
                      "reservesOutOfScope": null,
                      "reservesContingency": null,
                      "actualCostDirectInput": null,
                      "approvedExpense": null,
                      "pendingExpense": null,
                      "approvedCostPaymentApplication": null,
                      "pendingCostPaymentApplication": null,
                      "forecastAdjustment": null,
                      "allocatedAmount": "00.0000",
                      "actualCostInputRealizedGainOrLoss": null,
                      "expenseRealizedGainOrLoss": null,
                      "costPaymentRealizedGainOrLoss": null,
                      "realizedGainOrLoss": null
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "PurchaseOrder-4": {
        "allOf": [
          {
            "$ref": "#/components/schemas/PurchaseOrder"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "{{server}}/{{environemnt}}/ap-rest-api/rest/1/apallvouchers"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "CChangeDesc": "Changes To Date",
                      "CNewRevisedDesc": "New Revised",
                      "COriginalDesc": "Original",
                      "CRecievedDesc": "Revised",
                      "CTitle1": "Original",
                      "CTitle2": "Prior Changes",
                      "CTitle3": "Current Change",
                      "CTitle4": "Revised",
                      "CUnpostedDesc": "Unposted Changes",
                      "PartnTypeCode": "P",
                      "PostOverrideFlag": "0",
                      "ScmstAbbrevPartnCode": "12345",
                      "ScmstAcctDescription": null,
                      "ScmstActionCode": null,
                      "ScmstAltVenAddCode": null,
                      "ScmstAppCode": null,
                      "ScmstArAmt": null,
                      "ScmstBankAccount": null,
                      "ScmstBankDept": "00",
                      "ScmstBillCode": null,
                      "ScmstCashAmt": null,
                      "ScmstCdiFlag": "N",
                      "ScmstChgCode": "000",
                      "ScmstChqHandleCode": null,
                      "ScmstCloseDate": null,
                      "ScmstClvValueCode1": null,
                      "ScmstClvValueCode2": null,
                      "ScmstClvValueCode3": null,
                      "ScmstClvValueCode4": null,
                      "ScmstClvValueCode5": null,
                      "ScmstClvValueCode6": null,
                      "ScmstCmBudrCode": null,
                      "ScmstCmChgCode": null,
                      "ScmstCmCompCode": null,
                      "ScmstCmJobCode": null,
                      "ScmstCompCode": "12345",
                      "ScmstComplFlag": "Y",
                      "ScmstContAmt": 100,
                      "ScmstContCode": "PO-123",
                      "ScmstContType": "Purchase Order",
                      "ScmstContactCode": null,
                      "ScmstContactName": null,
                      "ScmstCorrespAddCode": null,
                      "ScmstCreateContOnFlyFlag": "Y",
                      "ScmstCurcFactorNum": 1,
                      "ScmstCurrCode": "USD",
                      "ScmstCurrName": "US Dollar",
                      "ScmstDate": "2022-01-01",
                      "ScmstDefaultTaxesFlag": "Y",
                      "ScmstDesc": "Two tons of cement",
                      "ScmstDfltAmt": null,
                      "ScmstDfltCatCode": null,
                      "ScmstDfltPhsCode": null,
                      "ScmstDoNotExceedAmt": null,
                      "ScmstEndDate": null,
                      "ScmstExecutedDate": "2022-01-01",
                      "ScmstGcsPayRequestFlag": null,
                      "ScmstGstAmt": null,
                      "ScmstGstPc": 0,
                      "ScmstHldbkPc": 10,
                      "ScmstHldbkPcRule": null,
                      "ScmstHldbkRlsFromSc": "Y",
                      "ScmstHoldPaymentDays": 0,
                      "ScmstHoldPaymentFlag": "Y",
                      "ScmstImpactDays": null,
                      "ScmstInvEntryState": "SC",
                      "ScmstInvHldbkTaxFlag": "N",
                      "ScmstIssuedDate": "2022-01-01",
                      "ScmstIuCreateDate": "2022-01-01T00:00:00-00:00",
                      "ScmstIuUpdateDate": "2022-01-01T00:00:00-00:00",
                      "ScmstJobCode": "14001",
                      "ScmstJobCtrlCode": "ALL",
                      "ScmstMainChgCode": null,
                      "ScmstMainContCode": null,
                      "ScmstMainVenCode": null,
                      "ScmstName": "Initial Cement Order",
                      "ScmstNonCreditInclTaxAmt": null,
                      "ScmstNonCreditTaxAmt": null,
                      "ScmstOrigBidpAmt": null,
                      "ScmstOrigBidpOraseq": null,
                      "ScmstOvrrideNotExceedFlag": null,
                      "ScmstOverrideFlag": null,
                      "ScmstPbContCode": null,
                      "ScmstPbCustCode": null,
                      "ScmstPostBatch": null,
                      "ScmstPostDate": null,
                      "ScmstPreferedQuoteFlag": "Y",
                      "ScmstPrintedCoFlag": null,
                      "ScmstProjOraseq": 12345,
                      "ScmstRating": null,
                      "ScmstRctReferenceNum": null,
                      "ScmstReceivedDate": null,
                      "ScmstRecipientEmail": null,
                      "ScmstRevBatch": null,
                      "ScmstRevDate": null,
                      "ScmstScControlAmt": null,
                      "ScmstSchedExistsFlag": "Y",
                      "ScmstScheduleFlag": "Y",
                      "ScmstScopeDesc": null,
                      "ScmstScschLastSeqNumUsed": 1,
                      "ScmstSelfBilledFlag": "N",
                      "ScmstSenderEmail": null,
                      "ScmstSepVouPerJobFlag": "N",
                      "ScmstSrcCode": null,
                      "ScmstStartDate": null,
                      "ScmstStatCode": "P",
                      "ScmstStatusCode": "PENDING",
                      "ScmstSubcontrCode": "NONE",
                      "ScmstSubcontractorChgCode": null,
                      "ScmstTax1Code": null,
                      "ScmstTax2Code": null,
                      "ScmstTax3Code": null,
                      "ScmstTermCode": "NET30",
                      "ScmstTermName": "Net 30",
                      "ScmstTexturaFlag": null,
                      "ScmstUser": "WORKSHOP",
                      "ScmstUserPrvlgFlag": "Y",
                      "ScmstVenCode": "1126",
                      "ScmstVenName": "AnyCompany Inc.",
                      "ScmstVUuid": "12345",
                      "ScmstDepositAmt": 0,
                      "ScmstDepositApprovalDate": "2022-01-01T00:00:00-00:00",
                      "ScmstDepositPct": 0,
                      "ScmstWorkflowStatus": null
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "PurchaseOrder-5": {
        "allOf": [
          {
            "$ref": "#/components/schemas/PurchaseOrder"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "https://{{instance_name}}.coinscloud.com/env/{{environment}}/rest/pages/company/{{company_id}}/po_hdr?filterMA-tip_type=MATERIAL&filterMA-poh_chgno="
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "kco": 1,
                      "tip_type": "MATERIAL",
                      "poh_ordno": "PO-123",
                      "poh_chgno": "",
                      "cca_code": "",
                      "cur_code": "USD",
                      "gla_acct": "",
                      "jcc_cc": "",
                      "job_num": "Anytown-Construction-Project",
                      "jph_phase": "",
                      "jwb_code": "",
                      "pgt_notes": "",
                      "pgt_sentdate": null,
                      "pgt_signeddate": null,
                      "pob_code": "sysadmin",
                      "pob_name": "COINS Buyer",
                      "pod_debt": null,
                      "poh_accno": "ACM001",
                      "poh_accruals": false,
                      "poh_add__1": "",
                      "poh_add__2": "",
                      "poh_add__3": "",
                      "poh_add__4": "",
                      "poh_agreement": false,
                      "poh_alwcode": false,
                      "poh_amount": 90,
                      "poh_analysis": "ACP",
                      "poh_appstat": "COM",
                      "poh_basis": "",
                      "poh_bpenddate": null,
                      "poh_bpstartdate": null,
                      "poh_cancelled": false,
                      "poh_cat": "",
                      "poh_ccdate": null,
                      "poh_chasedate": null,
                      "poh_chgref": "",
                      "poh_cocomp": false,
                      "poh_commitdt": null,
                      "poh_commiton": "2022-01-01",
                      "poh_confirm": false,
                      "poh_consinv": false,
                      "poh_desc": "Initial Cement Order",
                      "poh_dtime": 0,
                      "poh_duedays": 0,
                      "poh_duetype": "",
                      "poh_entry": 1,
                      "poh_hcode": "",
                      "poh_hcode2": "",
                      "poh_match": true,
                      "poh_mpo": "M",
                      "poh_name": "Acme Vendor Co",
                      "poh_odate": "2022-01-01",
                      "poh_paytype": "",
                      "poh_settdiscday": 0,
                      "poh_settdisctype": "",
                      "poh_shipaddr__1": "123 Main Street",
                      "poh_shipaddr__2": "Unit 1",
                      "poh_shipaddr__3": "Anytown",
                      "poh_shipaddr__4": "CA",
                      "poh_shippcode": "19703",
                      "poh_shipvia": "AnyCompany Shipping",
                      "poh_tax": 10,
                      "poh_tdate": "2022-01-01",
                      "poh_terms__1": "Net",
                      "poh_terms__2": "30",
                      "poh_votype": "",
                      "pot_desc": "Normal Order",
                      "pot_type": "N",
                      "vat_code": "NY-LAT",
                      "RO_POComplete": false,
                      "RO_Poh_Status": "Committed",
                      "RO_jtcreated": "2022-01-01T00:00:00.000",
                      "RO_jtchanged": "2022-01-01T00:00:00.000"
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "PurchaseOrder-6": {
        "allOf": [
          {
            "$ref": "#/components/schemas/PurchaseOrder"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The database query for the Source System.",
                    "example": "select * from [PO_SUB_H]"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "Company_No": "12345",
                      "PO_Sub_No": "PO-123",
                      "Type": "P",
                      "Transaction_Date": "2022-01-01 00:00:00.000",
                      "Amount": "100.00",
                      "Vendor_No": "A123",
                      "Job_No": "A123",
                      "Description": "Initial Cement Order",
                      "Retainage_Percent": ".00000",
                      "GL_Expense": null,
                      "Status": "O",
                      "Verify_Distribution_Totals": null,
                      "Printed_Flag": null,
                      "Buyer_No": null,
                      "Delivery_Date": "2022-01-01 00:00:00.000",
                      "Ship_To_No": null,
                      "terms_no": null,
                      "ship_via_no": "AnyCompany Shipping",
                      "FOB": null,
                      "Invoice_Chg_Ord_Against": "P",
                      "Closed_Date": null,
                      "Manual_Close": "N",
                      "Record_Status": "A",
                      "Row_Modified_By": "DBA",
                      "Row_Modified_On": "2022-01-01 00:00:00.000",
                      "Row_Unique_Id": "12345",
                      "buyer_id": null,
                      "job_id": null,
                      "ship_to_id": null,
                      "ship_via_id": "ACS",
                      "company_id": "12345",
                      "vendor_id": "A123",
                      "po_sub_id": "PO-123",
                      "terms_id": null,
                      "lien_waiver_flag": "N",
                      "waiver_description": null,
                      "waiver_trade_work": null,
                      "waiver_title": null,
                      "waiver_signature_name": null,
                      "waiver_job_owner": null,
                      "waiver_job_address_1": null,
                      "waiver_job_address_2": null,
                      "waiver_job_city": null,
                      "waiver_job_state": null,
                      "waiver_job_zip_code": null,
                      "waiver_job_county": null,
                      "printable_flag": "Y",
                      "header_format": "D",
                      "body_format": "E",
                      "instructions": null,
                      "shipto_address_flag": "J",
                      "other_contact": null,
                      "other_address_1": null,
                      "other_address_2": null,
                      "other_city": null,
                      "other_state": null,
                      "other_zip_code": null,
                      "shipto_job": null,
                      "force_final_waiver_flag": "N",
                      "calculate_sales_tax_flag": "N",
                      "tax_exempt": "N",
                      "tax_exempt_cert": null,
                      "tax_no": null,
                      "tax_base": ".00",
                      "goods_service_amount": "100.00",
                      "tax_amount": "10.00",
                      "old_flag": "N",
                      "verify_invoice_amount": "Y",
                      "verify_distributions": "Y",
                      "tax_id": null,
                      "format": "S",
                      "design_no": null,
                      "design_id": null,
                      "Internal_Batch_Number": null,
                      "ins_certificate": "N",
                      "ins_date_expires": null,
                      "allow_po_exceed_invoice_percent": ".00000",
                      "job_change_order_no": null,
                      "job_change_order_seq": "0",
                      "job_change_order_id": null,
                      "lien_waiver_format_ap": "GE",
                      "header_on_first_page": "N",
                      "footer_comment": null,
                      "dispatch_no": null,
                      "preview_float_summary": "Y",
                      "preview_print_title": "Y",
                      "dispatch_id": null,
                      "tax_type": "N",
                      "lien_waiver_format_type": "J",
                      "lien_waiver_design_no_ap": null,
                      "wp_design_no": null,
                      "warehouse_or_job_transfer": "W",
                      "default_warehouse_no": "  100",
                      "fuel_payable_flag": null,
                      "default_warehouse_id": "100",
                      "wp_design_id": null,
                      "allow_po_exceed_invoice_tax": ".00000",
                      "record_guid": "1234567-167E-EC11-A45D-E454E88F8BE7",
                      "source_field": "",
                      "terms_description": null
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "PurchaseOrder-7": {
        "allOf": [
          {
            "$ref": "#/components/schemas/PurchaseOrder"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "https://api.procore.com/rest/v1.0/purchase_order_contracts"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "id": 12345,
                      "accounting_method": "unit",
                      "approval_letter_date": "2022-01-01",
                      "approved_change_orders": "0.0",
                      "assignee": null,
                      "bill_to_address": "",
                      "billing_schedule_of_values_status": "draft",
                      "contract_date": null,
                      "created_at": "2022-01-01T00:00:00Z",
                      "created_by_id": 12345,
                      "custom_fields": [],
                      "deleted_at": null,
                      "delivery_date": "2022-01-01",
                      "description": "Two tons of cement",
                      "draft_change_orders_amount": "0.0",
                      "executed": false,
                      "execution_date": "2022-01-01",
                      "grand_total": "100.0",
                      "has_change_order_packages": false,
                      "has_potential_change_orders": false,
                      "issued_on_date": "2022-01-01",
                      "letter_of_intent_date": null,
                      "number": "PO-123",
                      "origin_code": null,
                      "origin_data": null,
                      "origin_id": null,
                      "payment_terms": "Net 30",
                      "pending_change_orders": "0.0",
                      "pending_revised_contract": "0.0",
                      "percentage_paid": "0.0",
                      "private": true,
                      "project": {
                        "id": 12345,
                        "name": "Test Project-1",
                        "origin_data": null,
                        "origin_id": null
                      },
                      "remaining_balance_outstanding": "0.0",
                      "requisitions_are_enabled": true,
                      "retainage_percent": "0.0",
                      "returned_date": null,
                      "revised_contract": "0.0",
                      "ship_to_address": "",
                      "ship_via": "AnyCompany Shipping",
                      "show_line_items_to_non_admins": null,
                      "signed_contract_received_date": null,
                      "status": "Draft",
                      "title": "Initial Cement Order",
                      "total_draw_requests_amount": "0.0",
                      "total_payments": "0.0",
                      "total_requisitions_amount": "0.0",
                      "updated_at": "2022-01-01T00:00:00Z",
                      "vendor": {
                        "id": 12345,
                        "company": "AnyCompany Inc",
                        "origin_data": null,
                        "origin_id": null
                      }
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "PurchaseOrder-8": {
        "allOf": [
          {
            "$ref": "#/components/schemas/PurchaseOrder"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "https://quickbooks.api.intuit.com/v3/company/{companyId}/query"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "VendorAddr": {
                        "Id": "12345",
                        "Line1": "AnyCompany",
                        "Line2": "123 Main Street",
                        "Line3": "Unit 1",
                        "Line4": "AnyTown, CA 19703",
                        "Lat": "",
                        "Long": ""
                      },
                      "ShipAddr": {
                        "Id": "12345",
                        "Line1": "AnyCompany",
                        "Line2": "123 Main Street",
                        "Line3": "Unit 1",
                        "Line4": "AnyTown, CA 19703",
                        "Lat": "",
                        "Long": ""
                      },
                      "POStatus": "Active",
                      "domain": "QBO",
                      "sparse": false,
                      "Id": "125",
                      "SyncToken": "1",
                      "MetaData": {
                        "CreateTime": "2022-01-01T00:00:00-00:00",
                        "LastUpdatedTime": "2022-01-01T00:00:00-00:00"
                      },
                      "CustomField": [
                        {
                          "DefinitionId": "1",
                          "Name": "Crew #",
                          "Type": "StringType"
                        },
                        {
                          "DefinitionId": "2",
                          "Name": "Sales Rep",
                          "Type": "StringType"
                        }
                      ],
                      "DocNumber": "PO-123",
                      "TxnDate": "2022-01-01",
                      "CurrencyRef": {
                        "value": "USD",
                        "name": "United States Dollar"
                      },
                      "LinkedTxn": [
                        {
                          "TxnId": "126",
                          "TxnType": "Unit Price"
                        }
                      ],
                      "Line": [
                        {
                          "Id": "1",
                          "LineNum": 1,
                          "Description": "Landscaping Services",
                          "Amount": 100,
                          "DetailType": "ItemBasedExpenseLineDetail",
                          "ItemBasedExpenseLineDetail": {
                            "BillableStatus": "NotBillable",
                            "ItemRef": {
                              "value": "11",
                              "name": "Pump"
                            },
                            "UnitPrice": 10,
                            "Qty": 10,
                            "TaxCodeRef": {
                              "value": "NON"
                            }
                          }
                        }
                      ]
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "PurchaseOrder-9": {
        "allOf": [
          {
            "$ref": "#/components/schemas/PurchaseOrder"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The XML path on the Source System.",
                    "example": "PurchaseOrderQueryRq"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "TxnID": "1A6-856089115",
                      "TimeCreated": "1997-02-16T02:31:55-08:00",
                      "TimeModified": "2026-12-15T11:29:35-08:00",
                      "EditSequence": "1797362975",
                      "TxnNumber": "21",
                      "VendorRef": {
                        "ListID": "110000-852381138",
                        "FullName": "Doug's Appliance Service"
                      },
                      "ClassRef": {
                        "ListID": "20000-852029285",
                        "FullName": "Material Costs - Job Related"
                      },
                      "TemplateRef": {
                        "ListID": "80000-856088730",
                        "FullName": "Custom Purchase Order"
                      },
                      "TxnDate": "2020-02-16",
                      "RefNumber": "1",
                      "VendorAddress": {
                        "Addr1": "Doug's Appliance Service",
                        "Addr2": "941 City Blvd.",
                        "City": "Middlefield",
                        "State": "CA",
                        "PostalCode": "94482"
                      },
                      "VendorAddressBlock": {
                        "Addr1": "Doug's Appliance Service",
                        "Addr2": "941 City Blvd.",
                        "Addr3": "Middlefield, CA 94482"
                      },
                      "ShipAddress": {
                        "Addr1": "Twice Right Construction"
                      },
                      "ShipAddressBlock": {
                        "Addr1": "Twice Right Construction"
                      },
                      "DueDate": "2021-02-16",
                      "ExpectedDate": "2020-02-16",
                      "TotalAmount": "56.00",
                      "IsManuallyClosed": "false",
                      "IsFullyReceived": "true",
                      "Memo": "Test memo",
                      "IsToBePrinted": "true",
                      "IsToBeEmailed": "false",
                      "LinkedTxn": {
                        "TxnID": "1AA-856089228",
                        "TxnType": "Bill",
                        "TxnDate": "2024-02-16",
                        "LinkType": "QUANTYPE",
                        "Amount": "0.00"
                      },
                      "PurchaseOrderLineRet": {
                        "TxnLineID": "1A9-856089115",
                        "ItemRef": {
                          "ListID": "20002-861583516",
                          "FullName": "02 Site Work:02.10 Demo"
                        },
                        "Desc": "test",
                        "Quantity": "1",
                        "Rate": "56.00",
                        "ClassRef": {
                          "ListID": "20000-852029285",
                          "FullName": "Material Costs - Job Related"
                        },
                        "Amount": "56.00",
                        "ReceivedQuantity": "1",
                        "IsBilled": "false",
                        "IsManuallyClosed": "false"
                      }
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "PurchaseOrder-10": {
        "allOf": [
          {
            "$ref": "#/components/schemas/PurchaseOrder"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The SQL path on the Source System.",
                    "example": "select * from [pchord]"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "_idnum": "123450E9-6EAE-EE11-8429-1206A94FF521",
                      "recnum": "12345",
                      "ordnum": "PO-100",
                      "orddte": "2022-01-01T00:00:00.000Z",
                      "vndnum": "12345",
                      "attion": "",
                      "odrdby": null,
                      "jobnum": "12345",
                      "phsnum": "0",
                      "eqpmnt": null,
                      "dscrpt": "Initial Cement Order\"",
                      "docnum": "",
                      "docsrc": 0,
                      "taxdst": null,
                      "appdte": "2022-01-01T00:00:00.000Z",
                      "schdte": null,
                      "deldte": "2022-01-01T00:00:00.000Z",
                      "delvia": "UPS",
                      "ordtrm": "30DY",
                      "ordtyp": 1,
                      "status": 1,
                      "addrs1": "123 Main Street",
                      "addrs2": "Unit B",
                      "ctynme": "AnyTown",
                      "state_": "CA",
                      "zipcde": "19703",
                      "usrdf1": "",
                      "usrdf2": "",
                      "rcvdte": ".00",
                      "currnt": ".00",
                      "cancel": ".00",
                      "subttl": "100.00",
                      "slstax": ".00",
                      "pchttl": "100.00",
                      "pchbal": "100.00",
                      "entdte": "2022-01-01T00:00:00.000Z",
                      "usrnme": "AnyUser",
                      "hotlst": 0,
                      "lckedt": 0,
                      "ntetxt": "Two tons of cement",
                      "tsknum": null,
                      "issdat": null,
                      "issbch": "0",
                      "gstamt": ".00",
                      "pstamt": ".00",
                      "hstamt": ".00",
                      "expcst": ".00",
                      "insdte": "2022-01-01T00:00:00.000Z",
                      "insusr": "AnyUser",
                      "upddte": null,
                      "updusr": null,
                      "type_description": "Job Materials"
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "PurchaseOrder-11": {
        "allOf": [
          {
            "$ref": "#/components/schemas/PurchaseOrder"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The SQL path on the Source System.",
                    "example": "select * from [MASTER_JCM_RECORD_12] where [MASTER_JCM_RECORD_12.STYPE] = \"Purchase Order\""
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "SUB": "12345",
                      "STYPE": "Purchase Order",
                      "SDESC": "Drywall Installation",
                      "SVENDOR": "204",
                      "SDATE": "2022-08-25",
                      "SUPRICE": "1",
                      "SJOB": "03-001",
                      "SEXTRA": "",
                      "SRETPCT": 10,
                      "SITXAMT": 0,
                      "SAMT": 730,
                      "SRELACT": "1",
                      "SCMMTED": "1",
                      "SHOLD": "0",
                      "SCLOSED": "0",
                      "SPRNTED": "0",
                      "SAPPRCO": 0,
                      "SAPRTCO": 0,
                      "SPENDCO": 0,
                      "SPENTCO": 0,
                      "SAMTINV": 0,
                      "SAMTRET": 0,
                      "SAMTPD": 0,
                      "SCAMTC": 0,
                      "SACOAMC": 0,
                      "SPCOAMC": 0,
                      "SLINV": "",
                      "SLBANK": "",
                      "SLCKNUM": 0,
                      "SLCKDAT": null,
                      "STADD1": "",
                      "STADD2": "",
                      "STCITY": "",
                      "STSTATE": "",
                      "STZIP": "",
                      "SSTADD1": "",
                      "SSTADD2": "",
                      "SSTCITY": "",
                      "SSTSTAT": "",
                      "SSTZIP": "",
                      "SMSALP1": "",
                      "SMSALP2": "",
                      "SMSALP3": "",
                      "SMSALP4": "",
                      "SMSALP5": "",
                      "SMSDAT1": null,
                      "SMSDAT2": null,
                      "SMSDAT3": null,
                      "SSCOPE": "",
                      "SNOTFDT": null,
                      "SSCHSD": null,
                      "SACTSD": null,
                      "SSCHCD": null,
                      "SACTCD": null,
                      "SWCPR": "0",
                      "SWCCO": "",
                      "SWCPCY": "",
                      "SWCEFFD": null,
                      "SWCEXPD": null,
                      "SWCLIM": 0,
                      "SWCRCVD": "0",
                      "SWCRECD": null,
                      "SWCRECB": "",
                      "SWCOVRD": "0",
                      "SATPR": "0",
                      "SATCO": "",
                      "SATPCY": "",
                      "SATEFFD": null,
                      "SATEXPD": null,
                      "SATLIM": 0,
                      "SATRCVD": "0",
                      "SATRECD": null,
                      "SATRECB": "",
                      "SATOVRD": "0",
                      "SGLPR": "0",
                      "SGLCO": "",
                      "SGLPCY": "",
                      "SGLEFFD": null,
                      "SGLEXPD": null,
                      "SGLLIM": 0,
                      "SGLRCVD": "0",
                      "SGLRECD": null,
                      "SGLRECB": "",
                      "SGLOVRD": "0",
                      "SUMPR": "0",
                      "SUMCO": "",
                      "SUMPCY": "",
                      "SUMEFFD": null,
                      "SUMEXPD": null,
                      "SUMLIM": 0,
                      "SUMRCVD": "0",
                      "SUMRECD": null,
                      "SUMRECB": "",
                      "SUMOVRD": "0",
                      "SM1PR": "0",
                      "SM1CO": "",
                      "SM1PCY": "",
                      "SM1EFFD": null,
                      "SM1EXPD": null,
                      "SM1LIM": 0,
                      "SM1RCVD": "0",
                      "SM1RECD": null,
                      "SM1RECB": "",
                      "SM1OVRD": "0",
                      "SM2PR": "0",
                      "SM2CO": "",
                      "SM2PCY": "",
                      "SM2EFFD": null,
                      "SM2EXPD": null,
                      "SM2LIM": 0,
                      "SM2RCVD": "0",
                      "SM2RECD": null,
                      "SM2RECB": "",
                      "SM2OVRD": "0",
                      "SCVAP": "",
                      "SCISSBY": "",
                      "SCSGNBY": "",
                      "SCSGNDT": null,
                      "SVVAPDT": null,
                      "SVVAPRC": "0",
                      "SVVAP": "",
                      "SVVAPSB": "",
                      "SVVAPSD": null,
                      "SCISSDT": null,
                      "SCISS": "0",
                      "SSGNCDT": null,
                      "SSGNCR": "0",
                      "SINSCDT": null,
                      "SINSCR": "0",
                      "SMSCCL1": "0",
                      "SMSCDT1": null,
                      "SMSCCL2": "0",
                      "SMSCDT2": null,
                      "SMSCCL3": "0",
                      "SMSCDT3": null,
                      "SMSCCL4": "0",
                      "SMSCDT4": null,
                      "SPRBREQ": "0",
                      "SPRBDDT": null,
                      "SPRBREC": "0",
                      "SPRBAMT": 0,
                      "SPRBSUR": "",
                      "SPRBCNT": "",
                      "SPRBPHN": "",
                      "SPMBREQ": "0",
                      "SPMBDDT": null,
                      "SPMBREC": "0",
                      "SPMBAMT": 0,
                      "SPMBSUR": "",
                      "SPMBCNT": "",
                      "SPMBPHN": "",
                      "SDOCID": 306,
                      "SMSTRCA": "0",
                      "SCRLGDT": null,
                      "SOSTAMP": "AnyUser",
                      "SDSTAMP": "2022-08-29",
                      "STSTAMP": "20:57:51",
                      "SRWID": "9dd9bb8a-fe24-ed11-8382-122f56880ad7",
                      "SRWVR": "1661831871",
                      "R12NTS": null,
                      "R12FLS": null
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "PurchaseOrder-12": {
        "allOf": [
          {
            "$ref": "#/components/schemas/PurchaseOrder"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The source data as we received it from the Source System. \nSee https://docs.agaveapi.com/agave-api/source-data for more info\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "https://api.servicetitan.io/inventory/v2/tenant/{tenantId}/purchase-orders"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "id": 12345,
                      "number": "A123",
                      "invoiceId": 123,
                      "jobId": 123,
                      "projectId": null,
                      "status": "Pending",
                      "typeId": 123,
                      "vendorId": 123,
                      "technicianId": 123,
                      "shipTo": {
                        "street": null,
                        "unit": null,
                        "city": null,
                        "state": null,
                        "zip": null,
                        "country": null
                      },
                      "businessUnitId": 123,
                      "inventoryLocationId": 123,
                      "batchId": null,
                      "vendorDocumentNumber": null,
                      "date": "2022-01-01T00:00:00Z",
                      "requiredOn": "2022-01-01T08:00:00Z",
                      "sentOn": null,
                      "receivedOn": null,
                      "createdOn": "2022-01-01T00:00:00.00Z",
                      "modifiedOn": "2022-01-01T00:00:00.00Z",
                      "total": 100,
                      "tax": 0,
                      "shipping": 0,
                      "summary": null,
                      "items": [
                        {
                          "id": 123,
                          "skuId": 123,
                          "skuName": "E1000",
                          "skuCode": "E1000",
                          "skuType": "Equipment",
                          "description": "Test E1000",
                          "vendorPartNumber": null,
                          "quantity": 1,
                          "quantityReceived": 0,
                          "cost": 100,
                          "total": 100,
                          "serialNumbers": null,
                          "status": "Pending",
                          "chargeable": false
                        }
                      ],
                      "customFields": null
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "PurchaseOrder-13": {
        "allOf": [
          {
            "$ref": "#/components/schemas/PurchaseOrder"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "https://{id}.cloud.jobpac.com.au:{id}/PurchaseOrderListing"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "WorkId": "123",
                      "Firm": "123",
                      "Order": "PO-123",
                      "Complete": "",
                      "Description": "Initial Cement Order",
                      "OrderDate": "01/01/22",
                      "OrderType": "C",
                      "DeliveryDate": "01/01/22",
                      "CreditorWorkId": "123",
                      "CreditorFirm": "123",
                      "Creditor": "12345",
                      "CreditorACN": "12 345 678 901",
                      "CreditorName": "AnyCompany Inc.",
                      "CreditorFax": "",
                      "CreditorPhoneNumber": "(123) 555-0100",
                      "Currency": "AUD",
                      "ExchangeRate": "1.0000",
                      "DeliveryContact": "John Doe",
                      "DeliveryContactPhone": "(123) 555-0100",
                      "DeliveryAddressCode": "AnyCompany HQ",
                      "DeliveryAddressLine1": "123 Main Street",
                      "DeliveryAddressLine2": "Unit 1",
                      "DeliveryPostCode": "19703",
                      "DeliveryState": "California",
                      "DeliverySuburb": "AnyTown",
                      "DeliveryCountry": "United States",
                      "RaisedBy": "12345",
                      "RaisedByUserName": "12345",
                      "SupplierContact": "",
                      "InternalContact": "",
                      "EmailAddress": "contact@agaveapicom",
                      "ProductOrServiceCode": "",
                      "RequisitionNumber": "",
                      "UserDefinedField1": "",
                      "UserDefinedField2": "",
                      "UserDefinedField3": "",
                      "UserDefinedField4": "",
                      "UserDefinedField5": "",
                      "EstimateOnly": "",
                      "IncludeinTaxablePayments": "",
                      "BaseCurrencyNettValue": "100.00",
                      "ForeignCurrencyNettValue": "100.00",
                      "ForeignCurrencyTaxAmount": "0.00",
                      "BaseCurrencyTaxAmount": "0.00",
                      "Template": "",
                      "CostTable": "",
                      "Job": "12345",
                      "Incomplete": "Yes",
                      "Zero1": "0",
                      "Zero2": "0",
                      "Zero3": "0",
                      "Zero4": "0",
                      "Zero5": "0",
                      "Job2": "12345",
                      "Blank": "",
                      "LastUpdateTimestamp": "2022-01-01-00.00.00.000000",
                      "LastUpdatedItemOrHeaderTimestamp": "2022-01-01-00.00.00.000000"
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "PurchaseOrder-14": {
        "allOf": [
          {
            "$ref": "#/components/schemas/PurchaseOrder"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The SQL path on the Source System.",
                    "example": "select * from [PO_PURCHASE_ORDER_HEADER_MC]"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "Company_Code": "12345",
                      "PO_Number": "PO-123",
                      "Vendor_Code": "12345",
                      "Ship_To_Code": "12345",
                      "Job_Number": "A123",
                      "Ship_Name": "AnyCompany Inc.",
                      "Ship_Address_1": "123 Main Street",
                      "Ship_Address_2": "Unit 1",
                      "Ship_City": "AnyTown",
                      "Ship_State": "CA",
                      "Ship_Zip_Code": "19703",
                      "PO_Date_List1": "2022-01-01 00:00:00.000",
                      "PO_Date_List2": null,
                      "PO_Date_List3": "2022-01-01 00:00:00.000",
                      "Terms_Code": "A",
                      "Payment_Days": "30.00",
                      "Terms_Description": "Net 30 Days",
                      "Discount_From_Code": "A",
                      "Discount_Days": "10.00",
                      "Terms_Percent": ".00",
                      "Ordered_By": "",
                      "Confirmed_By": "John Doe",
                      "Resale_Flag": "Y",
                      "Tax_Percent": ".0000",
                      "PO_Print_Flag": "N",
                      "Status_Flag": "Open",
                      "Ship_Via": "AnyCompany Shipping",
                      "Ship_Terms": "",
                      "FOB": "PLANT",
                      "Special_Instructions": "",
                      "Remarks": "Initial Cement Order",
                      "Warehouse_Code": "12345",
                      "Taxable_Amount": "90.00",
                      "Non_Taxable_Amount": ".00",
                      "Tax_Total": "10.00",
                      "PO_Total_Amount": "100.00",
                      "Due_Date_List1": null,
                      "Due_Date_List2": null,
                      "Total_Freight": ".00",
                      "Reference_Flag": "J",
                      "PO_Type": "U",
                      "Received_Date": null,
                      "Received_Flag": "",
                      "Last_Receipt_Number": ".00",
                      "Proposed_PO_Number": "PO-123",
                      "Batch_Code": "12345",
                      "Use_Tax_Code": "CA",
                      "Current_Revision": "0",
                      "Blanket_PO": "",
                      "Blanket_Exp_Date": null,
                      "Blanket_Total_Amt": ".00",
                      "Blanket_Vendor_Num": "",
                      "Current_Blanket_Release": "0",
                      "Routing_Code": "",
                      "Release_Schedule_Exists": "",
                      "PO_Date_List1_Year": "2022",
                      "PO_Date_List1_Period": "01",
                      "PO_Date_List3_Year": "2022",
                      "PO_Date_List3_Period": "01",
                      "Cost_Center": "12345",
                      "Bank_Account_Code": "",
                      "Card_Number": "",
                      "Currency_Code": "",
                      "PO_Method": "2",
                      "Comment": "",
                      "VAT_Code": "",
                      "Total_VAT_Amt": ".00",
                      "Purch_Loc_Code": "",
                      "Pay_Loc_Code": "",
                      "Accrue_PO_Costs": ""
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "PurchaseOrder-15": {
        "allOf": [
          {
            "$ref": "#/components/schemas/PurchaseOrder"
          },
          {
            "type": "object",
            "properties": {
              "key": {
                "type": "string",
                "readOnly": true,
                "description": "The unique key for the Purchase Order in the Sage Intacct system.",
                "example": "ffa8cd28-56d4-57f8-a529-7717dcbe4e4a"
              },
              "retention_amount": {
                "type": "string",
                "description": "The retention amount applied to the Purchase Order.",
                "example": "10.00"
              },
              "retention_percent": {
                "type": "string",
                "description": "The retention percentage applied to the Purchase Order.",
                "example": null
              },
              "delivery_date": {
                "allOf": [
                  {
                    "description": "The delivery date for the Purchase Order."
                  },
                  {
                    "$ref": "#/components/schemas/DateProperty"
                  }
                ]
              },
              "department_id": {
                "allOf": [
                  {
                    "description": "The UUID assigned by Agave of the Department for the Purchase Order."
                  },
                  {
                    "$ref": "#/components/schemas/IdPropertyReadOnly"
                  }
                ]
              },
              "autolink_map": {
                "type": "object",
                "description": "Additional metadata to map this resource to the Source System.",
                "properties": {
                  "erp_id": {
                    "type": "string",
                    "description": "The ERP identifier of the Purchase Order in Sage Intacct.",
                    "example": "purchase orders-po-00033"
                  },
                  "custom_name": {
                    "type": "string",
                    "description": "Custom name assigned to this Purchase Order.",
                    "example": null
                  },
                  "name": {
                    "type": "string",
                    "description": "The name of the Purchase Order in Sage Intacct.",
                    "example": "sample purchase order"
                  },
                  "number": {
                    "type": "string",
                    "description": "The number of the Purchase Order in Sage Intacct.",
                    "example": "po-00033"
                  }
                }
              },
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The API endpoint on the Source System.",
                    "example": "https://api.intacct.com/ia/xml/xmlgw.phtml"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "object",
                    "description": "The raw data from the Source System.",
                    "example": "{\n  \"RECORDNO\": \"1346\",\n  \"ACTUALCOMPLETIONDATE\": null,\n  \"EXECUTEDON\": null,\n  \"MESSAGE\": \"sample purchase order\",\n  \"DOCNO\": \"PO-00033\",\n  \"PROJECT\": \"9999\",\n  \"WHENCREATED\": \"03/25/2025\",\n  \"WHENMODIFIED\": \"03/25/2025 19:38:57\",\n  \"STATE\": \"Pending\",\n  \"TERM\": {\n    \"NAME\": \"Net 30\"\n  },\n  \"CUSTVENDID\": \"V107\",\n  \"DOCPARID\": \"Purchase Orders\",\n  \"DOCID\": \"Purchase Orders-PO-00033\",\n  \"SUBTOTAL\": \"200\",\n  \"TOTAL\": \"200\",\n  \"CURRENCY\": \"USD\",\n  \"TRX_SUBTOTAL\": \"200\",\n  \"TRX_TOTAL\": \"200\",\n  \"BASECURR\": \"USD\",\n  \"RETAINAGEPERCENTAGE\": null\n}\n"
                  }
                }
              }
            }
          }
        ]
      },
      "PurchaseOrder-16": {
        "allOf": [
          {
            "$ref": "#/components/schemas/PurchaseOrder"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The SQL path on the Source System.",
                    "example": "select * from [bPOHB]"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "Co": "12345",
                      "Mth": "2022-01-01 00:00:00",
                      "BatchId": "12345",
                      "BatchSeq": "12345",
                      "BatchTransType": "A",
                      "PO": "PO-123",
                      "VendorGroup": "12345",
                      "Vendor": "12345",
                      "Description": "Initial Cement Order",
                      "OrderDate": "2022-01-01 00:00:00",
                      "OrderedBy": null,
                      "ExpDate": "2022-01-01 00:00:00",
                      "Status": "0",
                      "JCCo": "12345",
                      "Job": " A123",
                      "INCo": null,
                      "Loc": null,
                      "ShipLoc": null,
                      "Address": "123 Main Street",
                      "City": "AnyTown",
                      "State": "California",
                      "Zip": "19703",
                      "ShipIns": null,
                      "HoldCode": null,
                      "PayTerms": "30",
                      "CompGroup": null,
                      "Notes": "Two tons of cement",
                      "OldVendorGroup": null,
                      "OldVendor": null,
                      "OldDesc": null,
                      "OldOrderDate": null,
                      "OldOrderedBy": null,
                      "OldExpDate": null,
                      "OldStatus": null,
                      "OldJCCo": null,
                      "OldJob": null,
                      "OldINCo": null,
                      "OldLoc": null,
                      "OldShipLoc": null,
                      "OldAddress": null,
                      "OldCity": null,
                      "OldState": null,
                      "OldZip": null,
                      "OldShipIns": null,
                      "OldHoldCode": null,
                      "OldPayTerms": null,
                      "OldCompGroup": null,
                      "UniqueAttchID": null,
                      "Attention": null,
                      "OldAttention": null,
                      "PayAddressSeq": null,
                      "OldPayAddressSeq": null,
                      "POAddressSeq": null,
                      "OldPOAddressSeq": null,
                      "Address2": "Unit B",
                      "OldAddress2": null,
                      "KeyID": "12345",
                      "Country": null,
                      "OldCountry": null,
                      "SMCo": null,
                      "WorkOrder": null,
                      "OldSMCo": null,
                      "OldWorkOrder": null,
                      "AutoCloseYN": "N",
                      "OldAutoCloseYN": null,
                      "AllowAddItemToExistingPO": "N"
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "NewPurchaseOrderLineItem": {
        "type": "object",
        "description": "Schema for creating a new Purchase Order line item.",
        "properties": {
          "name": {
            "type": "string",
            "description": "The name of the Purchase Order Line Item.",
            "example": "Concrete"
          },
          "description": {
            "type": "string",
            "description": "A description of the Purchase Order Line Item.",
            "example": "High quality concrete for building foundation."
          },
          "quantity": {
            "type": "number",
            "description": "The quantity of this line item.",
            "example": 2
          },
          "unit": {
            "type": "string",
            "description": "The unit of measure for this line item.",
            "example": "ea"
          },
          "unit_price": {
            "allOf": [
              {
                "$ref": "#/components/schemas/MoneyProperty"
              },
              {
                "description": "The unit price of this line item."
              },
              {
                "example": "50.00"
              }
            ]
          },
          "total_amount": {
            "allOf": [
              {
                "$ref": "#/components/schemas/MoneyProperty"
              },
              {
                "description": "The total amount (quantity * unit_price) of this line item."
              },
              {
                "example": "100.00"
              }
            ]
          }
        }
      },
      "NewPurchaseOrder": {
        "type": "object",
        "description": "Schema for creating a new Purchase Order.",
        "required": [
          "name",
          "code",
          "total_amount",
          "source_data"
        ],
        "properties": {
          "name": {
            "type": "string",
            "description": "The name of the Purchase Order.",
            "example": "Initial Concrete Order"
          },
          "code": {
            "type": "string",
            "description": "The code or identifier for the Purchase Order.",
            "example": "A123"
          },
          "description": {
            "type": "string",
            "description": "A short description of the Purchase Order.",
            "example": "Two tons of concrete."
          },
          "line_items": {
            "type": "array",
            "description": "The line items for this Purchase Order.",
            "items": {
              "$ref": "#/components/schemas/NewPurchaseOrderLineItem"
            }
          },
          "status": {
            "type": "string",
            "description": "The status of the Purchase Order.  \nCreate operations will always write the value for this field as \"draft\".\n",
            "example": "draft",
            "enum": [
              "active",
              "closed",
              "draft",
              "revised"
            ]
          },
          "total_amount": {
            "allOf": [
              {
                "$ref": "#/components/schemas/MoneyProperty"
              },
              {
                "description": "The total amount of the Purchase Order, inclusive of tax."
              },
              {
                "example": "15000.00"
              }
            ]
          },
          "source_data": {
            "type": "object",
            "description": "The Source Data as we received it from the Source System.  \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
            "properties": {
              "path": {
                "type": "string",
                "description": "The URL path on the Source System.",
                "example": "https://developer.api.autodesk.com/cost/v1/containers/{{containerId}}/contracts/{{subcontractId}}"
              },
              "content_type": {
                "type": "string",
                "description": "The content type of the Source Data.",
                "example": "application/json"
              },
              "data": {
                "type": "string",
                "description": "The raw data from the Source System.",
                "example": "{\n  \"id\": \"12345\",\n  \"name\": \"Initial Concrete Orrder\",\n  \"description\": \"Two tons of concrete.\",\n  \"containerId\": \"12345\",\n  \"code\": \"A123\",\n  \"status\": \"Active\",\n  \"total\": \"15000.0000\",\n  \"companyId\": \"12345\",\n  \"mainContractId\": \"12345\",\n  \"createdAt\": \"2022-01-01T00:00:00.000Z\",\n  \"updatedAt\": \"2022-01-01T00:00:00.000Z\",\n  \"integrationState\": null,\n  \"exchangeRate\": \"1.00000000\"\n}\n"
              }
            }
          }
        }
      },
      "NewPurchaseOrderLineItem-2": {
        "required": [
          "cost_code_id",
          "unit_of_measure (required when item_id is not present)",
          "sub_job_id (required if project_id is present)"
        ],
        "type": "object",
        "properties": {
          "cost_code_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Cost Code](#tag--cost-codes) for the Line Item."
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          },
          "description": {
            "type": "string",
            "description": "A description of the Line Item.\n",
            "example": "Two tons of cement"
          },
          "ledger_account_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Ledger Account](#tag--ledger-accounts) for the Line Item.\n"
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          },
          "project_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Project](#tag--projects) for the Purchase Order."
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          },
          "quantity": {
            "type": "string",
            "description": "The estimated quantity of the unit in the Line Item.\n",
            "example": "2.0"
          },
          "sub_job_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Sub Job](#tag--sub-jobs) for the Line Item. **Note** This is required if project_id is present in the header."
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          },
          "unit_cost": {
            "type": "string",
            "description": "The cost of each unit associated with the Line Item.",
            "example": "50"
          },
          "unit_of_measure": {
            "type": "string",
            "description": "The unit used for measuring the estimated quantity of the Line Item.",
            "example": "TON"
          }
        }
      },
      "NewPurchaseOrder-2": {
        "required": [
          "number",
          "terms",
          "vendor_id"
        ],
        "type": "object",
        "properties": {
          "description": {
            "type": "string",
            "description": "A detailed description of the Purchase Order.",
            "example": "Two tons of cement"
          },
          "delivery_address": {
            "$ref": "#/components/schemas/Address"
          },
          "delivery_date": {
            "allOf": [
              {
                "description": "The delivery date of the Purchase Order."
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ]
          },
          "issue_date": {
            "allOf": [
              {
                "description": "The issue date of the Purchase Order."
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ]
          },
          "line_items": {
            "description": "The line items for the Purchase Order. To learn more about creating and updating Line Items, see [link](/agave-api/line-items).",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/NewPurchaseOrderLineItem-2"
            }
          },
          "name": {
            "type": "string",
            "description": "The name of the Purchase Order.",
            "example": "Initial Cement Order"
          },
          "number": {
            "type": "string",
            "description": "The number of the Purchase Order. **Note:** In Acumatica, PO Orders must have manual numbering turned on under Numbering Sequences.",
            "example": "PO-123"
          },
          "order_date": {
            "allOf": [
              {
                "description": "The date the Purchase Order was made."
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ]
          },
          "project_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Project](#tag--projects) for the Purchase Order."
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          },
          "status": {
            "type": "string",
            "description": "The status of the Purchase Order.",
            "example": "Open",
            "enum": [
              "On Hold",
              "Open",
              "Completed"
            ]
          },
          "terms": {
            "type": "string",
            "description": "The payment terms for the Purchase Order.",
            "example": "Net 30"
          },
          "vendor_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Vendor](#tag--vendors)."
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          }
        }
      },
      "NewPurchaseOrderLineItem-3": {
        "type": "object",
        "properties": {
          "amount": {
            "type": "string",
            "description": "The total monetary amount of the Line Item.",
            "example": "100.00"
          },
          "cost_code_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Cost Code](#tag--cost-codes) for the Line Item."
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          },
          "cost_type_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Cost Type](#tag--cost-types) for the Line Item."
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          },
          "description": {
            "type": "string",
            "description": "A description of the Line Item.",
            "example": "Two tons of cement."
          },
          "quantity": {
            "type": "string",
            "description": "The estimated quantity of the unit in the Line Item.",
            "example": "2.0"
          },
          "tax_code_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Tax Code](#tag--tax-codes) for the Line Item."
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          },
          "unit_cost": {
            "type": "string",
            "description": "The cost of each unit associated with the Line Item.",
            "example": "50"
          },
          "unit_of_measure": {
            "type": "string",
            "description": "The unit used for measuring the estimated quantity of the Line Item.",
            "example": "EA"
          },
          "vendor_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Vendor](#tag--vendors) or Supplier associated with the Purchase Order Line Item."
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          }
        }
      },
      "NewPurchaseOrder-3": {
        "type": "object",
        "properties": {
          "approval_date": {
            "allOf": [
              {
                "description": "The approval date of the Purchase Order."
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ]
          },
          "description": {
            "type": "string",
            "description": "A detailed description of the Purchase Order.",
            "example": "Two tons of cement"
          },
          "issue_date": {
            "allOf": [
              {
                "description": "The date the Purchase Order contract was issued."
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ]
          },
          "line_items": {
            "description": "The line items for the Purchase Order. To learn more about creating and updating Line Items, see [link](/agave-api/line-items).",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/NewPurchaseOrderLineItem-3"
            }
          },
          "name": {
            "type": "string",
            "description": "The name of the Purchase Order.",
            "example": "Initial Cement Order"
          },
          "number": {
            "type": "string",
            "description": "The number of the Purchase Order. **Note:** for Jobpac, this value is auto-generated.",
            "example": "PO-123"
          },
          "order_date": {
            "allOf": [
              {
                "description": "The date the Purchase Order was made."
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ]
          },
          "status": {
            "type": "string",
            "description": "The status of the Purchase Order.",
            "example": "Pending",
            "enum": [
              "Closed",
              "Instructed",
              "Pending",
              "Posted"
            ]
          },
          "terms": {
            "type": "string",
            "description": "The payment terms for the Purchase Order.",
            "example": "Net 30"
          },
          "type": {
            "type": "string",
            "description": "The type of Purchase Order.",
            "example": "Purchase Order"
          },
          "vendor_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Vendor](#tag--vendors)."
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          },
          "source_data": {
            "type": "object",
            "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
            "properties": {
              "ScmstBankDept": {
                "allOf": [
                  {
                    "description": "The default Bank Department for the Vendor. The Bank Department can be retrieved using Agave's [passthrough requests](https://docs.agaveapi.com/agave-api/passthrough-requests). Note, set the `path` to \"/glrestapi/rest/v1/rtigenericgldepts/\"."
                  },
                  {
                    "type": "string"
                  },
                  {
                    "example": "00"
                  }
                ]
              }
            }
          }
        }
      },
      "NewPurchaseOrderLineItem-4": {
        "type": "object",
        "required": [
          "description",
          "quantity",
          "unit_cost"
        ],
        "properties": {
          "cost_code_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Cost Code](#tag--cost-codes) for the Line Item."
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          },
          "cost_type_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Cost Type](#tag--cost-types) for the Line Item."
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          },
          "description": {
            "type": "string",
            "description": "A description of the Line Item.",
            "example": "Two tons of cement."
          },
          "item_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Item](#tag--items) associated with the Line Item."
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          },
          "quantity": {
            "type": "string",
            "description": "The quantity of the unit in the Line Item.",
            "example": "2.0"
          },
          "sub_job_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Sub Job](#tag--sub-jobs) associated with the Line Item.\n\n**Note for Foundation**: this field is required if Sub Jobs are enabled for a customer's Foundation instance.\n"
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          },
          "unit_cost": {
            "type": "string",
            "description": "The cost of each unit associated with the Line Item.",
            "example": "50"
          },
          "unit_of_measure": {
            "type": "string",
            "description": "The unit used for measuring the quantity of the Purchase Order Line Item.\n\n**Note for Foundation**: a list of possible values for this field can be found with the \"description\" column in the `units` table, which requires a passthrough request. To learn more about passthrough requests, see [link](/agave-api/passthrough-requests#foundation-viewpoint-spectrum-and-viewpoint-vista).\n",
            "example": "Hours"
          }
        }
      },
      "NewPurchaseOrder-4": {
        "type": "object",
        "required": [
          "issue_date",
          "name",
          "number",
          "type",
          "vendor_id"
        ],
        "properties": {
          "issue_date": {
            "allOf": [
              {
                "description": "The date the Purchase Order contract was issued."
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ]
          },
          "line_items": {
            "description": "The line items for the Purchase Order. To learn more about creating and updating Line Items, see [link](/agave-api/line-items).",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/NewPurchaseOrderLineItem-4"
            }
          },
          "name": {
            "type": "string",
            "description": "The name of the Purchase Order.",
            "example": "Initial Cement Order"
          },
          "number": {
            "type": "string",
            "description": "The number of the Purchase Order.",
            "example": "PO-123"
          },
          "status": {
            "type": "string",
            "description": "The status of the Purchase Order.\n\n**note for Founation**: only \"Staged\" is supported for POST operations.\n",
            "example": "Staged",
            "enum": [
              "Cancelled",
              "Closed",
              "Open",
              "Pending",
              "Staged"
            ]
          },
          "terms": {
            "type": "string",
            "description": "The payment terms for the Purchase Order.\n\n**Note for Foundation**: a list of possible values for this field can be found with the \"description\" column in the `terms` table, which requires a passthrough request. To learn more about passthrough requests, see [link](/agave-api/passthrough-requests#foundation-viewpoint-spectrum-and-viewpoint-vista).\n",
            "example": "Net 30"
          },
          "type": {
            "type": "string",
            "description": "The type of Purchase Order.",
            "example": "Detail",
            "enum": [
              "Basic",
              "Detail"
            ]
          },
          "vendor_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Vendor](#tag--vendors)."
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          }
        }
      },
      "NewPurchaseOrderLineItem-5": {
        "type": "object",
        "required": [
          "description"
        ],
        "properties": {
          "cost_code_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Cost Code](#tag--cost-codes) for the Line Item. **Note for Procore:** `cost_code_id` is prohibited when `wbs_id` is present."
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          },
          "cost_type_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Cost Type](#tag--cost-types) for the Line Item. **Note for Procore:** `cost_type_id` is prohibited when `wbs_id` is present."
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          },
          "description": {
            "type": "string",
            "description": "A description of the Line Item.",
            "example": "Two tons of cement."
          },
          "quantity": {
            "type": "string",
            "description": "The estimated quantity of the unit in the Line Item.",
            "example": "2.0"
          },
          "unit_cost": {
            "type": "string",
            "description": "The cost of each unit associated with the Line Item.",
            "example": "50"
          },
          "unit_of_measure": {
            "type": "string",
            "description": "The unit used for measuring the estimated quantity of the Line Item.",
            "example": "Tons"
          },
          "wbs_id": {
            "allOf": [
              {
                "description": "The UUID of the [WBS Code](#tag--wbs) for the Purchase Order Line Item, assigned by Agave. **Note for Procore:** `wbs_id` is prohibited when `cost_code_id` and `cost_type_id` are present."
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          }
        }
      },
      "NewPurchaseOrder-5": {
        "type": "object",
        "properties": {
          "approval_date": {
            "allOf": [
              {
                "description": "The approval date of the Purchase Order."
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ]
          },
          "description": {
            "type": "string",
            "description": "A detailed description of the Purchase Order.",
            "example": "Two tons of cement"
          },
          "issue_date": {
            "allOf": [
              {
                "description": "The date the Purchase Order contract was issued."
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ]
          },
          "line_items": {
            "description": "The line items for the Purchase Order. To learn more about creating and updating Line Items, see [link](/agave-api/line-items).",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/NewPurchaseOrderLineItem-5"
            }
          },
          "name": {
            "type": "string",
            "description": "The name of the Purchase Order.",
            "example": "Initial Cement Order"
          },
          "number": {
            "type": "string",
            "description": "The number of the Purchase Order. **Note for Procore:** this value will auto-generate if not supplied.",
            "example": "PO-123"
          },
          "order_date": {
            "allOf": [
              {
                "description": "The date the Purchase Order was made."
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ]
          },
          "ship_via": {
            "type": "string",
            "description": "The method of delivery for the Purchase Order.",
            "example": "AnyCompany Shipping"
          },
          "status": {
            "type": "string",
            "description": "The status of the Purchase Order. **Note for Procore:** this value will default to \"Draft\" if not supplied.",
            "example": "Draft",
            "enum": [
              "Approved",
              "Closed",
              "Draft",
              "Partially Received",
              "Processing",
              "Received",
              "Submitted"
            ]
          },
          "terms": {
            "type": "string",
            "description": "The payment terms for the Purchase Order.",
            "example": "Net 30"
          },
          "vendor_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Vendor](#tag--vendors)."
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          }
        }
      },
      "NewPurchaseOrderLineItem-6": {
        "type": "object",
        "required": [
          "item_id"
        ],
        "properties": {
          "amount": {
            "type": "string",
            "description": "The amount of the Line Item, excluding tax.",
            "example": "100.00"
          },
          "customer_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Customer](#tag--customers) for the Line Item."
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          },
          "description": {
            "type": "string",
            "description": "A description of the Line Item.",
            "example": "Two tons of cement."
          },
          "item_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Item](#tag--items) associated with the Line Item.\n\n**Note for QuickBooks Desktop**: Items with a type of \"Discount\", \"Item Group\", \"Payment\", \"Sales Tax\", \"Sales Tax Group\", and \"Subtotal\" are not supported.\n"
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          },
          "quantity": {
            "type": "string",
            "description": "The estimated quantity of the unit in the Line Item.\n\n**Note for QuickBooks Desktop**: you cannot set a value for this field for Items that have a type of \"Fixed Asset\".\n",
            "example": "2.0"
          },
          "type": {
            "type": "string",
            "description": "The type of the Line Item. Note, the potential values for this field can be found with the ClassQueryRq endpoint in QuickBooks Desktop, which requires a passthrough request. To learn more about this passthrough request, see [link](/agave-api/passthrough-requests#quickbooks-desktop).",
            "example": "Material Costs - Job Related"
          },
          "unit_of_measure": {
            "type": "string",
            "description": "The unit used for measuring the estimated quantity of the Line Item.\n\n**Note for QuickBooks Desktop**: units of measure must be enabled to be used in the API. To enable them, see [link](https://docs.agaveapi.com/agave-link/source-systems/quickbooks-desktop#3-units-of-measure-are-not-enabled).\n",
            "example": "Tons"
          }
        }
      },
      "NewPurchaseOrder-6": {
        "type": "object",
        "required": [
          "line_items"
        ],
        "properties": {
          "amount": {
            "type": "string",
            "description": "Total amount of the Purchase Order, including tax.",
            "example": "100.00"
          },
          "delivery_address": {
            "$ref": "#/components/schemas/Address"
          },
          "line_items": {
            "description": "The line items for the Purchase Order. To learn more about creating and updating Line Items, see [link](/agave-api/line-items).",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/NewPurchaseOrderLineItem-6"
            }
          },
          "name": {
            "type": "string",
            "description": "The name of the Purchase Order.",
            "example": "Initial Cement Order"
          },
          "number": {
            "type": "string",
            "description": "The number of the Purchase Order.",
            "example": "PO-123"
          },
          "order_date": {
            "allOf": [
              {
                "description": "The date the Purchase Order was made."
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ]
          },
          "type": {
            "type": "string",
            "description": "The type of Purchase Order. \n\n**Note for QuickBooks Desktop**: the potential values for this field can be found with the ClassQueryRq endpoint in QuickBooks Desktop, which requires a passthrough request. To learn more about this passthrough request, see [link](/agave-api/passthrough-requests#quickbooks-desktop).\n",
            "example": "Unit Price"
          },
          "vendor_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Vendor](#tag--vendors)."
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          }
        }
      },
      "NewPurchaseOrderLineItem-7": {
        "type": "object",
        "properties": {
          "amount": {
            "type": "string",
            "description": "The amount of the Line Item, excluding tax.",
            "example": "100.00"
          },
          "customer_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Customer](#tag--customers) for the Line Item.\n\n**Note for QuickBooks Online:** if the Line Item has a `status` of \"Billable\", `customer_id` is required.\n"
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          },
          "description": {
            "type": "string",
            "description": "A description of the Line Item.",
            "example": "Two tons of cement."
          },
          "item_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Item](#tag--items) associated with the Line Item.\n\n**Note for QuickBooks Online:** if `item_id` is present, `ledger_account_id` is prohibited.\n"
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          },
          "ledger_account_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Ledger Account](#tag--ledger-accounts) for the Line Item.\n\n**Notes for QuickBooks Online:** \n- If `ledger_account_id` is present, `item_id` is prohibited.\n- The Ledger Account must have a `classification` of \"Expense\".\n"
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          },
          "quantity": {
            "type": "string",
            "description": "The estimated quantity of the unit in the Line Item.",
            "example": "2.0"
          },
          "status": {
            "type": "string",
            "description": "The status of the Line Item.",
            "example": "Billable",
            "enum": [
              "Billable",
              "NotBillable"
            ]
          },
          "type": {
            "type": "string",
            "description": "The type of the Line Item. \n\n**Note for QuickBooks Online**: Note, the potential values for this field can be found with the Class endpoint in QuickBooks Online, which requires a passthrough request. To learn more about this passthrough request, see [link](/agave-api/passthrough-requests#example-requests).\n",
            "example": "Revenue - Job"
          },
          "unit_cost": {
            "type": "string",
            "description": "The cost of each unit associated with the Line Item.",
            "example": "50"
          },
          "unit_of_measure": {
            "type": "string",
            "description": "The unit used for measuring the estimated quantity of the Line Item.",
            "example": "Tons"
          }
        }
      },
      "NewPurchaseOrder-7": {
        "type": "object",
        "required": [
          "ledger_account_id",
          "line_items",
          "vendor_id"
        ],
        "properties": {
          "delivery_address": {
            "$ref": "#/components/schemas/Address"
          },
          "ledger_account_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Ledger Account](#tag--ledger-accounts) for the Purchase Order.\n\n**Note for QuickBooks Online**: the Ledger Account must have a `type` of \"Accounts Payable\".\n"
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          },
          "line_items": {
            "description": "The line items for the Purchase Order. To learn more about creating and updating Line Items, see [link](/agave-api/line-items).",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/NewPurchaseOrderLineItem-7"
            }
          },
          "name": {
            "type": "string",
            "description": "The name of the Purchase Order.",
            "example": "Initial Cement Order"
          },
          "number": {
            "type": "string",
            "description": "The number of the Purchase Order.",
            "example": "PO-123"
          },
          "order_date": {
            "allOf": [
              {
                "description": "The date the Purchase Order was made."
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ]
          },
          "ship_via": {
            "type": "string",
            "description": "The method of delivery for the Purchase Order.",
            "example": "AnyCompany Shipping"
          },
          "status": {
            "type": "string",
            "description": "The status of the Purchase Order.",
            "example": "Open",
            "enum": [
              "Closed",
              "Open"
            ]
          },
          "vendor_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Vendor](#tag--vendors)."
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          }
        }
      },
      "NewPurchaseOrderLineItem-8": {
        "required": [
          "cost_code_id",
          "cost_type_id",
          "description"
        ],
        "type": "object",
        "properties": {
          "amount": {
            "type": "string",
            "description": "The total monetary amount of the Line Item.",
            "example": "100.00"
          },
          "cost_code_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Cost Code](#tag--cost-codes) for the Line Item."
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          },
          "cost_type_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Cost Type](#tag--cost-types) for the Line Item."
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          },
          "description": {
            "type": "string",
            "description": "A description of the Line Item.",
            "example": "Two tons of cement."
          },
          "item_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Item](#tag--items) associated with the Line Item."
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          },
          "quantity": {
            "type": "string",
            "description": "The estimated quantity of the unit in the Line Item.",
            "example": "2.0"
          },
          "sub_job_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Sub Jobs](#tag--sub-jobs) for the Line Item."
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          },
          "unit_cost": {
            "type": "string",
            "description": "The cost of each unit associated with the Line Item.",
            "example": "50"
          },
          "unit_of_measure": {
            "type": "string",
            "description": "The unit used for measuring the estimated quantity of the Line Item.",
            "example": "Tons"
          }
        }
      },
      "NewPurchaseOrder-8": {
        "required": [
          "line_items",
          "name",
          "order_date",
          "status",
          "vendor_id"
        ],
        "type": "object",
        "properties": {
          "approval_date": {
            "allOf": [
              {
                "description": "The approval date of the Purchase Order."
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ]
          },
          "delivery_date": {
            "allOf": [
              {
                "description": "The delivery date of the Purchase Order."
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ]
          },
          "description": {
            "type": "string",
            "description": "A detailed description of the Purchase Order.",
            "example": "Two tons of cement"
          },
          "line_items": {
            "description": "The line items for the Purchase Order. To learn more about creating and updating Line Items, see [link](/agave-api/line-items).",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/NewPurchaseOrderLineItem-8"
            }
          },
          "name": {
            "type": "string",
            "description": "The name of the Purchase Order.",
            "example": "Initial Cement Order"
          },
          "number": {
            "type": "string",
            "description": "The number of the Purchase Order. **Note:** for Jobpac, this value is auto-generated.",
            "example": "PO-123"
          },
          "order_date": {
            "allOf": [
              {
                "description": "The date the Purchase Order was made."
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ]
          },
          "status": {
            "type": "string",
            "description": "The status of the Purchase Order.",
            "example": "Open",
            "enum": [
              "Closed",
              "Dispute",
              "Master",
              "Open",
              "Review",
              "Void"
            ]
          },
          "terms": {
            "type": "string",
            "description": "The payment terms for the Purchase Order.\n\n**Note for Sage 100 Contractor**: the terms must be in the format \"##DY\", \"##MO\", or \"##TH\" (where \"#\" is an integer).\n",
            "example": "30DY"
          },
          "type": {
            "type": "string",
            "description": "The type of Purchase Order.\n\n**Note for Sage 100 Contractor:** a list of possible values for this field can be found with the \"typnme\" column in the `pchtyp` table, which requires a passthrough request. To learn more about passthrough requests, see [link](/agave-api/passthrough-requests#foundation-viewpoint-spectrum-and-viewpoint-vista).\n",
            "example": "Unit Price"
          },
          "vendor_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Vendor](#tag--vendors)."
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          },
          "source_data": {
            "type": "object",
            "properties": {
              "SalesTaxDistrictRef": {
                "type": "object",
                "description": "The Sales Tax Code of the Purchase Order.\n",
                "properties": {
                  "ObjectID": {
                    "description": "An identifier for the Sales Tax Code. A list of possible values for this field can be retried using the `source_id` field from the [Tax Codes](#tag--tax-codes) endpoints.",
                    "type": "string",
                    "example": "1"
                  }
                }
              }
            }
          }
        }
      },
      "NewPurchaseOrderLineItem-9": {
        "required": [
          "cost_code_id",
          "cost_type_id"
        ],
        "type": "object",
        "properties": {
          "amount": {
            "type": "string",
            "description": "The amount of the Subcontract Line Item.",
            "example": "50.0"
          },
          "cost_code_id": {
            "allOf": [
              {
                "description": "The Agave UUID of the [Cost Code](#tag--cost-codes) associated with the Subcontract Line Item."
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          },
          "cost_type_id": {
            "allOf": [
              {
                "description": "The Agave UUID of the [Cost Type](#tag--cost-types) associated with the Subcontract Line Item."
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          },
          "description": {
            "type": "string",
            "description": "The description of the Subcontract Line Item.",
            "example": "Cleanup for January"
          },
          "quantity": {
            "type": "string",
            "description": "The estimated quantity of the unit in the Subcontract Line Item.",
            "example": "5.0"
          },
          "sub_job_id": {
            "allOf": [
              {
                "description": "The Agave UUID of the [Sub Job](#tag--sub-jobs) associated with the Subcontract Line Item."
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          },
          "tax_code_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Sales Tax Code](#tag--tax-codes) for the Line Item."
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          },
          "unit_cost": {
            "type": "string",
            "description": "The cost of each unit associated with the Subcontract Line Item.",
            "example": "10"
          },
          "unit_of_measure": {
            "type": "string",
            "description": "The unit used for measuring the estimated quantity of the Subcontract Line Item.",
            "example": "Hours"
          }
        }
      },
      "NewPurchaseOrder-9": {
        "type": "object",
        "required": [
          "number",
          "vendor_id"
        ],
        "properties": {
          "approval_date": {
            "allOf": [
              {
                "description": "The approval date of the Purchase Order."
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ]
          },
          "delivery_address": {
            "$ref": "#/components/schemas/Address"
          },
          "delivery_date": {
            "allOf": [
              {
                "description": "The delivery date of the Purchase Order."
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ]
          },
          "description": {
            "type": "string",
            "description": "A detailed description of the Purchase Order.",
            "example": "Two tons of cement"
          },
          "issue_date": {
            "allOf": [
              {
                "description": "The date the Purchase Order contract was issued."
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ]
          },
          "line_items": {
            "type": "array",
            "description": "The UUID assigned by Agave of the Line Items assigned to this Purchase Order. To learn more about creating and updating Line Items, see [link](/agave-api/line-items).\n\n**Note for Sage 300 CRE**: Line Items can only be added using the POST [Purchase Order Line Items endpoint](#tag/purchase-orders/operation/newPurchaseOrderLineItem) or PATCH [Change Orders endpoint](#tag/change-orders/operation/newPurchaseChangeOrders).\n",
            "items": {
              "$ref": "#/components/schemas/NewPurchaseOrderLineItem-9"
            }
          },
          "name": {
            "type": "string",
            "description": "The name of the Purchase Order.",
            "example": "Initial Cement Order"
          },
          "number": {
            "type": "string",
            "description": "The number of the Purchase Order.",
            "example": "PO-123"
          },
          "order_date": {
            "allOf": [
              {
                "description": "The date the Purchase Order was made."
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ]
          },
          "ship_via": {
            "type": "string",
            "description": "The shipping carrier for the Purchase Order.",
            "example": "FedEx"
          },
          "status": {
            "type": "string",
            "description": "The status of the Purchase Order.\n",
            "example": "Draft",
            "enum": [
              "Closed",
              "Committed to Job Cost",
              "Draft",
              "Printed",
              "Release to Accounting"
            ]
          },
          "terms": {
            "type": "string",
            "description": "The payment terms for the Purchase Order.",
            "example": "Net 30"
          },
          "vendor_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Vendor](#tag--vendors)."
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          }
        }
      },
      "NewPurchaseOrderLineItem-10": {
        "type": "object",
        "properties": {
          "amount": {
            "type": "string",
            "description": "The amount of the Line Item, excluding tax.",
            "example": "100.00"
          },
          "cost_code_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Cost Code](#tag--cost-codes) for the Line Item. \n\n**Note for Jobpac:** the Cost Code and Cost Type must be paired together in a Cost Center.\n"
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          },
          "cost_type_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Cost Type](#tag--cost-types) for the Line Item.\n\n**Note for Jobpac:** the Cost Code and Cost Type must be paired together in a Cost Center.\n"
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          },
          "description": {
            "type": "string",
            "description": "A description of the Line Item.",
            "example": "Two tons of cement."
          },
          "quantity": {
            "type": "string",
            "description": "The estimated quantity of the unit in the Line Item.",
            "example": "2.0"
          },
          "unit_cost": {
            "type": "string",
            "description": "The cost of each unit associated with the Line Item.",
            "example": "50"
          },
          "unit_of_measure": {
            "type": "string",
            "description": "The unit used for measuring the estimated quantity of the Line Item.",
            "example": "Tons"
          }
        }
      },
      "NewPurchaseOrder-10": {
        "type": "object",
        "properties": {
          "amount": {
            "type": "string",
            "description": "The amount of the Purchase Order, excluding tax.",
            "example": "100.00"
          },
          "delivery_address": {
            "$ref": "#/components/schemas/Address"
          },
          "delivery_date": {
            "allOf": [
              {
                "description": "The delivery date of the Purchase Order."
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ]
          },
          "line_items": {
            "description": "The line items for the Purchase Order. To learn more about creating and updating Line Items, see [link](/agave-api/line-items).",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/NewPurchaseOrderLineItem-10"
            }
          },
          "name": {
            "type": "string",
            "description": "The name or title of the Purchase Order.",
            "example": "Initial Cement Order"
          },
          "number": {
            "type": "string",
            "description": "The number of the Purchase Order.",
            "example": "PO-123"
          },
          "order_date": {
            "allOf": [
              {
                "description": "The date the Purchase Order was made."
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ]
          },
          "type": {
            "type": "string",
            "description": "The type of Purchase Order.",
            "example": "Enquiry",
            "enum": [
              "Committed",
              "Enquiry"
            ]
          },
          "vendor_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Vendor](#tag--vendors)."
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          }
        }
      },
      "NewPurchaseOrderLineItem-11": {
        "required": [
          "cost_code_id",
          "cost_type_id",
          "ledger_account_id",
          "type"
        ],
        "type": "object",
        "properties": {
          "cost_code_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Cost Code](#tag--cost-codes) for the Line Item."
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          },
          "cost_type_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Cost Type](#tag--cost-types) for the Line Item."
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          },
          "description": {
            "type": "string",
            "description": "A description of the Line Item. \n\n**Note for Viewpoint Spectrum**: this field is required if the `type` is \"Message\".\n",
            "example": "Two tons of cement."
          },
          "item_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Item](#tag--items) associated with the Line Item."
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          },
          "ledger_account_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Ledger Account](#tag--ledger-accounts) for the Line Item.\n\n**Note for Viewpoint Spectrum**: this value will default to the Vendor's default Ledger Account if it is not included.\n"
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          },
          "quantity": {
            "type": "string",
            "description": "The estimated quantity of the unit in the Line Item.\n\n**Note for Viewpoint Spectrum**: this value must be \"1\" if the Purchase Order type is \"Lump Sum\".\n",
            "example": "2.0"
          },
          "type": {
            "type": "string",
            "description": "The type of the Line Item. \n",
            "example": "Stock Item",
            "enum": [
              "Message",
              "Non-Stock Item",
              "Stock Item"
            ]
          },
          "unit_cost": {
            "type": "string",
            "description": "The cost of each unit associated with the Line Item.",
            "example": "50"
          },
          "unit_of_measure": {
            "type": "string",
            "description": "The unit used for measuring the estimated quantity of the Line Item.",
            "example": "TON"
          }
        }
      },
      "NewPurchaseOrder-11": {
        "required": [
          "line_items",
          "name",
          "number",
          "vendor_id"
        ],
        "type": "object",
        "properties": {
          "delivery_date": {
            "allOf": [
              {
                "description": "The delivery date of the Purchase Order."
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ]
          },
          "description": {
            "type": "string",
            "description": "A detailed description of the Purchase Order.",
            "example": "Two tons of cement"
          },
          "line_items": {
            "description": "The line items for the Purchase Order. To learn more about creating and updating Line Items, see [link](/agave-api/line-items).",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/NewPurchaseOrderLineItem-11"
            }
          },
          "name": {
            "type": "string",
            "description": "The name of the Purchase Order.",
            "example": "Initial Cement Order"
          },
          "number": {
            "type": "string",
            "description": "The number of the Purchase Order. **Note:** for Jobpac, this value is auto-generated.",
            "example": "PO-123"
          },
          "order_date": {
            "allOf": [
              {
                "description": "The date the Purchase Order was made."
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ]
          },
          "ship_via": {
            "type": "string",
            "description": "The method of delivery for the Purchase Order.",
            "example": "AnyCompany Shipping"
          },
          "status": {
            "type": "string",
            "description": "The status of the Purchase Order.",
            "example": "Proposed",
            "enum": [
              "Closed",
              "Open",
              "Proposed"
            ]
          },
          "terms": {
            "type": "string",
            "description": "The payment terms for the Purchase Order.",
            "example": "Net 30"
          },
          "type": {
            "type": "string",
            "description": "The type of Purchase Order.",
            "example": "Unit Price",
            "enum": [
              "Lump Sum",
              "Unit Price"
            ]
          },
          "vendor_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Vendor](#tag--vendors)."
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          }
        }
      },
      "NewPurchaseOrderLineItem-12": {
        "type": "object",
        "properties": {
          "amount": {
            "type": "string",
            "description": "The total monetary amount of the Line Item.",
            "example": "100.00"
          },
          "cost_code_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Cost Code](#tag--cost-codes) for the Line Item."
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          },
          "cost_type_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Cost Type](#tag--cost-types) for the Line Item."
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          },
          "customer_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Customer](#tag--customers) for the Line Item."
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          },
          "description": {
            "type": "string",
            "description": "A description of the Line Item.",
            "example": "Two tons of cement."
          },
          "item_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Item](#tag--items) associated with the Line Item."
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          },
          "ledger_account_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Ledger Account](#tag--ledger-accounts) for the Line Item."
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          },
          "quantity": {
            "type": "string",
            "description": "The estimated quantity of the unit in the Line Item.",
            "example": "2.0"
          },
          "status": {
            "type": "string",
            "description": "The status of the Line Item.",
            "example": "Billable"
          },
          "type": {
            "type": "string",
            "description": "The type of the Line Item. \n\n**Note for QuickBooks Online**: this field corresponds to \n[QuickBooks Online Classes](https://quickbooks.intuit.com/learn-support/en-us/help-article/class-list/create-manage-classes-quickbooks-online/L1QzEOUxM_US_en_US).\n",
            "example": "ItemBasedExpenseLineDetail"
          },
          "unit_cost": {
            "type": "string",
            "description": "The cost of each unit associated with the Line Item.",
            "example": "50"
          },
          "unit_of_measure": {
            "type": "string",
            "description": "The unit used for measuring the estimated quantity of the Line Item.",
            "example": "Tons"
          },
          "wbs_id": {
            "allOf": [
              {
                "description": "The UUID of the [WBS Code](#tag--wbs) for the Purchase Order Line Item, assigned by Agave."
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          }
        }
      },
      "NewPurchaseOrder-12": {
        "type": "object",
        "properties": {
          "approval_date": {
            "allOf": [
              {
                "description": "The approval date of the Purchase Order."
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ]
          },
          "description": {
            "type": "string",
            "description": "A detailed description of the Purchase Order.",
            "example": "Two tons of cement"
          },
          "issue_date": {
            "allOf": [
              {
                "description": "The date the Purchase Order contract was issued."
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ]
          },
          "line_items": {
            "description": "The line items for the Purchase Order. To learn more about creating and updating Line Items, see [link](/agave-api/line-items).",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/NewPurchaseOrderLineItem-12"
            }
          },
          "name": {
            "type": "string",
            "description": "The name of the Purchase Order.",
            "example": "Initial Cement Order"
          },
          "number": {
            "type": "string",
            "description": "The number of the Purchase Order. **Note:** for Jobpac, this value is auto-generated.",
            "example": "PO-123"
          },
          "order_date": {
            "allOf": [
              {
                "description": "The date the Purchase Order was made."
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ]
          },
          "status": {
            "type": "string",
            "description": "The status of the Purchase Order.",
            "example": "Active"
          },
          "terms": {
            "type": "string",
            "description": "The payment terms for the Purchase Order.",
            "example": "Net 30"
          },
          "type": {
            "type": "string",
            "description": "The type of Purchase Order.",
            "example": "Unit Price"
          },
          "vendor_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Vendor](#tag--vendors)."
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          }
        }
      },
      "NewPurchaseOrder-13": {
        "allOf": [
          {
            "$ref": "#/components/schemas/NewPurchaseOrder-12"
          },
          {
            "type": "object",
            "properties": {
              "project_id": {
                "type": "string",
                "description": "The UUID or source_id of the [Project](#tag--projects) for this Purchase Order.\n\nFormat: Use \"source_id:{project_id}\" when referencing by source ID.\n",
                "example": "source_id:9999"
              },
              "retention_percent": {
                "type": "string",
                "description": "The retention percentage to apply to the Purchase Order.",
                "example": "5.00"
              },
              "department_id": {
                "type": "string",
                "description": "The UUID or source_id of the Department for the Purchase Order.\n\nFormat: Use \"source_id:{department_id}\" when referencing by source ID.\n",
                "example": "source_id:D101"
              },
              "source_data": {
                "type": "object",
                "description": "Additional data to send to the source system.",
                "properties": {
                  "changelognumber": {
                    "type": "integer",
                    "description": "The change log number for the Purchase Order.",
                    "example": 2
                  },
                  "message": {
                    "type": "string",
                    "description": "A message to include with the Purchase Order.",
                    "example": "sample purchase order from source data"
                  }
                }
              }
            },
            "required": [
              "vendor_id",
              "type"
            ]
          }
        ]
      },
      "NewPurchaseOrderLineItem-13": {
        "required": [
          "cost_code_id",
          "cost_type_id",
          "quantity",
          "status",
          "unit_of_measure"
        ],
        "type": "object",
        "properties": {
          "amount": {
            "type": "string",
            "description": "The total monetary amount of the Line Item. This value will auto-calculate based off of the `quantity` and `unit_cost` if it is not supplied.",
            "example": "100.00"
          },
          "cost_code_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Cost Code](#tag--cost-codes) for the Line Item."
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          },
          "cost_type_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Cost Type](#tag--cost-types) for the Line Item."
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          },
          "description": {
            "type": "string",
            "description": "A description of the Line Item.",
            "example": "Two tons of cement."
          },
          "item_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Item](#tag--items) associated with the Line Item."
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          },
          "quantity": {
            "type": "string",
            "description": "The estimated quantity of the unit in the Line Item.",
            "example": "2.0"
          },
          "status": {
            "type": "string",
            "description": "The status of the Line Item.\n\n**Note for Viewpoint Vista**: if the value for this field is \"Pending\", Agave will write the Purchase Order Line Item to the PO Purchase Order Entry form. If the value for this field is \"PM\", Agave will write the Purchase Order Line Item to the PM Purchase Orders form. \n",
            "example": "Non-Interfaced",
            "enum": [
              "Non-Interfaced",
              "Pending"
            ]
          },
          "unit_cost": {
            "type": "string",
            "description": "The cost of each unit associated with the Line Item.",
            "example": "50"
          },
          "unit_of_measure": {
            "type": "string",
            "description": "The unit used for measuring the estimated quantity of the Line Item.",
            "example": "Tons"
          },
          "vendor_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Supplier](#tag--vendors) for the Line Item."
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          }
        }
      },
      "NewPurchaseOrder-14": {
        "required": [
          "number",
          "status",
          "vendor_id"
        ],
        "type": "object",
        "properties": {
          "batch_id": {
            "type": "string",
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Batch](#tag--batches)."
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          },
          "delivery_address": {
            "$ref": "#/components/schemas/Address"
          },
          "delivery_date": {
            "allOf": [
              {
                "description": "The date the Purchase Order contract is expected to be delivered."
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ]
          },
          "description": {
            "type": "string",
            "description": "A detailed description of the Purchase Order.",
            "example": "Two tons of cement"
          },
          "line_items": {
            "description": "The line items for the Purchase Order. To learn more about creating and updating Line Items, see [link](/agave-api/line-items).",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/NewPurchaseOrderLineItem-13"
            }
          },
          "name": {
            "type": "string",
            "description": "The name of the Purchase Order.",
            "example": "Initial Cement Order"
          },
          "number": {
            "type": "string",
            "description": "The number of the Purchase Order. **Note:** for Jobpac, this value is auto-generated.",
            "example": "PO-123"
          },
          "order_date": {
            "allOf": [
              {
                "description": "The date the Purchase Order was made."
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ]
          },
          "status": {
            "type": "string",
            "description": "The status of the Purchase Order.\n\n**Note for Viewpoint Vista**: if the value for this field is \"Pending\", Agave will write the Purchase Order to the PO Purchase Order Entry form. If the value for this field is \"PM\", Agave will write the Purchase Order to the PM Purchase Orders form. \n",
            "example": "PM",
            "enum": [
              "Pending",
              "PM"
            ]
          },
          "terms": {
            "type": "string",
            "description": "The payment terms for the Purchase Order.\n\n**Note for Viewpoint Vista:** a list of possible values for this field can be found with the \"description\" column in the `HQPT` table, which requires a passthrough request. To learn more about passthrough requests, see [link](/agave-api/passthrough-requests#foundation-viewpoint-spectrum-and-viewpoint-vista).\n",
            "example": "Net 30 Days"
          },
          "type": {
            "type": "string",
            "description": "The type of Purchase Order.\n\n**Note for Viewpoint Vista:** this field is only valid for Purchase Orders created in the Project Management module. A list of possible values for this field can be found with the \"description\" column in the `PMDT` table, which requires a passthrough request. To learn more about passthrough requests, see [link](/agave-api/passthrough-requests#foundation-viewpoint-spectrum-and-viewpoint-vista).\n",
            "example": "Unit Price"
          },
          "vendor_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Vendor](#tag--vendors)."
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          }
        }
      },
      "BulkNewPurchaseOrder": {
        "required": [
          "creates"
        ],
        "type": "object",
        "properties": {
          "creates": {
            "type": "array",
            "description": "An array of objects including new Purchase Orders and Line Items.",
            "items": {
              "$ref": "#/components/schemas/NewPurchaseOrder-9"
            }
          }
        }
      },
      "PurchaseOrderLineItem-2": {
        "allOf": [
          {
            "$ref": "#/components/schemas/PurchaseOrderLineItem"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": ""
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "id": "19d80871-1fa1-ef11-ba63-0ea90bdd80a1",
                      "rowNumber": 1,
                      "note": {
                        "value": ""
                      },
                      "Active": {
                        "value": true
                      },
                      "AddressOverride": {
                        "value": false
                      },
                      "Calendar": [],
                      "ContactOverride": {
                        "value": false
                      },
                      "CreatedDateTime": {
                        "value": "2024-11-12T09:56:29.857-08:00"
                      },
                      "Customer": {
                        "value": "TESTCUST01"
                      },
                      "Default": {
                        "value": true
                      },
                      "DefaultProject": [],
                      "EntityUsageType": {
                        "value": "Default"
                      },
                      "FedExGroundCollect": {
                        "value": false
                      },
                      "FOBPoint": [],
                      "Insurance": {
                        "value": false
                      },
                      "LastModifiedDateTime": {
                        "value": "2024-11-13T17:48:30.863-08:00"
                      },
                      "LeadTimeDays": [],
                      "LocationContact": {
                        "id": "dfba6e20-fb63-48ce-8305-c8092151d791",
                        "rowNumber": 1,
                        "note": null,
                        "Attention": [],
                        "ContactID": {
                          "value": 101471
                        },
                        "DisplayName": {
                          "value": "Customer 01"
                        },
                        "Email": {
                          "value": "test@gmail.com"
                        },
                        "Fax": [],
                        "FirstName": [],
                        "FullName": {
                          "value": "Customer 01"
                        },
                        "JobTitle": [],
                        "LastName": [],
                        "MiddleName": [],
                        "Phone1": [],
                        "Phone1Type": {
                          "value": "Business 1"
                        },
                        "Phone2": [],
                        "Phone2Type": {
                          "value": "Business 2"
                        },
                        "Title": [],
                        "WebSite": [],
                        "custom": []
                      },
                      "LocationID": {
                        "value": "MAIN"
                      },
                      "LocationName": {
                        "value": "Primary Location"
                      },
                      "NoteID": {
                        "value": "19d80871-1fa1-ef11-ba63-0ea90bdd80a1"
                      },
                      "OrderPriority": {
                        "value": 0
                      },
                      "PriceClass": [],
                      "ResidentialDelivery": {
                        "value": false
                      },
                      "SaturdayDelivery": {
                        "value": false
                      },
                      "ShippingBranch": [],
                      "ShippingRule": {
                        "value": "Back Order Allowed"
                      },
                      "ShippingTerms": [],
                      "ShippingZone": [],
                      "ShipVia": [],
                      "Status": {
                        "value": "Active"
                      },
                      "TaxExemptionNbr": [],
                      "TaxRegistrationID": [],
                      "TaxZone": [],
                      "Warehouse": [],
                      "custom": [],
                      "_links": {
                        "self": "/AcumaticaERP/entity/Default/23.200.001/CustomerLocation/19d80871-1fa1-ef11-ba63-0ea90bdd80a1",
                        "files:put": "/AcumaticaERP/entity/Default/23.200.001/files/PX.Objects.AR.CustomerLocationMaint/Location/19d80871-1fa1-ef11-ba63-0ea90bdd80a1/{filename}"
                      }
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "SubcontractLineItem": {
        "type": "object",
        "properties": {
          "id": {
            "allOf": [
              {
                "description": "The UUID of the Subcontract Line Item assigned by Agave."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "source_id": {
            "type": "string",
            "readOnly": true,
            "example": "12345",
            "description": "The ID of the Subcontract Line Item in the Source System."
          },
          "amount": {
            "type": "string",
            "description": "The current monetary amount of the Subcontract Line Item, inclusive of approved Change Orders.",
            "example": "15000.0"
          },
          "cost_code_id": {
            "allOf": [
              {
                "description": "The Agave UUID of the [Cost Code](#tag--cost-codes) associated with the Subcontract Line Item."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "cost_type_id": {
            "allOf": [
              {
                "description": "The Agave UUID of the [Cost Type](#tag--cost-types) associated with the Subcontract Line Item."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "description": {
            "type": "string",
            "description": "The description of the Subcontract Line Item.",
            "example": "Cleanup for the first week of October"
          },
          "original_amount": {
            "type": "string",
            "description": "The original monetary amount of the Subcontract Line Item.",
            "example": "10000.0"
          },
          "project_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Project](#tag--projects) for the Line Item."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "quantity": {
            "type": "string",
            "description": "The estimated quantity of the unit in the Subcontract Line Item.",
            "example": "5.0"
          },
          "sub_job_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Sub Job](#tag--sub-jobs) for the Line Item."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "tax_amount": {
            "type": "string",
            "description": "The tax amount for the Subcontract Line Item.",
            "example": "1000.0"
          },
          "tax_code_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Sales Tax Code](#tag--tax-codes) for the Line Item."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "type": {
            "type": "string",
            "description": "The type of the Subcontract Line Item.",
            "example": "Labor"
          },
          "unit_cost": {
            "type": "string",
            "description": "The cost of each unit associated with the Subcontract Line Item.",
            "example": "10"
          },
          "unit_of_measure": {
            "type": "string",
            "description": "The unit used for measuring the estimated quantity of the Subcontract Line Item.",
            "example": "Hours"
          },
          "wbs_id": {
            "allOf": [
              {
                "description": "The UUID of the [WBS Code](#tag--wbs) for the Subcontract Line Item, assigned by Agave."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "source_create_time": {
            "allOf": [
              {
                "description": "The datetime the Subcontract Line Item was created."
              },
              {
                "$ref": "#/components/schemas/DateTimeProperty"
              }
            ]
          },
          "source_update_time": {
            "allOf": [
              {
                "description": "The datetime the Subcontract Line Item was last updated."
              },
              {
                "$ref": "#/components/schemas/DateTimeProperty"
              }
            ]
          }
        }
      },
      "PurchaseOrderLineItem-3": {
        "allOf": [
          {
            "$ref": "#/components/schemas/SubcontractLineItem"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "https://developer.api.autodesk.com/cost/v1/containers/{{containerId}}/contracts/{{subcontractId}}"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "bulkUnitPrice": "2.0000",
                      "bulk": "20.0000",
                      "id": "3488fb00-542c-11ed-972e-115e8dc48914",
                      "containerId": "b2df5997-014a-4784-bbf4-c922cb5e5299",
                      "code": "001000",
                      "quantity": 2,
                      "unit": "ea",
                      "unitPrice": "50.00000000",
                      "amount": "10000.0000",
                      "allocatedAmount": "0.0000",
                      "contractId": "7f02a2f1-3036-439e-a89c-074d9dedf0b0",
                      "name": "Concrete",
                      "createdAt": "2022-01-01T00:00:00.000Z",
                      "updatedAt": "2022-01-01T00:00:00.000Z",
                      "parentId": null,
                      "budgetId": "f039309f-f984-43a7-974b-d3c07bd0e91c",
                      "quantityPerBulk": 1,
                      "associationType": null,
                      "associationId": null,
                      "exchangeRate": "1.00000000",
                      "externalSystem": null,
                      "externalId": null,
                      "externalMessage": null,
                      "lastSyncAt": null,
                      "subItems": []
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "PurchaseOrderLineItem-4": {
        "allOf": [
          {
            "$ref": "#/components/schemas/PurchaseOrderLineItem"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "{{server}}/{{environemnt}}/ap-rest-api/rest/1/apallvouchers"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "ScschAmt": 100,
                      "ScschApexpCode": null,
                      "ScschBillCode": null,
                      "ScschCatCode": "M",
                      "ScschChgCode": "000",
                      "ScschCompCode": "001",
                      "ScschComplAmt": null,
                      "ScschComplPct": null,
                      "ScschComplQty": null,
                      "ScschContCode": "PO-123",
                      "ScschCurrHldbkAmt": null,
                      "ScschCurrHldbkRlsAmt": null,
                      "ScschFullyPurchasedFlag": "N",
                      "ScschHldbkPct": 0,
                      "ScschIuCreateDate": "2022-01-01T00:00:00-00:00",
                      "ScschIuUpdateDate": null,
                      "ScschJbBillCode": null,
                      "ScschJbContCode": null,
                      "ScschJobCode": "14001",
                      "ScschLineChangedFlag": null,
                      "ScschLineNum": null,
                      "ScschLongDesc": null,
                      "ScschLstAmt": null,
                      "ScschOraseq": 12345,
                      "ScschOrderNum": null,
                      "ScschPhsCode": "00015",
                      "ScschPrevCertAmt": null,
                      "ScschPrevCertQty": null,
                      "ScschPrevHldbkAmt": null,
                      "ScschPrevHldbkRlsAmt": null,
                      "ScschSiLineNum": null,
                      "ScschSiMastJobCode": null,
                      "ScschSiNum": null,
                      "ScschSiRevisNum": null,
                      "ScschSubcontrCode": "NONE",
                      "ScschTaskCode": "1",
                      "ScschTaskName": "Two tons of cement.",
                      "ScschTax1Code": "CA",
                      "ScschTax1TaxableFlag": "Y",
                      "ScschTax2Code": null,
                      "ScschTax2TaxableFlag": "Y",
                      "ScschTax3Code": null,
                      "ScschTax3TaxableFlag": "Y",
                      "ScschTax4Code": null,
                      "ScschTax4TaxableFlag": null,
                      "ScschTax5Code": null,
                      "ScschTax5TaxableFlag": null,
                      "ScschTendpackLineNum": null,
                      "ScschUnit": 2,
                      "ScschUnitRate": 50,
                      "ScschVenCode": "1126",
                      "ScschWbsvCode1": null,
                      "ScschWbsvCode2": null,
                      "ScschWbsvCode3": null,
                      "ScschWbsvCode4": null,
                      "ScschWmCode": "EA",
                      "ScschVUuid": "12345BF67A563B0DE06316821FACBA9C",
                      "ScschSeqNumUniqueBySc": 1
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "PurchaseOrderLineItem-5": {
        "allOf": [
          {
            "$ref": "#/components/schemas/PurchaseOrderLineItem"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "https://{{instance_name}}.coinscloud.com/env/{{environment}}/rest/pages/company/{{company_id}}/tip_type/:tip_type/poh_ordno/:poh_ordno/poh_chgno/:poh_chgno/po_line/pol_seq/:pol_seq?tip_type=MATERIAL&poh_ordno={order_number}&poh_chgno=&pol_seq={line_item_number}\","
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "kco": 1,
                      "tip_type": "MATERIAL",
                      "poh_ordno": "PO-123",
                      "poh_chgno": "",
                      "pol_seq": 1,
                      "bqr_resource": "",
                      "cur_code": "USD",
                      "gla_acct": "10.100.52000",
                      "jcc_cc": "1010020",
                      "job_jobph": "",
                      "job_num": "Anytown-Construction-Project",
                      "jph_phase": "",
                      "jwb_code": "10100",
                      "poi_item": "   1",
                      "pol_allowchg": true,
                      "pol_amount": 100,
                      "pol_analysis": "Anytown-Construction-Project.1010020.M",
                      "pol_cat": "M",
                      "pol_code": "MATERIALS",
                      "pol_CostHead": "20",
                      "pol_ddate": "2022-01-01",
                      "pol_desc__1": "Two tons of cement.",
                      "pol_disc": 0,
                      "pol_disc2": 0,
                      "pol_disc3": 0,
                      "pol_disc4": 0,
                      "pol_disc5": 0,
                      "pol_ean": "",
                      "pol_effdate": null,
                      "pol_entry": 1,
                      "pol_grns": false,
                      "pol_mpo": "M",
                      "pol_orderrate": 1,
                      "pol_per": "Tons",
                      "pol_price": 50,
                      "pol_priceqty": 1,
                      "pol_qty": 2,
                      "pol_RO_tottax": 0,
                      "pol_tax": 10,
                      "pol_type": "L",
                      "pol_uoq": "Tons",
                      "pol_usetax": null,
                      "pov_code": "",
                      "vat_code": "NY-LAT",
                      "RO_pol_totdisc": 0,
                      "RO_jtcreated": "2022-01-01T00:00:00.000",
                      "RO_jtchanged": "2022-01-01T00:00:00.000"
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "PurchaseOrderLineItem-6": {
        "allOf": [
          {
            "$ref": "#/components/schemas/PurchaseOrderLineItem"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The database query for the Source System.",
                    "example": "select * from [PO_SUB_D]"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "company_no": "12345",
                      "po_sub_no": "A123",
                      "po_sub_item_line": "1",
                      "item_no": "A123",
                      "description": "Concrete",
                      "quantity": "2.0000000",
                      "purchasing_unit_no": "Tons",
                      "unit_cost": "45.000000",
                      "extended_cost": "90.00",
                      "record_status": "A",
                      "row_modified_by": "DBA",
                      "row_modified_on": "2022-01-01 00:00:00.000",
                      "row_unique_id": "12345",
                      "company_id": "12345",
                      "po_sub_id": "PO-123",
                      "item_id": "A123",
                      "purchasing_unit_id": "EA",
                      "detail_description": "Concrete materials",
                      "stocking_unit_no": "EA",
                      "stocking_quantity": "2.0000000",
                      "stocking_unit_cost": "45.000000",
                      "distribute_to": "J",
                      "job_no": "     96020",
                      "warehouse_no": null,
                      "tax_flag": "N",
                      "tax_base": ".00",
                      "tax_amount": ".00",
                      "amount": "90.00",
                      "gl_expense": "1000",
                      "phase_no": "1000",
                      "cost_code_no": "03.00.79",
                      "cost_class_no": "L",
                      "inventory_receipt_flag": "Y",
                      "clear_flag": "N",
                      "clear_date": null,
                      "closed_date": null,
                      "order_completion_date": null,
                      "backorder_qty": ".0000000",
                      "backorder_date": null,
                      "cost_class_id": "2",
                      "cost_code_id": "03.00.79",
                      "job_id": "A123",
                      "phase_id": "2000",
                      "stocking_unit_id": "EA",
                      "warehouse_id": null,
                      "equipment_no": null,
                      "eq_wo_no": null,
                      "service_code_no": null,
                      "eq_wo_id": null,
                      "equipment_id": null,
                      "service_code_id": null,
                      "printable_flag": "Y",
                      "dispatch_no": null,
                      "dispatch_billing": "N",
                      "delivery_unit_no": null,
                      "delivery_quantity": ".0000000",
                      "delivery_unit_cost": ".000000",
                      "delivery_unit_id": null,
                      "dispatch_id": null,
                      "tax_by_effdate_flag": "N",
                      "state_tax_percent": null,
                      "state_taxable_limit": null,
                      "state_tax_amount": null,
                      "local_tax_percent": null,
                      "local_taxable_limit": null,
                      "local_tax_amount": null,
                      "other_tax_percent": null,
                      "other_taxable_limit": null,
                      "other_tax_amount": null,
                      "state_limit_applied": null,
                      "local_limit_applied": null,
                      "other_limit_applied": null,
                      "item_div_level_1": null,
                      "item_div_level_2": null,
                      "item_div_level_3": null,
                      "item_div_level_4": null,
                      "full_gl_expense": "1000",
                      "record_guid": "12345678-167E-EC11-A45D-E454E88F8BE7",
                      "non_inventory_item": "N"
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "PurchaseOrderLineItem-7": {
        "allOf": [
          {
            "$ref": "#/components/schemas/PurchaseOrderLineItem"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "https://api.procore.com/rest/v1.0/purchase_order_contracts/{{purchase_order_id}}/line_items"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "id": 12345,
                      "created_at": "2022-01-01T00:00:00Z",
                      "updated_at": "2022-01-01T00:00:00Z",
                      "amount": "1000.0",
                      "company": {
                        "id": 12345,
                        "name": "AnyCompany Inc"
                      },
                      "cost_code": {
                        "id": 12345,
                        "name": "General Requirements",
                        "full_code": "01",
                        "origin_id": null,
                        "origin_data": null,
                        "standard_cost_code_id": 12345,
                        "biller": "Test Project-1",
                        "biller_id": 12345,
                        "biller_type": "Project",
                        "biller_origin_id": null,
                        "budgeted": true,
                        "code": "01",
                        "parent": {
                          "id": 12345
                        },
                        "sortable_code": "01",
                        "created_at": "2022-07-03T00:46:12Z",
                        "deleted_at": null,
                        "line_item_types": [
                          {
                            "id": 12345,
                            "name": "metal type",
                            "code": "99",
                            "base_type": "other",
                            "origin_id": null
                          }
                        ],
                        "position": null,
                        "updated_at": "2022-07-03T00:46:12Z"
                      },
                      "wbs_code": {
                        "description": "General Requirements.metal type",
                        "flat_code": "01.99",
                        "id": 12345
                      },
                      "description": "test item with cost code type",
                      "extended_type": "manual",
                      "holder": {
                        "id": 12345,
                        "holder_type": "PurchaseOrderContract"
                      },
                      "line_item_type": {
                        "id": 12345,
                        "name": "metal type",
                        "code": "99",
                        "base_type": "other",
                        "origin_id": null
                      },
                      "origin_id": null,
                      "position": 5,
                      "project": {
                        "id": 12345,
                        "name": "Test Project-1"
                      },
                      "quantity": "2.0",
                      "total_amount": "100.0",
                      "extended_amount": "0.0",
                      "unit_cost": "50.0",
                      "uom": "Tons"
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "PurchaseOrderLineItem-8": {
        "allOf": [
          {
            "$ref": "#/components/schemas/PurchaseOrderLineItem"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "https://quickbooks.api.intuit.com/v3/company/{companyId}/query"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "VendorAddr": {
                        "Id": "12345",
                        "Line1": "AnyCompany",
                        "Line2": "123 Main Street",
                        "Line3": "Unit 1",
                        "Line4": "AnyTown, CA 19703",
                        "Lat": "",
                        "Long": ""
                      },
                      "ShipAddr": {
                        "Id": "12345",
                        "Line1": "AnyCompany",
                        "Line2": "123 Main Street",
                        "Line3": "Unit 1",
                        "Line4": "AnyTown, CA 19703",
                        "Lat": "",
                        "Long": ""
                      },
                      "POStatus": "Active",
                      "domain": "QBO",
                      "sparse": false,
                      "Id": "125",
                      "SyncToken": "1",
                      "MetaData": {
                        "CreateTime": "2022-01-01T00:00:00-00:00",
                        "LastUpdatedTime": "2022-01-01T00:00:00-00:00"
                      },
                      "CustomField": [
                        {
                          "DefinitionId": "1",
                          "Name": "Crew #",
                          "Type": "StringType"
                        },
                        {
                          "DefinitionId": "2",
                          "Name": "Sales Rep",
                          "Type": "StringType"
                        }
                      ],
                      "DocNumber": "PO-123",
                      "TxnDate": "2022-01-01",
                      "CurrencyRef": {
                        "value": "USD",
                        "name": "United States Dollar"
                      },
                      "LinkedTxn": [
                        {
                          "TxnId": "126",
                          "TxnType": "Unit Price"
                        }
                      ],
                      "Line": [
                        {
                          "Id": "1",
                          "LineNum": 1,
                          "Description": "Landscaping Services",
                          "Amount": 100,
                          "DetailType": "ItemBasedExpenseLineDetail",
                          "ItemBasedExpenseLineDetail": {
                            "BillableStatus": "NotBillable",
                            "ItemRef": {
                              "value": "11",
                              "name": "Pump"
                            },
                            "UnitPrice": 10,
                            "Qty": 10,
                            "TaxCodeRef": {
                              "value": "NON"
                            }
                          }
                        }
                      ]
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "PurchaseOrderLineItem-9": {
        "allOf": [
          {
            "$ref": "#/components/schemas/PurchaseOrderLineItem"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The XML path on the Source System.",
                    "example": "PurchaseOrderQueryRq"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "TxnLineID": "335CE-856089302",
                      "ItemRef": {
                        "ListID": "150000-852378241",
                        "FullName": "10 Exterior Trim & Decks"
                      },
                      "Desc": "Ground Work",
                      "Quantity": "1",
                      "Rate": "0.00",
                      "ClassRef": {
                        "ListID": "20000-852029285",
                        "FullName": "Material Costs - Job Related"
                      },
                      "Amount": "0.00",
                      "ReceivedQuantity": "0",
                      "IsBilled": "false",
                      "IsManuallyClosed": "false"
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "PurchaseOrderLineItem-10": {
        "allOf": [
          {
            "$ref": "#/components/schemas/PurchaseOrderLineItem"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The SQL path on the Source System.",
                    "example": "select * from [pcorln]"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "_idnum": "123450E9-6EAE-EE11-8429-1206A94FF521",
                      "_idref": "123450E9-6EAE-EE11-8429-1206A94FF521",
                      "recnum": "100",
                      "linnum": 1,
                      "prtnum": "12345",
                      "prtdsc": "Two tons of cement.",
                      "alpnum": "",
                      "untdsc": "",
                      "linqty": "2.0000",
                      "linprc": "50.000000",
                      "extttl": "100.00",
                      "rcvdte": ".0000",
                      "currnt": ".0000",
                      "cancel": ".0000",
                      "gstsbj": "",
                      "pstsbj": "",
                      "hstsbj": "",
                      "cstcde": "3300.000",
                      "csttyp": 1,
                      "invloc": null,
                      "lgract": "12345",
                      "subact": null,
                      "usrdf1": "",
                      "ntetxt": "",
                      "insdte": "2022-01-01T00:00:00.000Z",
                      "insusr": "AnyUser",
                      "upddte": null,
                      "updusr": null,
                      "taxabl": ""
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "PurchaseOrderLineItem-11": {
        "allOf": [
          {
            "$ref": "#/components/schemas/PurchaseOrderLineItem"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The SQL path on the Source System.",
                    "example": "select * from [MASTER_JCM_RECORD_13] where [MASTER_JCM_RECORD_13.STYPE] = \"Purchase Order\""
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "ISUB": "12345",
                      "ITEM": 3,
                      "IDESC": "Drywall supplies",
                      "IRETPCT": 0,
                      "IDELDAT": null,
                      "ISCOPE": "",
                      "IJOB": "03-001",
                      "IEXTRA": "",
                      "IPHASE": "2-140",
                      "ICAT": "L",
                      "ITXGRP": "",
                      "ITXAMT": 0,
                      "IUNITS": 33,
                      "IUNTCST": 21,
                      "IUDESC": "",
                      "IAMT": 693,
                      "ICO": "",
                      "IAPPCOA": 0,
                      "IAPTCOA": 0,
                      "IAPPCOU": 0,
                      "IPENCOA": 0,
                      "IPNTCOA": 0,
                      "IPENCOU": 0,
                      "IAMTINV": 0,
                      "IUNTINV": 0,
                      "IAMTRET": 0,
                      "IAMTPD": 0,
                      "IACOCA": 0,
                      "IACOCU": 0,
                      "IPCOCA": 0,
                      "IPCOCU": 0,
                      "ICNTCA": 0,
                      "ICNTCU": 0,
                      "ISNDBL": "0",
                      "IDOCID": 307,
                      "ICCOID": 0,
                      "ICCODID": 0,
                      "IOSTAMP": "AnyUser",
                      "IDSTAMP": "2022-01-01",
                      "ITSTAMP": "20:55:52",
                      "IRWID": "a2b834a3-1728-ed11-8382-122f56880ad7",
                      "IRWVR": "1661831752",
                      "R13NTS": null,
                      "R13FLS": null
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "PurchaseOrderLineItem-12": {
        "allOf": [
          {
            "$ref": "#/components/schemas/PurchaseOrderLineItem"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The source data as we received it from the Source System. \nSee https://docs.agaveapi.com/agave-api/source-data for more info\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "https://api.servicetitan.io/inventory/v2/tenant/{tenantId}/purchase-orders"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "id": 3431596,
                      "skuId": 3414079,
                      "skuName": "Rebar",
                      "skuCode": "518",
                      "skuType": "Material",
                      "description": "Steel bars used to reinforce concrete, providing tensile strength to support the concrete structure.",
                      "vendorPartNumber": "1239094",
                      "quantity": 2.5,
                      "quantityReceived": 0,
                      "cost": 578.34,
                      "total": 1445.85,
                      "serialNumbers": null,
                      "status": "Pending",
                      "chargeable": false
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "PurchaseOrderLineItem-13": {
        "allOf": [
          {
            "$ref": "#/components/schemas/PurchaseOrderLineItem"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "https://{id}.cloud.jobpac.com.au:{id}/PurchaseOrderItemListing"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "Order": "PO-123",
                      "OrderItem": "1",
                      "Status": "",
                      "Incomplete": "Yes",
                      "Completed": "",
                      "ForeignCurrencyGrossValue": "100.00",
                      "CostingWorkId": "12345",
                      "CostingFirm": "12345",
                      "Job": "",
                      "JobDescription": "",
                      "CostCode": "08.79.00",
                      "CostType": "",
                      "CostCentreDescription": "",
                      "GeneralLedgerAccount": "12345",
                      "AssetFirm": "",
                      "Asset": "",
                      "Property": "0",
                      "CostTableCode": "",
                      "StockCode": "",
                      "UserDefinedField1": "",
                      "UserDefinedField2": "",
                      "Warehouse": "0",
                      "RequisitionNumber": "",
                      "ProductServicesCode": "",
                      "Estimate": "",
                      "RateType": "",
                      "Description": "Two tons of cement",
                      "UnitOfMeasure": "TONS",
                      "QuantityOrdered": "2.0000",
                      "ForeignCurrencyGrossUnitRate": "50.00000",
                      "QuantityDelivered": "",
                      "CommittedQuantity": "",
                      "QuantityInvoiced": "",
                      "CancelledUninvoicedDocketQuantity": "",
                      "IncurredQuantity": "",
                      "NettUnitRate": "45.4550",
                      "ForeignCurrencyNettUnitRate": "45.4550",
                      "GrossUnitRate": "50.0000",
                      "GrossItemValue": "100.00",
                      "NettItemValue": "90.91",
                      "ForeignCurrencyNettValue": "90.91",
                      "InvoicedAmount": "",
                      "ForeignCurrencyInvoicedValue": "",
                      "DiscountPercentage": "",
                      "DiscountAmount": "",
                      "ForeignCurrencyDiscountAmount": "",
                      "PercentageOfBudgetCommitted": "",
                      "BudgetCommitted": "",
                      "ForeignCurrencyCommittedBudget": "",
                      "PaidAmount": "",
                      "ForeignCurrencyPaidAmount": "",
                      "RetentionHeld": "",
                      "ForeignCurrencyRetentionHeld": "",
                      "RetentionClaimed": "",
                      "ForeignCurrencyRetentionClaimed": "",
                      "IncurredCost": "",
                      "AmountToReduceFCC": "",
                      "CommittedCost": "",
                      "TaxPercentage": "10.00",
                      "Tax": "9.09",
                      "ForeignCurrencyTaxAmount": "9.09",
                      "SalesTaxPercentage": "",
                      "SalesTax": "",
                      "ForeignCurrencySalesTax": "",
                      "ExpectedDeliveryDate": "",
                      "PaymentDate": "01/01/22",
                      "NeedByDate": "",
                      "ReviewByDate": "",
                      "CompletedDate": "",
                      "ItemEntryDate": "01/01/22",
                      "Resource": "",
                      "TaxCode": "A1",
                      "DeliveryText": "2.0000 TONS ordered.",
                      "Creditor": "AAAG00",
                      "LastUpdateTimestamp": "2022-01-01-01.00.00.000000",
                      "Allocation": "3",
                      "JobAssetOrGLAccount": "12345",
                      "ProtectDescription": "Yes",
                      "ProtectQuantity": "",
                      "ProtectTaxCode": "Yes",
                      "ProtectCostingWorkId": "Yes",
                      "ProtectCompleteFlag": "Yes",
                      "ProtectJob": "Yes",
                      "ProtectCostCode": "Yes",
                      "ProtectCostType": "Yes",
                      "ProtectGeneralLedgerAccount": "Yes",
                      "ProtectAsset": "Yes",
                      "ProtectUnitOfMeasure": "Yes",
                      "ProtectForeignCurrencyGrossRate": "",
                      "ProtectForeignCurrencyValue": "Yes",
                      "PreviousApprovedQuantity": "",
                      "PreviousApprovedNettRate": "",
                      "PreviousApprovedGrossRate": ""
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "PurchaseOrderLineItem-14": {
        "allOf": [
          {
            "$ref": "#/components/schemas/PurchaseOrderLineItem"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The SQL path on the Source System.",
                    "example": "select [PO_PURCHASE_ORDER_DETAIL_MC].*, [PO_PURCHASE_ORDER_HEADER_MC].[Vendor_Code] from [PO_PURCHASE_ORDER_DETAIL_MC]"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "Company_Code": "12345",
                      "PO_Number": "PO123",
                      "Line_Number": "001",
                      "PO_Quantity_List1": "2.00",
                      "PO_Quantity_List2": ".00",
                      "PO_Quantity_List3": ".00",
                      "PO_Quantity_List4": ".00",
                      "PO_Quantity_List5": ".00",
                      "Item_Code": "12345",
                      "Item_Description": "Two tons of Cement",
                      "Unit_Of_Measure": "CY",
                      "Item_Price": "45.00",
                      "Item_Discount_Percent": ".0000",
                      "Tax_Percent": ".0000",
                      "Tax_Amount_List1": ".00",
                      "Tax_Amount_List2": ".00",
                      "Line_Extension_List1": "90.00",
                      "Line_Extension_List2": ".00",
                      "Delivery_Date": null,
                      "GL_Account": "12345",
                      "Job_Number": "A123",
                      "Phase_Code": "08.07.90",
                      "Cost_Type": "M",
                      "Message": "",
                      "Received_Extension": "90.00",
                      "Warehouse_Code": "",
                      "WO_Number": "",
                      "Sequence": "001",
                      "Price_Per_Factor": "45.0000",
                      "Equipment_Code": "",
                      "Equipment_Category": "",
                      "Open_Receipt_Quantity": ".00",
                      "Use_Tax_Code": "",
                      "Use_Tax_Extension": ".00",
                      "PM_Work_Order": "",
                      "Terms_Discount_Percent": ".00",
                      "Tax_Code": "",
                      "Taxable_Flag": "Y",
                      "WO_Flag": "",
                      "Component_Number": "",
                      "System_ID": "",
                      "WO_Item_Price": ".00",
                      "Blanket_Release_Number": "",
                      "Cost_Center": "12345",
                      "SC_Contract": "",
                      "Control_Code": "",
                      "Billing_Flag": "",
                      "Line_Type": "D",
                      "Vendor_Code": "12345"
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "PurchaseOrderLineItem-15": {
        "allOf": [
          {
            "$ref": "#/components/schemas/PurchaseOrderLineItem"
          },
          {
            "type": "object",
            "properties": {
              "key": {
                "type": "string",
                "readOnly": true,
                "description": "The unique key for the Purchase Order Line Item in the Sage Intacct system.",
                "example": "bd42990e-5f93-5b0b-ab4f-2517bdb4ebfe"
              },
              "customer_id": {
                "allOf": [
                  {
                    "description": "The UUID assigned by Agave of the Customer for the Purchase Order Line Item."
                  },
                  {
                    "$ref": "#/components/schemas/IdPropertyReadOnly"
                  }
                ]
              },
              "autolink_map": {
                "type": "object",
                "description": "Additional metadata to map this resource to the Source System.",
                "properties": {
                  "erp_id": {
                    "type": "string",
                    "description": "The ERP identifier of the Line Item in Sage Intacct.",
                    "example": "1780"
                  },
                  "custom_name": {
                    "type": "string",
                    "description": "Custom name assigned to this Line Item.",
                    "example": null
                  }
                }
              },
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The API endpoint on the Source System.",
                    "example": "https://api.intacct.com/ia/xml/xmlgw.phtml"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "object",
                    "description": "The raw data from the Source System.",
                    "example": "{\n  \"RECORDNO\": \"1780\",\n  \"TOTAL\": \"200\",\n  \"TASKID\": \"G04-150\",\n  \"COSTTYPEID\": \"SUB\",\n  \"CUSTOMERID\": \"C104\",\n  \"ITEMDESC\": \"Sample Line Item\",\n  \"ITEMID\": \"102\",\n  \"PROJECTID\": \"9999\",\n  \"QUANTITY\": \"1\",\n  \"WHENCREATED\": \"03/25/2025\",\n  \"WHENMODIFIED\": \"03/25/2025 19:38:57\",\n  \"CONVERSIONTYPE\": \"Quantity\",\n  \"PRICE\": \"200\",\n  \"UNIT\": \"Ft\",\n  \"VENDORID\": \"V107\",\n  \"DOCHDRNO\": \"1346\",\n  \"DOCHDRID\": \"Purchase Orders-PO-00033\",\n  \"DOCPARID\": \"Purchase Orders\"\n}\n"
                  }
                }
              }
            }
          }
        ]
      },
      "PurchaseOrderLineItem-16": {
        "allOf": [
          {
            "$ref": "#/components/schemas/PurchaseOrderLineItem"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The SQL path on the Source System.",
                    "example": "select * from [bPOIT] where [bPOIT].[POCo] = 12345"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "POCo": "12345",
                      "PO": "12345",
                      "POItem": "12345",
                      "ItemType": "12345",
                      "MatlGroup": "12345",
                      "Material": "12345",
                      "VendMatId": null,
                      "Description": "1/4 PEA GRAVEL",
                      "UM": "TON",
                      "RecvYN": "N",
                      "PostToCo": "12345",
                      "Loc": null,
                      "Job": " A123",
                      "PhaseGroup": "12345",
                      "Phase": "08.79.00",
                      "JCCType": "12345",
                      "Equip": null,
                      "CompType": null,
                      "Component": null,
                      "EMGroup": null,
                      "CostCode": null,
                      "EMCType": null,
                      "WO": null,
                      "WOItem": null,
                      "GLCo": "12345",
                      "GLAcct": "12345",
                      "ReqDate": "2022-01-01 00:00:00",
                      "TaxGroup": "12345",
                      "TaxCode": "CA",
                      "TaxType": "1",
                      "OrigUnits": "2.0000",
                      "OrigUnitCost": "50.00",
                      "OrigECM": "E",
                      "OrigCost": "100.00",
                      "OrigTax": "10.00",
                      "CurUnits": "2.0000",
                      "CurUnitCost": "50.00",
                      "CurECM": "E",
                      "CurCost": "100.00",
                      "CurTax": "10.00",
                      "RecvdUnits": "0.0000",
                      "RecvdCost": ".00",
                      "BOUnits": ".000",
                      "BOCost": ".00",
                      "TotalUnits": "2.0000",
                      "TotalCost": "100.00",
                      "TotalTax": "10.00",
                      "InvUnits": "2.0000",
                      "InvCost": "100.00",
                      "InvTax": "10.00",
                      "RemUnits": ".000",
                      "RemCost": ".00",
                      "RemTax": ".00",
                      "InUseMth": null,
                      "InUseBatchId": null,
                      "PostedDate": "2022-01-01 00:00:00",
                      "Notes": null,
                      "RequisitionNum": null,
                      "AddedMth": "2022-01-01 00:00:00",
                      "AddedBatchID": "60",
                      "UniqueAttchID": null,
                      "PayCategory": null,
                      "PayType": null,
                      "KeyID": "12345",
                      "INCo": null,
                      "EMCo": null,
                      "JCCo": "12345",
                      "JCCmtdTax": "10.00",
                      "Supplier": "12345",
                      "SupplierGroup": "12345",
                      "JCRemCmtdTax": ".00",
                      "TaxRate": ".10000",
                      "GSTRate": ".000000",
                      "SMCo": null,
                      "SMWorkOrder": null,
                      "InvMiscAmt": ".00",
                      "SMScope": null,
                      "SMPhaseGroup": null,
                      "SMPhase": null,
                      "SMJCCostType": null,
                      "SMCostType": null,
                      "targetInUseMth": null,
                      "targetInUseBatchId": null,
                      "FieldTicket": null
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "NewPurchaseOrderLineItem-14": {
        "allOf": [
          {
            "$ref": "#/components/schemas/NewPurchaseOrderLineItem-12"
          },
          {
            "type": "object",
            "properties": {
              "customer_id": {
                "type": "string",
                "description": "The UUID or source_id of the [Customer](#tag--customers) for this Purchase Order Line Item.\n\nFormat: Use \"source_id:{customer_id}\" when referencing by source ID.\n",
                "example": "source_id:C104"
              },
              "item_id": {
                "type": "string",
                "description": "The UUID or source_id of the [Item](#tag--items) for this Purchase Order Line Item.\n\nFormat: Use \"source_id:{item_id}\" when referencing by source ID.\n",
                "example": "source_id:102"
              },
              "source_data": {
                "type": "object",
                "description": "Additional data to send to the source system.",
                "properties": {
                  "itemid": {
                    "type": "string",
                    "description": "The ID of the item in Sage Intacct.",
                    "example": "102"
                  },
                  "trx_amountretained": {
                    "type": "string",
                    "description": "The amount to be retained for this line item.",
                    "example": "10"
                  }
                }
              }
            },
            "required": [
              "cost_code_id",
              "cost_type_id",
              "description",
              "quantity",
              "unit_cost"
            ]
          }
        ]
      },
      "PurchaseOrderCompliance": {
        "type": "object",
        "properties": {
          "id": {
            "allOf": [
              {
                "description": "The UUID of the Purchase Order Compliance assigned by Agave."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "source_id": {
            "type": "string",
            "readOnly": true,
            "example": "12345",
            "description": "The ID of the Purchase Order Compliance in the Source System."
          },
          "amount": {
            "type": "string",
            "description": "The amount (e.g. insurance limit) covered under the Purchase Order Compliance.",
            "example": "1,000,000"
          },
          "contract": {
            "type": "object",
            "description": "The Contract (i.e. Purchase Order) associated with the Purchase Order Compliancee.",
            "properties": {
              "id": {
                "allOf": [
                  {
                    "description": "The UUID of the Contract (i.e. Purchase Order) assigned by Compliance."
                  },
                  {
                    "$ref": "#/components/schemas/IdPropertyReadOnly"
                  }
                ]
              },
              "type": {
                "type": "string",
                "description": "The type of Contract associated with the Purchase Order Compliance.",
                "example": "purchase_order",
                "enum": [
                  "purchase_order"
                ]
              }
            }
          },
          "description": {
            "type": "string",
            "description": "A description of the Purchase Order Compliance.",
            "example": "Certified Payroll for Federal Works Project"
          },
          "effective_date": {
            "allOf": [
              {
                "description": "The effective date of the Purchase Order Compliance."
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ]
          },
          "expiration_date": {
            "allOf": [
              {
                "description": "The expiration date of the Purchase Order Compliance."
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ]
          },
          "policy_number": {
            "type": "string",
            "description": "The policy number associated with the Purchase Order Compliance.",
            "example": "123 45 6789"
          },
          "provider_name": {
            "type": "string",
            "description": "The name of the provider of the Purchase Order Compliance.",
            "example": "AnyCompany Insurance Providers"
          },
          "status": {
            "type": "string",
            "description": "The status of the Purchase Order Compliance. \n\n**Note for Viewpoint Vista**: possible values for this field include \"Compliant\" and \"Not Compliant\".\n",
            "example": "Compliant"
          },
          "type": {
            "type": "string",
            "description": "The type of Compliance.",
            "example": "Certified Payroll"
          },
          "vendor_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Vendor](#tag--vendors) which the Purchase Order Compliance applies to."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "source_create_time": {
            "allOf": [
              {
                "description": "The datetime the Purchase Order Compliance was created."
              },
              {
                "$ref": "#/components/schemas/DateTimeProperty"
              }
            ]
          },
          "source_update_time": {
            "allOf": [
              {
                "description": "The datetime the Purchase Order Compliance was last updated."
              },
              {
                "$ref": "#/components/schemas/DateTimeProperty"
              }
            ]
          }
        }
      },
      "PurchaseOrderCompliance-2": {
        "allOf": [
          {
            "$ref": "#/components/schemas/PurchaseOrderCompliance"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The SQL path on the Source System.",
                    "example": "bPOCT"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "PoCo": "12345",
                      "CompCode": "CP",
                      "Seq": 1,
                      "VendorGroup": null,
                      "Vendor": null,
                      "Description": "Certified Payroll",
                      "Verify": "Y",
                      "ExpDate": null,
                      "Complied": "Y",
                      "Notes": "Certified Payroll for Federal Works Project",
                      "PurgeYN": "N",
                      "UniqueAttchID": null,
                      "KeyID": "12345",
                      "CompCodeDescription": "Certified Payroll",
                      "CompCodeType": "D"
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "NewPurchaseOrderCompliance": {
        "required": [
          "contract",
          "type"
        ],
        "type": "object",
        "properties": {
          "description": {
            "type": "string",
            "description": "A description of the Compliance.",
            "example": "Certified Payroll for Federal Works Project"
          },
          "expiration_date": {
            "allOf": [
              {
                "description": "The expiration date of the Compliance. \n\n**Note for Viewpoint Vista**: the Compliance `type` must have a type of \"D\" in the \"HQCP\" table in order to pass a value for `expiration_date`.\n"
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ]
          },
          "status": {
            "type": "string",
            "description": "The status of the Compliance. \n\n**Note for Viewpoint Vista**: if a value for `expiration_date` is provided, the value for `status` will be determined based on whether the `expiration_date` is before or after the date of the Agave API request.\n",
            "example": "Compliant",
            "enum": [
              "Compliant",
              "Not Compliant"
            ]
          },
          "type": {
            "type": "string",
            "description": "The type of Compliance. \n\n**Note for Viewpoint Vista:** possible values for this field can be found with the \"Description\" column in the \"HQCP\" table. These values can be retrieved using [passthrough requests](/agave-api/passthrough-requests#foundation-viewpoint-spectrum-and-viewpoint-vista).\n",
            "example": "Certified Payroll"
          }
        }
      },
      "NewVendorCompliance": {
        "type": "object",
        "properties": {
          "amount": {
            "type": "string",
            "description": "The amount (e.g. insurance limit) covered under the Compliance.",
            "example": "1,000,000"
          },
          "description": {
            "type": "string",
            "description": "A description of the Compliance.",
            "example": "Certified Payroll for Federal Works Project"
          },
          "effective_date": {
            "allOf": [
              {
                "description": "The effective date of the Compliance."
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ]
          },
          "expiration_date": {
            "allOf": [
              {
                "description": "The expiration date of the Compliance."
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ]
          },
          "policy_number": {
            "type": "string",
            "description": "The policy number associated with the Compliance.",
            "example": "123 45 6789"
          },
          "provider_name": {
            "type": "string",
            "description": "The name of the provider of the Compliance.",
            "example": "AnyCompany Insurance Providers"
          },
          "status": {
            "type": "string",
            "description": "The status of the Compliance. \n\n**Note for Viewpoint Vista**: possible values for this field include \"Compliant\" and \"Not Compliant\".\n",
            "example": "Compliant"
          },
          "type": {
            "type": "string",
            "description": "The type of Compliance.",
            "example": "Certified Payroll"
          }
        }
      },
      "ServiceSite": {
        "allOf": [
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The API path on the Source System.",
                    "example": "https://{{HOSTNAME}}/AcumaticaU100/entity/Default/22.200.001/CustomerLocation?%24top=10&%24expand=LocationContact"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "id": "19d80871-1fa1-ef11-ba63-0ea90bdd80a1",
                      "rowNumber": 1,
                      "note": {
                        "value": ""
                      },
                      "Active": {
                        "value": true
                      },
                      "AddressOverride": {
                        "value": false
                      },
                      "Calendar": [],
                      "ContactOverride": {
                        "value": false
                      },
                      "CreatedDateTime": {
                        "value": "2024-11-12T09:56:29.857-08:00"
                      },
                      "Customer": {
                        "value": "TESTCUST01"
                      },
                      "Default": {
                        "value": true
                      },
                      "DefaultProject": [],
                      "EntityUsageType": {
                        "value": "Default"
                      },
                      "FedExGroundCollect": {
                        "value": false
                      },
                      "FOBPoint": [],
                      "Insurance": {
                        "value": false
                      },
                      "LastModifiedDateTime": {
                        "value": "2024-11-13T17:48:30.863-08:00"
                      },
                      "LeadTimeDays": [],
                      "LocationContact": {
                        "id": "8e0841c3-ede2-4a33-807b-8430b85231b7",
                        "rowNumber": 1,
                        "note": null,
                        "Address": {
                          "id": "be4ac2b9-a9f3-407a-b2ef-85607719c296",
                          "rowNumber": 1,
                          "note": null,
                          "AddressLine1": {
                            "value": "350 Brentwood Ave"
                          },
                          "AddressLine2": {
                            "value": "Unit 1"
                          },
                          "City": {
                            "value": "San Francisco"
                          },
                          "Country": {
                            "value": "US"
                          },
                          "PostalCode": [],
                          "State": [],
                          "custom": []
                        },
                        "Attention": [],
                        "ContactID": {
                          "value": 101471
                        },
                        "DisplayName": {
                          "value": "Customer 01"
                        },
                        "Email": {
                          "value": "test@gmail.com"
                        },
                        "Fax": [],
                        "FirstName": [],
                        "FullName": {
                          "value": "Customer 01"
                        },
                        "JobTitle": [],
                        "LastName": [],
                        "MiddleName": [],
                        "Phone1": [],
                        "Phone1Type": {
                          "value": "Business 1"
                        },
                        "Phone2": [],
                        "Phone2Type": {
                          "value": "Business 2"
                        },
                        "Title": [],
                        "WebSite": [],
                        "custom": []
                      },
                      "LocationID": {
                        "value": "MAIN"
                      },
                      "LocationName": {
                        "value": "Primary Location"
                      },
                      "NoteID": {
                        "value": "19d80871-1fa1-ef11-ba63-0ea90bdd80a1"
                      },
                      "OrderPriority": {
                        "value": 0
                      },
                      "PriceClass": [],
                      "ResidentialDelivery": {
                        "value": false
                      },
                      "SaturdayDelivery": {
                        "value": false
                      },
                      "ShippingBranch": [],
                      "ShippingRule": {
                        "value": "Back Order Allowed"
                      },
                      "ShippingTerms": [],
                      "ShippingZone": [],
                      "ShipVia": [],
                      "Status": {
                        "value": "Active"
                      },
                      "TaxExemptionNbr": [],
                      "TaxRegistrationID": [],
                      "TaxZone": [],
                      "Warehouse": [],
                      "custom": [],
                      "_links": {
                        "self": "/AcumaticaERP/entity/Default/23.200.001/CustomerLocation/19d80871-1fa1-ef11-ba63-0ea90bdd80a1",
                        "files:put": "/AcumaticaERP/entity/Default/23.200.001/files/PX.Objects.AR.CustomerLocationMaint/Location/19d80871-1fa1-ef11-ba63-0ea90bdd80a1/{filename}"
                      }
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "ServiceSite-2": {
        "type": "object",
        "properties": {
          "id": {
            "allOf": [
              {
                "description": "The UUID of the Service Site assigned by Agave."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "source_id": {
            "type": "string",
            "readOnly": true,
            "example": "recnum=135 | locnum=1",
            "description": "The ID of the Service Site in the Source System.\n\n**Note for Sage 100 Contractor:** This is in the form of \"recnum=X | locnum=X\" (see example)\n"
          },
          "address": {
            "allOf": [
              {
                "description": "The Service Site's address."
              },
              {
                "$ref": "#/components/schemas/Address"
              }
            ]
          },
          "customer_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Customer](#tag--customers) associated with the Service Site."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "code": {
            "type": "string",
            "description": "A reference code for the Service Site.",
            "example": "A123"
          },
          "name": {
            "type": "string",
            "description": "The name of the Service Site.",
            "example": "AnyCompany Properties"
          },
          "tax_code_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the default [Sales Tax Code](#tag--tax-codes) for the Service Site."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "source_create_time": {
            "allOf": [
              {
                "description": "The datetime the Vendor was created in the Source System."
              },
              {
                "$ref": "#/components/schemas/DateTimeProperty"
              }
            ]
          },
          "source_update_time": {
            "allOf": [
              {
                "description": "The datetime the Vendor was last updated in the Source System."
              },
              {
                "$ref": "#/components/schemas/DateTimeProperty"
              }
            ]
          },
          "source_data": {
            "type": "object",
            "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
            "properties": {
              "path": {
                "type": "string",
                "description": "The SQL path on the Source System.",
                "example": "select * from [acrinv]"
              },
              "content_type": {
                "type": "string",
                "description": "The content type of the Source Data.",
                "example": "application/json"
              },
              "data": {
                "type": "string",
                "description": "The raw data from the Source System.",
                "example": {
                  "_idnum": "90948935-899F-E511-B83D-005056C00008",
                  "_idref": "80948935-899F-E511-B83D-005056C00008",
                  "recnum": "131",
                  "locnum": "2",
                  "locnme": "Oceanview Hotel",
                  "addrs1": "10371 Starr Road",
                  "addrs2": "",
                  "ctynme": "Spoonville",
                  "state_": "CA",
                  "zipcde": "95492",
                  "phnnum": "",
                  "contct": "",
                  "srvgeo": null,
                  "maploc": "",
                  "crsstr": "Moonrise Street",
                  "taxdst": null,
                  "usrdf1": "",
                  "ntetxt": "",
                  "insdte": "2015-12-10T21:59:02.247Z",
                  "insusr": "Bob",
                  "upddte": "2015-12-10T21:59:02.247Z",
                  "updusr": null
                }
              }
            }
          }
        }
      },
      "ServiceSite-3": {
        "allOf": [
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The API path on the Source System.",
                    "example": "https://api-integration.servicetitan.io/crm/v2/tenant/{tenantId}}/locations"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "Company_Code": "12345",
                      "Ship_To_ID": "       100",
                      "Ship_To_Name": "AnyCompany Properties",
                      "Ship_To_Customer_Code": "A123",
                      "Ship_To_Address1": "123 Main Street",
                      "Ship_To_Address2": "Floor 2",
                      "Ship_To_City": "AnyTown",
                      "Ship_To_State": "CA",
                      "Ship_To_Zip_Code": "19703",
                      "Ship_To_Phone1": "1235550101",
                      "Ship_To_Phone2": "1235550102",
                      "WO_Type": "10",
                      "Site_Contact_Person": "",
                      "Sales_Tax_Code": "1700",
                      "Special_Instructions": "",
                      "Zone": "",
                      "Taxable_Flag": "",
                      "Requested_Tech": "",
                      "Service_Contr_Flag": "",
                      "Labor_Taxable": "",
                      "Material_Taxable": "",
                      "Work_Comp_Code": "",
                      "Wage_Rate_Level": ".00",
                      "Wage_Code_Indicator": "",
                      "Pay_Group": "",
                      "Work_State_Tax_Code": "",
                      "Work_County_Tax_Code": "",
                      "Work_Local_Tax_Code": "",
                      "Lead_Source": "1",
                      "Show_Notes": "N",
                      "Telephone_Ext_1": "",
                      "Telephone_Ext_2": "",
                      "Status": "N",
                      "Alternate_Address": "N",
                      "Billto_Code": "",
                      "Cost_Center": "1010",
                      "Site_Case_Type": "",
                      "WO_Notes": "",
                      "Work_Site_Email": "",
                      "Markup_Code": "",
                      "Customer_Job": "",
                      "Latitude": ".000000",
                      "Longitude": ".000000",
                      "id": 40,
                      "Use_Tax_Code": "",
                      "Mat_Use_Tax": ""
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "WorkOrder": {
        "type": "object",
        "properties": {
          "id": {
            "allOf": [
              {
                "description": "The UUID of the Work Order assigned by Agave."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "source_id": {
            "type": "string",
            "readOnly": true,
            "example": "12345",
            "description": "The ID of the Work Order in the Source System."
          },
          "contact_name": {
            "type": "string",
            "description": "A name of a contact associated with the Work Order.",
            "example": "Additional Time & Materials for October"
          },
          "contact_phone": {
            "type": "string",
            "description": "A phone number of the contact associated with the Work Order.",
            "example": "Additional Time & Materials for October"
          },
          "customer_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Customer](#tag--customers) associated with the Work Order."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "description": {
            "type": "string",
            "description": "The description of the Work Order.",
            "example": "HVAC Install"
          },
          "order_date": {
            "allOf": [
              {
                "description": "The date the Work Order was ordered."
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ]
          },
          "number": {
            "type": "string",
            "description": "The number of the Work Order.",
            "example": "A123"
          },
          "project_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Project](#tag--projects) associated with the Work Order."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "request_date": {
            "allOf": [
              {
                "description": "The date the Work Order was requested."
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ]
          },
          "request_time_of_day": {
            "type": "string",
            "description": "The request time of the Work Order period (no date component or time offset -- hh:mm).",
            "example": "18:00"
          },
          "status": {
            "type": "string",
            "description": "The status of the Work Order.\n\n**Note for Viewpoint Vista**: valid values include \"Open\" and \"Closed\".\n",
            "example": "Open"
          },
          "technician_employee_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Employee](#tag--employees) associated with the Work Order."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "type": {
            "type": "string",
            "description": "The type of the Work Order.\n\n**Note for Viewpoint Vista**: valid values include \"Customer\" and \"Job\".\n",
            "example": "Customer"
          },
          "source_create_time": {
            "allOf": [
              {
                "description": "The datetime the Work Order was created."
              },
              {
                "$ref": "#/components/schemas/DateTimeProperty"
              }
            ]
          },
          "source_update_time": {
            "allOf": [
              {
                "description": "The datetime the Work Order was last updated."
              },
              {
                "$ref": "#/components/schemas/DateTimeProperty"
              }
            ]
          }
        }
      },
      "ServiceSite-4": {
        "allOf": [
          {
            "$ref": "#/components/schemas/WorkOrder"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The SQL path on the Source System.",
                    "example": "select * from [WO_ADDRESS_MC]"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "Company_Code": "12345",
                      "Ship_To_ID": "       100",
                      "Ship_To_Name": "AnyCompany Properties",
                      "Ship_To_Customer_Code": "A123",
                      "Ship_To_Address1": "123 Main Street",
                      "Ship_To_Address2": "Floor 2",
                      "Ship_To_City": "AnyTown",
                      "Ship_To_State": "CA",
                      "Ship_To_Zip_Code": "19703",
                      "Ship_To_Phone1": "1235550101",
                      "Ship_To_Phone2": "1235550102",
                      "WO_Type": "10",
                      "Site_Contact_Person": "",
                      "Sales_Tax_Code": "1700",
                      "Special_Instructions": "",
                      "Zone": "",
                      "Taxable_Flag": "",
                      "Requested_Tech": "",
                      "Service_Contr_Flag": "",
                      "Labor_Taxable": "",
                      "Material_Taxable": "",
                      "Work_Comp_Code": "",
                      "Wage_Rate_Level": ".00",
                      "Wage_Code_Indicator": "",
                      "Pay_Group": "",
                      "Work_State_Tax_Code": "",
                      "Work_County_Tax_Code": "",
                      "Work_Local_Tax_Code": "",
                      "Lead_Source": "1",
                      "Show_Notes": "N",
                      "Telephone_Ext_1": "",
                      "Telephone_Ext_2": "",
                      "Status": "N",
                      "Alternate_Address": "N",
                      "Billto_Code": "",
                      "Cost_Center": "1010",
                      "Site_Case_Type": "",
                      "WO_Notes": "",
                      "Work_Site_Email": "",
                      "Markup_Code": "",
                      "Customer_Job": "",
                      "Latitude": ".000000",
                      "Longitude": ".000000",
                      "id": 40,
                      "Use_Tax_Code": "",
                      "Mat_Use_Tax": ""
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "NewServiceSite": {
        "required": [
          "code",
          "customer_id",
          "name"
        ],
        "type": "object",
        "properties": {
          "address": {
            "type": "object",
            "description": "The address of the Customer Location.",
            "properties": {
              "street_1": {
                "description": "The first line of the street address.",
                "type": "string",
                "example": "350 Brentwood Ave"
              },
              "street_2": {
                "description": "The second line of the street address (e.g., Unit, PO Box).",
                "type": "string",
                "example": "Unit 1"
              },
              "city": {
                "description": "The name of the city.",
                "type": "string",
                "example": "San Francisco"
              },
              "state": {
                "description": "The name of the state, region, or province.",
                "type": "string",
                "example": "CA"
              },
              "postal_code": {
                "description": "The postal or ZIP code.",
                "type": "string",
                "example": "94107"
              },
              "country": {
                "description": "The country of the address.",
                "type": "string",
                "example": "US"
              }
            }
          },
          "customer_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Customer](#tag--customers) associated with the Customer Location."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "code": {
            "type": "string",
            "description": "A reference code for the Customer Location.",
            "example": "MAIN"
          },
          "name": {
            "type": "string",
            "description": "The name of the Customer Location.",
            "example": "Primary Location"
          },
          "tax_code_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the default [Sales Tax Code](#tag--tax-codes) for the Customer Location."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "status": {
            "type": "string",
            "description": "The current status of the Customer Location.",
            "example": "Active",
            "enum": [
              "Active",
              "Inactive",
              "Hold"
            ]
          },
          "default": {
            "type": "boolean",
            "description": "Indicates if this is the default Customer Location.",
            "example": true
          },
          "shipping_rule": {
            "type": "string",
            "description": "The shipping rule for the Customer Location.",
            "example": "Back Order Allowed"
          },
          "order_priority": {
            "type": "integer",
            "description": "The priority for orders at this Customer Location.",
            "example": 0
          },
          "created_date_time": {
            "type": "string",
            "format": "date-time",
            "description": "The date and time when the Customer Location was created.",
            "example": "2024-11-12T09:56:29.857-08:00"
          },
          "last_modified_date_time": {
            "type": "string",
            "format": "date-time",
            "description": "The date and time when the Customer Location was last modified.",
            "example": "2024-11-13T17:48:30.863-08:00"
          }
        }
      },
      "NewServiceSite-2": {
        "required": [
          "code",
          "customer_id",
          "name"
        ],
        "type": "object",
        "properties": {
          "address": {
            "type": "object",
            "properties": {
              "street_1": {
                "description": "The first line of a street address.",
                "type": "string",
                "example": "123 Main Street"
              },
              "street_2": {
                "description": "The second line of a street address (e.g. a Unit, PO Box).",
                "type": "string",
                "example": "Unit 1"
              },
              "city": {
                "description": "The name of the city.",
                "type": "string",
                "example": "AnyTown"
              },
              "state": {
                "description": "The name of the state, region, or province.",
                "type": "string",
                "example": "CA"
              },
              "postal_code": {
                "description": "The postal or ZIP code.",
                "type": "string",
                "example": "19703"
              }
            }
          },
          "customer_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Customer](#tag--customers) associated with the Service Site."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "code": {
            "type": "string",
            "description": "A reference code for the Service Site.",
            "example": 4
          },
          "name": {
            "type": "string",
            "description": "The name of the Service Site.",
            "example": "AnyCompany Properties"
          },
          "tax_code_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the default [Sales Tax Code](#tag--tax-codes) for the Service Site."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          }
        }
      },
      "NewServiceSite-3": {
        "type": "object",
        "required": [
          "code",
          "name"
        ],
        "properties": {
          "address": {
            "allOf": [
              {
                "description": "The Service Site's address."
              },
              {
                "$ref": "#/components/schemas/Address"
              }
            ]
          },
          "customer_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Customer](#tag--customers) associated with the Service Site."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "code": {
            "type": "string",
            "description": "A reference code for the Service Site.",
            "example": "A123"
          },
          "name": {
            "type": "string",
            "description": "The name of the Service Site.",
            "example": "AnyCompany Properties"
          },
          "status": {
            "type": "string",
            "description": "The current status of the Service Site.\n\n**Note for Viewpoint Spectrumn**: valid statuses include \"Active\", \"Inactive\", and \"Not Used\".\n",
            "enum": [
              "Active",
              "Inactive",
              "Not Used"
            ],
            "example": "Active"
          },
          "tax_code_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the default [Sales Tax Code](#tag--tax-codes) for the Service Site."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "source_data": {
            "type": "object",
            "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
            "properties": {
              "Cost_Center": {
                "type": "string",
                "example": "1010",
                "description": "The Cost Center associated with the Service Site.\n\n**Note for Viewpoint Spectrum**: \n  - A list of possible values for this field can be retried using the `Cost_Center_Code` field in the `EM_COST_CENTERS_MC` table, which requires a passthrough request. To learn more about passthrough requests, see [link](/agave-api/passthrough-requests#foundation-viewpoint-spectrum-and-viewpoint-vista).\n  - This field may not be required depending on your customer's installation settings.\n"
              }
            }
          }
        }
      },
      "NewWorkOrder": {
        "type": "object",
        "required": [
          "type"
        ],
        "properties": {
          "contact_name": {
            "type": "string",
            "description": "The description of the Work Order.",
            "example": "Additional Time & Materials for October"
          },
          "contact_phone": {
            "type": "string",
            "description": "The description of the Work Order.",
            "example": "Additional Time & Materials for October"
          },
          "customer_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Customer](#tag--customers) associated with the Work Order."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "description": {
            "type": "string",
            "description": "The description of the Work Order.",
            "example": "Additional Time & Materials for October"
          },
          "order_date": {
            "allOf": [
              {
                "description": "The date the Work Order was ordered."
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ]
          },
          "request_date": {
            "allOf": [
              {
                "description": "The date the Work Order was requested."
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ]
          },
          "request_time_of_day": {
            "type": "string",
            "description": "The request time of the Work Order period (no date component or time offset -- hh:mm).",
            "example": "18:00"
          },
          "technician_employee_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Employee](#tag--employees) associated with the Work Order."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "type": {
            "type": "string",
            "description": "The type of the Work Order.\n\n**Note for Viewpoint Vista**: if the `type` is set to \"Customer\", `customer_id` is required. If set to \"Job\", the `Project-ID` header is required.\n",
            "example": "Customer",
            "enum": [
              "Customer",
              "Job"
            ]
          }
        }
      },
      "Subcontract": {
        "type": "object",
        "properties": {
          "id": {
            "allOf": [
              {
                "description": "The UUID of the Subcontract assigned by Agave."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "source_id": {
            "type": "string",
            "readOnly": true,
            "example": "12345",
            "description": "The ID of the Subcontract in the Source System."
          },
          "actual_completion_date": {
            "allOf": [
              {
                "description": "The date the services governed by the Subcontract were completed."
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ]
          },
          "amount": {
            "type": "string",
            "description": "The current monetary amount of the Subcontract.",
            "example": "15000.00"
          },
          "approved_change_orders_amount": {
            "type": "string",
            "description": "The total monetary amount of all approved Change Orders (does not include the original Subcontract amount).",
            "example": "5000.00"
          },
          "defects_expiry_date": {
            "allOf": [
              {
                "description": "The date the defects period expires."
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ]
          },
          "defects_period": {
            "type": "string",
            "description": "This is a defined period in which Subcontractors are required to remedy defects in the works that have been carried out under their Subcontract at their own cost.",
            "example": "12 months"
          },
          "description": {
            "type": "string",
            "description": "A description of the Subcontract.",
            "example": "Drywall installation on the first and second floor."
          },
          "estimated_completion_date": {
            "allOf": [
              {
                "description": "The estimated completion date of the services governed by the Subcontract."
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ]
          },
          "execution_date": {
            "allOf": [
              {
                "description": "The date the Subcontract was fully-signed."
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ]
          },
          "full_release_date": {
            "allOf": [
              {
                "description": "This is the date the full retention is released, usually upon full completion of the Subcontract."
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ]
          },
          "half_release_date": {
            "allOf": [
              {
                "description": "This is the date half of the retention is released, usually upon partial completion of the Subcontract."
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ]
          },
          "invoiced_amount": {
            "type": "string",
            "description": "The monetary amount of the Subcontract that has been invoiced.",
            "example": "1000.00"
          },
          "is_executed": {
            "type": "boolean",
            "description": "A boolean value indicating whether the Subcontract has been fully-signed.",
            "example": true
          },
          "line_items": {
            "description": "The line items for the Subcontract.",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SubcontractLineItem"
            }
          },
          "maximum_retention_percent": {
            "type": "string",
            "description": "The maximum percent in retention that can be withheld from the Subcontractor. This value typically decreases over the course of the project (e.g. once a substantial portion of the project has been completed).",
            "example": "10.0"
          },
          "name": {
            "type": "string",
            "description": "The name of the Subcontract.",
            "example": "Drywall Installation"
          },
          "number": {
            "type": "string",
            "description": "The number of the Subcontract.",
            "example": "A123"
          },
          "original_amount": {
            "type": "string",
            "description": "The monetary amount of the original Subcontract (i.e. exclusive of approved Change Orders).",
            "example": "10000.00"
          },
          "project_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Project](#tag--projects) for the Subcontract."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "retention_amount": {
            "type": "string",
            "description": "The monetary amount of the Subcontract withheld from the Subcontractor until a later date.",
            "example": "1000.00"
          },
          "retention_percent": {
            "type": "string",
            "description": "This is the percent of an amount withheld from Subcontractor until a later date.",
            "example": "5.0"
          },
          "retention_type": {
            "type": "string",
            "description": "This is the type of retention for a Subcontract. \n\nNote, for Jobpac, this value can be \"Cash Retention\", \"Bank Guarantee/Insurance Bond\", or \"Both Cash Retention and Bank Guarantee/Insurance Bond\".\n",
            "example": "Cash Retention"
          },
          "sent_date": {
            "allOf": [
              {
                "description": "The date the Subcontract was sent to the Vendor"
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ]
          },
          "start_date": {
            "allOf": [
              {
                "description": "The start date of the Contract"
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ]
          },
          "status": {
            "type": "string",
            "description": "The status of the Subcontract. \n\n**Note for COINS**: this value can be one of the following:\n- **Uncommitted**: the Subcontract is open for editing.\n- **Committed**: the Subcontract can be invoiced against.\n- **Complete**: the Subcontract has been invoiced in full.\n- **Cancelled**: the Subcontract has been cancelled and will not be invoiced against.\n\n**Note for Sage 100 Contractor**: this value can be one of the following:\n- **Bid**: this Subcontract is currently accepting bids from Vendors..\n- **Closed**: the Vendor has been paid in full for all contracted work.\n- **Complete**: the Vendor has completed work.\n- **Contract**: the Subcontract has been awarded to the Vendor, but they have not begun work.\n- **Current**: work is in progress on the contracted work.\n- **Refused**: a Vendors's bid for the Subcontract has been refused.\n\n**Note for Sage 300 CRE**: this value can be one of the following:\n- **Committed to Job Cost**: the Subcontract is considered a committed cost and can have AP Invoices applied against it.\n- **Draft**: the Subcontract is in a draft format.\n- **On Hold**: the Subcontract is on hold.\n- **Printed**: the Subcontract has been printed and is ready for review.\n- **Release to Accounting**: the Subcontract has been released to Accounting for approval.\n\n**Note for Sage Intacct**: valid values can be found at this [link](https://www.intacct.com/ia/docs/en_US/help_action/Purchasing/Using_Purchasing/Transactions/about-purchasing-transaction-states.htm?cshid=About_purchasing_transaction_states&_gl=1*18puz8x*_ga*MTc3MjQ1MDM4NC4xNjgzODUxOTM0*_ga_HECRWGTVW8*MTY5NDc1MDA2NS45NC4wLjE2OTQ3NTAwNjcuMC4wLjA.).\n\n**Note for Viewpoint Jobpac**: this value can be \"Active\", \"Complete\", or \"Financially Complete\".\n\n**Note for Viewpoint Vista**: this value can be one of the following:\n- **Pending**: these are Subcontracts that have not yet been posted (meaning they cannot have Invoices applied against them).\n- **Non_Interfaced**: these are Subcontracts created in the Project Management module that have not yet been interfaced.\n- **Open**: these are Subcontracts that have been posted and can have Invoices applied against them.\n- **Complete**: the Subcontract is complete and no Invoices can be applied against it.\n- **Closed**: the Subcontract is closed (which is manually done from within the Vista UI using the Subcontract Close form).\n",
            "example": "Open"
          },
          "tax_amount": {
            "type": "string",
            "description": "The tax amount of the Subcontract.",
            "example": "1000.00"
          },
          "terms": {
            "type": "string",
            "description": "The payment terms for the Subcontract.",
            "example": "Net 30"
          },
          "type": {
            "type": "string",
            "description": "The type of the Subcontract. \n\n**Note for COINS**: these values are user-configurable.\n\n**Note for Sage 300 CRE**: this value can be \"Lump Sum\" or \"Unit Cost\".\n\n**Note for Sage Intacct**: valid values will correspond to the Purchasing Transaction types that map to Purchasing Transactions with a Document Type of \"Order\" and Primary Document status set to \"true\".\n\n**Note for Viewpoint Jobpac**: this value can be either \"Lump Sum\" or \"Schedule of Rates\".\n",
            "example": "Lump Sum"
          },
          "vendor_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the Subcontractor ([Vendor](#tag--vendors))."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "source_create_time": {
            "allOf": [
              {
                "description": "The datetime the Subcontract was created in the Source System."
              },
              {
                "$ref": "#/components/schemas/DateTimeProperty"
              }
            ]
          },
          "source_update_time": {
            "allOf": [
              {
                "description": "The datetime the Subcontract was last updated in the Source System."
              },
              {
                "$ref": "#/components/schemas/DateTimeProperty"
              }
            ]
          }
        }
      },
      "Subcontract-2": {
        "allOf": [
          {
            "$ref": "#/components/schemas/Subcontract"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "https://developer.api.autodesk.com/cost/v1/containers/{{containerId}}/contracts/{{subcontractId}}"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "id": "12345",
                      "name": "Drywall Installation",
                      "description": "Drywall installation on the first and second floor.",
                      "containerId": "12345",
                      "code": "A123",
                      "status": "Active",
                      "paymentDue": null,
                      "paymentDueType": null,
                      "companyId": "12345",
                      "type": "Subcontract",
                      "templateId": null,
                      "contactId": null,
                      "mainContractId": "12345",
                      "recipients": null,
                      "address": null,
                      "awarded": "0.0000",
                      "changes": "0.0000",
                      "retention": "0.0000",
                      "retentionCap": null,
                      "creatorId": "12345",
                      "ownerId": "12345",
                      "changedBy": "12345",
                      "signedBy": null,
                      "awardedAt": "2022-01-01T00:00:00.000Z",
                      "statusChangedAt": "2022-01-01T00:00:00.000Z",
                      "sentAt": null,
                      "locked": false,
                      "lockedAt": null,
                      "lockedBy": null,
                      "respondedAt": null,
                      "responseDue": null,
                      "returnedAt": null,
                      "onsiteAt": null,
                      "offsiteAt": null,
                      "procuredAt": null,
                      "approvedAt": null,
                      "executedAt": null,
                      "createdAt": "2022-01-01T00:00:00.000Z",
                      "updatedAt": "2022-01-01T00:00:00.000Z",
                      "note": "{\"blocks\":[{\"key\":\"crs58\",\"text\":\"These are notes.\",\"type\":\"unstyled\",\"depth\":0,\"inlineStyleRanges\":[],\"entityRanges\":[],\"data\":{}}],\"entityMap\":{}}",
                      "scopeOfWork": "{\"blocks\":[{\"key\":\"apuv5\",\"text\":\"This is the scope of work\",\"type\":\"unstyled\",\"depth\":0,\"inlineStyleRanges\":[],\"entityRanges\":[],\"data\":{}}],\"entityMap\":{}}",
                      "allowOverbilling": false,
                      "actualCost": null,
                      "integrationState": null,
                      "integrationStateChangedAt": null,
                      "integrationStateChangedBy": null,
                      "currency": null,
                      "exchangeRate": "1.00000000",
                      "originalBudget": "00.0000",
                      "internalAdjustment": null,
                      "approvedContingency": null,
                      "pendingContingency": null,
                      "approvedOwnerChanges": null,
                      "pendingOwnerChanges": null,
                      "approvedOwnerChangesWithoutCont": null,
                      "pendingOwnerChangesWithoutCont": null,
                      "approvedChangeOrders": null,
                      "approvedInScopeChangeOrders": null,
                      "pendingChangeOrders": null,
                      "reserves": null,
                      "uncommitted": null,
                      "total": "15000.0000",
                      "revised": "00.0000",
                      "projected": "00.0000",
                      "projectedCost": "00.0000",
                      "projectedBudget": "00.0000",
                      "forecastFinalCost": "00.0000",
                      "forecastVariance": "0.0000",
                      "forecastCostComplete": "00.0000",
                      "varianceTotal": "0.0000",
                      "externalId": null,
                      "externalSystem": null,
                      "externalMessage": null,
                      "lastSyncTime": null,
                      "properties": [
                        {
                          "name": "Type",
                          "value": "",
                          "propertyDefinitionId": "12345",
                          "position": 0,
                          "builtIn": true,
                          "type": "options"
                        }
                      ],
                      "approvedOwnerChangesContingency": null,
                      "approvedOwnerChangesOutOfScope": null,
                      "approvedOwnerChangesBudgetOnlyScope": null,
                      "preSubmittedOwnerChangesContingency": null,
                      "preSubmittedOwnerChangesOutOfScope": null,
                      "preSubmittedOwnerChangesBudgetOnlyScope": null,
                      "submittedOwnerChangesContingency": null,
                      "submittedOwnerChangesOutOfScope": null,
                      "submittedOwnerChangesBudgetOnlyScope": null,
                      "approvedChangeOrdersInScope": null,
                      "approvedChangeOrdersOutOfScope": null,
                      "approvedChangeOrdersContingency": null,
                      "pendingChangeOrdersInScope": null,
                      "pendingChangeOrdersOutOfScope": null,
                      "pendingChangeOrdersContingency": null,
                      "draftOwnerChanges": null,
                      "draftChangeOrders": null,
                      "reservesInScope": null,
                      "reservesOutOfScope": null,
                      "reservesContingency": null,
                      "actualCostDirectInput": null,
                      "approvedExpense": null,
                      "pendingExpense": null,
                      "approvedCostPaymentApplication": null,
                      "pendingCostPaymentApplication": null,
                      "forecastAdjustment": null,
                      "allocatedAmount": "00.0000",
                      "actualCostInputRealizedGainOrLoss": null,
                      "expenseRealizedGainOrLoss": null,
                      "costPaymentRealizedGainOrLoss": null,
                      "realizedGainOrLoss": null
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "Subcontract-3": {
        "allOf": [
          {
            "$ref": "#/components/schemas/Subcontract"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": {
                      "Endpoint": null
                    }
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {}
                  }
                }
              }
            }
          }
        ]
      },
      "Subcontract-4": {
        "allOf": [
          {
            "$ref": "#/components/schemas/Subcontract"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "{{server}}/{{environment}}/pm-rest-api/rest/1/scmast"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "CChangeDesc": "Changes To Date",
                      "CNewRevisedDesc": "New Revised",
                      "COriginalDesc": "Original",
                      "CRecievedDesc": "Revised",
                      "CTitle1": "Original",
                      "CTitle2": "Prior Changes",
                      "CTitle3": "Current Change",
                      "CTitle4": "Revised",
                      "CUnpostedDesc": "Unposted Changes",
                      "PartnTypeCode": "P",
                      "PostOverrideFlag": "0",
                      "ScmstAbbrevPartnCode": "ANYCO",
                      "ScmstAcctDescription": null,
                      "ScmstActionCode": null,
                      "ScmstAltVenAddCode": null,
                      "ScmstAppCode": null,
                      "ScmstArAmt": null,
                      "ScmstBankAccount": null,
                      "ScmstBankDept": null,
                      "ScmstBillCode": null,
                      "ScmstCashAmt": null,
                      "ScmstCdiFlag": "N",
                      "ScmstChgCode": "000",
                      "ScmstChqHandleCode": null,
                      "ScmstCloseDate": null,
                      "ScmstClvValueCode1": null,
                      "ScmstClvValueCode2": null,
                      "ScmstClvValueCode3": null,
                      "ScmstClvValueCode4": null,
                      "ScmstClvValueCode5": null,
                      "ScmstClvValueCode6": null,
                      "ScmstCmBudrCode": null,
                      "ScmstCmChgCode": null,
                      "ScmstCmCompCode": null,
                      "ScmstCmJobCode": null,
                      "ScmstCompCode": "001",
                      "ScmstComplFlag": null,
                      "ScmstContAmt": 15000,
                      "ScmstContCode": "A123",
                      "ScmstContType": "Lump Sum",
                      "ScmstContactCode": "MH",
                      "ScmstContactName": "AnyCompany Inc.",
                      "ScmstCorrespAddCode": null,
                      "ScmstCreateContOnFlyFlag": "Y",
                      "ScmstCurcFactorNum": 0,
                      "ScmstCurrCode": "USD",
                      "ScmstCurrName": "US Dollar",
                      "ScmstDate": "2022-01-01",
                      "ScmstDefaultTaxesFlag": "Y",
                      "ScmstDesc": "Drywall installation on the first and second floor.",
                      "ScmstDfltAmt": null,
                      "ScmstDfltCatCode": null,
                      "ScmstDfltPhsCode": null,
                      "ScmstDoNotExceedAmt": null,
                      "ScmstEndDate": "2022-01-01",
                      "ScmstExecutedDate": "2022-01-01",
                      "ScmstGcsPayRequestFlag": "N",
                      "ScmstGstAmt": 0,
                      "ScmstGstPc": 0,
                      "ScmstHldbkPc": 0,
                      "ScmstHldbkPcRule": null,
                      "ScmstHldbkRlsFromSc": "Y",
                      "ScmstHoldPaymentDays": 0,
                      "ScmstHoldPaymentFlag": "Y",
                      "ScmstImpactDays": 0,
                      "ScmstInvEntryState": "SC",
                      "ScmstInvHldbkTaxFlag": "N",
                      "ScmstIssuedDate": "2022-01-01",
                      "ScmstIuCreateDate": "2022-01-01T00:00:00-00:00",
                      "ScmstIuUpdateDate": "2022-01-01T00:00:00-00:00",
                      "ScmstJobCode": "12345",
                      "ScmstJobCtrlCode": "ALL",
                      "ScmstMainChgCode": null,
                      "ScmstMainContCode": null,
                      "ScmstMainVenCode": null,
                      "ScmstName": "Drywall Installation",
                      "ScmstNonCreditInclTaxAmt": 0,
                      "ScmstNonCreditTaxAmt": 0,
                      "ScmstOrigBidpAmt": null,
                      "ScmstOrigBidpOraseq": null,
                      "ScmstOvrrideNotExceedFlag": "N",
                      "ScmstOverrideFlag": null,
                      "ScmstPbContCode": null,
                      "ScmstPbCustCode": null,
                      "ScmstPostBatch": 12345,
                      "ScmstPostDate": "2022-01-01",
                      "ScmstPreferedQuoteFlag": "Y",
                      "ScmstPrintedCoFlag": null,
                      "ScmstProjOraseq": 12345,
                      "ScmstRating": null,
                      "ScmstRctReferenceNum": null,
                      "ScmstReceivedDate": "2022-01-01",
                      "ScmstRecipientEmail": null,
                      "ScmstRevBatch": null,
                      "ScmstRevDate": null,
                      "ScmstScControlAmt": null,
                      "ScmstSchedExistsFlag": "Y",
                      "ScmstScheduleFlag": "Y",
                      "ScmstScopeDesc": "ABCDE",
                      "ScmstScschLastSeqNumUsed": 0,
                      "ScmstSelfBilledFlag": "N",
                      "ScmstSenderEmail": null,
                      "ScmstSepVouPerJobFlag": "N",
                      "ScmstSrcCode": null,
                      "ScmstStartDate": "2022-01-01",
                      "ScmstStatCode": "I",
                      "ScmstStatusCode": "PENDING",
                      "ScmstSubcontrCode": "NONE",
                      "ScmstSubcontractorChgCode": null,
                      "ScmstTax1Code": null,
                      "ScmstTax2Code": null,
                      "ScmstTax3Code": null,
                      "ScmstTermCode": null,
                      "ScmstTermName": null,
                      "ScmstTexturaFlag": null,
                      "ScmstUser": "AnyCo",
                      "ScmstUserPrvlgFlag": "Y",
                      "ScmstVenCode": "ANYCO",
                      "ScmstVenName": "AnyCompany Inc.",
                      "ScmstVUuid": "12345",
                      "ScmstDepositAmt": 0,
                      "ScmstDepositApprovalDate": null,
                      "ScmstDepositPct": 0
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "Subcontract-5": {
        "allOf": [
          {
            "$ref": "#/components/schemas/Subcontract"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "https://{{instance_name}}.coinscloud.com/env/{{environment}}/rest/pages/company/1/tip_type/:tip_type/poh_ordno/:poh_ordno/poh_chgno/:poh_chgno?filterMA-job_num=M25EXP003&tip_type=TRADE&poh_ordno=S-M25EXP003%2F00003&poh_chgno="
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "kco": 1,
                      "tip_type": "TRADE",
                      "poh_ordno": "12345",
                      "poh_chgno": "",
                      "cca_code": "",
                      "cur_code": "GBP",
                      "gla_acct": "",
                      "jcc_cc": "",
                      "job_num": "M25EXP003",
                      "jph_phase": "",
                      "jwb_code": "",
                      "pgt_notes": "test notes",
                      "pgt_sentdate": "2024-02-09",
                      "pgt_signeddate": null,
                      "pob_code": "AGAVEAPI",
                      "pob_name": "Agave Test",
                      "pod_debt": null,
                      "poh_accno": "BUI002",
                      "poh_accruals": false,
                      "poh_add__1": "123 Construction Street",
                      "poh_add__2": "London",
                      "poh_add__3": "",
                      "poh_add__4": "",
                      "poh_agreement": true,
                      "poh_alwcode": false,
                      "poh_amount": 15000,
                      "poh_analysis": "M25EXP003",
                      "poh_appstat": "",
                      "poh_basis": "",
                      "poh_bpenddate": null,
                      "poh_bpstartdate": null,
                      "poh_cancelled": false,
                      "poh_cat": "",
                      "poh_ccdate": null,
                      "poh_chasedate": null,
                      "poh_chgref": "",
                      "poh_cocomp": false,
                      "poh_commitdt": null,
                      "poh_commiton": null,
                      "poh_confirm": false,
                      "poh_consinv": false,
                      "poh_desc": "Drywall Installation",
                      "poh_dtime": 0,
                      "poh_duedays": 30,
                      "poh_duetype": "1",
                      "poh_entry": 1,
                      "poh_hcode": "",
                      "poh_hcode2": "",
                      "poh_match": true,
                      "poh_mpo": "S",
                      "poh_name": "BuildWell Co Ltd",
                      "poh_odate": "2022-01-01",
                      "poh_paytype": "",
                      "poh_settdiscday": 0,
                      "poh_settdisctype": "",
                      "poh_shipaddr__1": "M25 Motorway",
                      "poh_shipaddr__2": "Junction 10 to Junction 16",
                      "poh_shipaddr__3": "Surrey",
                      "poh_shipaddr__4": "",
                      "poh_shippcode": "KT11 3JH",
                      "poh_shipvia": "",
                      "poh_tax": 0,
                      "poh_tdate": null,
                      "poh_terms__1": "",
                      "poh_terms__2": "",
                      "poh_votype": "",
                      "pot_desc": "Normal order",
                      "pot_type": "N",
                      "vat_code": "P1",
                      "RO_POComplete": false,
                      "RO_Poh_Status": "",
                      "RO_jtcreated": "2022-01-01T00:00:00.000",
                      "RO_jtchanged": "2022-01-01T00:00:00.000",
                      "poh_dMax": 230.22,
                      "poh_retval": 7,
                      "poh_cfinish": "2022-01-01",
                      "RO_OrderFAmount": 15000,
                      "RO_sbs_cfinish": null,
                      "RO_TotalInvdValue": 1000,
                      "RO_OriginalAmount": 15000,
                      "poh_retype": false,
                      "RO_sbs_cstart": null,
                      "poh_dRet": 5
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "Subcontract-6": {
        "allOf": [
          {
            "$ref": "#/components/schemas/Subcontract"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The database query for the Source System.",
                    "example": "select * from [PO_SUB_H]"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "Company_No": "12345",
                      "PO_Sub_No": "A123",
                      "Type": "C",
                      "Transaction_Date": "2022-01-01 00:00:00.000",
                      "Amount": "100.00",
                      "Vendor_No": "A123",
                      "Job_No": "A123",
                      "Description": "Drywall Installation",
                      "Retainage_Percent": ".00000",
                      "GL_Expense": null,
                      "Status": "O",
                      "Verify_Distribution_Totals": null,
                      "Printed_Flag": null,
                      "Buyer_No": null,
                      "Delivery_Date": "2022-01-01 00:00:00.000",
                      "Ship_To_No": null,
                      "terms_no": null,
                      "ship_via_no": "AnyCompany Shipping",
                      "FOB": null,
                      "Invoice_Chg_Ord_Against": "P",
                      "Closed_Date": null,
                      "Manual_Close": "N",
                      "Record_Status": "A",
                      "Row_Modified_By": "DBA",
                      "Row_Modified_On": "2022-01-01 00:00:00.000",
                      "Row_Unique_Id": "12345",
                      "buyer_id": null,
                      "job_id": null,
                      "ship_to_id": null,
                      "ship_via_id": "ACS",
                      "company_id": "12345",
                      "vendor_id": "A123",
                      "po_sub_id": "A123",
                      "terms_id": null,
                      "lien_waiver_flag": "N",
                      "waiver_description": null,
                      "waiver_trade_work": null,
                      "waiver_title": null,
                      "waiver_signature_name": null,
                      "waiver_job_owner": null,
                      "waiver_job_address_1": null,
                      "waiver_job_address_2": null,
                      "waiver_job_city": null,
                      "waiver_job_state": null,
                      "waiver_job_zip_code": null,
                      "waiver_job_county": null,
                      "printable_flag": "Y",
                      "header_format": "D",
                      "body_format": "E",
                      "instructions": null,
                      "shipto_address_flag": "J",
                      "other_contact": null,
                      "other_address_1": null,
                      "other_address_2": null,
                      "other_city": null,
                      "other_state": null,
                      "other_zip_code": null,
                      "shipto_job": null,
                      "force_final_waiver_flag": "N",
                      "calculate_sales_tax_flag": "N",
                      "tax_exempt": "N",
                      "tax_exempt_cert": null,
                      "tax_no": null,
                      "tax_base": ".00",
                      "goods_service_amount": "100.00",
                      "tax_amount": "10.00",
                      "old_flag": "N",
                      "verify_invoice_amount": "Y",
                      "verify_distributions": "Y",
                      "tax_id": null,
                      "format": "S",
                      "design_no": null,
                      "design_id": null,
                      "Internal_Batch_Number": null,
                      "ins_certificate": "N",
                      "ins_date_expires": null,
                      "allow_po_exceed_invoice_percent": ".00000",
                      "job_change_order_no": null,
                      "job_change_order_seq": "0",
                      "job_change_order_id": null,
                      "lien_waiver_format_ap": "GE",
                      "header_on_first_page": "N",
                      "footer_comment": null,
                      "dispatch_no": null,
                      "preview_float_summary": "Y",
                      "preview_print_title": "Y",
                      "dispatch_id": null,
                      "tax_type": "N",
                      "lien_waiver_format_type": "J",
                      "lien_waiver_design_no_ap": null,
                      "wp_design_no": null,
                      "warehouse_or_job_transfer": "W",
                      "default_warehouse_no": "  100",
                      "fuel_payable_flag": null,
                      "default_warehouse_id": "100",
                      "wp_design_id": null,
                      "allow_po_exceed_invoice_tax": ".00000",
                      "record_guid": "1234567-167E-EC11-A45D-E454E88F8BE7",
                      "source_field": "",
                      "terms_description": null
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "Subcontract-7": {
        "allOf": [
          {
            "$ref": "#/components/schemas/Subcontract"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "https://api.procore.com/rest/v1.0/work_order_contracts/{{subcontract_id}}"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "id": 12345,
                      "accounting_method": "amount",
                      "actual_completion_date": "2022-01-01",
                      "approval_letter_date": null,
                      "approved_change_orders": "0.0",
                      "attachments": [],
                      "billing_schedule_of_values_status": "draft",
                      "change_order_packages": [],
                      "contract_date": null,
                      "contract_estimated_completion_date": "2022-01-01",
                      "contract_start_date": "2022-01-01",
                      "created_at": "2022-01-01T00:00:00Z",
                      "created_by_id": 12345,
                      "custom_fields": {},
                      "deleted_at": null,
                      "description": "Drywall installation on the first and second floor",
                      "draft_change_orders_amount": "0.0",
                      "exclusions": null,
                      "executed": true,
                      "execution_date": "2022-01-01",
                      "grand_total": "50.0",
                      "has_change_order_packages": false,
                      "has_potential_change_orders": false,
                      "inclusions": null,
                      "invoice_contacts": [],
                      "issued_on_date": "2022-01-01",
                      "letter_of_intent_date": null,
                      "line_items": [
                        {
                          "id": 12345,
                          "created_at": "2022-01-01T00:00:00Z",
                          "updated_at": "2022-01-01T00:00:00Z",
                          "amount": "50.0",
                          "company": {
                            "id": 12345,
                            "name": "AnyCompany Inc."
                          },
                          "wbs_code": {
                            "description": "",
                            "flat_code": "",
                            "id": 12345
                          },
                          "description": "Cleanup",
                          "extended_type": "manual",
                          "holder": {
                            "id": 12345,
                            "holder_type": "WorkOrderContract"
                          },
                          "origin_id": null,
                          "position": 1,
                          "project": {
                            "id": 12345,
                            "name": "Test Project-1"
                          },
                          "quantity": "10.0",
                          "total_amount": "50.0",
                          "extended_amount": "50.0",
                          "unit_cost": "5.0"
                        }
                      ],
                      "number": "A123",
                      "origin_code": null,
                      "origin_data": null,
                      "origin_id": null,
                      "payments_issued": [],
                      "pending_change_orders": "0.0",
                      "pending_revised_contract": "0.0",
                      "percentage_paid": "0.0",
                      "private": true,
                      "project": {
                        "id": 12345,
                        "name": "Test Project-1",
                        "origin_data": null,
                        "origin_id": null
                      },
                      "remaining_balance_outstanding": "0.0",
                      "requisitions_are_enabled": true,
                      "retainage_percent": "5.0",
                      "returned_date": null,
                      "revised_contract": "0.0",
                      "show_line_items_to_non_admins": null,
                      "signed_contract_received_date": null,
                      "status": "Draft",
                      "title": "Drywall Installation",
                      "total_draw_requests_amount": "0.0",
                      "total_payments": "0.0",
                      "total_requisitions_amount": "0.0",
                      "updated_at": "2022-01-01T00:00:00Z",
                      "vendor": {
                        "id": 12345
                      }
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "Subcontract-8": {
        "allOf": [
          {
            "$ref": "#/components/schemas/Subcontract"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The SQL path on the Source System.",
                    "example": "select * from [subcon]"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "_idnum": "12345141-899F-E511-B83D-005056C00008",
                      "recnum": "1",
                      "ctcnum": "764",
                      "divnum": "15",
                      "vndnum": "2",
                      "jobnum": "186",
                      "phsnum": "0",
                      "dscrpt": "Drywall Installation",
                      "taxdst": null,
                      "usrdf1": "",
                      "usrdf2": "",
                      "status": 4,
                      "contyp": 15,
                      "rtnrte": "10.00",
                      "pmtbnd": ".00",
                      "prfbnd": ".00",
                      "appdte": "2022-01-01T00:00:00.000Z",
                      "condte": "2022-01-01T00:00:00.000Z",
                      "orgstr": null,
                      "orgfin": null,
                      "strdte": null,
                      "subcmp": null,
                      "findte": null,
                      "hotlst": 0,
                      "paysts": 0,
                      "lckedt": 1,
                      "entdte": "2023-05-01T00:00:00.000Z",
                      "usrnme": "Tom",
                      "cntttl": "19369.00",
                      "chgttl": ".00",
                      "ctcttl": "19369.00",
                      "taxttl": ".00",
                      "invttl": ".00",
                      "balttl": "19369.00",
                      "ntetxt": "Drywall installation on the first and second floor.",
                      "gstamt": ".00",
                      "pstamt": ".00",
                      "hstamt": ".00",
                      "insdte": "2022-01-01T00:00:00.000Z",
                      "insusr": "John Doe",
                      "upddte": "2022-01-01T00:00:00.000Z",
                      "updusr": "BEST\\johndoe",
                      "type_description": "HVAC"
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "Subcontract-9": {
        "allOf": [
          {
            "$ref": "#/components/schemas/Subcontract"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The SQL path on the Source System.",
                    "example": "select * from [MASTER_JCM_RECORD_12] where [MASTER_JCM_RECORD_12.STYPE] = \"Subcontract\""
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "SUB": "12345",
                      "STYPE": "Subcontract",
                      "SDESC": "Drywall Installation",
                      "SVENDOR": "204",
                      "SDATE": "2022-08-25",
                      "SUPRICE": "1",
                      "SJOB": "03-001",
                      "SEXTRA": "",
                      "SRETPCT": 10,
                      "SITXAMT": 0,
                      "SAMT": 730,
                      "SRELACT": "1",
                      "SCMMTED": "1",
                      "SHOLD": "0",
                      "SCLOSED": "0",
                      "SPRNTED": "0",
                      "SAPPRCO": 0,
                      "SAPRTCO": 0,
                      "SPENDCO": 0,
                      "SPENTCO": 0,
                      "SAMTINV": 0,
                      "SAMTRET": 0,
                      "SAMTPD": 0,
                      "SCAMTC": 0,
                      "SACOAMC": 0,
                      "SPCOAMC": 0,
                      "SLINV": "",
                      "SLBANK": "",
                      "SLCKNUM": 0,
                      "SLCKDAT": null,
                      "STADD1": "",
                      "STADD2": "",
                      "STCITY": "",
                      "STSTATE": "",
                      "STZIP": "",
                      "SSTADD1": "",
                      "SSTADD2": "",
                      "SSTCITY": "",
                      "SSTSTAT": "",
                      "SSTZIP": "",
                      "SMSALP1": "",
                      "SMSALP2": "",
                      "SMSALP3": "",
                      "SMSALP4": "",
                      "SMSALP5": "",
                      "SMSDAT1": null,
                      "SMSDAT2": null,
                      "SMSDAT3": null,
                      "SSCOPE": "",
                      "SNOTFDT": null,
                      "SSCHSD": null,
                      "SACTSD": null,
                      "SSCHCD": null,
                      "SACTCD": null,
                      "SWCPR": "0",
                      "SWCCO": "",
                      "SWCPCY": "",
                      "SWCEFFD": null,
                      "SWCEXPD": null,
                      "SWCLIM": 0,
                      "SWCRCVD": "0",
                      "SWCRECD": null,
                      "SWCRECB": "",
                      "SWCOVRD": "0",
                      "SATPR": "0",
                      "SATCO": "",
                      "SATPCY": "",
                      "SATEFFD": null,
                      "SATEXPD": null,
                      "SATLIM": 0,
                      "SATRCVD": "0",
                      "SATRECD": null,
                      "SATRECB": "",
                      "SATOVRD": "0",
                      "SGLPR": "0",
                      "SGLCO": "",
                      "SGLPCY": "",
                      "SGLEFFD": null,
                      "SGLEXPD": null,
                      "SGLLIM": 0,
                      "SGLRCVD": "0",
                      "SGLRECD": null,
                      "SGLRECB": "",
                      "SGLOVRD": "0",
                      "SUMPR": "0",
                      "SUMCO": "",
                      "SUMPCY": "",
                      "SUMEFFD": null,
                      "SUMEXPD": null,
                      "SUMLIM": 0,
                      "SUMRCVD": "0",
                      "SUMRECD": null,
                      "SUMRECB": "",
                      "SUMOVRD": "0",
                      "SM1PR": "0",
                      "SM1CO": "",
                      "SM1PCY": "",
                      "SM1EFFD": null,
                      "SM1EXPD": null,
                      "SM1LIM": 0,
                      "SM1RCVD": "0",
                      "SM1RECD": null,
                      "SM1RECB": "",
                      "SM1OVRD": "0",
                      "SM2PR": "0",
                      "SM2CO": "",
                      "SM2PCY": "",
                      "SM2EFFD": null,
                      "SM2EXPD": null,
                      "SM2LIM": 0,
                      "SM2RCVD": "0",
                      "SM2RECD": null,
                      "SM2RECB": "",
                      "SM2OVRD": "0",
                      "SCVAP": "",
                      "SCISSBY": "",
                      "SCSGNBY": "",
                      "SCSGNDT": null,
                      "SVVAPDT": null,
                      "SVVAPRC": "0",
                      "SVVAP": "",
                      "SVVAPSB": "",
                      "SVVAPSD": null,
                      "SCISSDT": null,
                      "SCISS": "0",
                      "SSGNCDT": null,
                      "SSGNCR": "0",
                      "SINSCDT": null,
                      "SINSCR": "0",
                      "SMSCCL1": "0",
                      "SMSCDT1": null,
                      "SMSCCL2": "0",
                      "SMSCDT2": null,
                      "SMSCCL3": "0",
                      "SMSCDT3": null,
                      "SMSCCL4": "0",
                      "SMSCDT4": null,
                      "SPRBREQ": "0",
                      "SPRBDDT": null,
                      "SPRBREC": "0",
                      "SPRBAMT": 0,
                      "SPRBSUR": "",
                      "SPRBCNT": "",
                      "SPRBPHN": "",
                      "SPMBREQ": "0",
                      "SPMBDDT": null,
                      "SPMBREC": "0",
                      "SPMBAMT": 0,
                      "SPMBSUR": "",
                      "SPMBCNT": "",
                      "SPMBPHN": "",
                      "SDOCID": 306,
                      "SMSTRCA": "0",
                      "SCRLGDT": null,
                      "SOSTAMP": "AnyUser",
                      "SDSTAMP": "2022-08-29",
                      "STSTAMP": "20:57:51",
                      "SRWID": "9dd9bb8a-fe24-ed11-8382-122f56880ad7",
                      "SRWVR": "1661831871",
                      "R12NTS": null,
                      "R12FLS": null
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "Subcontract-10": {
        "allOf": [
          {
            "$ref": "#/components/schemas/Subcontract"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "https://api.intacct.com/ia/xml/xmlgw.phtml"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "RECORDNO": "1059",
                      "ACTUALCOMPLETIONDATE": "03/12/2025",
                      "POSTEDCHANGESTOTAL": "0",
                      "SCHEDULEDCOMPLETIONDATE": "03/13/2025",
                      "EXECUTEDON": "03/10/2025",
                      "MESSAGE": "Sample Subcontract for API",
                      "ORIGINALAMOUNT": "100",
                      "RETAINAGEPERCENTAGE": "5",
                      "WHENCREATED": "03/06/2025",
                      "WHENMODIFIED": "03/07/2025 03:39:26",
                      "ACTUALSTARTDATE": "03/11/2025",
                      "STATE": "Draft",
                      "DOCNO": "SUB-00270",
                      "DOCID": "Subcontracts-SUB-00270",
                      "CREATEDFROM": null,
                      "SOURCEDOCKEY": null,
                      "SOURCEDOCPARID": null,
                      "CLOSED": null,
                      "AUWHENCREATED": "03/07/2025 03:39:26",
                      "CREATEDBY": "7",
                      "MODIFIEDBY": "7",
                      "WHENDUE": "04/05/2025",
                      "STATUS": "active",
                      "PONUMBER": "Reference No",
                      "VENDORDOCNO": "Vendor Doc No",
                      "DOCPARID": "Subcontracts",
                      "DOCPARKEY": "55",
                      "DOCPARCLASS": "ORDER",
                      "UPDATES_INV": "No",
                      "TERM": {
                        "NAME": "Net 30"
                      },
                      "NOTE": null,
                      "WAREHOUSE": {
                        "LOCATIONID": null
                      },
                      "SHIPVIA": null,
                      "USER": "7",
                      "CREATEDUSER": "7",
                      "USERID": "emma",
                      "CREATEDUSERID": "emma",
                      "CONTACT": {
                        "CONTACTNAME": "Metropolitan Mechanical(VV00003)",
                        "PREFIX": null,
                        "FIRSTNAME": null,
                        "INITIAL": null,
                        "LASTNAME": null,
                        "COMPANYNAME": "Metropolitan Mechanical",
                        "PRINTAS": "Metropolitan Mechanical",
                        "PHONE1": "1235550100",
                        "PHONE2": null,
                        "CELLPHONE": null,
                        "PAGER": null,
                        "FAX": null,
                        "EMAIL1": null,
                        "EMAIL2": null,
                        "URL1": "https://www.agaveapi.com/",
                        "URL2": null,
                        "VISIBLE": "true",
                        "MAILADDRESS": {
                          "ADDRESS1": "123 Main Street",
                          "ADDRESS2": "Floor 2",
                          "CITY": "AnyTown",
                          "STATE": "CA",
                          "ZIP": "19703",
                          "COUNTRY": "United States",
                          "COUNTRYCODE": "US"
                        }
                      },
                      "SHIPTOKEY": "2282",
                      "SHIPTO": {
                        "CONTACTNAME": "Metropolitan Mechanical(VV00003)",
                        "PREFIX": null,
                        "FIRSTNAME": null,
                        "INITIAL": null,
                        "LASTNAME": null,
                        "COMPANYNAME": "Metropolitan Mechanical",
                        "PRINTAS": "Metropolitan Mechanical",
                        "PHONE1": "1235550100",
                        "PHONE2": null,
                        "CELLPHONE": null,
                        "PAGER": null,
                        "FAX": null,
                        "EMAIL1": null,
                        "EMAIL2": null,
                        "URL1": "https://www.agaveapi.com/",
                        "URL2": null,
                        "VISIBLE": "true",
                        "MAILADDRESS": {
                          "ADDRESS1": "123 Main Street",
                          "ADDRESS2": "Floor 2",
                          "CITY": "AnyTown",
                          "STATE": "CA",
                          "ZIP": "19703",
                          "COUNTRY": "United States",
                          "COUNTRYCODE": "US"
                        }
                      },
                      "BILLTOKEY": "2282",
                      "BILLTO": {
                        "CONTACTNAME": "Metropolitan Mechanical(VV00003)",
                        "PREFIX": null,
                        "FIRSTNAME": null,
                        "INITIAL": null,
                        "LASTNAME": null,
                        "COMPANYNAME": "Metropolitan Mechanical",
                        "PRINTAS": "Metropolitan Mechanical",
                        "PHONE1": "1235550100",
                        "PHONE2": null,
                        "CELLPHONE": null,
                        "PAGER": null,
                        "FAX": null,
                        "EMAIL1": null,
                        "EMAIL2": null,
                        "URL1": "https://www.agaveapi.com/",
                        "URL2": null,
                        "VISIBLE": "true",
                        "MAILADDRESS": {
                          "ADDRESS1": "123 Main Street",
                          "ADDRESS2": "Floor 2",
                          "CITY": "AnyTown",
                          "STATE": "CA",
                          "ZIP": "19703",
                          "COUNTRY": "United States",
                          "COUNTRYCODE": "US"
                        }
                      },
                      "PRRECORDKEY": null,
                      "INVBATCHKEY": null,
                      "PRINVBATCHKEY": null,
                      "ADDGLBATCHKEY": null,
                      "PRINTED": "No",
                      "BACKORDER": "No",
                      "SUBTOTAL": "100",
                      "TOTAL": "100",
                      "ENTGLGROUP": null,
                      "CURRENCY": "USD",
                      "EXCHRATEDATE": "03/06/2025",
                      "EXCHRATETYPES": {
                        "NAME": null
                      },
                      "EXCHRATE": "1",
                      "SCHOPKEY": null,
                      "SALESCONTRACT": "N",
                      "USEDASCONTRACT": null,
                      "TRX_SUBTOTAL": "100",
                      "TRX_TOTAL": "100",
                      "EXCH_RATE_TYPE_ID": null,
                      "RENEWEDDOC": null,
                      "BASECURR": "USD",
                      "SYSTEMGENERATED": "false",
                      "INVOICERUNKEY": null,
                      "DOCPAR_IN_OUT": "Increase",
                      "WHENPOSTED": null,
                      "PRINTEDUSERID": null,
                      "DATEPRINTED": null,
                      "PRINTEDBY": null,
                      "ADJ": "false",
                      "TAXSOLUTIONKEY": null,
                      "TAXSOLUTIONID": null,
                      "SHOWMULTILINETAX": null,
                      "TAXMETHOD": null,
                      "DELIVERTOKEY": null,
                      "DELIVERTO": {
                        "CONTACTNAME": null,
                        "COMPANYNAME": null,
                        "PREFIX": null,
                        "FIRSTNAME": null,
                        "LASTNAME": null,
                        "INITIAL": null,
                        "PRINTAS": null,
                        "PHONE1": null,
                        "PHONE2": null,
                        "CELLPHONE": null,
                        "PAGER": null,
                        "FAX": null,
                        "EMAIL1": null,
                        "EMAIL2": null,
                        "URL1": null,
                        "URL2": null,
                        "VISIBLE": null,
                        "MAILADDRESS": {
                          "ADDRESS1": null,
                          "ADDRESS2": null,
                          "CITY": null,
                          "STATE": null,
                          "ZIP": null,
                          "COUNTRY": null,
                          "COUNTRYCODE": null
                        }
                      },
                      "SCOPE": null,
                      "INCLUSIONS": null,
                      "EXCLUSIONS": null,
                      "TERMS": null,
                      "SCHEDULESTARTDATE": "03/08/2025",
                      "REVISEDCOMPLETIONDATE": "03/15/2025",
                      "SUBSTANTIALCOMPLETIONDATE": "03/09/2025",
                      "NOTICETOPROCEED": "03/14/2025",
                      "RESPONSEDUE": "03/15/2025",
                      "SCHEDULEIMPACT": null,
                      "INTERNALREFNO": null,
                      "INTERNALINITIATEDBYKEY": null,
                      "INTERNALINITIATEDBY": null,
                      "INTERNALINITIATEDBYNAME": null,
                      "INTERNALVERBALBYKEY": null,
                      "INTERNALVERBALBY": null,
                      "INTERNALVERBALBYNAME": null,
                      "INTERNALISSUEDBYKEY": null,
                      "INTERNALISSUEDBY": null,
                      "INTERNALISSUEDBYNAME": null,
                      "INTERNALISSUEDON": null,
                      "INTERNALAPPROVEDBYKEY": null,
                      "INTERNALAPPROVEDBY": null,
                      "INTERNALAPPROVEDBYNAME": null,
                      "INTERNALAPPROVEDON": null,
                      "INTERNALSIGNEDBYKEY": null,
                      "INTERNALSIGNEDBY": null,
                      "INTERNALSIGNEDBYNAME": null,
                      "INTERNALSIGNEDON": null,
                      "INTERNALSOURCE": null,
                      "INTERNALSOURCEREFNO": null,
                      "EXTERNALREFNO": null,
                      "EXTERNALVERBALBYKEY": null,
                      "EXTERNALVERBALBY": null,
                      "EXTERNALAPPROVEDBYKEY": null,
                      "EXTERNALAPPROVEDBY": null,
                      "EXTERNALAPPROVEDON": null,
                      "EXTERNALSIGNEDBYKEY": null,
                      "EXTERNALSIGNEDBY": null,
                      "EXTERNALSIGNEDON": null,
                      "PERFORMANCEBONDREQUIRED": "false",
                      "PERFORMANCEBONDRECEIVED": "false",
                      "PERFORMANCEBONDAMOUNT": null,
                      "PERFORMANCESURETYCOMPANYKEY": null,
                      "PERFORMANCESURETYCOMPANY": null,
                      "PERFORMANCESURETYCOMPANYNAME": null,
                      "PAYMENTBONDREQUIRED": "false",
                      "PAYMENTBONDRECEIVED": "false",
                      "PAYMENTBONDAMOUNT": null,
                      "PAYMENTSURETYCOMPANYKEY": null,
                      "PAYMENTSURETYCOMPANY": null,
                      "PAYMENTSURETYCOMPANYNAME": null,
                      "HASCHANGE": "false",
                      "REVISEDTOTAL": "100",
                      "REVISEDSUBTOTAL": "100",
                      "TRX_REVISEDTOTAL": "100",
                      "TRX_REVISEDSUBTOTAL": "100",
                      "RELATEDDOCNO": "Subcontracts-SUB-00270",
                      "CHANGELOGNUMBER": "0",
                      "PROJECTKEY": "324",
                      "PROJECT": "SI208",
                      "PROJECTNAME": "One Market Towers",
                      "CUSTVENDID": "V00003",
                      "CUSTVENDNAME": "Metropolitan Mechanical",
                      "VENDREC": "152",
                      "TRX_TOTALPAID": null,
                      "TOTALPAID": null,
                      "TRX_TOTALENTERED": null,
                      "TOTALENTERED": null,
                      "TRX_TOTALDUE": null
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "Subcontract-11": {
        "allOf": [
          {
            "$ref": "#/components/schemas/Subcontract"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "https://{id}.cloud.jobpac.com.au:{id}/SubcontractListing"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "WorkId": "12345",
                      "CreditorWorkId": "12345",
                      "Firm": "12345",
                      "Order": "12345",
                      "Creditor": "12345",
                      "RecipientSuppliedInvoice": "N",
                      "RecipientSuppliedDate": "",
                      "AcceptanceDate": "01/01/22",
                      "StartDate": "01/01/22",
                      "CompletionDate": "01/01/22",
                      "AgreementSentDate": "01/01/22",
                      "AgreementReceivedDate": "",
                      "ExpectedCompletionDate": "",
                      "LastTransactionDate": "",
                      "PeriodEndDate": "",
                      "Stage2StartDate": "",
                      "Stage2FinishDate": "",
                      "Stage3StartDate": "",
                      "Stage3FinishDate": "",
                      "CompletionFlag": "N",
                      "ScheduleOfRatesOrLumpSum": "L",
                      "ContractType": "",
                      "SubjectToRiseAndFall": "",
                      "LastSubcontractAdjustmentAdviceNumber": "0",
                      "ContractStatus": "A",
                      "IsValuationUsed": "",
                      "PackageCode": "",
                      "Hours": ".00",
                      "Finalised": "N",
                      "TextVersionNumber": "0",
                      "Product": "",
                      "Printed": "N",
                      "PaidDirectFlag": "N",
                      "SubjectToPPS": "",
                      "UpdateUtilityUsed": "",
                      "NominatedSubcontractFlag": "N",
                      "AgreementPrinted": "N",
                      "AgreementTextVerisonNumber": "0",
                      "ExchangeRate": "1.000000000",
                      "Description": "Drywall Installation",
                      "PayPeriodAfterClaims": "0",
                      "PayPeriodAfterDefects": "0",
                      "PayPeriodAfterHandover": "0",
                      "UserDefinedField1": "",
                      "UserDefinedField2": "",
                      "UserDefinedField3": "",
                      "UserDefinedField4": "",
                      "UserDefinedField5": "",
                      "CVASentDate": "",
                      "CVAReceivedDate": "",
                      "ValuePrintedOnCVA": "",
                      "SendCVANextSPAY": "N",
                      "ProductServicesCode": "",
                      "Contact": "",
                      "ExtensionOfTimeApproved": "0",
                      "ExtensionOfTimeUnapproved": "0",
                      "DefectsPeriod": "12 Months",
                      "DefectsExpiryDate": "01/01/22",
                      "ContractorsAllRiskInsuranceCompany": "",
                      "ContractorsAllRiskPolicyNumber": "",
                      "ContractorsAllRiskExpiryDate": "",
                      "ContractorsAllRiskValue": "",
                      "ContractorsAllRiskExcessValue": "",
                      "PublicLiabilityInsuranceCompany": "",
                      "PublicLiabilityCertificate": "",
                      "PublicLiabilityInsuranceValue": "",
                      "PublicLiabilityExpiryDate": "",
                      "BankGuaranteeAmount": "",
                      "DateSecurityLodged": "",
                      "HalfReleaseDate": "01/01/22",
                      "FullReleaseDate": "01/01/22",
                      "AcceptedContractSum": "15,000.00",
                      "ContingencySums": "",
                      "ProvisionalSums": "",
                      "NetContractSum": "",
                      "ContractSumToBeAllocated": "",
                      "ApprovedVariationsBudget": "",
                      "UnapprovedVariationBudget": "",
                      "ValuationOfOriginalWork": "",
                      "ValuationofApprovedVariations": "",
                      "ValuationofUnapprovedVariations": "",
                      "ValuationOfRiseAndFall": "",
                      "MaterialsOnSiteValuation": "",
                      "ValuationPostingFlag": "N",
                      "ValuationPostingDate": "",
                      "RiseAndFallClaimed": "",
                      "RiseAndFallOnBalanceOfWork": "",
                      "PeriodForClaims": "",
                      "ProgressClaimDay": "",
                      "CurrentAuthorisedOriginalWork": "",
                      "CurrentApprovedVariations": "",
                      "CurrentUnapprovedVariations": "",
                      "CurrentMaterialsOnSite": "",
                      "CurrentRiseAndFall": "",
                      "CurrentRetention": "",
                      "LastClaimNumber": "0",
                      "PostedAuthorisedOriginalWorks": "",
                      "PostedUnapprovedVariations": "",
                      "PostedApprovedVariations": "",
                      "PostedMaterialsOnSite": "",
                      "PostedRiseAndFall": "",
                      "PostedRetention": "",
                      "InvoicedToDate": "",
                      "PaidToDate": "",
                      "LastRetentionReleaseNumber": "0",
                      "MaximumRetentionValue": "",
                      "CurrentRetentionPercentage": "5.00",
                      "MaximumRetentionPercentage": "10.00",
                      "RetentionReleaseNumber": "0",
                      "RetentionBasedOn": "",
                      "RetentionCashBank": "C",
                      "RetentionToBePaidFlag": "",
                      "AdvancePaymentPercentage": "",
                      "AdvancePayment": "",
                      "AdvancePaymentInvoice": "",
                      "AdvancePaymentDeducted": ""
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "Subcontract-12": {
        "allOf": [
          {
            "$ref": "#/components/schemas/Subcontract"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The SQL path on the Source System.",
                    "example": "select * from [VN_SUBCONTRACT_MC]"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "Company_Code": "12345",
                      "Vendor_Code": "12345",
                      "Subcontract_Number": "12345",
                      "Contract_Type": "",
                      "Job_Number": "12345",
                      "Comment_1": "",
                      "Comment_2": "",
                      "Original_Amount": ".00",
                      "Current_Bill_Amount": ".00",
                      "Current_Paid": ".00",
                      "Discount_Taken": ".00",
                      "Current_Balance": ".00",
                      "Retention_Billed": ".00",
                      "Retention_Paid": ".00",
                      "Retention_Discount": ".00",
                      "Retention_Balance": ".00",
                      "Total_Billed": ".00",
                      "Total_Paid": ".00",
                      "Total_Discount_Taken": ".00",
                      "Total_Balance": ".00",
                      "Retention_Percent": "10.00",
                      "Status_Code": "A",
                      "Date_Issued": "2022-01-01 00:00:00.000",
                      "Contact_Person": "",
                      "Default_Phase_Code": "",
                      "Default_Cost_Type": "",
                      "Insurance_Cert_Flag": "Y",
                      "Next_Payment_Number": "1.00",
                      "Unit_Price_Flag": "N",
                      "GL_Account": "12345",
                      "Trade_Service": "",
                      "Deselect_Flag": "",
                      "Routing_Code1": "",
                      "Routing_Code2": "",
                      "Routing_Limit": ".00",
                      "Sent_Date": "2022-01-01 00:00:00.000",
                      "Date_Issued_Year": "2022",
                      "Date_Issued_Period": "01",
                      "Pay_Override": "",
                      "Pay_Terms": "",
                      "Pay_Days": ".00",
                      "Disc_Override": "",
                      "Disc_Terms": "",
                      "Disc_Days": ".00",
                      "Disc_Perc": ".00",
                      "Currency_Code": "",
                      "Pay_When_Paid": "",
                      "id": "19",
                      "Cost_Center": ""
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "Subcontract-13": {
        "allOf": [
          {
            "$ref": "#/components/schemas/Subcontract"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The SQL path on the Source System.",
                    "example": "select [bSLHD].*, [bPMSS].[DateSent] from [bSLHD] left join [bPMSS] on [bPMSS].[SL] = [bSLHD].[SL] and [bPMSS].[SLCo] = [bSLHD].[SLCo] and [bPMSS].[Project] = [bSLHD].[Job] where [bSLHD].[SLCo] = 12345 and [bSLHD].[Job] =  12345\""
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "SLCo": "12345",
                      "SL": "Drywall Installation",
                      "JCCo": "12345",
                      "Job": "12345",
                      "Description": "Drywall installation on the first and second floor.",
                      "VendorGroup": "12345",
                      "Vendor": "12345",
                      "HoldCode": null,
                      "PayTerms": "12345",
                      "CompGroup": "PRIV",
                      "Status": "3",
                      "MthClosed": null,
                      "InUseMth": null,
                      "InUseBatchId": null,
                      "Purge": "N",
                      "Approved": "Y",
                      "ApprovedBy": "AnyUser",
                      "Notes": null,
                      "AddedMth": null,
                      "AddedBatchID": null,
                      "OrigDate": "2022-01-01 00:00:00",
                      "UniqueAttchID": null,
                      "KeyID": "12345",
                      "SLCloseBatchID": null,
                      "MaxRetgOpt": "P",
                      "MaxRetgPct": ".1000",
                      "MaxRetgAmt": ".00",
                      "InclACOinMaxYN": "Y",
                      "MaxRetgDistStyle": "C",
                      "ApprovalRequired": "N",
                      "DocType": "SUB",
                      "targetInUseMth": null,
                      "targetInUseBatchId": null,
                      "AUQualifiedForPBA": "N",
                      "AUPBAEligibleDate": null,
                      "DateSent": null
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "NewSubcontractLineItem": {
        "type": "object",
        "required": [
          "description",
          "quantity",
          "unit_cost"
        ],
        "properties": {
          "cost_code_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Cost Code](#tag--cost-codes) for the Line Item."
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          },
          "cost_type_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Cost Type](#tag--cost-types) for the Line Item."
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          },
          "description": {
            "type": "string",
            "description": "A description of the Line Item.",
            "example": "Two tons of cement."
          },
          "quantity": {
            "type": "string",
            "description": "The quantity of the unit in the Line Item.",
            "example": "2.0"
          },
          "sub_job_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Sub Job](#tag--sub-jobs) associated with the Line Item.\n\n**Note for Foundation**: this field is required if Sub Jobs are enabled for a customer's Foundation instance.\n"
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          },
          "unit_cost": {
            "type": "string",
            "description": "The cost of each unit associated with the Line Item.",
            "example": "50"
          },
          "unit_of_measure": {
            "type": "string",
            "description": "The unit used for measuring the quantity of the Subcontract Line Item.\n\n**Note for Foundation**: a list of possible values for this field can be found with the \"description\" column in the `units` table, which requires a passthrough request. To learn more about passthrough requests, see [link](/agave-api/passthrough-requests#foundation-viewpoint-spectrum-and-viewpoint-vista).\n",
            "example": "Hours"
          }
        }
      },
      "NewSubcontract": {
        "type": "object",
        "required": [
          "execution_date",
          "name",
          "number",
          "type",
          "vendor_id"
        ],
        "properties": {
          "execution_date": {
            "allOf": [
              {
                "description": "The date the Subcontract contract was issued."
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ]
          },
          "line_items": {
            "description": "The line items for the Subcontract. To learn more about creating and updating Line Items, see [link](/agave-api/line-items).",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/NewSubcontractLineItem"
            }
          },
          "name": {
            "type": "string",
            "description": "The name of the Subcontract.",
            "example": "Initial Cement Order"
          },
          "number": {
            "type": "string",
            "description": "The number of the Subcontract.",
            "example": "PO-123"
          },
          "retention_percent": {
            "type": "string",
            "description": "This is the percent of an amount withheld from Subcontractor until a later date.",
            "example": "5.0"
          },
          "status": {
            "type": "string",
            "description": "The status of the Subcontract",
            "example": "Staged",
            "enum": [
              "Cancelled",
              "Closed",
              "Open",
              "Pending",
              "Staged"
            ]
          },
          "terms": {
            "type": "string",
            "description": "The payment terms for the Subcontract.\n\n**Note for Foundation**: a list of possible values for this field can be found with the \"description\" column in the `terms` table, which requires a passthrough request. To learn more about passthrough requests, see [link](/agave-api/passthrough-requests#foundation-viewpoint-spectrum-and-viewpoint-vista).\n",
            "example": "Net 30"
          },
          "type": {
            "type": "string",
            "description": "The type of Subcontract.",
            "example": "Detail",
            "enum": [
              "Basic",
              "Detail"
            ]
          },
          "vendor_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Vendor](#tag--vendors)."
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          }
        }
      },
      "NewSubcontractLineItem-2": {
        "type": "object",
        "required": [
          "cost_code_id",
          "cost_type_id",
          "description",
          "original_amount"
        ],
        "properties": {
          "cost_code_id": {
            "allOf": [
              {
                "description": "The Agave UUID of the [Cost Code](#tag--cost-codes) associated with the Subcontract Line Item."
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          },
          "cost_type_id": {
            "allOf": [
              {
                "description": "The Agave UUID of the [Cost Type](#tag--cost-types) associated with the Subcontract Line Item."
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          },
          "description": {
            "type": "string",
            "description": "The description of the Subcontract Line Item.",
            "example": "Cleanup for January"
          },
          "original_amount": {
            "type": "string",
            "description": "The amount of the Subcontract Line Item.",
            "example": "50.0"
          },
          "sub_job_id": {
            "allOf": [
              {
                "description": "The Agave UUID of the [Sub Job](#tag--sub-jobs) associated with the Subcontract Line Item."
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          }
        }
      },
      "NewSubcontract-2": {
        "required": [
          "execution_date",
          "line_items",
          "name",
          "number",
          "vendor_id"
        ],
        "type": "object",
        "properties": {
          "actual_completion_date": {
            "allOf": [
              {
                "description": "The date the services governed by the Subcontract were completed."
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ]
          },
          "description": {
            "type": "string",
            "description": "A description of the Subcontract.",
            "example": "Drywall installation on the first and second floor."
          },
          "estimated_completion_date": {
            "allOf": [
              {
                "description": "The estimated completion date of the services governed by the Subcontract."
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ]
          },
          "execution_date": {
            "allOf": [
              {
                "description": "The date the Subcontract was fully-signed."
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ]
          },
          "line_items": {
            "description": "The line items for the Subcontract. To learn more about creating and updating Line Items, see [link](/agave-api/line-items).",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/NewSubcontractLineItem-2"
            }
          },
          "name": {
            "type": "string",
            "description": "The name of the Subcontract.",
            "example": "Drywall Installation"
          },
          "number": {
            "type": "string",
            "description": "The number of the Subcontract.",
            "example": "A123"
          },
          "retention_percent": {
            "type": "string",
            "description": "This is the percent of an amount withheld from Subcontractor until a later date.",
            "example": "5.0"
          },
          "start_date": {
            "allOf": [
              {
                "description": "The start date of the Contract"
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ]
          },
          "status": {
            "type": "string",
            "description": "The status of the Subcontract. \n",
            "example": "Current",
            "enum": [
              "Bid",
              "Closed",
              "Complete",
              "Contract",
              "Current",
              "Refused"
            ]
          },
          "type": {
            "type": "string",
            "description": "The type of the Subcontract. \n\n**Note for Sage 100:** a list of possible values for this field can be found with the \"dscrpt\" column in the `sbctyp` table, which requires a passthrough request. To learn more about passthrough requests, see [link](/agave-api/passthrough-requests#foundation-viewpoint-spectrum-and-viewpoint-vista).\n",
            "example": "Masonry"
          },
          "vendor_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the Subcontractor ([Vendor](#tag--vendors))."
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          }
        }
      },
      "NewSubcontractLineItem-3": {
        "required": [
          "cost_code_id",
          "cost_type_id"
        ],
        "type": "object",
        "properties": {
          "amount": {
            "type": "string",
            "description": "The amount of the Subcontract Line Item.",
            "example": "50.0"
          },
          "cost_code_id": {
            "allOf": [
              {
                "description": "The Agave UUID of the [Cost Code](#tag--cost-codes) associated with the Subcontract Line Item."
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          },
          "cost_type_id": {
            "allOf": [
              {
                "description": "The Agave UUID of the [Cost Type](#tag--cost-types) associated with the Subcontract Line Item."
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          },
          "description": {
            "type": "string",
            "description": "The description of the Subcontract Line Item.",
            "example": "Cleanup for January"
          },
          "quantity": {
            "type": "string",
            "description": "The estimated quantity of the unit in the Subcontract Line Item.",
            "example": "5.0"
          },
          "sub_job_id": {
            "allOf": [
              {
                "description": "The Agave UUID of the [Sub Job](#tag--sub-jobs) associated with the Subcontract Line Item."
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          },
          "tax_code_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Sales Tax Code](#tag--tax-codes) for the Line Item."
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          },
          "unit_cost": {
            "type": "string",
            "description": "The cost of each unit associated with the Subcontract Line Item.",
            "example": "10"
          },
          "unit_of_measure": {
            "type": "string",
            "description": "The unit used for measuring the estimated quantity of the Subcontract Line Item.",
            "example": "Hours"
          }
        }
      },
      "NewSubcontract-3": {
        "required": [
          "number",
          "vendor_id"
        ],
        "type": "object",
        "properties": {
          "actual_completion_date": {
            "allOf": [
              {
                "description": "The date the services governed by the Subcontract were completed."
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ]
          },
          "description": {
            "type": "string",
            "description": "A description of the Subcontract.",
            "example": "Drywall installation on the first and second floor."
          },
          "estimated_completion_date": {
            "allOf": [
              {
                "description": "The estimated completion date of the services governed by the Subcontract."
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ]
          },
          "execution_date": {
            "allOf": [
              {
                "description": "The date the Subcontract was fully-signed."
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ]
          },
          "line_items": {
            "description": "The line items for the Subcontract. To learn more about creating and updating Line Items, see [link](/agave-api/line-items).\n\n**Note for Sage 300 CRE**: Line Items can only be added using the POST [Subcontract Line Items endpoint](#tag/subcontracts/operation/newSubcontractLineItem) or PATCH [Subcontracts endpoint](#tag/subcontracts/operation/newBulkSubcontracts).\n",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/NewSubcontractLineItem-3"
            }
          },
          "name": {
            "type": "string",
            "description": "The name of the Subcontract.",
            "example": "Drywall Installation"
          },
          "number": {
            "type": "string",
            "description": "The number of the Subcontract.",
            "example": "A123"
          },
          "retention_percent": {
            "type": "string",
            "description": "This is the percent of an amount withheld from Subcontractor until a later date.",
            "example": "5.0"
          },
          "sent_date": {
            "allOf": [
              {
                "description": "The date the Subcontract was sent to the Vendor"
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ]
          },
          "start_date": {
            "allOf": [
              {
                "description": "The start date of the Contract"
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ]
          },
          "status": {
            "type": "string",
            "description": "The status of the Subcontract. \n",
            "example": "Draft",
            "enum": [
              "Closed",
              "Committed to Job Cost",
              "Draft",
              "Printed"
            ]
          },
          "vendor_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the Subcontractor ([Vendor](#tag--vendors))."
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          }
        }
      },
      "NewSubcontractLineItem-4": {
        "type": "object",
        "required": [
          "cost_code_id",
          "cost_type_id",
          "description"
        ],
        "properties": {
          "amount": {
            "type": "string",
            "description": "The amount of the Subcontract Line Item.",
            "example": "50.0"
          },
          "cost_code_id": {
            "allOf": [
              {
                "description": "The Agave UUID of the [Cost Code](#tag--cost-codes) associated with the Subcontract Line Item."
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          },
          "cost_type_id": {
            "allOf": [
              {
                "description": "The Agave UUID of the [Cost Type](#tag--cost-types) associated with the Subcontract Line Item."
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          },
          "description": {
            "type": "string",
            "description": "The description of the Subcontract Line Item.",
            "example": "Cleanup for the first week of October"
          },
          "name": {
            "type": "string",
            "description": "The name of the Subcontract Line Item.",
            "example": "Cleanup"
          },
          "quantity": {
            "type": "string",
            "description": "The estimated quantity of the unit in the Subcontract Line Item.",
            "example": "5.0"
          },
          "unit_cost": {
            "type": "string",
            "description": "The cost of each unit associated with the Subcontract Line Item.",
            "example": "10"
          },
          "unit_of_measure": {
            "type": "string",
            "description": "The unit used for measuring the estimated quantity of the Subcontract Line Item.",
            "example": "Hours"
          }
        }
      },
      "NewSubcontract-4": {
        "type": "object",
        "required": [
          "number",
          "type"
        ],
        "properties": {
          "actual_completion_date": {
            "allOf": [
              {
                "description": "The date the services governed by the Subcontract were completed."
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ]
          },
          "amount": {
            "type": "string",
            "description": "The monetary amount of the Subcontract.",
            "example": "15000.00"
          },
          "defects_expiry_date": {
            "allOf": [
              {
                "description": "The date the defects period expires."
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ]
          },
          "defects_period": {
            "type": "string",
            "description": "This is a defined period in which Subcontractors are required to remedy defects in the works that have been carried out under their Subcontract at their own cost.",
            "example": "12 MONTHS"
          },
          "full_release_date": {
            "allOf": [
              {
                "description": "This is the date the full retention is released, usually upon full completion of the Subcontract."
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ]
          },
          "half_release_date": {
            "allOf": [
              {
                "description": "This is the date half of the retention is released, usually upon partial completion of the Subcontract."
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ]
          },
          "line_items": {
            "description": "The line items for the Subcontract. To learn more about creating and updating Line Items, see [link](/agave-api/line-items).",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/NewSubcontractLineItem-4"
            }
          },
          "maximum_retention_percent": {
            "type": "string",
            "description": "The maximum percent in retention that can be withheld from the Subcontractor. This value typically decreases over the course of the project (e.g. once a substantial portion of the project has been completed).",
            "example": "10.0"
          },
          "name": {
            "type": "string",
            "description": "The name of the Subcontract.",
            "example": "Drywall Installation"
          },
          "number": {
            "type": "string",
            "description": "The number of the Subcontract.",
            "example": "A123"
          },
          "retention_percent": {
            "type": "string",
            "description": "This is the percent of an amount withheld from Subcontractor until a later date.",
            "example": "5.0"
          },
          "retention_type": {
            "type": "string",
            "description": "This is the type of retention for a Subcontract. \n",
            "example": "Cash Retention",
            "enum": [
              "Bank Guarantee/Insurance Bond",
              "Both Cash Retention and Bank Guarantee/Insurance Bond",
              "Cash Retention",
              "Unknown"
            ]
          },
          "sent_date": {
            "allOf": [
              {
                "description": "The date the Subcontract was sent to the Vendor"
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ]
          },
          "start_date": {
            "allOf": [
              {
                "description": "The start date of the Contract"
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ]
          },
          "status": {
            "type": "string",
            "description": "The status of the Subcontract. \n\n**Note for Viewpoint Jobpac**: this value can be `Active`, `Complete`, or `Financially Complete`. Only \"Active\" can be used for new Subcontracts.\n",
            "example": "Active",
            "enum": [
              "Active",
              "Complete",
              "Financially Complete"
            ]
          },
          "type": {
            "type": "string",
            "description": "The type of the Subcontract. \n\nNote, for Jobpac, this value can be either \"Lump Sum\" or \"Schedule of Rates\".\n",
            "example": "Lump Sum",
            "enum": [
              "Lump Sum",
              "Schedule of Rates"
            ]
          },
          "vendor_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the Subcontractor ([Vendor](#tag--vendors))."
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          }
        }
      },
      "NewSubcontractLineItem-5": {
        "type": "object",
        "required": [
          "cost_code_id",
          "cost_type_id"
        ],
        "properties": {
          "cost_code_id": {
            "allOf": [
              {
                "description": "The Agave UUID of the [Cost Code](#tag--cost-codes) associated with the Subcontract Line Item."
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          },
          "cost_type_id": {
            "allOf": [
              {
                "description": "The Agave UUID of the [Cost Type](#tag--cost-types) associated with the Subcontract Line Item."
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          },
          "description": {
            "type": "string",
            "description": "The description of the Subcontract Line Item.",
            "example": "Cleanup for January"
          },
          "original_amount": {
            "type": "string",
            "description": "The original amount of the Subcontract Line Item (i.e. before Change Orders are applied).",
            "example": "50.0"
          },
          "quantity": {
            "type": "string",
            "description": "The estimated quantity of the unit in the Subcontract Line Item.",
            "example": "5.0"
          },
          "unit_cost": {
            "type": "string",
            "description": "The cost of each unit associated with the Subcontract Line Item.",
            "example": "10"
          },
          "unit_of_measure": {
            "type": "string",
            "description": "The unit used for measuring the estimated quantity of the Subcontract Line Item.",
            "example": "LS"
          }
        }
      },
      "NewSubcontract-5": {
        "type": "object",
        "required": [
          "name",
          "number"
        ],
        "properties": {
          "line_items": {
            "description": "The line items for the Subcontract. To learn more about creating and updating Line Items, see [link](/agave-api/line-items).",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/NewSubcontractLineItem-5"
            }
          },
          "name": {
            "type": "string",
            "description": "The name of the Subcontract.",
            "example": "Drywall Installation"
          },
          "number": {
            "type": "string",
            "description": "The number of the Subcontract.",
            "example": "A123"
          },
          "retention_percent": {
            "type": "string",
            "description": "This is the percent of an amount withheld from Subcontractor until a later date.",
            "example": "5.0"
          },
          "sent_date": {
            "allOf": [
              {
                "description": "The date the Subcontract was sent to the Vendor"
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ]
          },
          "start_date": {
            "allOf": [
              {
                "description": "The start date of the Contract"
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ]
          },
          "status": {
            "type": "string",
            "description": "The status of the Subcontract. \n\n**Note for Viewpoint Spectrum**: the default value is \"Active\".\n",
            "example": "Active",
            "enum": [
              "Active",
              "Complete",
              "Inactive"
            ]
          },
          "type": {
            "type": "string",
            "description": "The type of the Subcontract. \n",
            "example": "Lump Sum",
            "enum": [
              "Lump Sum",
              "Unit Price"
            ]
          },
          "vendor_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the Subcontractor ([Vendor](#tag--vendors))."
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          }
        }
      },
      "NewSubcontractLineItem-6": {
        "required": [
          "amount",
          "quantity",
          "unit_cost",
          "unit_of_measure"
        ],
        "type": "object",
        "properties": {
          "amount": {
            "type": "string",
            "description": "The amount of the Subcontract Line Item.",
            "example": "50.0"
          },
          "cost_code_id": {
            "allOf": [
              {
                "description": "The Agave UUID of the [Cost Code](#tag--cost-codes) associated with the Subcontract Line Item."
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          },
          "cost_type_id": {
            "allOf": [
              {
                "description": "The Agave UUID of the [Cost Type](#tag--cost-types) associated with the Subcontract Line Item."
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          },
          "description": {
            "type": "string",
            "description": "The description of the Subcontract Line Item.",
            "example": "Cleanup for January"
          },
          "quantity": {
            "type": "string",
            "description": "The estimated quantity of the unit in the Subcontract Line Item.",
            "example": "5.0"
          },
          "tax_code_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Sales Tax Code](#tag--tax-codes) for the Line Item."
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          },
          "type": {
            "type": "string",
            "description": "The type of the Subcontract Line Item.\n\n**Note for Viewpoint Vista**: this value will default to \"Regular\" if not provided.\n",
            "example": "Regular",
            "enum": [
              "Add-on",
              "Backcharge",
              "Change Order",
              "Regular"
            ]
          },
          "unit_cost": {
            "type": "string",
            "description": "The cost of each unit associated with the Subcontract Line Item.",
            "example": "10"
          },
          "unit_of_measure": {
            "type": "string",
            "description": "The unit used for measuring the estimated quantity of the Subcontract Line Item.",
            "example": "Hours"
          }
        }
      },
      "NewSubcontract-6": {
        "required": [
          "line_items",
          "number"
        ],
        "type": "object",
        "properties": {
          "description": {
            "type": "string",
            "description": "A description of the Subcontract.",
            "example": "Drywall installation on the first and second floor."
          },
          "line_items": {
            "description": "The line items for the Subcontract. To learn more about creating and updating Line Items, see [link](/agave-api/line-items).",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/NewSubcontractLineItem-6"
            }
          },
          "maximum_retention_percent": {
            "type": "string",
            "description": "The maximum percent in retention that can be withheld from the Subcontractor. This value typically decreases over the course of the project (e.g. once a substantial portion of the project has been completed).",
            "example": "10.0"
          },
          "name": {
            "type": "string",
            "description": "The name of the Subcontract.",
            "example": "Drywall Installation"
          },
          "number": {
            "type": "string",
            "description": "The number of the Subcontract.",
            "example": "A123"
          },
          "retention_percent": {
            "type": "string",
            "description": "This is the percent of an amount withheld from Subcontractor until a later date.",
            "example": "5.0"
          },
          "retention_type": {
            "type": "string",
            "description": "This is the type of retention for a Subcontract.\n\n**Note for Viewpoint Vista**: this field will default to \"None\" if a value is not provided.\n",
            "example": "Maximum Amount",
            "enum": [
              "Maximum Amount",
              "None",
              "Percent of Subcontract"
            ]
          },
          "start_date": {
            "allOf": [
              {
                "description": "The start date of the Contract"
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ]
          },
          "terms": {
            "type": "string",
            "description": "The payment terms for the Subcontract.",
            "example": "Net 30 Days"
          },
          "vendor_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the Subcontractor ([Vendor](#tag--vendors))."
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          }
        }
      },
      "BulkNewSubcontract": {
        "required": [
          "creates"
        ],
        "type": "object",
        "properties": {
          "creates": {
            "type": "array",
            "description": "An array of objects including new Purchase Orders and Line Items.",
            "items": {
              "$ref": "#/components/schemas/NewSubcontract-3"
            }
          }
        }
      },
      "SubcontractLineItem-2": {
        "allOf": [
          {
            "$ref": "#/components/schemas/SubcontractLineItem"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": {
                      "Endpoint": null
                    }
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {}
                  }
                }
              }
            }
          }
        ]
      },
      "SubcontractLineItem-3": {
        "allOf": [
          {
            "$ref": "#/components/schemas/SubcontractLineItem"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "{{server}}/{{environment}}/pm-rest-api/rest/1/scsched"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "ScschAmt": 2500,
                      "ScschApexpCode": null,
                      "ScschBillCode": null,
                      "ScschCatCode": "S",
                      "ScschChgCode": "000",
                      "ScschCompCode": "001",
                      "ScschComplAmt": 2500,
                      "ScschComplPct": 100,
                      "ScschComplQty": 0.1,
                      "ScschContCode": "14001.002",
                      "ScschCurrHldbkAmt": 0,
                      "ScschCurrHldbkRlsAmt": 0,
                      "ScschFullyPurchasedFlag": "N",
                      "ScschHldbkPct": 1,
                      "ScschIuCreateDate": "2015-05-21T21:38:18-04:00",
                      "ScschIuUpdateDate": "2022-08-29T18:28:54-04:00",
                      "ScschJbBillCode": null,
                      "ScschJbContCode": null,
                      "ScschJobCode": "14001",
                      "ScschLineChangedFlag": null,
                      "ScschLineNum": null,
                      "ScschLongDesc": null,
                      "ScschLstAmt": 0,
                      "ScschOraseq": 50510,
                      "ScschOrderNum": null,
                      "ScschPhsCode": "02220",
                      "ScschPrevCertAmt": 2500,
                      "ScschPrevCertQty": 0.1,
                      "ScschPrevHldbkAmt": 25,
                      "ScschPrevHldbkRlsAmt": 0,
                      "ScschSiLineNum": null,
                      "ScschSiMastJobCode": null,
                      "ScschSiNum": null,
                      "ScschSiRevisNum": null,
                      "ScschSubcontrCode": "NONE",
                      "ScschTaskCode": "02.0001",
                      "ScschTaskName": "Site Demolition",
                      "ScschTax1Code": null,
                      "ScschTax1TaxableFlag": "Y",
                      "ScschTax2Code": null,
                      "ScschTax2TaxableFlag": "Y",
                      "ScschTax3Code": null,
                      "ScschTax3TaxableFlag": "Y",
                      "ScschTax4Code": null,
                      "ScschTax4TaxableFlag": "Y",
                      "ScschTax5Code": null,
                      "ScschTax5TaxableFlag": "Y",
                      "ScschTendpackLineNum": null,
                      "ScschUnit": 1,
                      "ScschUnitRate": 2500,
                      "ScschVenCode": "HOLMES",
                      "ScschWbsvCode1": null,
                      "ScschWbsvCode2": null,
                      "ScschWbsvCode3": null,
                      "ScschWbsvCode4": null,
                      "ScschWmCode": "LS",
                      "ScschVUuid": "BD8E170D3DCA2691E05316821FAC4947",
                      "ScschSeqNumUniqueBySc": 1
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "SubcontractLineItem-4": {
        "allOf": [
          {
            "$ref": "#/components/schemas/SubcontractLineItem"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "https://{{instance_name}}.coinscloud.com/env/{{environment}}/rest/pages/company/1/tip_type/:tip_type/poh_ordno/:poh_ordno/poh_chgno/:poh_chgno/po_line?filterMA-job_num=M25EXP003&tip_type=TRADE&poh_ordno=S-M25EXP003%2F00003&poh_chgno=&limit=100&start=1"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "kco": 1,
                      "tip_type": "TRADE",
                      "poh_ordno": "12345",
                      "poh_chgno": "",
                      "pol_seq": 2,
                      "bqr_resource": "",
                      "cur_code": "GBP",
                      "gla_acct": "00.1211",
                      "jcc_cc": "S765",
                      "job_jobph": "M25EXP003",
                      "job_num": "M25EXP003",
                      "jph_phase": "",
                      "jwb_code": "",
                      "poi_item": "   2",
                      "pol_allowchg": true,
                      "pol_amount": 15000,
                      "pol_analysis": "M25EXP003.S765.S",
                      "pol_cat": "S",
                      "pol_code": "S765",
                      "pol_CostHead": "S765",
                      "pol_ddate": null,
                      "pol_desc__1": "Cleanup for the first week of October",
                      "pol_disc": 0.5,
                      "pol_disc2": 0,
                      "pol_disc3": 0,
                      "pol_disc4": 0,
                      "pol_disc5": 0,
                      "pol_ean": "",
                      "pol_effdate": null,
                      "pol_entry": 1,
                      "pol_grns": false,
                      "pol_mpo": "S",
                      "pol_orderrate": 21.89,
                      "pol_per": "HR",
                      "pol_price": 10,
                      "pol_priceqty": 5,
                      "pol_qty": 5,
                      "pol_RO_tottax": 0,
                      "pol_tax": 0,
                      "pol_type": "C",
                      "pol_uoq": "EA",
                      "pol_usetax": null,
                      "pov_code": "",
                      "vat_code": null,
                      "RO_pol_totdisc": 0.11,
                      "RO_jtcreated": "2022-01-01T00:00:00.000",
                      "RO_jtchanged": "2022-01-01T00:00:00.000"
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "SubcontractLineItem-5": {
        "allOf": [
          {
            "$ref": "#/components/schemas/SubcontractLineItem"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The database query for the Source System.",
                    "example": "select * from [PO_SUB_D]"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "company_no": "12345",
                      "po_sub_no": "A123",
                      "po_sub_item_line": "1",
                      "item_no": "A123",
                      "description": "Concrete",
                      "quantity": "2.0000000",
                      "purchasing_unit_no": "Tons",
                      "unit_cost": "45.000000",
                      "extended_cost": "90.00",
                      "record_status": "A",
                      "row_modified_by": "DBA",
                      "row_modified_on": "2022-01-01 00:00:00.000",
                      "row_unique_id": "12345",
                      "company_id": "12345",
                      "po_sub_id": "A123",
                      "item_id": "A123",
                      "purchasing_unit_id": "EA",
                      "detail_description": "Cleanup for the first week of October",
                      "stocking_unit_no": "EA",
                      "stocking_quantity": "2.0000000",
                      "stocking_unit_cost": "45.000000",
                      "distribute_to": "J",
                      "job_no": "     96020",
                      "warehouse_no": null,
                      "tax_flag": "N",
                      "tax_base": ".00",
                      "tax_amount": ".00",
                      "amount": "90.00",
                      "gl_expense": "1000",
                      "phase_no": "1000",
                      "cost_code_no": "03.00.79",
                      "cost_class_no": "L",
                      "inventory_receipt_flag": "Y",
                      "clear_flag": "N",
                      "clear_date": null,
                      "closed_date": null,
                      "order_completion_date": null,
                      "backorder_qty": ".0000000",
                      "backorder_date": null,
                      "cost_class_id": "2",
                      "cost_code_id": "03.00.79",
                      "job_id": "A123",
                      "phase_id": "2000",
                      "stocking_unit_id": "EA",
                      "warehouse_id": null,
                      "equipment_no": null,
                      "eq_wo_no": null,
                      "service_code_no": null,
                      "eq_wo_id": null,
                      "equipment_id": null,
                      "service_code_id": null,
                      "printable_flag": "Y",
                      "dispatch_no": null,
                      "dispatch_billing": "N",
                      "delivery_unit_no": null,
                      "delivery_quantity": ".0000000",
                      "delivery_unit_cost": ".000000",
                      "delivery_unit_id": null,
                      "dispatch_id": null,
                      "tax_by_effdate_flag": "N",
                      "state_tax_percent": null,
                      "state_taxable_limit": null,
                      "state_tax_amount": null,
                      "local_tax_percent": null,
                      "local_taxable_limit": null,
                      "local_tax_amount": null,
                      "other_tax_percent": null,
                      "other_taxable_limit": null,
                      "other_tax_amount": null,
                      "state_limit_applied": null,
                      "local_limit_applied": null,
                      "other_limit_applied": null,
                      "item_div_level_1": null,
                      "item_div_level_2": null,
                      "item_div_level_3": null,
                      "item_div_level_4": null,
                      "full_gl_expense": "1000",
                      "record_guid": "12345678-167E-EC11-A45D-E454E88F8BE7",
                      "non_inventory_item": "N"
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "SubcontractLineItem-6": {
        "allOf": [
          {
            "$ref": "#/components/schemas/SubcontractLineItem"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "https://api.procore.com/rest/v1.0/work_order_contracts/{{subcontract_id}}/line-items"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "id": 12345,
                      "created_at": "2022-01-01T00:00:00Z",
                      "updated_at": "2022-01-01T00:00:00Z",
                      "amount": "50.0",
                      "company": {
                        "id": 12345,
                        "name": "AnyCompany Inc."
                      },
                      "wbs_code": {
                        "description": "",
                        "flat_code": "",
                        "id": 12345
                      },
                      "description": "Cleanup",
                      "extended_type": "manual",
                      "holder": {
                        "id": 12345,
                        "holder_type": "WorkOrderContract"
                      },
                      "origin_id": null,
                      "position": 1,
                      "project": {
                        "id": 12345,
                        "name": "Test Project-1"
                      },
                      "quantity": "10.0",
                      "total_amount": "50.0",
                      "extended_amount": "50.0",
                      "unit_cost": "5.0"
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "SubcontractLineItem-7": {
        "allOf": [
          {
            "$ref": "#/components/schemas/SubcontractLineItem"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The SQL path on the Source System.",
                    "example": "select * from [sbcnln]"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "_idnum": "12345141-899F-E511-B83D-005056C00008",
                      "_idref": "312345141-899F-E511-B83D-005056C00008",
                      "recnum": "1",
                      "linnum": 3,
                      "dscrpt": "Drywall Installation",
                      "cstcde": "15700.000",
                      "csttyp": 4,
                      "amount": "7842.00",
                      "change": ".00",
                      "cntrct": "7842.00",
                      "gstsbj": "",
                      "pstsbj": "",
                      "hstsbj": "",
                      "billed": ".00",
                      "remain": "7842.00",
                      "usrdf1": "",
                      "ntetxt": "",
                      "linref": "",
                      "insdte": "2022-01-01T00:00:00.000Z",
                      "insusr": "John Doe",
                      "upddte": null,
                      "updusr": null
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "SubcontractLineItem-8": {
        "allOf": [
          {
            "$ref": "#/components/schemas/SubcontractLineItem"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The SQL path on the Source System.",
                    "example": "select * from [MASTER_JCM_RECORD_13] where [MASTER_JCM_RECORD_13.STYPE] = \"Subcontract\""
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "ISUB": "12345",
                      "ITEM": 3,
                      "IDESC": "Drywall supplies",
                      "IRETPCT": 0,
                      "IDELDAT": null,
                      "ISCOPE": "",
                      "IJOB": "03-001",
                      "IEXTRA": "",
                      "IPHASE": "2-140",
                      "ICAT": "L",
                      "ITXGRP": "",
                      "ITXAMT": 0,
                      "IUNITS": 33,
                      "IUNTCST": 21,
                      "IUDESC": "",
                      "IAMT": 693,
                      "ICO": "",
                      "IAPPCOA": 0,
                      "IAPTCOA": 0,
                      "IAPPCOU": 0,
                      "IPENCOA": 0,
                      "IPNTCOA": 0,
                      "IPENCOU": 0,
                      "IAMTINV": 0,
                      "IUNTINV": 0,
                      "IAMTRET": 0,
                      "IAMTPD": 0,
                      "IACOCA": 0,
                      "IACOCU": 0,
                      "IPCOCA": 0,
                      "IPCOCU": 0,
                      "ICNTCA": 0,
                      "ICNTCU": 0,
                      "ISNDBL": "0",
                      "IDOCID": 307,
                      "ICCOID": 0,
                      "ICCODID": 0,
                      "IOSTAMP": "AnyUser",
                      "IDSTAMP": "2022-01-01",
                      "ITSTAMP": "20:55:52",
                      "IRWID": "a2b834a3-1728-ed11-8382-122f56880ad7",
                      "IRWVR": "1661831752",
                      "R13NTS": null,
                      "R13FLS": null
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "SubcontractLineItem-9": {
        "allOf": [
          {
            "$ref": "#/components/schemas/SubcontractLineItem"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "https://api.intacct.com/ia/xml/xmlgw.phtml"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "RECORDNO": "1349",
                      "TOTAL": "100",
                      "TASKID": "G02-050",
                      "COSTTYPEID": "SUB",
                      "MEMO": null,
                      "QUANTITY": "2",
                      "WHENCREATED": "03/06/2025",
                      "WHENMODIFIED": "03/07/2025 03:39:26",
                      "CONVERSIONTYPE": "Quantity",
                      "PRICE": "50",
                      "UNIT": "Each",
                      "DOCHDRNO": "1059",
                      "DOCHDRID": "Subcontracts-SUB-00270",
                      "DOCPARID": "Subcontracts",
                      "SALE_PUR_TRANS": "P",
                      "BUNDLENUMBER": null,
                      "LINE_NO": "0",
                      "ITEMDIMKEY": "4",
                      "ITEMID": "Subcontract",
                      "ITEMNAME": "Subcontract",
                      "ITEMDESC": "Subcontract",
                      "WAREHOUSE": {
                        "LOCATION_NO": null,
                        "NAME": null
                      },
                      "WAREHOUSEDIMKEY": null,
                      "PRICECALCMEMO": null,
                      "QTY_CONVERTED": "0",
                      "RETAILPRICE": "0",
                      "AUWHENCREATED": "03/07/2025 03:39:26",
                      "CREATEDBY": "7",
                      "MODIFIEDBY": "7",
                      "ITEM": {
                        "TAXABLE": "false",
                        "TAXGROUP": {
                          "RECORDNO": null
                        },
                        "RENEWALMACRO": {
                          "MACROID": null
                        },
                        "ITEMTYPE": "Non-Inventory",
                        "NUMDEC_SALE": null,
                        "NUMDEC_STD": null,
                        "NUMDEC_PUR": null,
                        "REVPOSTING": "Kit Level",
                        "COMPUTEFORSHORTTERM": "false",
                        "RENEWALMACROKEY": null,
                        "UOMGRPKEY": "2",
                        "DROPSHIP": "false",
                        "BUYTOORDER": "false",
                        "REVPRINTING": "Kit"
                      },
                      "EXTENDED_DESCRIPTION": null,
                      "ITEMGLGROUP": "6",
                      "ITEMGLGROUPKEY": "6",
                      "ITEMGLGROUPNAME": "Subcontract",
                      "STATE": "true",
                      "STATUS": "active",
                      "COST": null,
                      "COST_METHOD": "S",
                      "UIQTY": "2",
                      "DISCOUNTPERCENT": null,
                      "MULTIPLIER": "1",
                      "UIPRICE": "50",
                      "UIVALUE": "100",
                      "LOCATIONID": "A123",
                      "LOCATIONNAME": "AnyCompany Contractors",
                      "DEPARTMENTID": null,
                      "DEPARTMENTNAME": null,
                      "DEPTKEY": null,
                      "LOCATIONKEY": "16",
                      "TIMETYPEKEY": null,
                      "TIMETYPENAME": null,
                      "TIMENOTES": null,
                      "EEACCOUNTLABELKEY": null,
                      "EEACCOUNTLABEL": null,
                      "SOURCE_DOCKEY": null,
                      "SOURCE_DOCLINEKEY": null,
                      "ADJDOCHDRKEY": null,
                      "ADJDOCENTRYKEY": null,
                      "REVRECTEMPLATE": null,
                      "REVRECTEMPLATEKEY": null,
                      "REVRECSTARTDATE": null,
                      "ITEMTERM": null,
                      "TERMPERIOD": null,
                      "REVRECENDDATE": null,
                      "PRORATEPRICE": null,
                      "DEFERREVENUE": null,
                      "SC_REVRECTEMPLATE": null,
                      "SC_REVRECTEMPLATEKEY": null,
                      "SC_REVRECSTARTDATE": null,
                      "SC_REVRECENDDATE": null,
                      "SC_STARTDATE": null,
                      "DISCOUNT_MEMO": null,
                      "CURRENCY": "USD",
                      "BASECURR": "USD",
                      "EXCHRATEDATE": "03/06/2025",
                      "EXCHRATETYPE": null,
                      "EXCHRATE": "1",
                      "TRX_PRICE": "50",
                      "TRX_VALUE": "100",
                      "SCHEDULENAME": null,
                      "SCHEDULEID": null,
                      "RECURDOCNAME": null,
                      "RECURDOCID": null,
                      "RECURDOCENTRYKEY": null,
                      "RENEWALMACRO": null,
                      "RENEWALMACROKEY": null,
                      "OVERRIDETAX": "false",
                      "SC_CREATERECURSCHED": null,
                      "SC_EXISTINGSCHED": null,
                      "SC_EXTENDLINEPERIOD": null,
                      "SC_INSTALLPRICING": null,
                      "RECURCONTRACTID": null,
                      "SOURCE_DOCID": null,
                      "SOURCEDOCPARID": null,
                      "BILLABLE": null,
                      "BILLED": null,
                      "BILLABLETIMEENTRYKEY": null,
                      "BILLABLEGLENTRYKEY": null,
                      "BILLABLEPRENTRYKEY": null,
                      "BILLABLEDOCENTRYKEY": null,
                      "BILLABLECONTRACTSCHENTRYKEY": null,
                      "BILLABLECONTRACTUSAGEBILLINGID": null,
                      "FORM1099": "false",
                      "PERCENTVAL": null,
                      "TAXABSVAL": null,
                      "TAXABLEAMOUNT": null,
                      "LINETOTAL": null,
                      "DISCOUNT": null,
                      "TRX_TAXABSVAL": null,
                      "TRX_LINETOTAL": null,
                      "TAXVALOVERRIDE": "false",
                      "FORM1099TYPE": null,
                      "FORM1099BOX": null,
                      "PRICE_CONVERTED": "0",
                      "QTYTOLERANCEVARIANCE": null,
                      "PRICETOLERANCEVARIANCE": null,
                      "WORKKEY": null,
                      "QUANTITYRESERVED": null,
                      "QUANTITYALLOCATED": null,
                      "QUANTITYRESERVEDWHENOPEN": null,
                      "QUANTITYALLOCATEDWHENOPEN": null,
                      "ALLOCRESERVEISENABLED": "false",
                      "PROJECTKEY": "324",
                      "PROJECTNAME": "One Market Towers",
                      "TASKKEY": "4123",
                      "TASKNAME": "Demolition",
                      "BILLINGTEMPLATEKEY": null,
                      "BILLINGTEMPLATE": null,
                      "BILLINGSCHEDULEKEY": null,
                      "BILLINGSCHEDULEENTRY": {
                        "PERCENTCOMPLETED": null,
                        "PERCENTBILLED": null,
                        "BILLEDQTY": null,
                        "ESTQTY": null,
                        "TRUNCPERCENTCOMPLETED": null,
                        "BILLINGTEMPLATEENTRYKEY": null,
                        "BILLINGSCHEDULEKEY": null
                      },
                      "LINELEVELSIMPLETAXTYPE": null,
                      "LCCATKEY": null,
                      "NEEDBYDATE": null,
                      "DONOTSHIPBEFOREDATE": null,
                      "DONOTSHIPAFTERDATE": null,
                      "PROMISEDDATE": null,
                      "DATECONFIRMED": null,
                      "CANCELAFTERDATE": null,
                      "DATESHIPTOSUPPLIER": null,
                      "RELATEDDOCKEY": null,
                      "RELATEDDOCLINEKEY": null,
                      "REVISEDUNITQTY": "2",
                      "REVISEDQTY": "2",
                      "DRAFTCHANGEUNITQTY": null,
                      "DRAFTCHANGEQTY": null,
                      "REVISEDUNITVALUE": "100",
                      "REVISEDVALUE": "100",
                      "TRX_REVISEDVALUE": "100",
                      "REVISEDPRICE": "50",
                      "REVISEDUNITPRICE": "50",
                      "TRX_REVISEDPRICE": "50",
                      "RELATEDDOCNO": null,
                      "RELATEDDOCLINENO": "1--Subcontract",
                      "RELATEDDOCLINENUM": null,
                      "DRAFTCHANGEPRICE": null,
                      "POSTEDQTYCHANGES": "0",
                      "POSTEDCHANGEEXTPRICE": "0",
                      "POSTEDCHANGEEXTBASEPRICE": "0",
                      "RELATEDDOCUIQTY": null,
                      "RELATEDDOCTRX_VALUE": null,
                      "RELATEDDOCUIVALUE": null,
                      "PARTIALEXEMPT": "false",
                      "PRIMARYDOCKEY": "1059",
                      "PRIMARYDOCLINEKEY": "1349",
                      "ADDEDBYCHANGE": "false",
                      "DRAFTCHANGEBASEPRICE": null,
                      "REVERSECONVERSION": "false",
                      "REVERSEPRICECONVERTED": null,
                      "REVERSEQTYCONVERTED": null,
                      "STDPRICECONVERTED": null,
                      "STDQTYCONVERTED": null,
                      "SOURCEDOCID": null,
                      "SOURCEDOCLINEID": null,
                      "SOURCEDOCLINENO": null,
                      "SOURCEDOCITEM": null,
                      "DOCSTATE": "I",
                      "DELIVERTOKEY": null,
                      "DELIVERTO": {
                        "CONTACTNAME": null,
                        "PREFIX": null,
                        "FIRSTNAME": null,
                        "INITIAL": null,
                        "LASTNAME": null,
                        "COMPANYNAME": null,
                        "PRINTAS": null,
                        "PHONE1": null,
                        "PHONE2": null,
                        "CELLPHONE": null,
                        "PAGER": null,
                        "FAX": null,
                        "EMAIL1": null,
                        "EMAIL2": null,
                        "URL1": null,
                        "URL2": null,
                        "VISIBLE": null,
                        "MAILADDRESS": {
                          "ADDRESS1": null,
                          "ADDRESS2": null,
                          "CITY": null,
                          "STATE": null,
                          "ZIP": null,
                          "COUNTRY": null,
                          "COUNTRYCODE": null
                        }
                      },
                      "STOCK_NUMBER": null,
                      "RETAINAGEPERCENTAGE": "5",
                      "AMOUNTRETAINED": "5",
                      "TRX_AMOUNTRETAINED": "5",
                      "ALLOCATION": null,
                      "ALLOCATIONKEY": null,
                      "ITEMALIASID": null,
                      "ITEMALIASKEY": null,
                      "TOTAL_AMOUNT_CONVERTED": "0",
                      "TOTAL_AMOUNT_REMAINING": "100",
                      "QTY_REMAINING": "2",
                      "PROJECTDIMKEY": "324",
                      "PROJECTID": "SI208",
                      "CUSTOMERDIMKEY": null,
                      "CUSTOMERID": null,
                      "CUSTOMERNAME": null,
                      "VENDORDIMKEY": "152"
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "SubcontractLineItem-10": {
        "allOf": [
          {
            "$ref": "#/components/schemas/SubcontractLineItem"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "https://{id}.cloud.jobpac.com.au:{id}/SubcontractLineItem"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "WorkId": "12345",
                      "Firm": "12345",
                      "Order": "S12345",
                      "ItemNumber": "A123",
                      "ItemType": "L",
                      "Description": "Cleanup for the first week of October",
                      "CostingFirm": "12345",
                      "Job": "12345",
                      "CostCode": "01.01.01",
                      "CostType": "T",
                      "ResourceCode": "",
                      "Asset": "",
                      "GeneralLedgerAccount": "12345",
                      "Property": "",
                      "OriginalBudgetQuantity": "5.0000",
                      "UnitOfMeasure": "HOURS",
                      "Rate": "10.0000",
                      "ForeignCurrencyRate": "10.0000",
                      "OriginalContractValue": "50.00",
                      "ForeignCurrencyOriginalContractValue": "50.00",
                      "CurrentQuantity": "5.0000",
                      "CurrentRate": "",
                      "ForeignCurrencyCurrentRate": "",
                      "CurrentItemAmount": "50.00",
                      "ForeignCurrencyCurrentItemAmount": "50.00",
                      "RetentionHeld": "",
                      "ForeignCurrencyRetentionHeld": "",
                      "RetentionPosted": "",
                      "ForeignCurrencyRetentionPosted": "",
                      "RetentionToBePaidFlag": "",
                      "ChangeInRetentionHeld": "",
                      "ForeignCurrencyChangeInRetentionHeld": "",
                      "ApprovedVariationsBudget": "",
                      "ForeignCurrencyApprovedVariationsBudget": "",
                      "UnapprovedVariationBudget": "",
                      "ForeignCurrencyUnapprovedVariationsBudget": "",
                      "CommittedCost": "",
                      "CommittedQuantity": "",
                      "ChangeInCommittedQuantity": "",
                      "ChangeInCommittedCost": "",
                      "CommittedBudget": "50.00",
                      "ForeignCurrencyCommittedBudget": "50.00",
                      "ChangeInCommittedBudget": "",
                      "CurrentIncurredQuantity": "",
                      "ChangeInIncurredquantity": "",
                      "IncurredAmount": "",
                      "ChangeInIncurredCost": "",
                      "PreviousIncurredQuantity": "",
                      "PreviousAuthorisedAmount": "",
                      "ForeignCurrencyPostedAuthorisedAmount": "",
                      "CurrentValuationQuantity": "",
                      "ValuationToBePosted": "",
                      "ForeignCurrencyValuationToBePosted": "",
                      "MaterialsOnSiteValuation": "",
                      "ForeignCurrencyMaterialsOnSiteValuation": "",
                      "RiseAndFallValuation": "",
                      "ForeignCurrencyRiseAndFallValuation": "",
                      "UnapprovedVariationValuation": "",
                      "ForeignCurrencyUnapprovedVariationValuation": "",
                      "ApprovedVariationValuation": "",
                      "ForeignCurrencyApprovedVariationValuation": "",
                      "OriginalWorksValuationAmount": "",
                      "ForeignCurrencyOriginalWorksValuationAmount": "",
                      "PreviousValuationQuantity": "",
                      "ValuationPosted": "",
                      "ForeignCurrencyValuationPosted": "",
                      "UnapprovedVariationValuationPosted": "",
                      "ForeignCurrencyUnapprovedVariationValuationPosted": "",
                      "ApprovedVariationValuationPosted": "",
                      "ForeignCurrencyApprovedVariationValuationPosted": "",
                      "OriginalWorksValuationPosted": "",
                      "ForeignCurrencyOriginalWorkValuationPosted": "",
                      "MaterialsOnSiteValuationPosted": "",
                      "ForeignCurrencyMaterialsOnSiteValuationPosted": "",
                      "RiseFallValuationPosted": "",
                      "ForeignCurrencyRiseAndFallValuationPosted": "",
                      "CurrentAuthorisedQuantity": "",
                      "AuthorisedThisClaim": "",
                      "ForeignCurrencyAuthorisedThisClaim": "",
                      "MaterialsOnSiteAuthorised": "",
                      "ForeignCurrencyMaterialsOnSiteAuthorised": "",
                      "RiseAndFallAuthorised": "",
                      "ForeignCurrencyRiseAndFallAuthorised": "",
                      "UnapprovedVariationAuthorised": "",
                      "ForeignCurrencyUnapprovedVariationAuthorised": "",
                      "ApprovedVariationAuthorised": "",
                      "ForeignCurrencyApprovedVariationAuthorised": "",
                      "OriginalWorksAuthorised": "",
                      "ForeignCurrencyOriginalWorkAuthorised": "",
                      "PreviousAuthorisedQuantity": "",
                      "MaterialsOnSiteAuthorisedPosted": "",
                      "ForeignCurrencyMaterialsOnSiteAuthorisedPosted": "",
                      "RiseAndFallAuthorisedPosted": "",
                      "ForeignCurrencyRiseAndFallAuthorisedPosted": "",
                      "UnapprovedVariationAuthorisedPosted": "",
                      "ForeignCurrencyUnapprovedVariationAuthorisedPosted": "",
                      "ApprovedVariationAuthorisedPosted": "",
                      "ForeignCurrencyApprovedVariationAuthorisedPosted": "",
                      "OriginalWorksAuthorisedPosted": "",
                      "ForeignCurrencyOriginalWorksAuthorisedPosted": "",
                      "PaidAmount": "",
                      "ForeignCurrencyPaidAmount": "",
                      "ManHours": ".00",
                      "ItemValueUnalocated": "",
                      "ForeignCurrencyItemValueUnalocated": "",
                      "CurrentRiseAndFallOnWorkDoneToDate": "",
                      "ForeignCurrencyCurrentRiseAndFallOnWorkDoneToDate": "",
                      "RiseAndFallOnBalanceOfWork": "",
                      "ForeignCurrencyCurrentRiseAndFallOnBalanceOfWork": "",
                      "RiseAndFallOnBalanceOfWorkPosted": "",
                      "ForeignCurrencyRiseAndFallOnBalanceOfWorkPosted": "",
                      "RiseAndFallOnWorkDoneToDatePosted": "",
                      "ForeignCurrencyRiseAndFallOnWorkDoneToDatePosted": "",
                      "ScopeOfSupplyCategory": "0",
                      "ScopeOfSupplySubcategory": "0",
                      "MaterialCode": "",
                      "NeedByDate": "",
                      "ReviewByDate": "",
                      "Section": "",
                      "ScheduleItem": "",
                      "TaxCode": "12345",
                      "LastUpdatedTimestamp": "2022-01-01-00.00.00.000000",
                      "LastUpdatedUser": "John Doe",
                      "LastRebuildTimeStamp": "2022-01-01-00.00.00.000000",
                      "IsThisItemPartOfTheOriginalWorks": "Yes",
                      "AmountWithoutVariations": "50.00",
                      "Creditor": "12345",
                      "TexturaReference": "12345",
                      "LastVariationUsed": "0"
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "SubcontractLineItem-11": {
        "allOf": [
          {
            "$ref": "#/components/schemas/SubcontractLineItem"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The SQL path on the Source System.",
                    "example": "select * from [VN_SUBCONTRACT_PHASE_MC]"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "Company_Code": "12345",
                      "Vendor_Code": "12345",
                      "Subcontract_Number": "12345",
                      "Phase_Code": "08.79.00",
                      "Cost_Type": "S",
                      "Bid_Item_Number": "12345",
                      "Bill_Description": "Cleanup for the first week of October",
                      "Unit_Of_Measure": "",
                      "Unit_Price": ".0000",
                      "Original_Contract_Quantity": ".00",
                      "Original_Contract_Amount": ".00",
                      "Quantity_Billed_To_Date": ".00",
                      "Amount_Billed_To_Date": ".00",
                      "Retention_Flag": "Y",
                      "Qty_Upd_Over": "",
                      "id": "12345"
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "SubcontractLineItem-12": {
        "allOf": [
          {
            "$ref": "#/components/schemas/SubcontractLineItem"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The SQL path on the Source System.",
                    "example": "select * from [bPMSL] where [bPMSL].[SLCo] = 12345 and [bPMSL].[Project] =  12345 and [SL] = Drywall Installation"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "PMCo": "12345",
                      "Project": " 12345",
                      "Seq": "1",
                      "RecordType": "O",
                      "PCOType": null,
                      "PCO": null,
                      "PCOItem": null,
                      "ACO": null,
                      "ACOItem": null,
                      "Line": null,
                      "PhaseGroup": "12345",
                      "Phase": "030000",
                      "CostType": "L",
                      "VendorGroup": "12345",
                      "Vendor": "12345",
                      "SLCo": "12345",
                      "SL": "Drywall Installation",
                      "SLItem": "1",
                      "SLItemDescription": "Cleanup for the first week of October",
                      "SLItemType": "1",
                      "SLAddon": null,
                      "SLAddonPct": null,
                      "Units": "5.000",
                      "UM": "HRS",
                      "UnitCost": "10.00000",
                      "Amount": "50.00",
                      "SubCO": null,
                      "WCRetgPct": ".0000",
                      "SMRetgPct": ".0000",
                      "Supplier": null,
                      "InterfaceDate": null,
                      "SendFlag": "Y",
                      "Notes": null,
                      "SLMth": null,
                      "SLTrans": null,
                      "IntFlag": null,
                      "UniqueAttchID": null,
                      "KeyID": "12345",
                      "TaxType": null,
                      "TaxCode": null,
                      "TaxGroup": null,
                      "BatchTransType": null,
                      "BatchTransTypeChangeDate": null,
                      "IncludePCO": "N"
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "SubcontractCompliance": {
        "allOf": [
          {
            "$ref": "#/components/schemas/PurchaseOrderCompliance"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The SQL path on the Source System.",
                    "example": "bSLCT"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "InsAmt": null,
                      "InsCPoAutoAssignFlag": "N",
                      "InsCScAutoAssignFlag": "Y",
                      "InsCertLoc": null,
                      "InsCertNum": "*",
                      "InsCompCode": "12345",
                      "InsComplType": "SC",
                      "InsComplianceFlag": "Y",
                      "InsCoverTypeCode": "Certified Payroll",
                      "InsCoverTypeDesc": "Certified Payroll for AnyCompany",
                      "InsDateComplianceFlag": "Y",
                      "InsDateSensitiveFlag": "Y",
                      "InsDeleteFlag": "Y",
                      "InsEndDate": "2022-01-01",
                      "InsInscompCode": "*",
                      "InsInscompName": "Non-applicable",
                      "InsNotesFlag": null,
                      "InsPoAutoAssignFlag": "N",
                      "InsPoNum": null,
                      "InsPoReleaseNum": null,
                      "InsScAutoAssignFlag": "N",
                      "InsScContCode": "A123",
                      "InsScJobCode": "A123",
                      "InsStartDate": "2022-01-01",
                      "InsUpdateDate": null,
                      "InsUpdateFlag": "Y",
                      "InsUpdateUser": null,
                      "InsVUuid": "12345BFF124EE063B08610ACF251",
                      "InsVenCode": "12345",
                      "InsVouNum": null,
                      "InsVouRemitDesc": null,
                      "OrigCertNum": "*",
                      "OrigInscompCode": "*",
                      "InsApriVUuid": null,
                      "InsApriInvCode": null
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "SubcontractCompliance-2": {
        "type": "object",
        "properties": {
          "id": {
            "allOf": [
              {
                "description": "The UUID of the Subcontract Compliance assigned by Agave."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "source_id": {
            "type": "string",
            "readOnly": true,
            "example": "12345",
            "description": "The ID of the Subcontract Compliance in the Source System."
          },
          "amount": {
            "type": "string",
            "description": "The amount (e.g. insurance limit) covered under the Subcontract Compliance.",
            "example": "1,000,000"
          },
          "contract": {
            "type": "object",
            "description": "The Contract (i.e. Subcontract) associated with the Subcontract Compliancee.",
            "properties": {
              "id": {
                "allOf": [
                  {
                    "description": "The UUID of the Contract (i.e. Subcontract) assigned by Compliance."
                  },
                  {
                    "$ref": "#/components/schemas/IdPropertyReadOnly"
                  }
                ]
              },
              "type": {
                "type": "string",
                "description": "The type of Contract associated with the Subcontract Compliance.",
                "example": "subcontract",
                "enum": [
                  "subcontract"
                ]
              }
            }
          },
          "description": {
            "type": "string",
            "description": "A description of the Subcontract Compliance.",
            "example": "Certified Payroll for Federal Works Project"
          },
          "effective_date": {
            "allOf": [
              {
                "description": "The effective date of the Subcontract Compliance."
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ]
          },
          "expiration_date": {
            "allOf": [
              {
                "description": "The expiration date of the Subcontract Compliance."
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ]
          },
          "policy_number": {
            "type": "string",
            "description": "The policy number associated with the Subcontract Compliance.",
            "example": "123 45 6789"
          },
          "provider_name": {
            "type": "string",
            "description": "The name of the provider of the Subcontract Compliance.",
            "example": "AnyCompany Insurance Providers"
          },
          "status": {
            "type": "string",
            "description": "The status of the Subcontract Compliance. \n\n**Note for Viewpoint Spectrum and Viewpoint Vista**: possible values for this field include \"Compliant\" and \"Not Compliant\".\n",
            "example": "Compliant",
            "enum": [
              "Compliant",
              "Not Compliant"
            ]
          },
          "type": {
            "type": "string",
            "description": "The type of Compliance.",
            "example": "Certified Payroll"
          },
          "vendor_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Vendor](#tag--vendors) which the Subcontract Compliance applies to."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "source_create_time": {
            "allOf": [
              {
                "description": "The datetime the Subcontract Compliance was created."
              },
              {
                "$ref": "#/components/schemas/DateTimeProperty"
              }
            ]
          },
          "source_update_time": {
            "allOf": [
              {
                "description": "The datetime the Subcontract Compliance was last updated."
              },
              {
                "$ref": "#/components/schemas/DateTimeProperty"
              }
            ]
          }
        }
      },
      "SubcontractCompliance-3": {
        "allOf": [
          {
            "$ref": "#/components/schemas/SubcontractCompliance-2"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The SQL path on the Source System.",
                    "example": "VN_VENDOR_SUB_COMPLIANCE_MC"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "Company_Code": "CCD",
                      "Vendor_Code": "       A123",
                      "Subcontract_Number": "A123",
                      "Tracking_Item_Code": "BR",
                      "Log_ID": "1",
                      "Lien_Rel_Job": "",
                      "Source": "V",
                      "Entry_Date": "2022-01-01 00:00:00.000",
                      "Condition": "Y",
                      "Expire_Date": null,
                      "Entry_Closed": "Y",
                      "Entry_Closed_Opr": "001",
                      "Entry_Closed_Date": "2022-01-01 00:00:00.000",
                      "Due_Date": null,
                      "Comment": "This is a sample Bond Required"
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "SubcontractCompliance-4": {
        "allOf": [
          {
            "$ref": "#/components/schemas/SubcontractCompliance-2"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The SQL path on the Source System.",
                    "example": "bSLCT"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "SLCo": "12345",
                      "SL": "12345",
                      "CompCode": "CP",
                      "Seq": 1,
                      "VendorGroup": null,
                      "Vendor": null,
                      "Description": "Certified Payroll",
                      "Verify": "Y",
                      "ExpDate": null,
                      "Complied": "Y",
                      "Notes": "Certified Payroll for Federal Works Project",
                      "ReceiveDate": null,
                      "Limit": "1000000.00",
                      "PurgeYN": "N",
                      "UniqueAttchID": null,
                      "KeyID": "12345",
                      "APRef": null,
                      "CompCodeDescription": "Certified Payroll",
                      "CompCodeType": "D"
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "NewSubcontractCompliance": {
        "required": [
          "type",
          "vendor_id"
        ],
        "type": "object",
        "properties": {
          "amount": {
            "type": "string",
            "description": "The amount (e.g. insurance limit) covered under the Subcontract Compliance.",
            "example": "1,000,000"
          },
          "description": {
            "type": "string",
            "description": "A description of the Subcontract Compliance.",
            "example": "Certified Payroll for Federal Works Project"
          },
          "effective_date": {
            "allOf": [
              {
                "description": "The effective date of the Subcontract Compliance. \n"
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ]
          },
          "expiration_date": {
            "allOf": [
              {
                "description": "The expiration date of the Subcontract Compliance. \n"
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ]
          },
          "policy_number": {
            "type": "string",
            "description": "The policy number associated with the Subcontract Compliance.",
            "example": "123 45 6789"
          },
          "status": {
            "type": "string",
            "description": "The status of the Subcontract Compliance. \n",
            "example": "Compliant",
            "enum": [
              "Compliant",
              "Not Compliant"
            ]
          },
          "type": {
            "type": "string",
            "description": "The type of Compliance. \n",
            "example": "Certified Payroll"
          },
          "vendor_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Vendor](#tag--vendors) associated with the Subcontract Compliance."
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          }
        }
      },
      "NewSubcontractCompliance-2": {
        "required": [
          "contract",
          "type"
        ],
        "type": "object",
        "properties": {
          "amount": {
            "type": "string",
            "description": "The amount (e.g. insurance limit) covered under the Compliance.",
            "example": "1,000,000"
          },
          "description": {
            "type": "string",
            "description": "A description of the Compliance.",
            "example": "Certified Payroll for Federal Works Project"
          },
          "expiration_date": {
            "allOf": [
              {
                "description": "The expiration date of the Compliance. \n\n**Note for Viewpoint Vista**: the Compliance `type` must have a type of \"D\" in the \"HQCP\" table in order to pass a value for `expiration_date`.\n"
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ]
          },
          "status": {
            "type": "string",
            "description": "The status of the Compliance. \n\n**Note for Viewpoint Vista**: if a value for `expiration_date` is provided, the value for `status` will be determined based on whether the `expiration_date` is before or after the date of the Agave API request.\n",
            "example": "Compliant",
            "enum": [
              "Compliant",
              "Not Compliant"
            ]
          },
          "type": {
            "type": "string",
            "description": "The type of Compliance. \n\n**Note for Viewpoint Vista:** possible values for this field can be found with the \"Description\" column in the \"HQCP\" table. These values can be retrieved using [passthrough requests](/agave-api/passthrough-requests#foundation-viewpoint-spectrum-and-viewpoint-vista).\n",
            "example": "Certified Payroll"
          }
        }
      },
      "SubcontractClaimLineItem": {
        "type": "object",
        "properties": {
          "id": {
            "allOf": [
              {
                "description": "The UUID of the Subcontract Claim Line Item assigned by Agave."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "source_id": {
            "type": "string",
            "readOnly": true,
            "example": "12345",
            "description": "The ID of the Subcontract Claim Line Item in the Source System."
          },
          "approval_amount": {
            "type": "string",
            "description": "The amount approved for the Subcontract Claim Line Item.",
            "example": "100.0"
          },
          "approval_quantity": {
            "type": "string",
            "description": "The quantity of the unit in the Subcontract Claim Line Item that has been approved.",
            "example": "5.0"
          },
          "approval_retention_amount": {
            "type": "string",
            "description": "The retention amount in the Subcontract Claim Line Item that has been approved.",
            "example": "5.0"
          },
          "change_order": {
            "type": "object",
            "description": "The Change Order associated with the Subcontract Claim.",
            "properties": {
              "id": {
                "allOf": [
                  {
                    "description": "The UUID of the Change Order assigned by Agave."
                  },
                  {
                    "$ref": "#/components/schemas/IdPropertyReadOnly"
                  }
                ]
              }
            }
          },
          "claim_amount": {
            "type": "string",
            "description": "The amount claimed under the Subcontract Claim Line Item.",
            "example": "110.0"
          },
          "claim_quantity": {
            "type": "string",
            "description": "The quantity of the unit in the Subcontract Claim Line Item claimed to have been completed.",
            "example": "5.0"
          },
          "contract": {
            "type": "object",
            "description": "The Contract (i.e. Subcontract) associated with the Subcontract Claim.",
            "properties": {
              "id": {
                "allOf": [
                  {
                    "description": "The UUID of the Contract (i.e. [Subcontracts](#tag--subcontracts)) assigned by Agave."
                  },
                  {
                    "$ref": "#/components/schemas/IdPropertyReadOnly"
                  }
                ]
              },
              "line_item_id": {
                "allOf": [
                  {
                    "description": "The UUID of the Contract Line Item (i.e. [Subcontract Line Item](#tag--subcontracts)) assigned by Agave."
                  },
                  {
                    "$ref": "#/components/schemas/IdPropertyReadOnly"
                  }
                ]
              },
              "type": {
                "type": "string",
                "description": "The type of Contract associated with the Subcontract Claim.",
                "example": "subcontract",
                "enum": [
                  "subcontract"
                ]
              }
            }
          },
          "description": {
            "type": "string",
            "description": "The description of the Subcontract Claim Line Item.",
            "example": "Cleanup for the first week of January"
          },
          "tax_code_id": {
            "allOf": [
              {
                "description": "The UUID of the [Tax Code](#tag--tax-codes) for the Subcontract Claim Line Item, assigned by Agave."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "unit_cost": {
            "type": "string",
            "description": "The cost of each unit associated with the Subcontract Claim Line Item.",
            "example": "20"
          },
          "unit_of_measure": {
            "type": "string",
            "description": "The unit used for measuring the estimated quantity of the Subcontract Claim Line Item.",
            "example": "Hours"
          },
          "source_create_time": {
            "allOf": [
              {
                "description": "The datetime the Subcontract Claim Line Item was created."
              },
              {
                "$ref": "#/components/schemas/DateTimeProperty"
              }
            ]
          },
          "source_update_time": {
            "allOf": [
              {
                "description": "The datetime the Subcontract Claim Line Item was last updated."
              },
              {
                "$ref": "#/components/schemas/DateTimeProperty"
              }
            ]
          }
        }
      },
      "SubcontractClaim": {
        "type": "object",
        "properties": {
          "id": {
            "allOf": [
              {
                "description": "The UUID of the Subcontract Claim assigned by Agave."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "source_id": {
            "type": "string",
            "readOnly": true,
            "example": "12345",
            "description": "The ID of the Subcontract Claim in the Source System."
          },
          "ap_invoice_date": {
            "allOf": [
              {
                "description": "The date for the invoice to be generated from the Subcontract Claim."
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ]
          },
          "ap_invoice_number": {
            "type": "string",
            "description": "The number for the AP Invoice to be created by the Subcontract Claim.",
            "example": "A123"
          },
          "approval_amount": {
            "type": "string",
            "description": "The total amount approved for the Subcontract Claim.",
            "example": "100.0"
          },
          "approval_date": {
            "allOf": [
              {
                "description": "The date the Subcontract Claim was certified or approved."
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ]
          },
          "approval_retention_amount": {
            "type": "string",
            "description": "The total amount of retention that has been approved to be released as part of the Subcontract Claim.",
            "example": "5.0"
          },
          "claim_amount": {
            "type": "string",
            "description": "The amount claimed under the Subcontract Claim.",
            "example": "110.0"
          },
          "claim_date": {
            "allOf": [
              {
                "description": "The date the Subcontract Claim was issued."
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ]
          },
          "claim_number": {
            "type": "string",
            "description": "The claim number of the Subcontract Claim.",
            "example": "3"
          },
          "contract": {
            "type": "object",
            "description": "The Contract (i.e. Subcontract) associated with the Subcontract Claim.",
            "properties": {
              "id": {
                "allOf": [
                  {
                    "description": "The UUID of the Contract (i.e. Subcontract) assigned by Agave."
                  },
                  {
                    "$ref": "#/components/schemas/IdPropertyReadOnly"
                  }
                ]
              },
              "type": {
                "type": "string",
                "description": "The type of Contract associated with the Subcontract Claim.",
                "example": "subcontract",
                "enum": [
                  "subcontract"
                ]
              }
            }
          },
          "description": {
            "type": "string",
            "description": "A description of the Subcontract Claim.",
            "example": "Payment for AnyCompany Subcontract 123 in January."
          },
          "due_date": {
            "allOf": [
              {
                "description": "The due date for the payment for the Subcontract Claim."
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ]
          },
          "line_items": {
            "description": "The line items for the Subcontract Claim.",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SubcontractClaimLineItem"
            }
          },
          "status": {
            "type": "string",
            "description": "The status of the Subcontract Claim. \n\n**Note for Viewpoint Vista**: possible values include \"Certified\", \"Denied\", or \"Pending\".\n",
            "example": "Certified"
          },
          "vendor_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the Subcontractor ([Vendor](#tag--vendors)) associated with the Subcontract Claim."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "source_create_time": {
            "allOf": [
              {
                "description": "The datetime the Subcontract Claim was created in the Source System."
              },
              {
                "$ref": "#/components/schemas/DateTimeProperty"
              }
            ]
          },
          "source_update_time": {
            "allOf": [
              {
                "description": "The datetime the Subcontract Claim was last updated in the Source System."
              },
              {
                "$ref": "#/components/schemas/DateTimeProperty"
              }
            ]
          }
        }
      },
      "SubcontractClaim-2": {
        "allOf": [
          {
            "$ref": "#/components/schemas/SubcontractClaim"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "https://api.procore.com/rest/v1.0/work_order_contracts/{{subcontract_id}}"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "id": 12345,
                      "accounting_method": "amount",
                      "actual_completion_date": "2022-01-01",
                      "approval_letter_date": null,
                      "approved_change_orders": "0.0",
                      "attachments": [],
                      "billing_schedule_of_values_status": "draft",
                      "change_order_packages": [],
                      "contract_date": null,
                      "contract_estimated_completion_date": "2022-01-01",
                      "contract_start_date": "2022-01-01",
                      "created_at": "2022-01-01T00:00:00Z",
                      "created_by_id": 12345,
                      "custom_fields": {},
                      "deleted_at": null,
                      "description": "Drywall installation on the first and second floor",
                      "draft_change_orders_amount": "0.0",
                      "exclusions": null,
                      "executed": true,
                      "execution_date": "2022-01-01",
                      "grand_total": "50.0",
                      "has_change_order_packages": false,
                      "has_potential_change_orders": false,
                      "inclusions": null,
                      "invoice_contacts": [],
                      "issued_on_date": "2022-01-01",
                      "letter_of_intent_date": null,
                      "line_items": [
                        {
                          "id": 12345,
                          "created_at": "2022-01-01T00:00:00Z",
                          "updated_at": "2022-01-01T00:00:00Z",
                          "amount": "50.0",
                          "company": {
                            "id": 12345,
                            "name": "AnyCompany Inc."
                          },
                          "wbs_code": {
                            "description": "",
                            "flat_code": "",
                            "id": 12345
                          },
                          "description": "Cleanup",
                          "extended_type": "manual",
                          "holder": {
                            "id": 12345,
                            "holder_type": "WorkOrderContract"
                          },
                          "origin_id": null,
                          "position": 1,
                          "project": {
                            "id": 12345,
                            "name": "Test Project-1"
                          },
                          "quantity": "10.0",
                          "total_amount": "50.0",
                          "extended_amount": "50.0",
                          "unit_cost": "5.0"
                        }
                      ],
                      "number": "A123",
                      "origin_code": null,
                      "origin_data": null,
                      "origin_id": null,
                      "payments_issued": [],
                      "pending_change_orders": "0.0",
                      "pending_revised_contract": "0.0",
                      "percentage_paid": "0.0",
                      "private": true,
                      "project": {
                        "id": 12345,
                        "name": "Test Project-1",
                        "origin_data": null,
                        "origin_id": null
                      },
                      "remaining_balance_outstanding": "0.0",
                      "requisitions_are_enabled": true,
                      "retainage_percent": "5.0",
                      "returned_date": null,
                      "revised_contract": "0.0",
                      "show_line_items_to_non_admins": null,
                      "signed_contract_received_date": null,
                      "status": "Draft",
                      "title": "Drywall Installation",
                      "total_draw_requests_amount": "0.0",
                      "total_payments": "0.0",
                      "total_requisitions_amount": "0.0",
                      "updated_at": "2022-01-01T00:00:00Z",
                      "vendor": {
                        "id": 12345
                      }
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "SubcontractClaim-3": {
        "allOf": [
          {
            "$ref": "#/components/schemas/SubcontractClaim"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The SQL path on the Source System.",
                    "example": "select [bSLHD].*, [bPMSS].[DateSent] from [bSLHD] left join [bPMSS] on [bPMSS].[SL] = [bSLHD].[SL] and [bPMSS].[SLCo] = [bSLHD].[SLCo] and [bPMSS].[Project] = [bSLHD].[Job] where [bSLHD].[SLCo] = 12345 and [bSLHD].[Job] =  12345\""
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {}
                  }
                }
              }
            }
          }
        ]
      },
      "NewSubcontractClaim": {
        "required": [
          "ap_invoice_date",
          "approval_retention_amount",
          "claim_date",
          "claim_number",
          "contract"
        ],
        "type": "object",
        "properties": {
          "ap_invoice_date": {
            "allOf": [
              {
                "description": "The date for the invoice to be generated from the Subcontract Claim."
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ]
          },
          "ap_invoice_number": {
            "type": "string",
            "description": "The number for the AP Invoice to be created by the Subcontract Claim.",
            "example": "A123"
          },
          "approval_amount": {
            "type": "string",
            "description": "The total amount approved for the Subcontract Claim.",
            "example": "100.0"
          },
          "approval_date": {
            "allOf": [
              {
                "description": "The date the Subcontract Claim was certified or approved. \n\n**Note for Viewpoint Vista**: this field is only supported if `status` is set to \"Certified\".\n"
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ]
          },
          "approval_retention_amount": {
            "type": "string",
            "description": "The total amount of retention that has been approved to be released as part of the Subcontract Claim.",
            "example": "5.0"
          },
          "claim_amount": {
            "type": "string",
            "description": "The amount claimed under the Subcontract Claim.",
            "example": "110.0"
          },
          "claim_date": {
            "allOf": [
              {
                "description": "The date the Subcontract Claim was issued."
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ]
          },
          "claim_number": {
            "type": "string",
            "description": "The claim number of the Subcontract Claim.",
            "example": "3"
          },
          "contract": {
            "type": "object",
            "description": "The Contract (i.e. Subcontract) associated with the Subcontract Claim.",
            "properties": {
              "id": {
                "allOf": [
                  {
                    "description": "The UUID of the Contract (i.e. Subcontract) assigned by Agave."
                  },
                  {
                    "$ref": "#/components/schemas/IdPropertyWriteOnly"
                  }
                ]
              },
              "type": {
                "type": "string",
                "description": "The type of Contract associated with the Subcontract Claim.",
                "example": "subcontract",
                "enum": [
                  "subcontract"
                ]
              }
            }
          },
          "description": {
            "type": "string",
            "description": "A description of the Subcontract Claim.",
            "example": "Payment for AnyCompany Subcontract 123 in January."
          },
          "due_date": {
            "allOf": [
              {
                "description": "The due date for the payment for the Subcontract Claim."
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ]
          },
          "status": {
            "type": "string",
            "description": "The status of the Subcontract Claim. \n\n**Note for Viewpoint Vista**: possible values include \"Certified\", \"Denied\", or \"Pending\".\n",
            "example": "Certified",
            "enum": [
              "Certified",
              "Denied",
              "Pending"
            ]
          }
        }
      },
      "SubcontractClaimLineItem-2": {
        "allOf": [
          {
            "$ref": "#/components/schemas/SubcontractClaimLineItem"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "https://api.procore.com/rest/v1.0/work_order_contracts/{{subcontract_id}}/line_item_contract_details"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "amount": "1000.0",
                      "description": "Claim 1",
                      "id": 123459954558680,
                      "line_item_id": 12345036296373,
                      "position": 1,
                      "billed_to_date": "1000.0",
                      "currency_configuration": {
                        "currency_iso_code": null
                      },
                      "billed_against": true,
                      "subcontract_id": "21345",
                      "status": "Approved"
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "SubcontractClaimLineItem-3": {
        "allOf": [
          {
            "$ref": "#/components/schemas/SubcontractClaimLineItem"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The SQL path on the Source System.",
                    "example": "select * from [bPMSL] where [bPMSL].[SLCo] = 12345 and [bPMSL].[Project] =  12345 and [SL] = Drywall Installation"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {}
                  }
                }
              }
            }
          }
        ]
      },
      "NewSubcontractClaimLineItem": {
        "type": "object",
        "properties": {
          "approval_amount": {
            "type": "string",
            "description": "The amount approved for the Subcontract Claim Line Item.",
            "example": "100.0"
          },
          "approval_quantity": {
            "type": "string",
            "description": "The quantity of the unit in the Subcontract Claim Line Item that has been approved.",
            "example": "5.0"
          },
          "approval_retention_amount": {
            "type": "string",
            "description": "The retention amount in the Subcontract Claim Line Item that has been approved.",
            "example": "10.0"
          },
          "claim_amount": {
            "type": "string",
            "description": "The amount claimed under the Subcontract Claim Line Item.",
            "example": "110.0"
          },
          "claim_quantity": {
            "type": "string",
            "description": "The quantity of the unit in the Subcontract Claim Line Item claimed to have been completed.",
            "example": "5.0"
          },
          "description": {
            "type": "string",
            "description": "The description of the Subcontract Claim Line Item.",
            "example": "Cleanup for January"
          },
          "tax_code_id": {
            "allOf": [
              {
                "description": "The UUID of the [Tax Code](#tag--tax-codes) for the Subcontract Claim Line Item, assigned by Agave."
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          },
          "unit_of_measure": {
            "type": "string",
            "description": "The unit used for measuring the estimated quantity of the Subcontract Claim Line Item.",
            "example": "Hours"
          }
        }
      },
      "SubJob": {
        "properties": {
          "id": {
            "allOf": [
              {
                "description": "The UUID of the Sub Job assigned by Agave."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "source_id": {
            "type": "string",
            "readOnly": true,
            "example": "01",
            "description": "The ID of the Sub Job in the Source System."
          },
          "code": {
            "type": "string",
            "description": "The characters for the Sub Job.",
            "example": "01"
          },
          "name": {
            "type": "string",
            "description": "The name of the Sub Job.",
            "example": "First Floor"
          },
          "project_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Project](#tag--projects) for the Sub Job."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "source_data": {
            "type": "object",
            "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
            "properties": {
              "path": {
                "type": "string",
                "description": "The URL path on the Source System.",
                "example": "https://{{host}}.com/{{instance_name}}/entity/Default/20.200.001/ProjectTask?%24top=10&%24expand=Properties&%24filter=%28ProjectID+eq+%{{project_id}}%27%29"
              },
              "content_type": {
                "type": "string",
                "description": "The content type of the Source Data.",
                "example": "application/json"
              },
              "data": {
                "type": "string",
                "description": "The raw data from the Source System.",
                "example": {
                  "id": "741f7aef-e2f6-ec11-b87f-00155d408a02",
                  "rowNumber": 7,
                  "note": {
                    "value": ""
                  },
                  "Default": {
                    "value": false
                  },
                  "Description": {
                    "value": "First Floor"
                  },
                  "ExternalRefNbr": [],
                  "LastModifiedDateTime": {
                    "value": "2022-01-01T00:00:00+00:00"
                  },
                  "ProjectID": {
                    "value": "Test Project"
                  },
                  "ProjectTaskID": {
                    "value": "01"
                  },
                  "Properties": {
                    "id": "674cbfa5-af4c-4342-9ccf-1b4f4df45a9a",
                    "rowNumber": 1,
                    "note": null,
                    "Approver": [],
                    "Completed": {
                      "value": 0
                    },
                    "CompletionMethod": {
                      "value": "Manual"
                    },
                    "EndDate": [],
                    "PlannedEndDate": [],
                    "PlannedStartDate": [],
                    "StartDate": {
                      "value": "2023-03-15T00:00:00+00:00"
                    },
                    "custom": []
                  },
                  "Status": {
                    "value": "Active"
                  },
                  "custom": [],
                  "_links": {
                    "self": "/AcumaticaU100/entity/Default/20.200.001/ProjectTask/741f7aef-e2f6-ec11-b87f-00155d408a02",
                    "files:put": "/AcumaticaU100/entity/Default/20.200.001/files/PX.Objects.PM.ProjectTaskEntry/Task/741f7aef-e2f6-ec11-b87f-00155d408a02/{filename}"
                  }
                }
              }
            }
          }
        }
      },
      "SubJob-2": {
        "type": "object",
        "properties": {
          "id": {
            "allOf": [
              {
                "description": "The UUID of the Sub Job assigned by Agave."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "source_id": {
            "type": "string",
            "readOnly": true,
            "example": "12345",
            "description": "The ID of the Sub Job in the Source System."
          },
          "code": {
            "type": "string",
            "description": "The characters for the Sub Job.",
            "example": "0100"
          },
          "name": {
            "type": "string",
            "description": "The name of the Sub Job.",
            "example": "First Floor"
          },
          "project_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Project](#tag--projects) for the Sub Job."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "source_create_time": {
            "allOf": [
              {
                "description": "The datetime the Cost Code was created."
              },
              {
                "$ref": "#/components/schemas/DateTimeProperty"
              }
            ]
          },
          "source_update_time": {
            "allOf": [
              {
                "description": "The datetime the Cost Code was last updated."
              },
              {
                "$ref": "#/components/schemas/DateTimeProperty"
              }
            ]
          }
        }
      },
      "SubJob-3": {
        "allOf": [
          {
            "$ref": "#/components/schemas/SubJob-2"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The database query for the Source System.",
                    "example": "select * from [phases]"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "company_no": "12345",
                      "phase_no": "       0100",
                      "description": "First Floor",
                      "record_status": "a",
                      "row_modified_by": "DBA",
                      "row_modified_on": "2022-01-01 00:00:00.000",
                      "row_unique_id": "1",
                      "company_id": "1",
                      "phase_id": "1",
                      "record_guid": "1234567-167E-EC11-A45D-E454E88F8BE7"
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "SubJob-4": {
        "allOf": [
          {
            "$ref": "#/components/schemas/SubJob-2"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "https://api.procore.com/rest/v1.0/sub_jobs"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "id": 12345,
                      "code": "0100",
                      "created_at": "2022-01-01T00:00:00Z",
                      "name": "First Floor",
                      "origin_code": null,
                      "origin_data": null,
                      "origin_id": null,
                      "updated_at": "2022-01-01T00:00:00Z"
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "SubJob-5": {
        "allOf": [
          {
            "$ref": "#/components/schemas/SubJob-2"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The database query for the Source System.",
                    "example": "select * from [jobphs]"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "_idnum": "12345935-899F-E511-B83D-005056C00008",
                      "_idref": "12345935-899F-E511-B83D-005056C00008",
                      "recnum": "12345",
                      "phsnum": "01",
                      "phsnme": "First Floor",
                      "bllamt": ".00",
                      "retain": ".00",
                      "mdldsc": "",
                      "untdsc": "",
                      "untqty": ".00",
                      "ntetxt": "",
                      "insdte": "2022-01-01T00:00:00.000Z",
                      "insusr": "AnyUser",
                      "upddte": null,
                      "updusr": null
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "SubJob-6": {
        "allOf": [
          {
            "$ref": "#/components/schemas/SubJob-2"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The database query for the Source System.",
                    "example": "select * from [Master_JCM_Record_2]"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {}
                  }
                }
              }
            }
          }
        ]
      },
      "TaxCode": {
        "type": "object",
        "properties": {
          "id": {
            "allOf": [
              {
                "description": "The UUID of the Tax Code assigned by Agave."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "source_id": {
            "type": "string",
            "readOnly": true,
            "example": "12345",
            "description": "The ID of the Tax Code in the Source System."
          },
          "code": {
            "type": "string",
            "description": "The characters for the Tax Code.",
            "example": "CA-SF"
          },
          "description": {
            "type": "string",
            "description": "A description of the Tax Code.",
            "example": "San Francisco, California sales tax rate"
          },
          "status": {
            "type": "string",
            "description": "The status of the Tax Code.",
            "example": "Active"
          },
          "total_rate": {
            "type": "string",
            "description": "The total rate rate of the Tax Code.\n\n**Note for ServiceTitan**: this value is `null` if either of `source_data.isTaxRateSeparated` or `source_data.isMultipletaxZone` are set to \"null\".\n",
            "example": "8.63"
          },
          "type": {
            "type": "string",
            "description": "The type of Tax Code.",
            "example": "Sale"
          },
          "source_create_time": {
            "allOf": [
              {
                "description": "The datetime the Tax Code was created."
              },
              {
                "$ref": "#/components/schemas/DateTimeProperty"
              }
            ]
          },
          "source_update_time": {
            "allOf": [
              {
                "description": "The datetime the Tax Code was last updated."
              },
              {
                "$ref": "#/components/schemas/DateTimeProperty"
              }
            ]
          }
        }
      },
      "TaxCode-2": {
        "allOf": [
          {
            "$ref": "#/components/schemas/TaxCode"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "https://{{hostname}}/AcumaticaU100/entity/Default/23.200.001/Tax"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "id": "a60366a0-0adc-e811-b816-00155d408001",
                      "rowNumber": 1,
                      "note": {
                        "value": ""
                      },
                      "CalculateOn": {
                        "value": "Exclusive Document-Level"
                      },
                      "CashDiscount": {
                        "value": "Does Not Affect Taxable Amount"
                      },
                      "CreatedDateTime": {
                        "value": "2022-01-01:00:00-00:00"
                      },
                      "Description": {
                        "value": "San Francisco, California sales tax rate"
                      },
                      "ExcludeFromTaxonTaxCalculation": {
                        "value": false
                      },
                      "LastModifiedDateTime": {
                        "value": "2022-01-01:00:00-00:00"
                      },
                      "NotValidAfter": [],
                      "TaxAgency": {
                        "value": "SFTAXDEP"
                      },
                      "TaxClaimableAccount": [],
                      "TaxExpenseAccount": {
                        "value": "65100"
                      },
                      "TaxID": {
                        "value": "CA-SF"
                      },
                      "TaxPayableAccount": {
                        "value": "24100"
                      },
                      "TaxSchedule": [
                        {
                          "id": "f1a1a9f3-db48-486d-9012-365f66bfd70e",
                          "rowNumber": 1,
                          "note": null,
                          "MaxTaxableAmount": {
                            "value": 0
                          },
                          "MinTaxableAmount": {
                            "value": 0
                          },
                          "ReportingGroup": {
                            "value": "3"
                          },
                          "RevisionID": {
                            "value": 7
                          },
                          "StartDate": {
                            "value": "2022-01-01:00:00-00:00"
                          },
                          "TaxID": {
                            "value": "CA-SF"
                          },
                          "TaxRate": {
                            "value": 8.63
                          },
                          "custom": []
                        }
                      ],
                      "TaxType": {
                        "value": "Sales"
                      },
                      "Zones": [
                        {
                          "id": "bac514b5-5575-4825-8bb0-569c0a51ee6e",
                          "rowNumber": 1,
                          "note": null,
                          "DefaultTaxCategory": [],
                          "Description": {
                            "value": "CA SF Tax"
                          },
                          "TaxID": {
                            "value": "CA-SF"
                          },
                          "TaxZoneID": {
                            "value": "CA"
                          },
                          "custom": []
                        }
                      ]
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "TaxCode-3": {
        "allOf": [
          {
            "$ref": "#/components/schemas/TaxCode"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "{{server}}/{{environemnt}}/ar-rest-api/rest/1/artaxitems"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "ArtaxAccCode": "12345",
                      "ArtaxActiveFlag": "Y",
                      "ArtaxApAccCode": null,
                      "ArtaxApCreditFlag": "N",
                      "ArtaxApDeptCode": null,
                      "ArtaxApDirectPayFlag": "N",
                      "ArtaxApHldbkAccCode": null,
                      "ArtaxApHldbkDeptCode": null,
                      "ArtaxApIncFlag": "N",
                      "ArtaxApLiabAccCode": null,
                      "ArtaxApLiabDeptCode": null,
                      "ArtaxCode": "CA-SF",
                      "ArtaxCompCode": "12345",
                      "ArtaxCompoundTaxFlag": "N",
                      "ArtaxDeptCode": "00",
                      "ArtaxDirectPayVenCode": null,
                      "ArtaxFobCode": "N",
                      "ArtaxFrtCode": "Y",
                      "ArtaxHldbkAccCode": "12345",
                      "ArtaxHldbkDeptCode": "00",
                      "ArtaxInsCode": "Y",
                      "ArtaxJbCostCatCode": null,
                      "ArtaxJbCostPhsCode": null,
                      "ArtaxJbInvTaxRegistration": null,
                      "ArtaxLneCode": "N",
                      "ArtaxMiscCode": "Y",
                      "ArtaxName": "California - San Francisco",
                      "ArtaxNonTaxableFlag": "N",
                      "ArtaxPayJourCode": null,
                      "ArtaxPayPercent": null,
                      "ArtaxPercent": 8.63,
                      "ArtaxShortName": "CSF",
                      "ArtaxTaxCode": "N",
                      "ArtaxTdsTax": "N",
                      "ArtaxVUuid": "12345"
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "TaxCode-4": {
        "allOf": [
          {
            "$ref": "#/components/schemas/TaxCode"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The SQL path on the Source System.",
                    "example": "taxcode"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "taxnum": "CA",
                      "name": "California",
                      "taxrate": 8,
                      "status": 1,
                      "alsopay": "",
                      "limittype": 0,
                      "limit": 0,
                      "limit2": 0,
                      "taxfreight": 0
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "TaxCode-5": {
        "allOf": [
          {
            "$ref": "#/components/schemas/TaxCode"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The database query for the Source System.",
                    "example": "select * from [sales_taxes]"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "company_no": "12345",
                      "tax_no": "CA-SF",
                      "description": "California - San Francisco",
                      "force_pay": "Y",
                      "rate": "8.6300000",
                      "gl_tax_payable": null,
                      "gl_use_tax_expense": "12345",
                      "gl_use_tax_accrued": "12345",
                      "misc_taxable": ".0000000",
                      "freight_taxable": ".0000000",
                      "use_tax_flag": "N",
                      "phase_no": null,
                      "cost_code_no": null,
                      "cost_class_no": null,
                      "record_status": "A",
                      "row_modified_by": "DBA",
                      "row_modified_on": "2022-01-01 00:00:00.000",
                      "row_unique_id": "12345",
                      "company_id": "12345",
                      "cost_class_id": null,
                      "cost_code_id": null,
                      "phase_id": null,
                      "tax_id": "CUY",
                      "state_tax_group_no": null,
                      "state_percent": "8.6300000",
                      "county_percent": ".0000000",
                      "other_percent": ".0000000",
                      "ar_use_tax_flag": "N",
                      "ar_gl_use_tax_expense": null,
                      "ar_gl_use_tax_accrued": null,
                      "ar_phase_no": null,
                      "ar_cost_code_no": null,
                      "ar_cost_class_no": null,
                      "gl_sales_tax_expense": null,
                      "ap_sales_phase_no": null,
                      "ap_sales_cost_code_no": null,
                      "ap_sales_cost_class_no": null,
                      "ap_sales_cost_class_id": null,
                      "ap_sales_cost_code_id": null,
                      "ap_sales_phase_id": null,
                      "ar_cost_class_id": null,
                      "ar_cost_code_id": null,
                      "ar_phase_id": null,
                      "state_tax_group_id": null,
                      "allow_negative_adj_use_tax": "N",
                      "provider": null
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "TaxCode-6": {
        "allOf": [
          {
            "$ref": "#/components/schemas/TaxCode"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "https://api.procore.com/rest/v1.0/tax_codes"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "id": 598134325510727,
                      "archived": false,
                      "code": "GST",
                      "description": "GST",
                      "origin_data": null,
                      "origin_id": null,
                      "rate1": "10.0"
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "TaxCode-7": {
        "allOf": [
          {
            "$ref": "#/components/schemas/TaxCode"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The SQL path on the Source System.",
                    "example": "select * from [taxdst]"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "_idnum": "2B7B8935-899F-E511-B83D-005056C12345",
                      "recnum": 1,
                      "dstnme": "San Francisco",
                      "entty1": 2,
                      "entty2": 1,
                      "entty3": null,
                      "entty4": null,
                      "entty5": null,
                      "mattax": "Y",
                      "labtax": "N",
                      "eqptax": "N",
                      "subtax": "N",
                      "othtax": "Y",
                      "usrcs6": "",
                      "usrcs7": "",
                      "usrcs8": "",
                      "usrcs9": "",
                      "pfttax": "",
                      "ntetxt": "",
                      "insdte": "2022-01-01T00:00:00.000Z",
                      "insusr": "John Doe",
                      "upddte": "2022-01-01T00:00:00.000Z",
                      "updusr": "John Doe",
                      "sumrte": "7.5000"
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "TaxCode-8": {
        "allOf": [
          {
            "$ref": "#/components/schemas/TaxCode"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The database query for the Source System.",
                    "example": "select * from [MASTER_TXM_RECORD_2]"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "GROUP": "CA-SF",
                      "GDESC": "San Francisco, California",
                      "GCOMPND": "0",
                      "GRATE": 8.63,
                      "GSTATE": "None",
                      "GTAX1": "CA-SF",
                      "GTAX1RT": 8.63,
                      "GTAX1DA": "",
                      "GTAX1CA": "2005",
                      "GTAX1RD": "",
                      "GTAX1RC": "",
                      "GTAX1NC": "0",
                      "GTAX1TT": "0",
                      "GTAX1AR": "0",
                      "GTAX1RH": "0",
                      "GTAX2": "",
                      "GTAX2RT": 0,
                      "GTAX2DA": "",
                      "GTAX2CA": "",
                      "GTAX2RD": "",
                      "GTAX2RC": "",
                      "GTAX2NC": "0",
                      "GTAX2TT": "0",
                      "GTAX2AR": "0",
                      "GTAX2RH": "0",
                      "GTAX3": "",
                      "GTAX3RT": 0,
                      "GTAX3DA": "",
                      "GTAX3CA": "",
                      "GTAX3RD": "",
                      "GTAX3RC": "",
                      "GTAX3NC": "0",
                      "GTAX3TT": "0",
                      "GTAX3AR": "0",
                      "GTAX3RH": "0",
                      "GTAX4": "",
                      "GTAX4RT": 0,
                      "GTAX4DA": "",
                      "GTAX4CA": "",
                      "GTAX4RD": "",
                      "GTAX4RC": "",
                      "GTAX4NC": "0",
                      "GTAX4TT": "0",
                      "GTAX4AR": "0",
                      "GTAX4RH": "0",
                      "GTAX5": "",
                      "GTAX5RT": 0,
                      "GTAX5DA": "",
                      "GTAX5CA": "",
                      "GTAX5RD": "",
                      "GTAX5RC": "",
                      "GTAX5NC": "0",
                      "GTAX5TT": "0",
                      "GTAX5AR": "0",
                      "GTAX5RH": "0",
                      "GTAX6": "",
                      "GTAX6RT": 0,
                      "GTAX6DA": "",
                      "GTAX6CA": "",
                      "GTAX6RD": "",
                      "GTAX6RC": "",
                      "GTAX6NC": "0",
                      "GTAX6TT": "0",
                      "GTAX6AR": "0",
                      "GTAX6RH": "0",
                      "GTAX7": "",
                      "GTAX7RT": 0,
                      "GTAX7DA": "",
                      "GTAX7CA": "",
                      "GTAX7RD": "",
                      "GTAX7RC": "",
                      "GTAX7NC": "0",
                      "GTAX7TT": "0",
                      "GTAX7AR": "0",
                      "GTAX7RH": "0",
                      "GTAX8": "",
                      "GTAX8RT": 0,
                      "GTAX8DA": "",
                      "GTAX8CA": "",
                      "GTAX8RD": "",
                      "GTAX8RC": "",
                      "GTAX8NC": "0",
                      "GTAX8TT": "0",
                      "GTAX8AR": "0",
                      "GTAX8RH": "0",
                      "GTAX9": "",
                      "GTAX9RT": 0,
                      "GTAX9DA": "",
                      "GTAX9CA": "",
                      "GTAX9RD": "",
                      "GTAX9RC": "",
                      "GTAX9NC": "0",
                      "GTAX9TT": "0",
                      "GTAX9AR": "0",
                      "GTAX9RH": "0",
                      "GOSTAMP": "",
                      "GDSTAMP": "2022-01-01",
                      "GTSTAMP": "00:00:00",
                      "GRWID": "1234580-ee3f-e711-8bef-0019b9211094",
                      "GRWVR": "1495567929",
                      "R2NTS": null,
                      "R2FLS": null
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "TaxCode-9": {
        "allOf": [
          {
            "$ref": "#/components/schemas/TaxCode"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "https://api.intacct.com/ia/xml/xmlgw.phtml"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "RECORDNO": "1",
                      "DETAILID": "CA",
                      "DESCRIPTION": "California Tax Rate",
                      "WHENCREATED": "02/07/2025",
                      "WHENMODIFIED": "02/07/2025",
                      "STATUS": "active",
                      "VALUE": "8.84",
                      "TAXTYPE": "Sale",
                      "TAXUID": null,
                      "MINTAXABLE": null,
                      "MAXTAXABLE": null,
                      "INCLUDE": "Full Amount",
                      "MINTAX": null,
                      "MAXTAX": null,
                      "GLACCOUNT": "6120",
                      "TAXAUTHORITY": "California",
                      "SYSGENERATED": "false",
                      "REVERSECHARGE": null,
                      "TAXRATE": null,
                      "TAXFILING": "Reporting",
                      "TAXSOLUTIONID": null,
                      "USEEXPENSEACCT": "false",
                      "DEFAULTPARTIALEXEMPTVALUE": null,
                      "MEGAENTITYKEY": "16",
                      "MEGAENTITYID": "A123",
                      "MEGAENTITYNAME": "AnyCompany Contractors",
                      "RECORD_URL": "https://www.intacct.com/ia/acct/ur.phtml"
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "TaxCode-10": {
        "allOf": [
          {
            "$ref": "#/components/schemas/TaxCode"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The API path on the Source System.",
                    "example": "/accounting/v2/tenant/{{tenantId}}/tax-zones"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "id": 3407617,
                      "name": "Washington",
                      "color": null,
                      "isTaxRateSeparated": false,
                      "isMultipleTaxZone": false,
                      "rates": [
                        {
                          "id": 0,
                          "taxName": "Washington - Subtotal",
                          "taxBaseType": [
                            "Subtotal"
                          ],
                          "taxRate": 0.065,
                          "salesTaxItem": null
                        }
                      ],
                      "createdOn": "2022-01-01T00:00:00.0000000Z",
                      "modifiedOn": "2022-01-01T00:00:00.0000000Z",
                      "active": true
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "TaxCode-11": {
        "allOf": [
          {
            "$ref": "#/components/schemas/TaxCode"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The SQL path on the Source System.",
                    "example": "select * from [VN_USE_TAX_MASTER_MC]"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "Company_Code": "12345",
                      "Use_Tax_Code": "CA-SF",
                      "Use_Tax_Description": "San Francisco, California sales tax rate",
                      "Tax_Percent": "8.6300",
                      "Tax_GL_Account": "12345",
                      "Tax_Type": "U",
                      "Comments": null,
                      "Effective_Date": "2022-01-01 00:00:00.000",
                      "id": "12345"
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "TaxCode-12": {
        "allOf": [
          {
            "$ref": "#/components/schemas/TaxCode"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The SQL path on the Source System.",
                    "example": "HQTX"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "TaxGroup": "12345",
                      "TaxCode": "CA-SF",
                      "Description": "San Francisco, California sales tax rate",
                      "MultiLevel": "N",
                      "OldRate": ".086300",
                      "NewRate": ".0863000",
                      "EffectiveDate": "2022-01-01 00:00:00",
                      "GLAcct": "12345",
                      "Phase": null,
                      "JCCostType": null,
                      "Notes": null,
                      "UniqueAttchID": null,
                      "KeyID": "12345",
                      "ValueAdd": "N",
                      "GST": "N",
                      "ExpenseTax": "N",
                      "InclGSTinPST": "N",
                      "RetgGLAcct": null,
                      "DbtGLAcct": null,
                      "DbtRetgGLAcct": null,
                      "CrdRetgGSTGLAcct": null
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "TimecardEntry": {
        "type": "object",
        "properties": {
          "id": {
            "allOf": [
              {
                "description": "The UUID of the Timecard Entry assigned by Agave."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "source_id": {
            "type": "string",
            "readOnly": true,
            "example": "12345",
            "description": "The ID of the Timecard Entry in the Source System."
          },
          "asset_hours": {
            "type": "string",
            "example": "2.0",
            "description": "The number of hours attributed to asset usage on the Timecard Entry."
          },
          "asset_id": {
            "allOf": [
              {
                "description": "The Agave UUID of the [Asset](#tag--assets) associated with the Timecard Entry."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "batch": {
            "type": "string",
            "description": "The batch the Timecard Entry is associated with.",
            "example": "4"
          },
          "cost_code_id": {
            "allOf": [
              {
                "description": "The Agave UUID of the [Cost Code](#tag--cost-codes) associated with the Timecard Entry."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "cost_type_id": {
            "allOf": [
              {
                "description": "The Agave UUID of the [Cost Type](#tag--cost-types) associated with the Timecard Entry."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "date": {
            "allOf": [
              {
                "description": "The date associated with the Timecard Entry"
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ]
          },
          "description": {
            "type": "string",
            "description": "The description of the Timecard Entry.",
            "example": "Cleanup for the first week of January"
          },
          "earnings_type": {
            "type": "string",
            "description": "The type of earnings associated with the Timecard Entry (e.g. hourly, overtime).\n\n**Note for Foundation**: possible values for this field can be found in the \"description\" column of the `earn_types` table.\n\n**Note for Sage 100 C:** possible values include \"Sick\", \"Premium\", \"Regular\", \"Misc. Pay\", \"Holiday\", \"Vacation\", \"Per Diem\", \"Overtime\", and \"Piece\"\n\n**Note for ServiceTitan:** possible values include \"Regular\" , \"Overtime\" , \"DoubleOvertime\" , and \"PaidTimeOff\"\n",
            "example": "Hourly"
          },
          "employee_id": {
            "allOf": [
              {
                "description": "The Agave UUID of the [Employee](#tag--employees) associated with the Timecard Entry."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "end_time_of_day": {
            "type": "string",
            "description": "The end time of the Timecard Entry period (no date component or time offset -- hh:mm).",
            "example": "18:00"
          },
          "hours": {
            "type": "string",
            "description": "The number of hours associated with the Timecard Entry",
            "example": "8.0"
          },
          "payment_rate": {
            "type": "string",
            "description": "The hourly pay rate associated with the Timecard Entry.",
            "example": "10.0"
          },
          "project_id": {
            "allOf": [
              {
                "description": "The Agave UUID of the [Project](#tag--projects) associated with the Timecard Entry."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "start_time_of_day": {
            "type": "string",
            "description": "The start time of the Timecard Entry period (no date component or time offset -- hh:mm).",
            "example": "10:00"
          },
          "status": {
            "type": "string",
            "description": "The status of the Timecard Entry.\n\n**Note for Foundation**: valid enums include \"Draft\", \"Pending\", and \"Posted\".\n\n**Note for Sage 100 C**: valid enums include \"Pending\".\n\n**Note for ServiceTitan**: valid enums include \"Approved\".\n\n**Note for Viewpoint Spectrum**: valid enums include \"Imported\", \"Draft\", \"Pending\", and \"Posted\".\n      \n**Note for Viewpoint Vista**: valid enums include \"Pending\" and \"Posted\".\n",
            "example": "Pending"
          },
          "sub_job_id": {
            "allOf": [
              {
                "description": "The Agave UUID of the [Sub Job](#tag--sub-jobs) associated with the Timecard Entry."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "type": {
            "type": "string",
            "description": "The type of Timecard Entry.\n\n**Note for Foundation**: possible values include \"Additional\", \"Non-monetary Fringe\", \"Overtime\", \"Time-off\", and \"Wage\".\n\n**Note for ServiceTitan**: possible values include \"InvoiceRelatedBonus , \"TimesheetTime\" , \"CustomBonus\" , \"Salary\" , \"Reimbursement\"\n\n**Note for Viewpoint Vista**: valid enums include \"Job\" and \"Mechanic\".\n\n**Note for Viewpoint Spectrum**: valid enums found [here.](https://support.agaveapi.com/how-are-spectrum-timecards-mapped-to-the-unified-model#pay-type-mappings)\n",
            "example": "Job"
          },
          "source_create_time": {
            "allOf": [
              {
                "description": "The datetime the Timecard Entry was created in the Source System."
              },
              {
                "$ref": "#/components/schemas/DateTimeProperty"
              }
            ]
          },
          "source_update_time": {
            "allOf": [
              {
                "description": "The datetime the Timecard Entry was last updated in the Source System."
              },
              {
                "$ref": "#/components/schemas/DateTimeProperty"
              }
            ]
          }
        }
      },
      "TimecardEntry-2": {
        "allOf": [
          {
            "$ref": "#/components/schemas/TimecardEntry"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "https://mobtest.cmiccloudr12.com/cmictestrti/hcm-rest-api/rest/1/pyemptimesheet?offset=0&limit=50&q=TshEmpNo%3D1010%3BTshCompCode%3D001"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "TshCatexpId": "L",
                      "TshCompCode": "001",
                      "TshDate": "2015-02-04",
                      "TshDocumentNo": "03SM2015",
                      "TshDotHours": 0,
                      "TshEmpNo": "1010",
                      "TshJobdeptwoId": "14001",
                      "TshNormalHours": 8,
                      "TshOhType": null,
                      "TshOtHours": 0,
                      "TshOtherHours": 0,
                      "TshPhsacctwiId": "01340",
                      "TshPprPeriod": 3,
                      "TshPprYear": 2015,
                      "TshPrnCode": "SM",
                      "TshSeqNo": 63377,
                      "TshTypeCode": "J",
                      "TshVUuid": "B41F556BEA9EA908E053B08610AC2C73",
                      "TshWcbCode": "5510",
                      "TshWorkCompCode": "001",
                      "TshUserField3": "01340",
                      "TshUserField2": "14001",
                      "TshUserField1": "001",
                      "TshUnionCode": null,
                      "TshTradeCode": "DIR2",
                      "TshShiftCode": null,
                      "TshSectorCode": null,
                      "TshScheduleCode": null,
                      "TshExpAmount": null,
                      "TshExpCode": null,
                      "TshExpQuantity": null,
                      "TshExpRate": null,
                      "TshBatchPostFlag": null,
                      "TshWbsvCode1": null,
                      "TshWbsvCode2": null,
                      "TshWbsvCode3": null,
                      "TshWbsvCode4": null,
                      "TshIuCreateDate": "2015-05-25T14:33:09-04:00",
                      "TshIuUpdateDate": "2015-05-25T14:37:01-04:00",
                      "TshIuLastUpdateDate": "2015-05-25T14:37:01-04:00",
                      "TshUserField5": null,
                      "TshUserField6": null,
                      "TshUserField7": null,
                      "TshUserField8": null,
                      "TshPciLineUuid": null,
                      "TshWbsSetupFlag": "Y",
                      "links": [
                        {
                          "rel": "self",
                          "href": "http://mobtest.cmiccloudr12.com:80/cmictestrti/hcm-rest-api/rest/1/pyemptimesheet/B41F556BEA9EA908E053B08610AC2C73",
                          "name": "pyemptimesheet",
                          "kind": "item"
                        },
                        {
                          "rel": "canonical",
                          "href": "http://mobtest.cmiccloudr12.com:80/cmictestrti/hcm-rest-api/rest/1/pyemptimesheet/B41F556BEA9EA908E053B08610AC2C73",
                          "name": "pyemptimesheet",
                          "kind": "item"
                        }
                      ]
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "TimecardEntry-3": {
        "allOf": [
          {
            "$ref": "#/components/schemas/TimecardEntry"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The SQL path on the Source System.",
                    "example": "select * [time_cards].*, [earn_types].[description] as [earnings_description], [earn_types].[earn_type_flag] from [time_cards] left join [earn_types] on [earn_types].[earn_type_no] = [time_cards].[earn_type_no] and [earn_types].[company_no] = [time_cards].[company_no] where [time_cards].[company_no] = 1 and [time_cards].[record_status] = 'A' order by [time_cards].[row_unique_id] asc"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "company_no": 12345,
                      "timecard_type": "A",
                      "transaction_no": 12345,
                      "line_no": 1,
                      "employee_no": "       195",
                      "pay_period_no": "2",
                      "dated": "2022-01-01 00:00:00.000",
                      "job_no": "       100",
                      "phase_no": "         1",
                      "cost_code_no": "     30000",
                      "cost_class_no": "    1",
                      "hours": "8.0000",
                      "amount": ".00",
                      "earn_type_no": "REG",
                      "pay_rate": "100.00000",
                      "trade_no": "  100",
                      "union_no": null,
                      "tax_pr_no": "1.25 LOCAL",
                      "state": null,
                      "county_no": null,
                      "shift_no": "    1",
                      "dept_no": null,
                      "gl_expense": null,
                      "gl_payable": null,
                      "gl_burden_expense": null,
                      "equipment_no": null,
                      "equip_bill_rate": ".0000",
                      "equip_ownership": "O",
                      "equip_usage_type": "U",
                      "suta_state": "MD",
                      "pay_code": null,
                      "gl_equip_expense": null,
                      "gl_equip_cr": null,
                      "county_pr_no": null,
                      "cost_code_cert": "Y",
                      "add_equip": "N",
                      "crew_no": null,
                      "div_level_1": null,
                      "div_level_2": null,
                      "div_level_3": null,
                      "div_level_4": null,
                      "user_no": "John_Doe",
                      "record_status": "A",
                      "row_modified_by": "John_Doe",
                      "row_modified_on": "2022-01-01 00:00:00.000",
                      "row_unique_id": 2850,
                      "design_type": 101,
                      "equip_unit_type": "H",
                      "jc_quantity": ".0000000",
                      "company_id": "1",
                      "cost_class_id": "1",
                      "cost_code_id": "30000",
                      "county_id": null,
                      "county_pr_id": null,
                      "crew_id": null,
                      "dept_id": null,
                      "earn_type_id": "REG",
                      "employee_id": "195",
                      "equipment_id": null,
                      "job_id": "100",
                      "line_id": "1",
                      "pay_period_id": "2",
                      "phase_id": "1",
                      "shift_id": "1",
                      "tax_pr_id": "1.25 LOCAL",
                      "trade_id": "100",
                      "transaction_id": "635",
                      "union_id": null,
                      "user_id": "John_Doe",
                      "eq_wo_no": null,
                      "service_code_no": null,
                      "eq_wo_id": null,
                      "service_code_id": null,
                      "description": null,
                      "delivery_time": null,
                      "delivery_time_type": "M",
                      "delivery_time_military": null,
                      "end_time": null,
                      "end_time_type": "M",
                      "end_time_military": null,
                      "tm_pr_gathered": "N",
                      "tm_pr_worksheet_no": null,
                      "tm_pr_worksheet_id": null,
                      "tm_pr_markup_category": null,
                      "tm_pr_markup_line": null,
                      "tm_pr_inv_row_unique_id": null,
                      "tm_eq_gathered": "N",
                      "tm_eq_worksheet_no": null,
                      "tm_eq_worksheet_id": null,
                      "tm_eq_markup_category": null,
                      "tm_eq_markup_line": null,
                      "tm_eq_inv_row_unique_id": null,
                      "payment_group_no": null,
                      "crew_no_hdr": null,
                      "payment_group_id": null,
                      "rate_difference": ".00000",
                      "group_row": 0,
                      "original_pay_period_start_date": null,
                      "original_pay_period_end_date": null,
                      "void_timecard_xref": null,
                      "source": "TC",
                      "tc_recur_type_no": null,
                      "tc_recur_type_id": null,
                      "ot_rate_rounded": "N",
                      "user_chg_rounded": "N",
                      "tc_tracking_id": 1,
                      "emp_pay_rate_id": null,
                      "trade_pay_rate_id": null,
                      "earnings_description": "REGULAR WAGES",
                      "earn_type_flag": "W"
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "TimecardEntry-4": {
        "allOf": [
          {
            "$ref": "#/components/schemas/TimecardEntry"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "https://api.procore.com/rest/v1.0/projects/{projectId}}/timecard_entries"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "id": 123459989896938,
                      "approval_status": "pending",
                      "approved_by": null,
                      "billable": true,
                      "clock_in_time": null,
                      "clock_out_time": null,
                      "completed_by": null,
                      "cost_code": {
                        "id": 562950131136815,
                        "biller_id": 562949954150157,
                        "biller_type": "Project",
                        "code": "001000",
                        "created_at": "2022-01-01T00:00:00Z",
                        "deleted_at": null,
                        "full_code": "00-001000",
                        "long_name": "00-001000 - Solicitation",
                        "name": "Solicitation",
                        "parent_id": 562950131135516,
                        "position": null,
                        "sortable_code": "00-001000",
                        "standard_cost_code_id": null,
                        "updated_at": "2023-03-09T03:00:13Z"
                      },
                      "created_at": "022-01-01T00:00:00Z",
                      "created_by": {
                        "id": 10752339,
                        "login": "contact@agaveapitest.com",
                        "name": "John Doe"
                      },
                      "crew": null,
                      "custom_fields": [],
                      "date": "2022-01-01",
                      "datetime": "2022-01-01T00:00:00Z",
                      "deleted_at": null,
                      "description": "Daily timecard entry",
                      "hours": "5.0",
                      "in_progress": false,
                      "injured": null,
                      "line_item_type_id": 562949953569889,
                      "location": null,
                      "login_information": {
                        "id": 11280632,
                        "login": "contact@agaveapitest.com",
                        "name": "John Doe"
                      },
                      "lunch_start_time": null,
                      "lunch_stop_time": null,
                      "lunch_time": null,
                      "lunch_time_start_time": null,
                      "lunch_time_stop_time": null,
                      "origin_data": null,
                      "origin_id": null,
                      "party": {
                        "id": 562949963012115,
                        "employee_id": "123456789",
                        "first_name": "John",
                        "is_employee": true,
                        "last_name": "Doe",
                        "name": "John Doe",
                        "user_id": 11280632,
                        "work_classification": null
                      },
                      "permissions": {
                        "can_update": true,
                        "can_delete": true
                      },
                      "procore_signature_id": null,
                      "project_id": "562949954150157",
                      "reviewed_by": null,
                      "signature": null,
                      "sub_job": null,
                      "time_in": null,
                      "time_out": null,
                      "time_type_modified_against_overtime_ruleset": false,
                      "timecard_time_type": {
                        "id": 562949953579363,
                        "abbreviated_time_type": "OVE",
                        "company_id": 562949953442223,
                        "global": null,
                        "pay_rate": null,
                        "time_type": "Overtime"
                      },
                      "timesheet": null,
                      "timesheet_status": null,
                      "updated_at": "022-01-01T00:00:00Z",
                      "wbs_code": {
                        "company_id": 562949953442223,
                        "cost_code": {
                          "id": 562950131136815,
                          "budgeted": false,
                          "name": "Solicitation",
                          "sortable_code": "00-001000"
                        },
                        "deleted_at": null,
                        "description": "Test",
                        "flat_code": "00-001000.1",
                        "flat_name": "Solicitation.Labor",
                        "id": 435319139,
                        "line_item_type": {
                          "id": 562949953569889,
                          "base_type": "labor",
                          "code": "1",
                          "name": "Labor",
                          "origin_data": null,
                          "origin_id": null
                        },
                        "project_id": 562949954150157,
                        "sub_job": null,
                        "updated_at": "2022-01-01T00:00:00Z"
                      },
                      "wbs_code_id": 435319139,
                      "work_classification": null,
                      "work_classification_id": null
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "TimecardEntry-5": {
        "allOf": [
          {
            "$ref": "#/components/schemas/TimecardEntry"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "https://sandbox-quickbooks.api.intuit.com/v3/company/4620816365243668480/query?query=select+%2A+from+TimeActivity+STARTPOSITION+1+MAXRESULTS+100"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "TxnID": "135-852462460",
                      "TimeCreated": "1997-01-05T03:07:40-08:00",
                      "TimeModified": "2025-12-15T02:03:37-08:00",
                      "EditSequence": "1765793017",
                      "TxnNumber": "0",
                      "TxnDate": "2019-12-25",
                      "EntityRef": {
                        "ListID": "1B0000-852462244",
                        "FullName": "Pepper, Chris"
                      },
                      "CustomerRef": {
                        "ListID": "90000-852380810",
                        "FullName": "Campbell, Heather:House-New Construction"
                      },
                      "ItemServiceRef": {
                        "ListID": "90000-852377673",
                        "FullName": "05 Masonry"
                      },
                      "Duration": "PT8H0M",
                      "PayrollItemWageRef": {
                        "ListID": "C0000-852378464",
                        "FullName": "5028 - Masonry"
                      },
                      "BillableStatus": "Billable"
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "TimecardEntry-6": {
        "allOf": [
          {
            "$ref": "#/components/schemas/TimecardEntry"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "https://sandbox-quickbooks.api.intuit.com/v3/company/4620816365243668480/query?query=select+%2A+from+TimeActivity+STARTPOSITION+1+MAXRESULTS+100"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "TxnDate": "2022-01-01",
                      "NameOf": "Employee",
                      "EmployeeRef": {
                        "value": "115567",
                        "name": "Test Employee"
                      },
                      "CustomerRef": {
                        "value": "115821",
                        "name": "Test Customer"
                      },
                      "ItemRef": {
                        "value": "2",
                        "name": "Hours"
                      },
                      "BillableStatus": "NotBillable",
                      "Taxable": false,
                      "HourlyRate": 0,
                      "Hours": 8,
                      "Minutes": 0,
                      "domain": "QBO",
                      "sparse": false,
                      "Id": "306",
                      "SyncToken": "0",
                      "MetaData": {
                        "CreateTime": "2023-11-13T12:35:35-08:00",
                        "LastUpdatedTime": "2023-11-13T12:35:35-08:00"
                      }
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "TimecardEntry-7": {
        "allOf": [
          {
            "$ref": "#/components/schemas/TimecardEntry"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The SQL path on the Source System.",
                    "example": "select top 10 [dlypyr].*, [paytyp].[typnme] from [dlypyr] left join [paytyp] on [paytyp].[recnum] = [dlypyr].[paytyp] order by [dlypyr].[paydte] asc, [dlypyr].[linnum] asc"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "_idnum": "50958935-899F-E511-B83D-005056C00008",
                      "paydte": "2022-01-01T00:00:00.000Z",
                      "linnum": 1000,
                      "empnum": "9",
                      "dscrpt": "Cleanup for the first week of January",
                      "wrkord": "",
                      "jobnum": "207",
                      "eqpnum": null,
                      "loctax": null,
                      "crtfid": "Y",
                      "phsnum": "0",
                      "cstcde": "3300.000",
                      "paytyp": 1,
                      "paygrp": 7,
                      "payrte": "10.0000",
                      "payhrs": "8.00",
                      "pcerte": ".0000",
                      "pieces": ".00",
                      "cmpcde": 5213,
                      "dptmnt": "1",
                      "opreqp": null,
                      "eqpunt": 0,
                      "oprhrs": ".00",
                      "stdhrs": ".00",
                      "idlhrs": ".00",
                      "bllunt": 0,
                      "oprbll": ".00",
                      "stdbll": ".00",
                      "idlbll": ".00",
                      "usrdf1": "",
                      "ntetxt": "",
                      "absnce": null,
                      "lineid": "B2F0DE85A8EF4D94890C56E63DB13F30",
                      "insdte": "2022-01-01T00:00:00.000Z",
                      "insusr": "Bob",
                      "upddte": "2022-01-01T00:00:00.000Z",
                      "updusr": "CORP\\sage100c-customers",
                      "typnme": "Regular"
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "TimecardEntry-8": {
        "allOf": [
          {
            "$ref": "#/components/schemas/TimecardEntry"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "https://api.intacct.com/ia/xml/xmlgw.phtml"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "TIMESHEETENTRY.TIMESHEETKEY": "12345",
                      "TIMESHEETENTRY.DESCRIPTION": "Cleanup for the first week of January",
                      "TIMESHEETENTRY.ENTRYDATE": "01/01/2022",
                      "TIMESHEETENTRY.QTY": "8.0",
                      "STATE": "Draft",
                      "LINENO": "12345",
                      "TASKID": "08.79.00",
                      "COSTTYPEID": "LAB",
                      "EMPLOYEEID": "A123",
                      "EXTCOSTRATE": "10.0",
                      "TIMETYPE_EARNINGTYPEKEY": "HOURLY",
                      "TIMESHEETENTRY.WHENCREATED": "01/01/2022",
                      "TIMESHEETENTRY.WHENMODIFIED": "01/01/2022",
                      "TIMETYPE_EARNINGTYPEKEY_DESCRIPTION": null
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "TimecardEntry-9": {
        "allOf": [
          {
            "$ref": "#/components/schemas/TimecardEntry"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The API path on the Source System.",
                    "example": "https://api-integration.servicetitan.io/payroll/v2/tenant/986142371/gross-pay-items"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "id": null,
                      "employeeId": 3577473,
                      "employeeType": "Technician",
                      "businessUnitName": "HVAC California",
                      "payrollId": 3746831,
                      "employeePayrollId": "1",
                      "date": "2024-10-28T00:00:00Z",
                      "activity": "Driving",
                      "activityCodeId": null,
                      "activityCode": null,
                      "amount": 0,
                      "amountAdjustment": null,
                      "payoutBusinessUnitName": "Service California",
                      "grossPayItemType": "TimesheetTime",
                      "startedOn": "2024-10-28T13:14:00Z",
                      "endedOn": "2024-10-28T15:45:00Z",
                      "paidDurationHours": null,
                      "paidTimeType": null,
                      "jobId": 3746345,
                      "jobNumber": "3746345",
                      "jobTypeName": "HVAC Install",
                      "projectNumber": null,
                      "projectId": null,
                      "invoiceId": 3746348,
                      "invoiceNumber": "3746345",
                      "invoiceItemId": null,
                      "customerId": 3558033,
                      "customerName": "Brentwood Residences",
                      "locationId": 3558039,
                      "locationName": "Brentwood Residences",
                      "locationAddress": "123 Main Street #Floor 2, AnyTown, CA 19703 USA",
                      "locationZip": "19703",
                      "zoneName": null,
                      "taxZoneName": null,
                      "laborTypeId": 3427081,
                      "laborTypeCode": "JRNY",
                      "isPrevailingWageJob": false,
                      "agave:status": "Approved",
                      "agave:department_id": "3020417"
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "TimecardEntry-10": {
        "allOf": [
          {
            "$ref": "#/components/schemas/TimecardEntry"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The SQL path on the Source System.",
                    "example": "select * from [PRTB] where [PRTB].[JCCo] = 12345"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "Co": "12345",
                      "Mth": "2022-01-01 00:00:00",
                      "BatchId": "4",
                      "BatchSeq": "1",
                      "BatchTransType": "A",
                      "Employee": "1",
                      "PaySeq": "1",
                      "PostSeq": null,
                      "Type": "J",
                      "DayNum": "1",
                      "PostDate": "2022-01-01 00:00:00",
                      "JCCo": "12345",
                      "Job": " A123",
                      "PhaseGroup": "12345",
                      "Phase": "03.00.00",
                      "GLCo": "12345",
                      "EMCo": null,
                      "WO": null,
                      "WOItem": null,
                      "Equipment": null,
                      "EMGroup": null,
                      "CostCode": null,
                      "CompType": null,
                      "Component": null,
                      "RevCode": null,
                      "EquipCType": null,
                      "UsageUnits": null,
                      "TaxState": null,
                      "LocalCode": null,
                      "UnempState": "CA",
                      "InsState": "CA",
                      "InsCode": "12345",
                      "PRDept": "1",
                      "Crew": "1",
                      "Cert": "Y",
                      "Craft": "1",
                      "Class": "1",
                      "EarnCode": "1",
                      "Shift": "1",
                      "Hours": ".00",
                      "Rate": "10.0000",
                      "Amt": ".00",
                      "OldEmployee": null,
                      "OldPaySeq": null,
                      "OldPostSeq": null,
                      "OldType": null,
                      "OldPostDate": null,
                      "OldJCCo": null,
                      "OldJob": null,
                      "OldPhaseGroup": null,
                      "OldPhase": null,
                      "OldGLCo": null,
                      "OldEMCo": null,
                      "OldWO": null,
                      "OldWOItem": null,
                      "OldEquipment": null,
                      "OldEMGroup": null,
                      "OldCostCode": null,
                      "OldCompType": null,
                      "OldComponent": null,
                      "OldRevCode": null,
                      "OldEquipCType": null,
                      "OldUsageUnits": null,
                      "OldTaxState": null,
                      "OldLocalCode": null,
                      "OldUnempState": null,
                      "OldInsState": null,
                      "OldInsCode": null,
                      "OldPRDept": null,
                      "OldCrew": null,
                      "OldCert": null,
                      "OldCraft": null,
                      "OldClass": null,
                      "OldEarnCode": null,
                      "OldShift": null,
                      "OldHours": null,
                      "OldRate": null,
                      "OldAmt": null,
                      "Memo": null,
                      "OldMemo": null,
                      "UniqueAttchID": null,
                      "EquipPhase": null,
                      "OldEquipPhase": null,
                      "KeyID": "1",
                      "SMCo": null,
                      "SMWorkOrder": null,
                      "SMScope": null,
                      "SMPayType": null,
                      "OldSMCo": null,
                      "OldSMWorkOrder": null,
                      "OldSMScope": null,
                      "OldSMPayType": null,
                      "SMCostType": null,
                      "OldSMCostType": null,
                      "SMJCCostType": null,
                      "OldSMJCCostType": null,
                      "EquipSMCostType": null,
                      "OldEquipSMCostType": null,
                      "StartTime": null,
                      "StopTime": null,
                      "BreakHours": ".00",
                      "OldStartTime": null,
                      "OldStopTime": null,
                      "OldBreakHours": null,
                      "FieldTicket": null,
                      "OldFieldTicket": null,
                      "AutoOTLevel": null,
                      "CrewTemplateID": null,
                      "encoded_source_id": "Mth=2022-01-01 00:00:00|BatchId=4|BatchSeq=1"
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "TimecardEntry-11": {
        "type": "object",
        "properties": {
          "id": {
            "allOf": [
              {
                "description": "The UUID of the Timecard Entry assigned by Agave."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "source_id": {
            "type": "string",
            "readOnly": true,
            "example": "Check_Sequence_Number=1|Employee_Code=     ABBTED|System_Key=2023102519103500031558",
            "description": "The ID of the Timecard Entry in the Source System."
          },
          "asset_hours": {
            "type": "string",
            "example": "2.0",
            "description": "The number of hours attributed to asset usage on the Timecard Entry."
          },
          "asset_id": {
            "allOf": [
              {
                "description": "The Agave UUID of the [Asset](#tag--assets) associated with the Timecard Entry."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "batch": {
            "type": "string",
            "description": "The batch the Timecard Entry is associated with.",
            "example": "4"
          },
          "cost_code_id": {
            "allOf": [
              {
                "description": "The Agave UUID of the [Cost Code](#tag--cost-codes) associated with the Timecard Entry."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "cost_type_id": {
            "allOf": [
              {
                "description": "The Agave UUID of the [Cost Type](#tag--cost-types) associated with the Timecard Entry."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "date": {
            "allOf": [
              {
                "description": "The date associated with the Timecard Entry"
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ],
            "example": "2022-01-01"
          },
          "description": {
            "type": "string",
            "description": "The description of the Timecard Entry.",
            "example": "Cleanup for the first week of January"
          },
          "employee_id": {
            "allOf": [
              {
                "description": "The Agave UUID of the [Employee](#tag--employees) associated with the Timecard Entry."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "hours": {
            "type": "string",
            "description": "The number of hours associated with the Timecard Entry",
            "example": "8.00"
          },
          "payment_rate": {
            "type": "string",
            "description": "The hourly pay rate associated with the Timecard Entry.",
            "example": "10.0"
          },
          "project_id": {
            "allOf": [
              {
                "description": "The Agave UUID of the [Project](#tag--projects) associated with the Timecard Entry."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "status": {
            "type": "string",
            "description": "The status of the Timecard Entry.\n\n**Note for Viewpoint Vista**: valid enums include \"Pending\" and \"Posted\".\n\n**Note for Viewpoint Spectrum**: valid enums include \"Imported\", \"Draft\", \"Pending\", and \"Posted\".\n",
            "example": "Draft"
          },
          "type": {
            "type": "string",
            "description": "The type of Timecard Entry.\n\n**Note for Viewpoint Vista**: valid enums include \"Job\" and \"Mechanic\".\n\n**Note for Viewpoint Spectrum**: valid enums found [here.](https://hubspot.agaveapi.dev/how-are-spectrum-timecards-mapped-to-the-unified-model#pay-type-mappings)\n",
            "example": "Equipment Regular Hours"
          },
          "source_create_time": {
            "allOf": [
              {
                "description": "The datetime the Timecard Entry was created in the Source System."
              },
              {
                "$ref": "#/components/schemas/DateTimeProperty"
              }
            ]
          },
          "source_update_time": {
            "allOf": [
              {
                "description": "The datetime the Timecard Entry was last updated in the Source System."
              },
              {
                "$ref": "#/components/schemas/DateTimeProperty"
              }
            ]
          },
          "source_data": {
            "type": "object",
            "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
            "properties": {
              "path": {
                "type": "string",
                "description": "The SQL path on the Source System.",
                "example": "select top 10 [PR_PRE_TIME_CARD_MC].*, [PR_VOL_DEDUCT_MASTER_MC].[Vol_Deduct_Description] as [AddOn_Deduction_Description] from [PR_PRE_TIME_CARD_MC] left join [PR_VOL_DEDUCT_MASTER_MC] on [PR_VOL_DEDUCT_MASTER_MC].[Company_Code] = [PR_PRE_TIME_CARD_MC].[Company_Code] and [PR_VOL_DEDUCT_MASTER_MC].[Vol_Deduct_Code] = [PR_PRE_TIME_CARD_MC].[Pay_Type] where [PR_PRE_TIME_CARD_MC].[Company_Code] = 'CCD' order by [PR_PRE_TIME_CARD_MC].[System_Key] asc"
              },
              "content_type": {
                "type": "string",
                "description": "The content type of the Source Data.",
                "example": "application/json"
              },
              "data": {
                "type": "string",
                "description": "The raw data from the Source System.",
                "example": {
                  "Company_Code": "CCD",
                  "Employee_Code": "     ABBTED",
                  "Check_Sequence_Number": "1",
                  "System_Key": "2023102519103500031558",
                  "Check_Type": "R",
                  "Check_Number": "",
                  "Pay_Type": "ER",
                  "Day_Of_Week": "",
                  "Union_Code": "120ELE",
                  "Certified_Flag": "N",
                  "Hours": "8.00",
                  "Pay_Rate_Code": "1",
                  "Pay_Rate": "26.050",
                  "Pay_Extension": "208.40",
                  "Department_Code": "5050",
                  "Job_Number": "    ES1905",
                  "Phase_Code": "0070",
                  "Cost_Type": "L",
                  "Burden_Amount": ".00",
                  "Worker_Comp_Code": "MECH",
                  "Update_Flag": "",
                  "Equipment_Code": "      SB01",
                  "Cost_Category_Code": "",
                  "Equipment_Hours": "2.00",
                  "Equipment_Rate": "40.000",
                  "Wage_Code": "A2",
                  "Batch_Code": "4",
                  "Bill_Rate": ".000",
                  "Equipment_Bill_Rate": ".000",
                  "Labor_Bill_Code": "",
                  "Equipment_Bill_Code": "",
                  "Company_Code_2": "CCD",
                  "Day_Of_Month": "2022-01-01 00:00:00.000",
                  "TM_Update_Flag": "",
                  "State": "WA",
                  "Work_County": "",
                  "Work_Locality": "",
                  "Message": "",
                  "Union_Fringe": ".00",
                  "Worker_Comp_Burden": ".00",
                  "Worker_Comp_Deduct": ".00",
                  "PM_Work_Order": "",
                  "Equipment_Rate_Type": "O",
                  "Certified_Job_Number": "",
                  "Status_Flag": "",
                  "Incentive_Pay_Flag": "",
                  "Prevailing_Wage_Rate": ".000",
                  "Repl_Check_Flag": "",
                  "Union_Fringe_Parts1": ".00",
                  "Union_Fringe_Parts2": ".00",
                  "Union_Fringe_Parts3": ".00",
                  "Union_Fringe_Parts4": ".00",
                  "Union_Fringe_Parts5": ".00",
                  "Union_Fringe_Parts6": ".00",
                  "Union_Fringe_Parts7": ".00",
                  "Union_Fringe_Parts8": ".00",
                  "Crew_Number": "",
                  "Cost_Center": "1020",
                  "Cash_Cost_Center": "",
                  "Bank_Account": "",
                  "WO_Number": "",
                  "WO_Equipment": "",
                  "WO_Component": "",
                  "SC_Contract": "",
                  "Control_Code": "",
                  "Billing_Flag": "",
                  "WO_Labor_Bill_Code": "",
                  "TM_Labor_Billing_Code": "",
                  "TM_Labor_Billing_Level": "",
                  "TM_Equipment_Billing_Code": "",
                  "TM_Equipment_Billing_Level": "",
                  "Related_State_Tax_Code1": "",
                  "Related_State_Tax_Code2": "",
                  "Related_State_Tax_Code3": "",
                  "Related_State_Tax_Code4": "",
                  "Related_State_Tax_Code5": "",
                  "Related_County_Tax_Code1": "",
                  "Related_County_Tax_Code2": "",
                  "Related_County_Tax_Code3": "",
                  "Related_County_Tax_Code4": "",
                  "Related_County_Tax_Code5": "",
                  "Related_Locality_Tax_Code1": "",
                  "Related_Locality_Tax_Code2": "",
                  "Related_Locality_Tax_Code3": "",
                  "Related_Locality_Tax_Code4": "",
                  "Related_Locality_Tax_Code5": "",
                  "AddOn_Deduction_Description": null
                }
              }
            }
          }
        }
      },
      "NewTimecardEntry": {
        "required": [
          "employee_id",
          "earnings_type"
        ],
        "type": "object",
        "properties": {
          "asset_id": {
            "allOf": [
              {
                "description": "The Agave UUID of the [Asset](#tag--assets) associated with the Timecard Entry."
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          },
          "cost_code_id": {
            "allOf": [
              {
                "description": "The Agave UUID of the [Cost Code](#tag--cost-codes) associated with the Timecard Entry."
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          },
          "date": {
            "allOf": [
              {
                "description": "The date associated with the Timecard Entry"
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ],
            "example": "2022-01-01"
          },
          "description": {
            "type": "string",
            "description": "The description of the Timecard Entry.",
            "example": "Cleanup for the first week of January"
          },
          "earnings_type": {
            "type": "string",
            "description": "The earnings type of the Timecard Entry.\n\n**Note for Foundation**: possible values for this field can be found in the \"description\" column of the `earn_types` table, which requires a passthrough request. To learn more about passthrough requests, see [link](/agave-api/passthrough-requests#foundation-viewpoint-spectrum-and-viewpoint-vista).\n",
            "example": "Regular Time"
          },
          "employee_id": {
            "allOf": [
              {
                "description": "The Agave UUID of the [Employee](#tag--employees) associated with the Timecard Entry."
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          },
          "end_time_of_day": {
            "type": "string",
            "description": "The end time of the Timecard Entry period (no date component or time offset -- hh:mm).",
            "example": "18:00"
          },
          "hours": {
            "type": "string",
            "description": "The number of hours associated with the Timecard Entry\n\n**Note for Foundation**: one of `hours` or `payment_rate` must be non-zero.\n",
            "example": "8.00"
          },
          "payment_rate": {
            "type": "string",
            "description": "The hourly pay rate associated with the Timecard Entry.\n\n**Note for Foundation**: one of `payment_rate` or hours must be non-zero.\n",
            "example": "10.0"
          },
          "start_time_of_day": {
            "type": "string",
            "description": "The start time of the Timecard Entry period (no date component or time offset -- hh:mm).",
            "example": "10:00"
          },
          "sub_job_id": {
            "allOf": [
              {
                "description": "The Agave UUID of the [Sub Job](#tag--sub-jobs) associated with the Timecard Entry."
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          }
        }
      },
      "NewTimecardEntry-2": {
        "required": [
          "employee_id",
          "date"
        ],
        "type": "object",
        "properties": {
          "date": {
            "allOf": [
              {
                "description": "The date associated with the Timecard Entry"
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ]
          },
          "description": {
            "type": "string",
            "description": "The description of the Timecard Entry.",
            "example": "Cleanup for the first week of January"
          },
          "employee_id": {
            "allOf": [
              {
                "description": "The Agave UUID of the [Employee](#tag--employees) associated with the Timecard Entry."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "end_time_of_day": {
            "type": "string",
            "description": "The end time of the Timecard Entry period (no date component or time offset -- hh:mm).",
            "example": "18:00"
          },
          "hours": {
            "type": "string",
            "description": "The number of hours associated with the Timecard Entry",
            "example": "8.0"
          },
          "start_time_of_day": {
            "type": "string",
            "description": "The start time of the Timecard Entry period (no date component or time offset -- hh:mm).",
            "example": "10:00"
          },
          "source_data": {
            "type": "object",
            "description": "Optional. The Source Data as we interact with it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
            "properties": {
              "CustomerRef": {
                "type": "string",
                "description": "The associated Customer record (this can represent a project/job in QBO).",
                "example": {
                  "name": "Test Customer",
                  "value": "115567"
                }
              }
            }
          }
        }
      },
      "NewTimecardEntry-3": {
        "required": [
          "employee_id",
          "date"
        ],
        "type": "object",
        "properties": {
          "date": {
            "allOf": [
              {
                "description": "The date associated with the Timecard Entry"
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ]
          },
          "description": {
            "type": "string",
            "description": "The description of the Timecard Entry.",
            "example": "Cleanup for the first week of January"
          },
          "employee_id": {
            "allOf": [
              {
                "description": "The Agave UUID of the [Employee](#tag--employees) associated with the Timecard Entry."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "hours": {
            "type": "string",
            "description": "The number of hours associated with the Timecard Entry",
            "example": "8"
          },
          "project_id": {
            "allOf": [
              {
                "description": "The Agave UUID of the [Project](#tag--projects) associated with the Timecard Entry."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "cost_code_id": {
            "allOf": [
              {
                "description": "The Agave UUID of the [Cost Code](#tag--cost-codes) associated with the Timecard Entry."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "source_data": {
            "type": "object",
            "description": "The Source Data as we interact with it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
            "properties": {
              "PayrollItemWageRef": {
                "type": "object",
                "description": "The associated Payroll Item record.",
                "properties": {
                  "ListID": {
                    "type": "string",
                    "description": "The ListID of the Payroll Item record.",
                    "example": "C0000-852378464"
                  }
                }
              }
            }
          }
        }
      },
      "NewTimecardEntry-4": {
        "required": [
          "date"
        ],
        "type": "object",
        "properties": {
          "cost_code_id": {
            "allOf": [
              {
                "description": "The Agave UUID of the [Cost Code](#tag--cost-codes) associated with the Timecard Entry."
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          },
          "description": {
            "type": "string",
            "description": "The description of the Timecard Entry.",
            "example": "Cleanup for the first week of January"
          },
          "earnings_type": {
            "type": "string",
            "description": "The type of earnings associated with the Timecard Entry (e.g. hourly, overtime).\n\n**Note for Sage 100 C:** possible values include \"Sick\", \"Premium\", \"Regular\", \"Misc. Pay\", \"Holiday\", \"Vacation\", \"Per Diem\", \"Overtime\", and \"Piece\"\n",
            "example": "Regular"
          },
          "employee_id": {
            "allOf": [
              {
                "description": "The Agave UUID of the [Employee](#tag--employees) associated with the Timecard Entry."
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          },
          "hours": {
            "type": "string",
            "description": "The number of hours associated with the Timecard Entry",
            "example": "8.0"
          },
          "payment_rate": {
            "type": "string",
            "description": "The hourly pay rate associated with the Timecard Entry.",
            "example": "10.0"
          },
          "project_id": {
            "allOf": [
              {
                "description": "The Agave UUID of the [Project](#tag--projects) associated with the Timecard Entry."
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          }
        }
      },
      "NewTimecardEntry-5": {
        "required": [
          "date",
          "employee_id",
          "hours"
        ],
        "type": "object",
        "properties": {
          "batch": {
            "type": "string",
            "description": "The batch the Timecard Entry is associated with. \n\n**Note for Sage Intacct**: the batch number is the same as the Timesheet key.\n",
            "example": "4"
          },
          "cost_code_id": {
            "allOf": [
              {
                "description": "The Agave UUID of the [Cost Code](#tag--cost-codes) associated with the Timecard Entry."
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          },
          "cost_type_id": {
            "allOf": [
              {
                "description": "The Agave UUID of the [Cost Type](#tag--cost-types) associated with the Timecard Entry."
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          },
          "date": {
            "allOf": [
              {
                "description": "The date associated with the Timecard Entry.\n\n**Note for Sage Intacct**: depending on the Sage Intacct's Company setting, the date will need to be in the same duration as the batch's date. For example, if the batch's date is in the week of 2022-01-01 and the Company's setting is \"Weekly\", the Timecard Entry's date will need to be in the same week as the batch's date.\n"
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ]
          },
          "description": {
            "type": "string",
            "description": "The description of the Timecard Entry.",
            "example": "Cleanup for the first week of January"
          },
          "earnings_type": {
            "type": "string",
            "description": "The type of earnings associated with the Timecard Entry (e.g. hourly, overtime).\n\n**Note for Sage Intacct**: possible values for this field can be retrieved using Agave's [passthrough endpoint](https://docs.agaveapi.com/agave-api/passthrough-requests#sage-intacct) with Sage Intacct's [Earnings Type endpoint](https://developer.intacct.com/api/financials/employee-management/earnings-types/) as the request body.\n",
            "example": "Regular"
          },
          "employee_id": {
            "allOf": [
              {
                "description": "The Agave UUID of the [Employee](#tag--employees) associated with the Timecard Entry."
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          },
          "hours": {
            "type": "string",
            "description": "The number of hours associated with the Timecard Entry",
            "example": "8.0"
          },
          "project_id": {
            "allOf": [
              {
                "description": "The Agave UUID of the [Project](#tag--projects) associated with the Timecard Entry."
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          },
          "status": {
            "type": "string",
            "description": "The status of the Timecard Entry.\n\n**Note for Sage Intacct**: valid enums for POST requests include \"Draft\" and \"Submitted\".\n",
            "example": "Draft",
            "enum": [
              "Approved",
              "Declined",
              "Draft",
              "Submitted"
            ]
          }
        }
      },
      "NewTimecardEntry-6": {
        "required": [
          "cost_code_id",
          "hours",
          "employee_id",
          "type",
          "source_data"
        ],
        "type": "object",
        "properties": {
          "batch": {
            "type": "string",
            "description": "The batch the Timecard Entry is associated with.",
            "example": "4"
          },
          "cost_code_id": {
            "allOf": [
              {
                "description": "The Agave UUID of the [Cost Code](#tag--cost-codes) associated with the Timecard Entry."
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          },
          "description": {
            "type": "string",
            "description": "The description of the Timecard Entry.",
            "example": "Cleanup for the first week of January"
          },
          "earnings_type": {
            "type": "string",
            "description": "The type of earnings associated with the Timecard Entry (e.g. hourly, overtime).\n\n**Note for Viewpoint Vista:** a list of possible values for this field can be found with the \"description\" column in the `PREC` table, which requires a passthrough request. To learn more about passthrough requests, see [link](/agave-api/passthrough-requests#foundation-viewpoint-spectrum-and-viewpoint-vista).\n",
            "example": "Hourly"
          },
          "employee_id": {
            "allOf": [
              {
                "description": "The Agave UUID of the [Employee](#tag--employees) associated with the Timecard Entry."
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          },
          "end_time_of_day": {
            "type": "string",
            "description": "The end time of the Timecard Entry period (no date component or time offset -- hh:mm).",
            "example": "18:00"
          },
          "hours": {
            "type": "string",
            "description": "The number of hours associated with the Timecard Entry",
            "example": "8.0"
          },
          "project_id": {
            "allOf": [
              {
                "description": "The Agave UUID of the [Project](#tag--projects) associated with the Timecard Entry."
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          },
          "start_time_of_day": {
            "type": "string",
            "description": "The start time of the Timecard Entry period (no date component or time offset -- hh:mm).",
            "example": "10:00"
          },
          "type": {
            "type": "string",
            "description": "The type of Timecard Entry.\n",
            "example": "Job",
            "enum": [
              "Job"
            ]
          },
          "source_data": {
            "type": "object",
            "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
            "properties": {
              "Mth": {
                "allOf": [
                  {
                    "description": "The batch month for the Timecard Entry. Note, you cannot write batches to months outside of a General Ledger window that is configured for your Vista company."
                  },
                  {
                    "$ref": "#/components/schemas/DateTimeProperty"
                  },
                  {
                    "example": "2022-01-01 00:00:00"
                  }
                ]
              },
              "PaySeq": {
                "allOf": [
                  {
                    "description": "The Pay Sequence number identifies the group of earnings with which this Timecard Entry will be paid, and controls how some deductions and liabilities are calculated. \n\nNote, the Pay Sequence number must be valid for a Payroll End Date (`PREndDate`). A list of possible values for this field and PREndDate can be found with the `PRPS` table in Vista, which requires a passthrough request. To learn more about passthrough requests, see [link](/agave-api/passthrough-requests#foundation-viewpoint-spectrum-and-viewpoint-vista).\n"
                  },
                  {
                    "type": "string"
                  },
                  {
                    "example": "1"
                  }
                ]
              },
              "PREndDate": {
                "allOf": [
                  {
                    "description": "The last day of the payroll period.\n\nNote, the Payroll End Date must be valid for a Pay Sequence (`PaySeq`). A list of possible values for this field and PaySeq can be found with the `PRPS` table in Vista, which requires a passthrough request. To learn more about passthrough requests, see [link](/agave-api/passthrough-requests#foundation-viewpoint-spectrum-and-viewpoint-vista).\n"
                  },
                  {
                    "$ref": "#/components/schemas/DateTimeProperty"
                  },
                  {
                    "example": "2022-01-01 00:00:00"
                  }
                ]
              }
            }
          }
        }
      },
      "NewTimecardEntry-7": {
        "required": [
          "employee_id",
          "type",
          "date",
          "batch"
        ],
        "type": "object",
        "properties": {
          "asset_hours": {
            "type": "string",
            "example": "2.0",
            "description": "The number of hours attributed to asset usage on the Timecard Entry."
          },
          "asset_id": {
            "allOf": [
              {
                "description": "The Agave UUID of the [Asset](#tag--assets) associated with the Timecard Entry."
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          },
          "batch": {
            "type": "string",
            "description": "The batch the Timecard Entry is associated with.",
            "example": "4"
          },
          "cost_code_id": {
            "allOf": [
              {
                "description": "The Agave UUID of the [Cost Code](#tag--cost-codes) associated with the Timecard Entry."
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          },
          "cost_type_id": {
            "allOf": [
              {
                "description": "The Agave UUID of the [Cost Type](#tag--cost-types) associated with the Timecard Entry."
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          },
          "date": {
            "allOf": [
              {
                "description": "The date associated with the Timecard Entry"
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ],
            "example": "2022-01-01"
          },
          "description": {
            "type": "string",
            "description": "The description of the Timecard Entry.",
            "example": "Cleanup for the first week of January"
          },
          "employee_id": {
            "allOf": [
              {
                "description": "The Agave UUID of the [Employee](#tag--employees) associated with the Timecard Entry."
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          },
          "hours": {
            "type": "string",
            "description": "The number of hours associated with the Timecard Entry",
            "example": "8.00"
          },
          "payment_rate": {
            "type": "string",
            "description": "The hourly pay rate associated with the Timecard Entry.",
            "example": "10.0"
          },
          "project_id": {
            "allOf": [
              {
                "description": "The Agave UUID of the [Project](#tag--projects) associated with the Timecard Entry."
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          },
          "status": {
            "type": "string",
            "description": "The status of the Timecard Entry.\n\n**Note for Viewpoint Spectrum**: \"Imported\" is the only valid enum for writes.\n",
            "example": "Draft"
          },
          "type": {
            "type": "string",
            "description": "The type of Timecard Entry.\n\n**Note for Viewpoint Spectrum**: valid enums found [here.](https://hubspot.agaveapi.dev/how-are-spectrum-timecards-mapped-to-the-unified-model#pay-type-mappings) The type selected may change field requirements.\n",
            "example": "Equipment Regular Hours"
          }
        }
      },
      "WBS": {
        "type": "object",
        "properties": {
          "id": {
            "allOf": [
              {
                "description": "The UUID of the WBS assigned by Agave."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "source_id": {
            "type": "string",
            "readOnly": true,
            "example": "12345",
            "description": "The ID of the WBS in the Source System."
          },
          "code": {
            "type": "string",
            "description": "The characters for the WBS.",
            "example": "8472-001.03.30.00.0.SUB"
          },
          "name": {
            "type": "string",
            "description": "The name of the WBS.",
            "example": "Concrete - Sub Job"
          },
          "source_create_time": {
            "allOf": [
              {
                "description": "The datetime the WBS was created."
              },
              {
                "$ref": "#/components/schemas/DateTimeProperty"
              }
            ]
          },
          "source_update_time": {
            "allOf": [
              {
                "description": "The datetime the WBS was last updated."
              },
              {
                "$ref": "#/components/schemas/DateTimeProperty"
              }
            ]
          }
        }
      },
      "WBS-2": {
        "allOf": [
          {
            "$ref": "#/components/schemas/WBS"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "None - auto-generated by Agave"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {}
                  }
                }
              }
            }
          }
        ]
      },
      "NewWBS": {
        "required": [
          "code"
        ],
        "type": "object",
        "properties": {
          "code": {
            "type": "string",
            "description": "The characters for the WBS. \n\n**Note for Procore**: the WBS Code is comprised of one or more Segments Items, separated by their delimiters.\n",
            "example": "03.00.SUB"
          },
          "name": {
            "type": "string",
            "description": "The name of the WBS.",
            "example": "Concrete - Sub Job"
          }
        }
      },
      "NewWBS-2": {
        "type": "object",
        "properties": {
          "code": {
            "type": "string",
            "description": "The characters for the WBS. Note - delimiters are not included in this value.",
            "example": "0300SUB"
          },
          "name": {
            "type": "string",
            "description": "The name of the WBS.",
            "example": "Concrete - Sub Job"
          }
        }
      },
      "WBSSegment": {
        "type": "object",
        "properties": {
          "id": {
            "allOf": [
              {
                "description": "The UUID of the WBS Segment assigned by Agave."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "source_id": {
            "type": "string",
            "readOnly": true,
            "example": "12345",
            "description": "The ID of the WBS Segment in the Source System."
          },
          "delimiter": {
            "type": "string",
            "description": "The delimiter character after the WBS Segment.",
            "example": "-"
          },
          "name": {
            "type": "string",
            "description": "The name of the WBS Segment.",
            "example": "Phase"
          },
          "position": {
            "type": "integer",
            "description": "The position of the WBS Segment in the WBS.",
            "example": 1
          },
          "type": {
            "type": "string",
            "description": "The type of WBS Segment. **Note** for Autodesk Build and BIM 360, values can be \"code\", \"column\", or \"info\". For Procore, values can be \"custom\", \"cost code\", or \"cost type\". \n",
            "example": "custom"
          },
          "source_create_time": {
            "allOf": [
              {
                "description": "The datetime the WBS Segment was created."
              },
              {
                "$ref": "#/components/schemas/DateTimeProperty"
              }
            ]
          },
          "source_update_time": {
            "allOf": [
              {
                "description": "The datetime the WBS Segment was last updated."
              },
              {
                "$ref": "#/components/schemas/DateTimeProperty"
              }
            ]
          }
        }
      },
      "WBSSegment-2": {
        "allOf": [
          {
            "$ref": "#/components/schemas/WBSSegment"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "https://developer.api.autodesk.com/cost/v1/containers/{costContainerId}/templates/{templateId}/segments"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "delimiterChar": "-",
                      "id": "12345",
                      "containerId": "12345",
                      "name": "Code",
                      "type": "code",
                      "position": 1,
                      "length": 20,
                      "delimiter": "yes",
                      "sampleCode": "03.30.00",
                      "isVariableLength": true,
                      "isLocked": false,
                      "createdAt": "2022-01-01T00:00:00.000Z",
                      "updatedAt": "2022-01-01T00:00:00.000Z",
                      "budgetCodeTemplate": {
                        "id": "12345",
                        "containerId": "123459",
                        "name": "Budget code template",
                        "locked": false,
                        "createdAt": "2022-01-01T00:00:00.000Z",
                        "updatedAt": "2022-01-01T00:00:00.000Z",
                        "deletedAt": null,
                        "integrationState": null,
                        "integrationStateChangedAt": null,
                        "integrationStateChangedBy": null
                      }
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "NewWBSSegment": {
        "type": "object",
        "properties": {
          "delimiter": {
            "type": "string",
            "description": "The delimiter character after the WBS Segment. **Note**: for Autodesk Build and BIM 360, this value can be \"none\", \"space\" , \"point\", \"hyphen\", \"underscore\", or \"tab\".\n",
            "example": "-"
          },
          "name": {
            "type": "string",
            "description": "The name of the WBS Segment.",
            "example": "Phase"
          },
          "position": {
            "type": "integer",
            "description": "The position of the WBS Segment in the WBS. **Note**: for Procore, position is automatically assigned. \n",
            "example": 1
          },
          "type": {
            "type": "string",
            "description": "The type of WBS Segment. **Note** for Autodesk Build and BIM 360, this value can be one of \"code\", \"column\", or \"info\".\n",
            "example": "custom"
          }
        }
      },
      "WBSSegment-3": {
        "allOf": [
          {
            "$ref": "#/components/schemas/NewWBSSegment"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "https://api.procore.com/rest/v1.0/companies/{company_id}/work_breakdown_structure/segments"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "id": 12345,
                      "name": "New Segment",
                      "type": "custom",
                      "position": 3,
                      "wbs_pattern_id": 12345,
                      "delimiter": ".",
                      "required": false,
                      "updated_at": "2022-01-00T00:00:00Z",
                      "created_at": "2022-01-00T00:00:00Z",
                      "segment_items_count": 0,
                      "project_can_modify_origin_project": true,
                      "project_can_delete_origin_company": false,
                      "structure": "tiered"
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "NewWBSSegment-2": {
        "allOf": [
          {
            "$ref": "#/components/schemas/NewWBSSegment"
          }
        ]
      },
      "NewWBSSegment-3": {
        "allOf": [
          {
            "$ref": "#/components/schemas/NewWBSSegment"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "structure": {
                    "type": "string",
                    "description": "The Structure for this Wbs Segment.",
                    "example": "tiered",
                    "enum": [
                      "flat",
                      "tiered"
                    ]
                  }
                }
              }
            }
          }
        ]
      },
      "WBSSegmentItem": {
        "type": "object",
        "properties": {
          "id": {
            "allOf": [
              {
                "description": "The UUID of the WBS Segment Item assigned by Agave."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "source_id": {
            "type": "string",
            "readOnly": true,
            "example": "12345",
            "description": "The ID of the WBS Segment Item in the Source System."
          },
          "code": {
            "type": "string",
            "description": "The characters for the WBS Segment Item.",
            "example": "03.30.00"
          },
          "name": {
            "type": "string",
            "description": "The name of the WBS Segment Item.",
            "example": "Concrete"
          },
          "parent_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the parent of the WBS Segment Item."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "source_create_time": {
            "allOf": [
              {
                "description": "The datetime the WBS Segment Item was created."
              },
              {
                "$ref": "#/components/schemas/DateTimeProperty"
              }
            ]
          },
          "source_update_time": {
            "allOf": [
              {
                "description": "The datetime the WBS Segment Item was last updated."
              },
              {
                "$ref": "#/components/schemas/DateTimeProperty"
              }
            ]
          }
        }
      },
      "WBSSegmentItem-2": {
        "allOf": [
          {
            "$ref": "#/components/schemas/WBSSegmentItem"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "https://developer.api.autodesk.com/cost/v1/containers/{costContainerId}/templates/{templateId}/segments/{segmentId}/values"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "id": "12345",
                      "code": "03.30.00",
                      "originalCode": "03.30.00",
                      "description": "Concrete",
                      "segmentId": "12345",
                      "parentId": "12345",
                      "createdAt": "2022-01-01T00:47:06.001Z",
                      "updatedAt": "2022-01-01T00:47:06.001Z"
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "NewWBSSegmentItem": {
        "type": "object",
        "properties": {
          "code": {
            "type": "string",
            "description": "The characters for the WBS Segment Item.",
            "example": "03.30.00"
          },
          "name": {
            "type": "string",
            "description": "The name of the WBS Segment Item.",
            "example": "Concrete"
          },
          "parent_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the parent of the WBS Segment Item."
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          }
        }
      },
      "NewWBSSegmentItem-2": {
        "allOf": [
          {
            "$ref": "#/components/schemas/NewWBSSegmentItem"
          }
        ]
      },
      "WorkOrder-2": {
        "allOf": [
          {
            "$ref": "#/components/schemas/WorkOrder"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The SQL path on the Source System.",
                    "example": "select top 100 [srvinv].*, [srvtyp].[typnme], [priort].[title_] from [srvinv] left join [srvtyp] on [srvtyp].[recnum] = [srvinv].[invtyp] left join [priort] on [priort].[recnum] = [srvinv].[priort] order by [srvinv].[recnum] asc"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "_idnum": "95A802CF-145D-EF11-8438-1213C2B0AF47",
                      "recnum": "33",
                      "ordnum": "32",
                      "invnum": "31",
                      "clnnum": "148",
                      "orddte": "2024-08-17T00:00:00.000Z",
                      "dscrpt": "Window Cleaning",
                      "locnum": null,
                      "ctcnme": "John Doe",
                      "phnnum": "(408) 111-4011",
                      "addrs1": "101 Main St",
                      "addrs2": "",
                      "ctynme": "San Francisco",
                      "state_": "CA",
                      "zipcde": "90925",
                      "maploc": "",
                      "crsstr": "",
                      "duedte": "2024-09-16T00:00:00.000Z",
                      "dscdte": "2024-08-17T00:00:00.000Z",
                      "pchord": "",
                      "refnum": "",
                      "usrdf1": "",
                      "usrdf2": "",
                      "crdnum": "",
                      "expdte": null,
                      "crdnme": "",
                      "depost": ".00",
                      "dscavl": ".00",
                      "slstax": ".00",
                      "dsctkn": ".00",
                      "invdte": "2024-08-17T00:00:00.000Z",
                      "amtpad": ".00",
                      "clldte": "2024-08-17T00:00:00.000Z",
                      "clltim": null,
                      "dspdte": null,
                      "dsptim": null,
                      "schdte": "2024-08-17T00:00:00.000Z",
                      "schtim": null,
                      "strdte": null,
                      "strtim": null,
                      "findte": null,
                      "fintim": null,
                      "schhrs": ".00",
                      "acthrs": ".00",
                      "plcnum": "",
                      "plcnme": "",
                      "plcphn": "",
                      "plcad1": "",
                      "plcad2": "",
                      "plccty": "",
                      "cmpnme": "",
                      "adjnme": "",
                      "adjphn": "",
                      "adjad1": "",
                      "adjad2": "",
                      "adjcty": "",
                      "plctyp": "",
                      "dedabl": ".00",
                      "rutnum": null,
                      "constd": null,
                      "conend": null,
                      "bildte": null,
                      "empnum": null,
                      "slspsn": null,
                      "invtyp": 13,
                      "status": 1,
                      "priort": 3,
                      "invsrc": null,
                      "taxdst": null,
                      "pmttyp": 0,
                      "invttl": "525.00",
                      "invbal": "525.00",
                      "invnet": "525.00",
                      "taxabl": ".00",
                      "nontax": "525.00",
                      "ttlpad": ".00",
                      "actper": 3,
                      "bilcyc": 0,
                      "srvgeo": null,
                      "lgrrec": "834",
                      "shpnte": "",
                      "ntetxt": "",
                      "imgfle": "",
                      "jobnum": "1395258",
                      "exmnum": "",
                      "lckedt": 0,
                      "entdte": "2024-08-17T00:00:00.000Z",
                      "usrnme": "agave-admin-2",
                      "taxlin": ".00",
                      "ntxlin": "350.00",
                      "taxmrt": "50.00",
                      "ntxmrt": "50.00",
                      "txadmk": ".00",
                      "ntadmk": ".00",
                      "txmktl": ".00",
                      "ntmktl": "175.00",
                      "taxext": ".00",
                      "ntxext": "525.00",
                      "taxovr": ".00",
                      "ntxovr": "525.00",
                      "taxlck": 0,
                      "ntxlck": 0,
                      "vodrec": "0",
                      "gstsbj": ".00",
                      "gstamt": ".00",
                      "pstsbj": ".00",
                      "pstamt": ".00",
                      "hstsbj": ".00",
                      "hstamt": ".00",
                      "invamt": ".00",
                      "gstrte": ".0000",
                      "pstrte": ".0000",
                      "hstrte": ".0000",
                      "pstcmp": 0,
                      "postyr": 2024,
                      "ovrtax": 0,
                      "insdte": "2024-08-18T03:49:12.500Z",
                      "insusr": "agave-admin-2",
                      "upddte": "2024-08-18T03:49:37.277Z",
                      "updusr": "agave-admin-2",
                      "typnme": "Clean up",
                      "title_": "Prompt"
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "WorkOrder-3": {
        "allOf": [
          {
            "$ref": "#/components/schemas/WorkOrder"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The SQL path on the Source System.",
                    "example": "select * from [WO_HEADER_MC]"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "Company_Code": "12345",
                      "WO_Number": "     12345",
                      "WO_Job_Number": "     12345",
                      "Bill_Customer_Code": "A123",
                      "Hold_Status": "O",
                      "Print_Status": "",
                      "WO_Date_List1": "2022-01-01 00:00:00.000",
                      "WO_Date_List2": null,
                      "WO_Date_List3": null,
                      "WO_Date_List4": null,
                      "Time_Entered": "151052",
                      "Bill_Address1": "123 Main Street",
                      "Bill_Address2": "Unit B",
                      "Bill_City": "AnyCity",
                      "Bill_State": "DE",
                      "Bill_Zip_Code": "19703",
                      "Bill_Contract": "",
                      "WO_Phone_List1": "1235550100",
                      "WO_Phone_List2": "",
                      "WO_Phone_List3": "",
                      "WO_Phone_List4": "",
                      "WO_Phone_List5": "",
                      "Price_Level": ".00",
                      "AR_Terms_Code": "1",
                      "Sales_Tax_Code": "",
                      "Workman_List1": "",
                      "Workman_List2": "",
                      "WO_Job_Division": "50",
                      "Estimated_Arrive_Time": "",
                      "Total_Quote_Amount": ".00",
                      "WO_Reference_Code": "J",
                      "Time_Assigned": "",
                      "Tax_Amount": ".00",
                      "Material_Price_Level": ".00",
                      "Complete_Time": "",
                      "Complete_Date": null,
                      "AR_Invoice_Number": "",
                      "Customer_PO_Number": "",
                      "Contract_Number": "",
                      "Taxable_Flag": "Y",
                      "Projected_Hours": ".00",
                      "Warranty_Tax_Amount": ".00",
                      "Sequence": ".00",
                      "Posted_From_SC_Flag": "",
                      "Estimated_Complete_Time": "",
                      "Scheduled_Start_Date": null,
                      "Scheduled_Start_Time": "",
                      "Priority_Code": "",
                      "Dispatch_Status_Code": "",
                      "Summary_Description": "",
                      "Price_Type": "T",
                      "Lead_Source": "1",
                      "Sales_Person": "",
                      "Taken_By": "*WS",
                      "Zone": "",
                      "Arrival_Date": null,
                      "Arrival_Time": "",
                      "Warranty_Effective_Date": null,
                      "Added_Stamp": "",
                      "Original_Invoice": "",
                      "New_CreditMemo": "",
                      "WO_Case_Type": "",
                      "WO_Date_List1_Year": "2024",
                      "WO_Date_List1_Period": "05",
                      "Markup_Code": "",
                      "Customer_Job": "",
                      "GL_Department": "",
                      "ERO_Markup": ".00",
                      "Override_ERO_Markup": "",
                      "Cost_Center": "1010",
                      "Alternate_Address": "",
                      "Billto_Code": "",
                      "id": 37,
                      "WO_Job_Division_Description": "Job Cost Work Orders",
                      "WO_Dispatch_Status_Description": null,
                      "WO_Priority_Description": null
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "WorkOrder-4": {
        "allOf": [
          {
            "$ref": "#/components/schemas/WorkOrder"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The SQL path on the Source System.",
                    "example": "select * from [vSMWorkOrder]"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "SMWorkOrderID": 26,
                      "SMCo": 200,
                      "WorkOrder": 58,
                      "CustGroup": 201,
                      "Customer": 14,
                      "ServiceSite": "1",
                      "Certified": "N",
                      "Description": "ACME Industries Work Order",
                      "ServiceCenter": "1",
                      "RequestedDate": "2023-10-07 00:00:00.000",
                      "RequestedTime": "1900-01-01 23:10:00.000",
                      "CertifiedStartDate": null,
                      "EnteredDateTime": "2024-02-11 23:51:30.890",
                      "EnteredBy": "DemoLogin",
                      "RequestedBy": null,
                      "ContactName": "John Doe",
                      "ContactPhone": "123 555-0100",
                      "IsNew": 1,
                      "Notes": null,
                      "UniqueAttchID": null,
                      "WOStatus": 0,
                      "LeadTechnician": "ADAMSDANIEL",
                      "RequestedByPhone": null,
                      "JCCo": null,
                      "Job": null,
                      "CostingMethod": null,
                      "PRState": null,
                      "PRLocalCode": null,
                      "CraftTemplate": null,
                      "Reviewer": null,
                      "WorkOrderQuote": null,
                      "WorkOrderType": "C"
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "NewWorkOrder-2": {
        "type": "object",
        "required": [
          "customer_id",
          "priority",
          "status",
          "type",
          "scheduled_date"
        ],
        "properties": {
          "contact_name": {
            "type": "string",
            "description": "The name of the contact person.",
            "example": "John Doe"
          },
          "contact_phone": {
            "type": "string",
            "description": "A phone number of the contact associated with the Work Order.",
            "example": 6507011225
          },
          "customer_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Customer](#tag--customers) associated with the Work Order."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "description": {
            "type": "string",
            "description": "The description of the Work Order.",
            "example": "HVAC Install"
          },
          "order_date": {
            "allOf": [
              {
                "description": "The date the Work Order was ordered."
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ]
          },
          "number": {
            "type": "string",
            "description": "The number of the Work Order.",
            "example": "A101"
          },
          "priority": {
            "type": "string",
            "description": "The priority of the Work Order.\n\n**Note for Sage 100 Contractor**: a list of possible values for this field can be found using the `priort` table, which requires a passthrough request. To learn more about passthrough requests, see [link](/agave-api/passthrough-requests#foundation-viewpoint-spectrum-and-viewpoint-vista).\n",
            "example": "Urgent"
          },
          "project_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Project](#tag--projects) associated with the Work Order.\n"
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "scheduled_date": {
            "allOf": [
              {
                "description": "The date the Work Order was originally scheduled for."
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ]
          },
          "service_site_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Service Site](#tag--service-sites) associated with the Work Order.\n"
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "status": {
            "type": "string",
            "description": "The status of the Work Order.\n\n**Note for Sage 100C** valid statuses include: \"Quote\", \"Work Order, and \"Completed\".\n",
            "example": "Work Order"
          },
          "technician_employee_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Employee](#tag--employees) associated with the Work Order.\n"
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "type": {
            "type": "string",
            "description": "The type of the Work Order.\n\n**Note for Sage 100 Contractor**: a list of possible values for this field can be found using the `srvtyp` table, which requires a passthrough request. To learn more about passthrough requests, see [link](/agave-api/passthrough-requests#foundation-viewpoint-spectrum-and-viewpoint-vista).\n",
            "example": "Commercial Service"
          },
          "source_data": {
            "type": "object",
            "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
            "properties": {
              "WorkOrderDate": {
                "allOf": [
                  {
                    "description": "The date of the Work Order. If this field is left blank, the `scheduled_date` will be used.\n"
                  },
                  {
                    "$ref": "#/components/schemas/DateProperty"
                  }
                ]
              }
            }
          }
        }
      },
      "NewWorkOrder-3": {
        "type": "object",
        "required": [
          "customer_id",
          "name",
          "type",
          "source_data"
        ],
        "properties": {
          "contact_phone": {
            "type": "string",
            "description": "A phone number of the contact associated with the Work Order.",
            "example": 6507011225
          },
          "customer_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Customer](#tag--customers) associated with the Work Order."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "description": {
            "type": "string",
            "description": "The description of the Work Order.",
            "example": "HVAC Install"
          },
          "order_date": {
            "allOf": [
              {
                "description": "The date the Work Order was ordered."
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ]
          },
          "number": {
            "type": "string",
            "description": "The number of the Work Order.",
            "example": "A123"
          },
          "priority": {
            "type": "string",
            "description": "The priority of the Work Order.\n\n**Notes for Viewpoint Spectrum**: a list of possible values for this field can be retried using the `Priority_Description` field in the `WO_PRIORITY_MC` table, which requires a passthrough request. To learn more about passthrough requests, see [link](/agave-api/passthrough-requests#foundation-viewpoint-spectrum-and-viewpoint-vista).\n",
            "example": "High"
          },
          "project_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Project](#tag--projects) associated with the Work Order.\n\n**Note for Viewpoint Spectrum**: if a value for `project_id` is provided, `service_site_id` is not supported.\n"
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "request_date": {
            "allOf": [
              {
                "description": "The date the Work Order was requested."
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ]
          },
          "request_time_of_day": {
            "type": "string",
            "description": "The request time of the Work Order period (no date component or time offset -- hh:mm).",
            "example": "18:00"
          },
          "status": {
            "type": "string",
            "description": "The status of the Work Order.\n\n**Notes for Viewpoint Spectrum**: a list of possible values for this field can be retried using the `Status_Description` field in the `WO_DISPATCH_STATUS_MC` table, which requires a passthrough request. To learn more about passthrough requests, see [link](/agave-api/passthrough-requests#foundation-viewpoint-spectrum-and-viewpoint-vista).\n",
            "example": "Open"
          },
          "service_site_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Service Site](#tag--service-sites) associated with the Work Order.\n\n**Note for Viewpoint Spectrum**: if a value for `project_id` is provided, `service_site_id` is not supported.\n"
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "type": {
            "type": "string",
            "description": "The type of the Work Order.\n\n**Notes for Viewpoint Spectrum**: a list of possible values for this field can be retried using the `Type_Description` field in the `WO_TYPE_MC` table, which requires a passthrough request. To learn more about passthrough requests, see [link](/agave-api/passthrough-requests#foundation-viewpoint-spectrum-and-viewpoint-vista).\n",
            "example": "Commercial Service"
          },
          "source_data": {
            "type": "object",
            "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
            "properties": {
              "Lead_Source": {
                "type": "string",
                "example": "Billboard",
                "description": "The Lead or source that generated the Work Order. \n\n**Notes for Viewpoint Spectrum**: \n  - A list of possible values for this field can be retried using the `Lead_Source` field in the `WO_LEAD_SOURCE_MC` table, which requires a passthrough request. To learn more about passthrough requests, see [link](/agave-api/passthrough-requests#foundation-viewpoint-spectrum-and-viewpoint-vista).\n  - This field may not be required depending on your customer's installation settings.\n"
              },
              "Markup_Code": {
                "type": "string",
                "example": "STANDARD",
                "description": "The Markup Code associated with the Work Order. \n\n**Notes for Viewpoint Spectrum**: \n  - A list of possible values for this field can be retried using the `Markup_Code` field in the `WO_NONSTOCK_MARKUP_MC` table, which requires a passthrough request. To learn more about passthrough requests, see [link](/agave-api/passthrough-requests#foundation-viewpoint-spectrum-and-viewpoint-vista).\n  - This field is required for Work Orders that have a value for `service_site_id`.\n"
              }
            }
          }
        }
      },
      "Checklist": {
        "type": "object",
        "properties": {
          "id": {
            "allOf": [
              {
                "description": "The UUID of the Checklist assigned by Agave."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "source_id": {
            "type": "string",
            "readOnly": true,
            "example": "12345",
            "description": "The ID of the Checklist in the Source System."
          },
          "assignee_ids": {
            "type": "array",
            "description": "The UUID assigned by Agave of the [Contact](#tag--contacts) assigned to the Checklist.",
            "items": {
              "$ref": "#/components/schemas/IdPropertyReadOnly"
            }
          },
          "complete_date": {
            "allOf": [
              {
                "description": "The complated date of the Checklist."
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ]
          },
          "creator_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Contact](#tag--contacts) that created the Checklist."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "due_date": {
            "allOf": [
              {
                "description": "The due date of the Checklist."
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ]
          },
          "location_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Location](#tag--locations) assigned to the Checklist."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "name": {
            "type": "string",
            "description": "The title of the Checklist.",
            "example": "Example Checklist"
          },
          "number": {
            "type": "string",
            "description": "The user-friendly identifier of the Checklist.",
            "example": 1
          },
          "status": {
            "type": "string",
            "description": "The status of the Checklist.",
            "example": "In Progress"
          },
          "template_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Checklist Template](#tag--checklist-template) used for the Checklist."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "updater_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Contact](#tag--contacts) that last updated the Checklist."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "source_create_time": {
            "allOf": [
              {
                "description": "The datetime the Checklist was created."
              },
              {
                "$ref": "#/components/schemas/DateTimeProperty"
              }
            ]
          },
          "source_update_time": {
            "allOf": [
              {
                "description": "The datetime the Checklist was last updated."
              },
              {
                "$ref": "#/components/schemas/DateTimeProperty"
              }
            ]
          }
        }
      },
      "Checklist-2": {
        "allOf": [
          {
            "$ref": "#/components/schemas/Checklist"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The source data as we received it from the source system. \nSee https://docs.agaveapi.com/agave-api/source-data for more info\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the source system",
                    "example": "https://source-system.com/api/v3/resource"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the source data",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the source system",
                    "example": {
                      "type": "instances",
                      "id": "3078072",
                      "attributes": {
                        "urn": "urn:adsk.checklists.cs.instance:37ebe970-d15e-45af-a8c3-8f35d79787be/3078072",
                        "scheduledDate": "2023-05-05T00:00:00.000Z",
                        "location": "d1c0a659-e312-4bf9-a918-e3392f02346c",
                        "title": "Example Checklist",
                        "createdAt": "2023-03-29T10:38:11.172Z",
                        "createdBy": "7J72XCGERCQ2JFGA",
                        "updatedAt": "2023-08-17T14:12:20.852Z",
                        "deletedAt": null,
                        "templateVersionId": 1055088,
                        "modifiedBy": "7J72XCGERCQ2JFGA",
                        "trades": [],
                        "templateType": {
                          "id": 1,
                          "name": "Quality"
                        },
                        "status": {
                          "id": 7,
                          "name": "Not Started",
                          "permittedAttributes": [
                            "id"
                          ]
                        },
                        "assignees": [
                          {
                            "id": 2849081,
                            "assigneeId": "7J72XCGERCQ2JFGA",
                            "name": "John Doe",
                            "type": {
                              "id": 1,
                              "name": "User",
                              "permittedAttributes": [
                                "id"
                              ]
                            },
                            "permittedAttributes": [
                              "assigneeId",
                              "name",
                              "type"
                            ]
                          }
                        ],
                        "instructions": null,
                        "completedItemsCount": 0,
                        "progress": 0,
                        "permittedActions": [
                          "canArchive",
                          "canEdit"
                        ],
                        "permittedAttributes": [
                          "title",
                          "location",
                          "scheduledDate",
                          "sections",
                          "assignees",
                          "status"
                        ],
                        "allowSectionAssignee": false,
                        "instanceRevision": "scO_BVeUD",
                        "signaturesStatus": "Required",
                        "templateId": 807075,
                        "completedOn": null,
                        "startedOn": null,
                        "versionNumber": 3,
                        "instanceContainerId": 1,
                        "instanceAttachments": [],
                        "localAttachments": [],
                        "isArchived": null,
                        "uuid": "b1c38d74-fe18-42f3-a6aa-6e22b28e3299"
                      },
                      "links": {
                        "self": "/containers/37ebe970-d15e-45af-a8c3-8f35d79787be/instances/3078072"
                      },
                      "relationships": {
                        "sections": {
                          "meta": {
                            "relation": "primary",
                            "readOnly": false
                          },
                          "links": {
                            "self": "/containers/37ebe970-d15e-45af-a8c3-8f35d79787be/instances/3078072/relationships/sections",
                            "related": "/containers/37ebe970-d15e-45af-a8c3-8f35d79787be/instances/3078072/sections"
                          },
                          "data": [
                            {
                              "type": "instance_sections",
                              "id": "15973796"
                            }
                          ]
                        },
                        "container": {
                          "meta": {
                            "relation": "primary",
                            "readOnly": false
                          },
                          "links": {
                            "self": "/containers/37ebe970-d15e-45af-a8c3-8f35d79787be/instances/3078072/relationships/container",
                            "related": "/containers/37ebe970-d15e-45af-a8c3-8f35d79787be/instances/3078072/container"
                          },
                          "data": {
                            "type": "containers",
                            "id": "37ebe970-d15e-45af-a8c3-8f35d79787be"
                          }
                        },
                        "createdFrom": {
                          "meta": {
                            "relation": "primary",
                            "readOnly": false
                          },
                          "links": {
                            "self": "/containers/37ebe970-d15e-45af-a8c3-8f35d79787be/instances/3078072/relationships/createdFrom",
                            "related": "/containers/37ebe970-d15e-45af-a8c3-8f35d79787be/instances/3078072/createdFrom"
                          },
                          "data": {
                            "type": "templates",
                            "id": "807075"
                          }
                        }
                      },
                      "meta": {
                        "totalItems": 3,
                        "totalSections": 1,
                        "totalRequiredSignatures": 1,
                        "totalUnsignedSignatures": 1,
                        "totalSignedSignatures": 0
                      }
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "ChecklistTemplate": {
        "type": "object",
        "properties": {
          "id": {
            "allOf": [
              {
                "description": "The UUID of the Checklist Template assigned by Agave."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "source_id": {
            "type": "string",
            "readOnly": true,
            "example": "12345",
            "description": "The ID of the Checklist Template in the Source System."
          },
          "title": {
            "type": "string",
            "description": "The title of the Checklist Template.",
            "example": "Example Checklist Template"
          },
          "type": {
            "type": "string",
            "description": "The type of the Checklist Template.",
            "example": "Safety"
          },
          "source_create_time": {
            "allOf": [
              {
                "description": "The datetime the Checklist Template was created."
              },
              {
                "$ref": "#/components/schemas/DateTimeProperty"
              }
            ]
          },
          "source_update_time": {
            "allOf": [
              {
                "description": "The datetime the Checklist Template was last updated."
              },
              {
                "$ref": "#/components/schemas/DateTimeProperty"
              }
            ]
          }
        }
      },
      "ChecklistTemplate-2": {
        "allOf": [
          {
            "$ref": "#/components/schemas/ChecklistTemplate"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The source data as we received it from the source system. \nSee https://docs.agaveapi.com/agave-api/source-data for more info\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the source system",
                    "example": "https://source-system.com/api/v3/resource"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the source data",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the source system",
                    "example": {
                      "type": "templates",
                      "id": "804111",
                      "attributes": {
                        "title": "Example Checklist Template",
                        "createdBy": "system",
                        "updatedAt": "2023-03-23T20:59:28.735Z",
                        "createdAt": "2023-03-23T20:59:28.735Z",
                        "trades": [],
                        "templateType": {
                          "id": 6,
                          "name": "Safety",
                          "permittedAttributes": [
                            "id"
                          ]
                        },
                        "versionId": 1051325,
                        "instructions": null,
                        "permittedActions": [
                          "canArchive",
                          "canEdit",
                          "canCreateChecklist"
                        ],
                        "permittedAttributes": [
                          "title",
                          "trades",
                          "instruction",
                          "templateType",
                          "sections",
                          "signatures"
                        ],
                        "allowSectionAssignee": true,
                        "versionNumber": 4,
                        "assignees": []
                      },
                      "links": {
                        "self": "/containers/37ebe970-d15e-45af-a8c3-8f35d79787be/templates/804111"
                      },
                      "relationships": {
                        "container": {
                          "meta": {
                            "relation": "primary",
                            "readOnly": false
                          },
                          "links": {
                            "self": "/containers/37ebe970-d15e-45af-a8c3-8f35d79787be/templates/804111/relationships/container",
                            "related": "/containers/37ebe970-d15e-45af-a8c3-8f35d79787be/templates/804111/container"
                          },
                          "data": null
                        },
                        "sharedWith": {
                          "meta": {
                            "relation": "primary",
                            "readOnly": false
                          },
                          "links": {
                            "self": "/containers/37ebe970-d15e-45af-a8c3-8f35d79787be/templates/804111/relationships/sharedWith",
                            "related": "/containers/37ebe970-d15e-45af-a8c3-8f35d79787be/templates/804111/sharedWith"
                          },
                          "data": []
                        },
                        "sharedFrom": {
                          "meta": {
                            "relation": "primary",
                            "readOnly": false
                          },
                          "links": {
                            "self": "/containers/37ebe970-d15e-45af-a8c3-8f35d79787be/templates/804111/relationships/sharedFrom",
                            "related": "/containers/37ebe970-d15e-45af-a8c3-8f35d79787be/templates/804111/sharedFrom"
                          },
                          "data": null
                        },
                        "clonedFrom": {
                          "meta": {
                            "relation": "primary",
                            "readOnly": false
                          },
                          "links": {
                            "self": "/containers/37ebe970-d15e-45af-a8c3-8f35d79787be/templates/804111/relationships/clonedFrom",
                            "related": "/containers/37ebe970-d15e-45af-a8c3-8f35d79787be/templates/804111/clonedFrom"
                          },
                          "data": null
                        }
                      },
                      "meta": {
                        "totalItems": 9,
                        "totalSections": 3,
                        "totalInstances": 1
                      }
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "Contact": {
        "type": "object",
        "properties": {
          "id": {
            "allOf": [
              {
                "description": "The UUID of the Contact assigned by Agave."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "source_id": {
            "type": "string",
            "readOnly": true,
            "example": "12345",
            "description": "The ID of the Contact in the Source System.\n\n**Note for Sage 100 Contractor**: the `type` field is required. \nExample: \"type=Customer|recnum=1|linnum=1\"\n"
          },
          "address": {
            "allOf": [
              {
                "description": "The Contact's address."
              },
              {
                "$ref": "#/components/schemas/Address"
              }
            ]
          },
          "customer_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave to the [Customer](#tag--customer) company when the Contact belongs to one."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "email": {
            "description": "The Contact's email address.",
            "type": "string",
            "example": "contact@agaveapi.com"
          },
          "first_name": {
            "description": "The Contact's first name.",
            "type": "string",
            "example": "Jane"
          },
          "full_name": {
            "description": "The Contact's full name.",
            "type": "string",
            "example": "Jane Doe"
          },
          "image_url": {
            "type": "string",
            "description": "A URL at which an image or avatar of the Contact can be accessed.",
            "example": "https://agaveapi.com/"
          },
          "job_title": {
            "description": "The Contact's job title.",
            "type": "string",
            "example": "Project Manager"
          },
          "last_name": {
            "description": "The Contact's last name.",
            "type": "string",
            "example": "Doe"
          },
          "mobile_phone": {
            "description": "The Contact's mobile phone number.",
            "type": "string",
            "example": "(123) 555-0100"
          },
          "phone": {
            "description": "The Contact's phone number.",
            "type": "string",
            "example": "(123) 555-0100"
          },
          "vendor_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave to the [Vendor](#tag--vendor) company when the Contact belongs to one."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "source_create_time": {
            "allOf": [
              {
                "description": "The datetime the Contact was created."
              },
              {
                "$ref": "#/components/schemas/DateTimeProperty"
              }
            ]
          },
          "source_update_time": {
            "allOf": [
              {
                "description": "The datetime the Contact was last updated."
              },
              {
                "$ref": "#/components/schemas/DateTimeProperty"
              }
            ]
          }
        }
      },
      "Contact-2": {
        "allOf": [
          {
            "$ref": "#/components/schemas/Contact"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as Agave received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "https://{region}.aconex.com/api/user"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "Division": [],
                      "Fax": [],
                      "Mobile": [],
                      "OrgAdmin": "true",
                      "OrganizationId": "12345",
                      "OrganizationName": "AnyCompany",
                      "OrganizationPostalAddressLine": "123 Main Street",
                      "OrganizationPostalCity": "AnyTown",
                      "OrganizationPostalCountry": "United States",
                      "OrganizationPostalPostCode": "19703",
                      "OrganizationPostalState": "Delaware",
                      "Phone": "(123) 555-0100",
                      "JobTitle": "Project Manager",
                      "UserFirstName": "Jane",
                      "UserId": "12345",
                      "UserLastName": "Doe",
                      "UserName": "jane-doe",
                      "UserPostalAddressLine": "123 Main Street",
                      "UserPostalCity": "AnyTown",
                      "UserPostalCountry": "United States",
                      "UserPostalPostCode": "19703",
                      "UserPostalState": "Delaware",
                      "UserTitle": "Ms"
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "Contact-3": {
        "allOf": [
          {
            "$ref": "#/components/schemas/Contact"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as Agave received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "https://developer.api.autodesk.com/bim360/admin/v1/projects/{projectId}/users"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "id": "12345",
                      "email": "contact@agaveapi.com",
                      "name": "Jane Doe",
                      "firstName": "Jane",
                      "lastName": "Doe",
                      "autodeskId": "12345",
                      "analyticsId": "12345",
                      "addressLine1": "123 Main Street",
                      "addressLine2": "Unit 1",
                      "city": "AnyTown",
                      "stateOrProvince": "DE",
                      "postalCode": "19703",
                      "country": "US",
                      "imageUrl": "https://agaveapi.com/",
                      "phone": {
                        "number": "1235550100",
                        "phoneType": "mobile",
                        "extension": ""
                      },
                      "jobTitle": "Project Manager",
                      "industry": "Architecture & Construction Service Providers",
                      "aboutMe": "",
                      "companyId": "12345",
                      "status": "active",
                      "addedOn": "2022-01-01T00:00:00.000Z",
                      "accessLevels": {
                        "accountAdmin": true,
                        "projectAdmin": true,
                        "executive": true
                      },
                      "services": [
                        {
                          "serviceName": "documentManagement",
                          "access": "administrator"
                        },
                        {
                          "serviceName": "insight",
                          "access": "administrator"
                        },
                        {
                          "serviceName": "projectAdministration",
                          "access": "administrator"
                        },
                        {
                          "serviceName": "projectManagement",
                          "access": "administrator"
                        },
                        {
                          "serviceName": "fieldManagement",
                          "access": "administrator"
                        },
                        {
                          "serviceName": "assets",
                          "access": "administrator"
                        },
                        {
                          "serviceName": "field",
                          "access": "administrator"
                        },
                        {
                          "serviceName": "costManagement",
                          "access": "administrator"
                        },
                        {
                          "serviceName": "quantification",
                          "access": "administrator"
                        },
                        {
                          "serviceName": "designCollaboration",
                          "access": "administrator"
                        },
                        {
                          "serviceName": "modelCoordination",
                          "access": "administrator"
                        }
                      ],
                      "roleIds": [],
                      "products": [
                        {
                          "key": "documentManagement",
                          "productKey": "documentManagement",
                          "access": "administrator"
                        },
                        {
                          "key": "insight",
                          "productKey": "insight",
                          "access": "administrator"
                        },
                        {
                          "key": "projectManagement",
                          "productKey": "projectManagement",
                          "access": "administrator"
                        },
                        {
                          "key": "fieldManagement",
                          "productKey": "fieldManagement",
                          "access": "administrator"
                        },
                        {
                          "key": "assets",
                          "productKey": "assets",
                          "access": "administrator"
                        },
                        {
                          "key": "field",
                          "productKey": "field",
                          "access": "administrator"
                        },
                        {
                          "key": "costManagement",
                          "productKey": "costManagement",
                          "access": "administrator"
                        },
                        {
                          "key": "quantification",
                          "productKey": "quantification",
                          "access": "administrator"
                        },
                        {
                          "key": "designCollaboration",
                          "productKey": "designCollaboration",
                          "access": "administrator"
                        },
                        {
                          "key": "modelCoordination",
                          "productKey": "modelCoordination",
                          "access": "administrator"
                        },
                        {
                          "key": "projectAdministration",
                          "productKey": "projectAdministration",
                          "access": "none"
                        }
                      ]
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "Contact-4": {
        "allOf": [
          {
            "$ref": "#/components/schemas/Contact"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as Agave received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "{{server}}/{{environemnt}}/pm-rest-api/rest/1/pmprojcontact"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "ContPartnCode": "12345",
                      "ContPartnType": "C",
                      "ContLastName": "Doe",
                      "ContFirstName": "John",
                      "ContMiddleName": null,
                      "ContTitle": null,
                      "ContDescription": null,
                      "ContAddStreet": "123 Main Street",
                      "ContAddSuite": "Unit 1",
                      "ContAddCity": "AnyTown",
                      "ContAddState": "CA",
                      "ContAddCountry": "USA",
                      "ContAddPostalCode": "19703",
                      "ContPhoneNum": "(123) 555-0100",
                      "ContEmail": "contact@agaveapi.com",
                      "ContFaxNum": "(123) 555-0100",
                      "ContPagerNum": null,
                      "ContMobileNum": null,
                      "ContPrefContactMth": "MAIL",
                      "ContContactActiveFlag": "Y",
                      "ContCollabUserFlag": "N",
                      "ContProjContactId": "12345",
                      "ContProjContactOnlyFlag": "N",
                      "ContRtiType": null,
                      "ContCode": "A123",
                      "ContCompCode": "12345",
                      "ContProjCode": "12345",
                      "ContVUuid": "12345"
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "Contact-5": {
        "allOf": [
          {
            "$ref": "#/components/schemas/Contact"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as Agave received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "https://api.companycam.com/v2/users"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "id": "12345",
                      "company_id": "12345",
                      "email_address": "contact@agaveapi.com",
                      "status": "active",
                      "first_name": "John",
                      "last_name": "Doe",
                      "profile_image": [],
                      "phone_number": "1235550100",
                      "user_url": "https://app.companycam.com/users/12345",
                      "created_at": 1641042000,
                      "updated_at": 1641042000
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "Contact-6": {
        "allOf": [
          {
            "$ref": "#/components/schemas/Contact"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as Agave received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "https://api.hubapi.com/crm/v3/objects/contact"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "id": "1",
                      "properties": {
                        "address": "street3",
                        "annualrevenue": null,
                        "associatedcompanyid": null,
                        "associatedcompanylastupdated": null,
                        "city": "San Francisco2",
                        "closedate": null,
                        "company": "HubSpot",
                        "company_size": null,
                        "country": "USA2",
                        "createdate": "2022-11-23T05:15:14.136Z",
                        "currentlyinworkflow": null,
                        "date_of_birth": null,
                        "days_to_close": null,
                        "degree": null,
                        "email": "email222@email.com",
                        "engagements_last_meeting_booked": null,
                        "engagements_last_meeting_booked_campaign": null,
                        "engagements_last_meeting_booked_medium": null,
                        "engagements_last_meeting_booked_source": null,
                        "fax": null,
                        "field_of_study": null,
                        "first_conversion_date": null,
                        "first_conversion_event_name": null,
                        "first_deal_created_date": "2022-11-23T06:19:17.205Z",
                        "firstname": "name5",
                        "followercount": null,
                        "gender": null,
                        "graduation_date": null,
                        "hs_additional_emails": null,
                        "hs_all_accessible_team_ids": null,
                        "hs_all_assigned_business_unit_ids": null,
                        "hs_all_contact_vids": "1",
                        "hs_all_owner_ids": null,
                        "hs_all_team_ids": null,
                        "hs_analytics_average_page_views": "0",
                        "hs_analytics_first_referrer": null,
                        "hs_analytics_first_timestamp": "2022-11-23T05:15:14.126Z",
                        "hs_analytics_first_touch_converting_campaign": null,
                        "hs_analytics_first_url": null,
                        "hs_analytics_first_visit_timestamp": null,
                        "hs_analytics_last_referrer": null,
                        "hs_analytics_last_timestamp": null,
                        "hs_analytics_last_touch_converting_campaign": null,
                        "hs_analytics_last_url": null,
                        "hs_analytics_last_visit_timestamp": null,
                        "hs_analytics_num_event_completions": "0",
                        "hs_analytics_num_page_views": "0",
                        "hs_analytics_num_visits": "0",
                        "hs_analytics_revenue": "0.0",
                        "hs_analytics_source": "OFFLINE",
                        "hs_analytics_source_data_1": "API",
                        "hs_analytics_source_data_2": "sample-contact",
                        "hs_avatar_filemanager_key": null,
                        "hs_buying_role": null,
                        "hs_calculated_form_submissions": null,
                        "hs_calculated_merged_vids": null,
                        "hs_calculated_mobile_number": null,
                        "hs_calculated_phone_number": null,
                        "hs_calculated_phone_number_area_code": null,
                        "hs_calculated_phone_number_country_code": null,
                        "hs_calculated_phone_number_region_code": null,
                        "hs_clicked_linkedin_ad": null,
                        "hs_content_membership_email": null,
                        "hs_content_membership_email_confirmed": null,
                        "hs_content_membership_follow_up_enqueued_at": null,
                        "hs_content_membership_notes": null,
                        "hs_content_membership_registered_at": null,
                        "hs_content_membership_registration_domain_sent_to": null,
                        "hs_content_membership_registration_email_sent_at": null,
                        "hs_content_membership_status": null,
                        "hs_conversations_visitor_email": null,
                        "hs_count_is_unworked": null,
                        "hs_count_is_worked": null,
                        "hs_created_by_conversations": null,
                        "hs_created_by_user_id": null,
                        "hs_createdate": null,
                        "hs_date_entered_customer": null,
                        "hs_date_entered_evangelist": null,
                        "hs_date_entered_lead": "2022-11-23T05:15:14.126Z",
                        "hs_date_entered_marketingqualifiedlead": null,
                        "hs_date_entered_opportunity": "2022-11-23T06:19:17.977Z",
                        "hs_date_entered_other": null,
                        "hs_date_entered_salesqualifiedlead": null,
                        "hs_date_entered_subscriber": null,
                        "hs_date_exited_customer": null,
                        "hs_date_exited_evangelist": null,
                        "hs_date_exited_lead": "2022-11-23T06:19:17.977Z",
                        "hs_date_exited_marketingqualifiedlead": null,
                        "hs_date_exited_opportunity": null,
                        "hs_date_exited_other": null,
                        "hs_date_exited_salesqualifiedlead": null,
                        "hs_date_exited_subscriber": null,
                        "hs_document_last_revisited": null,
                        "hs_email_bad_address": null,
                        "hs_email_bounce": null,
                        "hs_email_click": null,
                        "hs_email_customer_quarantined_reason": null,
                        "hs_email_delivered": null,
                        "hs_email_domain": "email.com",
                        "hs_email_first_click_date": null,
                        "hs_email_first_open_date": null,
                        "hs_email_first_reply_date": null,
                        "hs_email_first_send_date": null,
                        "hs_email_hard_bounce_reason": null,
                        "hs_email_hard_bounce_reason_enum": null,
                        "hs_email_is_ineligible": null,
                        "hs_email_last_click_date": null,
                        "hs_email_last_email_name": null,
                        "hs_email_last_open_date": null,
                        "hs_email_last_reply_date": null,
                        "hs_email_last_send_date": null,
                        "hs_email_open": null,
                        "hs_email_optout": null,
                        "hs_email_optout_64946378": null,
                        "hs_email_optout_66839995": null,
                        "hs_email_quarantined": null,
                        "hs_email_quarantined_reason": null,
                        "hs_email_recipient_fatigue_recovery_time": null,
                        "hs_email_replied": null,
                        "hs_email_sends_since_last_engagement": null,
                        "hs_emailconfirmationstatus": null,
                        "hs_facebook_ad_clicked": null,
                        "hs_facebook_click_id": null,
                        "hs_facebookid": null,
                        "hs_feedback_last_nps_follow_up": null,
                        "hs_feedback_last_nps_rating": null,
                        "hs_feedback_last_survey_date": null,
                        "hs_feedback_show_nps_web_survey": null,
                        "hs_first_engagement_object_id": null,
                        "hs_first_subscription_create_date": null,
                        "hs_google_click_id": null,
                        "hs_googleplusid": null,
                        "hs_has_active_subscription": null,
                        "hs_ip_timezone": null,
                        "hs_is_contact": "true",
                        "hs_is_unworked": "true",
                        "hs_language": null,
                        "hs_last_sales_activity_date": null,
                        "hs_last_sales_activity_timestamp": null,
                        "hs_last_sales_activity_type": null,
                        "hs_lastmodifieddate": null,
                        "hs_latest_meeting_activity": null,
                        "hs_latest_sequence_ended_date": null,
                        "hs_latest_sequence_enrolled": null,
                        "hs_latest_sequence_enrolled_date": null,
                        "hs_latest_sequence_finished_date": null,
                        "hs_latest_sequence_unenrolled_date": null,
                        "hs_latest_source": "OFFLINE",
                        "hs_latest_source_data_1": "API",
                        "hs_latest_source_data_2": "sample-contact",
                        "hs_latest_source_timestamp": "2022-11-23",
                        "hs_latest_subscription_create_date": null,
                        "hs_lead_status": null,
                        "hs_legal_basis": null,
                        "hs_lifecyclestage_customer_date": null,
                        "hs_lifecyclestage_evangelist_date": null,
                        "hs_lifecyclestage_lead_date": "2022-11-23T05:15:14.126Z",
                        "hs_lifecyclestage_marketingqualifiedlead_date": null,
                        "hs_lifecyclestage_opportunity_date": "2022-11-23T06:19:17.977Z",
                        "hs_lifecyclestage_other_date": null,
                        "hs_lifecyclestage_salesqualifiedlead_date": null,
                        "hs_lifecyclestage_subscriber_date": null,
                        "hs_linkedin_ad_clicked": null,
                        "hs_linkedinid": null,
                        "hs_marketable_reason_id": "Sample Contact",
                        "hs_marketable_reason_type": "SAMPLE_CONTACT",
                        "hs_marketable_status": "true",
                        "hs_marketable_until_renewal": "true",
                        "hs_merged_object_ids": null,
                        "hs_object_id": "1",
                        "hs_persona": null,
                        "hs_pinned_engagement_id": null,
                        "hs_pipeline": "contacts-lifecycle-pipeline",
                        "hs_predictivecontactscore": null,
                        "hs_predictivecontactscore_v2": "2.5",
                        "hs_predictivecontactscorebucket": null,
                        "hs_predictivescoringtier": "tier_4",
                        "hs_read_only": null,
                        "hs_sa_first_engagement_date": null,
                        "hs_sa_first_engagement_descr": null,
                        "hs_sa_first_engagement_object_type": null,
                        "hs_sales_email_last_clicked": null,
                        "hs_sales_email_last_opened": null,
                        "hs_sales_email_last_replied": null,
                        "hs_searchable_calculated_international_mobile_number": null,
                        "hs_searchable_calculated_international_phone_number": null,
                        "hs_searchable_calculated_mobile_number": null,
                        "hs_searchable_calculated_phone_number": "16666666667",
                        "hs_sequences_actively_enrolled_count": "0",
                        "hs_sequences_enrolled_count": null,
                        "hs_sequences_is_enrolled": null,
                        "hs_social_facebook_clicks": "0",
                        "hs_social_google_plus_clicks": "0",
                        "hs_social_last_engagement": null,
                        "hs_social_linkedin_clicks": "0",
                        "hs_social_num_broadcast_clicks": "0",
                        "hs_social_twitter_clicks": "0",
                        "hs_testpurge": null,
                        "hs_testrollback": null,
                        "hs_time_between_contact_creation_and_deal_close": null,
                        "hs_time_between_contact_creation_and_deal_creation": "3843069",
                        "hs_time_in_customer": null,
                        "hs_time_in_evangelist": null,
                        "hs_time_in_lead": "3843851",
                        "hs_time_in_marketingqualifiedlead": null,
                        "hs_time_in_opportunity": "5676625247",
                        "hs_time_in_other": null,
                        "hs_time_in_salesqualifiedlead": null,
                        "hs_time_in_subscriber": null,
                        "hs_time_to_first_engagement": null,
                        "hs_time_to_move_from_lead_to_customer": null,
                        "hs_time_to_move_from_marketingqualifiedlead_to_customer": null,
                        "hs_time_to_move_from_opportunity_to_customer": null,
                        "hs_time_to_move_from_salesqualifiedlead_to_customer": null,
                        "hs_time_to_move_from_subscriber_to_customer": null,
                        "hs_timezone": null,
                        "hs_twitterid": null,
                        "hs_unique_creation_key": null,
                        "hs_updated_by_user_id": null,
                        "hs_user_ids_of_all_notification_followers": null,
                        "hs_user_ids_of_all_notification_unfollowers": null,
                        "hs_user_ids_of_all_owners": null,
                        "hs_whatsapp_phone_number": null,
                        "hubspot_owner_assigneddate": null,
                        "hubspot_owner_id": null,
                        "hubspot_team_id": null,
                        "hubspotscore": null,
                        "industry": null,
                        "ip_city": null,
                        "ip_country": null,
                        "ip_country_code": null,
                        "ip_latlon": null,
                        "ip_state": null,
                        "ip_state_code": null,
                        "ip_zipcode": null,
                        "job_function": null,
                        "jobtitle": "Salesperson",
                        "kloutscoregeneral": null,
                        "lastmodifieddate": "2023-01-06T19:50:29.445Z",
                        "lastname": "",
                        "lifecyclestage": "opportunity",
                        "linkedinbio": null,
                        "linkedinconnections": null,
                        "marital_status": null,
                        "message": null,
                        "military_status": null,
                        "mobilephone": null,
                        "notes_last_contacted": null,
                        "notes_last_updated": null,
                        "notes_next_activity_date": null,
                        "num_associated_deals": "7",
                        "num_contacted_notes": null,
                        "num_conversion_events": "0",
                        "num_notes": null,
                        "num_unique_conversion_events": "0",
                        "numemployees": null,
                        "owneremail": null,
                        "ownername": null,
                        "phone": "1-666-666-6667",
                        "photo": null,
                        "recent_conversion_date": null,
                        "recent_conversion_event_name": null,
                        "recent_deal_amount": null,
                        "recent_deal_close_date": null,
                        "relationship_status": null,
                        "salutation": null,
                        "school": null,
                        "seniority": null,
                        "start_date": null,
                        "state": "CA2",
                        "surveymonkeyeventlastupdated": null,
                        "total_revenue": null,
                        "twitterbio": null,
                        "twitterhandle": null,
                        "twitterprofilephoto": null,
                        "webinareventlastupdated": null,
                        "website": "https://www.website2.com",
                        "work_email": null,
                        "zip": "6666667"
                      },
                      "createdAt": "2022-11-23T05:15:14.136Z",
                      "updatedAt": "2023-01-06T19:50:29.445Z",
                      "archived": false
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "Contact-7": {
        "allOf": [
          {
            "$ref": "#/components/schemas/Contact"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as Agave received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "https://pipedriveintegration-sandbox.pipedrive.com/v1/persons"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "id": 1,
                      "company_id": 12577477,
                      "owner_id": {
                        "id": 17244697,
                        "name": "Sandbox Agave",
                        "email": "pipedrive-sandbox@agavesearch.com",
                        "has_pic": 0,
                        "pic_hash": null,
                        "active_flag": true,
                        "value": 17244697
                      },
                      "org_id": {
                        "name": "Agave",
                        "people_count": 5,
                        "owner_id": 17117394,
                        "address": "350 Brentwood Avenue, San Francisco, CA, USA",
                        "active_flag": true,
                        "cc_email": "agave-sandbox@pipedrivemail.com",
                        "value": 1
                      },
                      "name": "Jane Doe",
                      "first_name": "Jane",
                      "last_name": "Doe",
                      "open_deals_count": 1,
                      "related_open_deals_count": 0,
                      "closed_deals_count": 0,
                      "related_closed_deals_count": 0,
                      "participant_open_deals_count": 0,
                      "participant_closed_deals_count": 0,
                      "email_messages_count": 0,
                      "activities_count": 0,
                      "done_activities_count": 0,
                      "undone_activities_count": 0,
                      "files_count": 0,
                      "notes_count": 0,
                      "followers_count": 1,
                      "won_deals_count": 0,
                      "related_won_deals_count": 0,
                      "lost_deals_count": 0,
                      "related_lost_deals_count": 0,
                      "active_flag": true,
                      "phone": [
                        {
                          "value": "",
                          "primary": true
                        }
                      ],
                      "email": [
                        {
                          "value": "",
                          "primary": true
                        }
                      ],
                      "first_char": "j",
                      "update_time": "2023-01-24 01:29:30",
                      "delete_time": null,
                      "add_time": "2023-01-24 00:15:39",
                      "visible_to": "3",
                      "picture_id": {
                        "item_type": "person",
                        "item_id": 1,
                        "active_flag": true,
                        "add_time": "2023-01-24 01:29:29",
                        "update_time": "0000-00-00 00:00:00",
                        "added_by_user_id": 17244697,
                        "pictures": [
                          "https://pipedrive-profile-pics.s3.us-east-1.amazonaws.com/company/12577477/user/17244697/profile-pictures/fb7468de-af45-481e-a2d3-f960f17085e3.jpg",
                          "https://pipedrive-profile-pics.s3.us-east-1.amazonaws.com/company/12577477/user/17244697/profile-pictures/05adb0ae-4d5a-47ca-b542-acd78b2efc9c.jpg"
                        ],
                        "value": 1
                      },
                      "next_activity_date": null,
                      "next_activity_time": null,
                      "next_activity_id": null,
                      "last_activity_id": null,
                      "last_activity_date": null,
                      "last_incoming_mail_time": null,
                      "last_outgoing_mail_time": null,
                      "label": null,
                      "org_name": "Agave",
                      "owner_name": "Sandbox Agave",
                      "primary_email": null,
                      "cc_email": "agave-sandbox@pipedrivemail.com"
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "Contact-8": {
        "allOf": [
          {
            "$ref": "#/components/schemas/Contact"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as Agave received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "https://api.procore.com/rest/v1.0/projects/{projectId}/users"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "id": 12345,
                      "name": "Jane Doe",
                      "address": "",
                      "avatar": "https://agaveapi.com/",
                      "business_phone": "(123) 555-0100",
                      "business_phone_extension": null,
                      "city": "AnyTown",
                      "country_code": "US",
                      "created_at": "2022-01-01T00:00:00Z",
                      "email_address": "contact@agaveapi.com",
                      "email_signature": "<p>Sent From Procore.</p>",
                      "employee_id": null,
                      "erp_integrated_accountant": false,
                      "fax_number": "",
                      "first_name": "Jane",
                      "initials": "",
                      "is_active": true,
                      "is_employee": false,
                      "job_title": "Project Manager",
                      "last_login_at": "2022-01-01T00:00:00Z",
                      "last_name": "Doe",
                      "mobile_phone": "",
                      "notes": null,
                      "origin_data": null,
                      "origin_id": null,
                      "state_code": "DE",
                      "updated_at": "2022-01-01T00:00:00Z",
                      "welcome_email_sent_at": null,
                      "zip": "19703",
                      "permission_template": null,
                      "work_classification_id": null,
                      "vendor": "AnyCompany",
                      "company_permission_template": null
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "Contact-9": {
        "allOf": [
          {
            "$ref": "#/components/schemas/Contact"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The SQL path on the Source System.",
                    "example": "select * from [clncnt]"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "_idnum": "12345AD6-5968-EE11-93C7-7CB566A7DC1B",
                      "_idref": "12345935-899F-E511-B83D-005056C00008",
                      "recnum": "12345",
                      "linnum": 1,
                      "cntnme": "John Doe",
                      "jobttl": "Project Manager",
                      "phnnum": "1235550100",
                      "phnext": "",
                      "e_mail": "contact@agaveapitest.com",
                      "cllphn": "1235550101",
                      "faxnum": "@im",
                      "othphn": "",
                      "othdsc": "",
                      "ntetxt": "",
                      "linref": "12345CDFEB814923B6E12E7E038EDD5D",
                      "msolid": null,
                      "unqcnt": "",
                      "insdte": "2022-01-01T00:00:00.000Z",
                      "insusr": "agave-admin-1",
                      "upddte": "2022-01-01T00:00:00.000Z",
                      "updusr": "agave-admin-1"
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "Contact-10": {
        "allOf": [
          {
            "$ref": "#/components/schemas/Contact"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The SQL path on the Source System.",
                    "example": "select * from [clncnt]"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "COCONT": "123",
                      "CONAME": "John Doe",
                      "COTYPEA": "Project Manager",
                      "COCUST": "PM",
                      "COTITLE": "Project Manager",
                      "CODEPT": "",
                      "COCOMP": "Grocer's Association",
                      "COADD1": "74031 Flanders Street",
                      "COADD2": "",
                      "COADD3": "",
                      "COADD4": "",
                      "COCITY": "AnyTown",
                      "COSTATE": "CA",
                      "COZIP": "19703",
                      "COPHONE": "(123)555-0100",
                      "COFAX": "",
                      "COCPHN": "",
                      "COPAGER": "",
                      "COABN": "",
                      "COEMAIL": "",
                      "COPERID": "1234DC51-A6FF-42B9-BBBB-9065EA4F52E8",
                      "COCMPID": "12340283-CD93-4972-A6F2-7B41C3D0CD25",
                      "COOSTMP": "",
                      "CODSTMP": "2022-01-01",
                      "COTSTMP": "00:00:06",
                      "CORWID": "12345b51-ee3f-e711-8bef-0019b9211094",
                      "CORWVR": "1650495376",
                      "R1NTS": null,
                      "R1FLS": null
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "Contact-11": {
        "allOf": [
          {
            "$ref": "#/components/schemas/Contact"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "https://api-integration.servicetitan.io/crm/v2/tenant/986142371/customers/contacts?includeTotal=true&modifiedBefore=2024-09-17"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "data": {
                        "customerId": 658,
                        "modifiedOn": "2020-08-11T00:00:18.4328875Z",
                        "phoneSettings": null,
                        "id": 661,
                        "type": "Email",
                        "value": "noreply@servicetitan.com",
                        "memo": "noreply email"
                      }
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "Contact-12": {
        "allOf": [
          {
            "$ref": "#/components/schemas/Contact"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as Agave received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The SQL path on the Source System.",
                    "example": "select * from [HQContact] where [HQContact].[ContactGroup] = 12345"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "HQContactID": "12345",
                      "ContactGroup": "12345",
                      "ContactSeq": "12345",
                      "FirstName": "John",
                      "MiddleInitial": null,
                      "LastName": "Doe",
                      "CourtesyTitle": "Mr",
                      "Title": "Project Manager",
                      "Organization": "AnyCompany Inc.",
                      "Phone": "1235550100",
                      "PhoneExtension": null,
                      "Cell": "1235550101",
                      "Fax": "1235550102",
                      "Email": "contact@agaveapi.com",
                      "Address": "123 Main Street",
                      "AddressAdditional": "Unit B",
                      "City": "AnyTown",
                      "State": "CA",
                      "Country": "US",
                      "Zip": "19703",
                      "Notes": null,
                      "UniqueAttchID": null
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "NewContact": {
        "type": "object",
        "properties": {
          "address": {
            "allOf": [
              {
                "description": "The Contact's address."
              },
              {
                "$ref": "#/components/schemas/Address"
              }
            ]
          },
          "customer_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave to the [Customer](#tag--customer) company when the Contact belongs to one."
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          },
          "email": {
            "description": "The Contact's email address.",
            "type": "string",
            "example": "contact@agaveapi.com"
          },
          "first_name": {
            "description": "The Contact's first name.",
            "type": "string",
            "example": "Jane"
          },
          "image_url": {
            "type": "string",
            "description": "A URL at which an image or avatar of the Contact can be accessed.",
            "example": "https://agaveapi.com/"
          },
          "job_title": {
            "description": "The Contact's job title.",
            "type": "string",
            "example": "Project Manager"
          },
          "last_name": {
            "description": "The Contact's last name.",
            "type": "string",
            "example": "Doe"
          },
          "phone": {
            "description": "The Contact's phone number.",
            "type": "string",
            "example": "(123) 555-0100"
          },
          "vendor_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave to the [Vendor](#tag--vendor) company when the Contact belongs to one."
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          }
        }
      },
      "CoordinationIssue": {
        "type": "object",
        "properties": {
          "id": {
            "allOf": [
              {
                "description": "The UUID of the Coordination Issue assigned by Agave."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "source_id": {
            "type": "string",
            "readOnly": true,
            "example": "12345",
            "description": "The ID of the Coordination Issue in the Source System."
          },
          "assignee_id": {
            "type": "string",
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Contact](#tag--contacts) assigned to the Coordination Issue."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "attachments": {
            "type": "array",
            "description": "A list of Files associated with the Coordination Issue.",
            "items": {
              "$ref": "#/components/schemas/Attachment"
            }
          },
          "creator_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Contact](#tag--contacts) that created the Coordination Issue."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "description": {
            "type": "string",
            "description": "The description of the Coordination Issue.",
            "example": "This is a Viewpoint of the Electrical Issue on the Third Floor."
          },
          "due_date": {
            "allOf": [
              {
                "description": "The due date of the Coordination Issue."
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ]
          },
          "status": {
            "type": "string",
            "description": "The status of the Coordination Issue.",
            "example": "Open"
          },
          "title": {
            "type": "string",
            "description": "The title of the Coordination Issue.",
            "example": "Electrical Issue"
          },
          "type": {
            "type": "string",
            "description": "The type of the Coordination Issue.",
            "example": "Clash"
          },
          "viewpoints": {
            "type": "array",
            "description": "A list of Viewpoints associated with the Coordination Issue. The format of the Viewpoints is determined by the Source System, not Agave's unified model.",
            "items": {
              "type": "string",
              "example": "<Raw Viewpoint object>"
            }
          },
          "source_create_time": {
            "allOf": [
              {
                "description": "The datetime the Coordination Issue was created."
              },
              {
                "$ref": "#/components/schemas/DateTimeProperty"
              }
            ]
          },
          "source_update_time": {
            "allOf": [
              {
                "description": "The datetime the Coordination Issue was last updated."
              },
              {
                "$ref": "#/components/schemas/DateTimeProperty"
              }
            ]
          }
        }
      },
      "CoordinationIssue-2": {
        "allOf": [
          {
            "$ref": "#/components/schemas/CoordinationIssue"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "https://api.bimtrackapp.co/v3/hubs/{hubId}/projects/{projectId}/issues"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "Attachments": [],
                      "IssueComments": [],
                      "Viewpoints": [
                        {
                          "Id": 12345,
                          "IssueId": 98765,
                          "ViewType": "ThreeD",
                          "Image": {
                            "ThumbnailUrl": "https://cdn-bt03.bimtrackapp.co",
                            "ThumbnailUrlExpiration": "2022-01-01T00:00:00.000",
                            "Id": 23456,
                            "Name": "Test-Viewpoint.png",
                            "Size": 12345,
                            "Date": "2022-01-01T00:00:00.000",
                            "Url": "https://cdn-bt03.bimtrackapp.co",
                            "UrlExpiration": "2022-01-01T00:00:00.000"
                          },
                          "PerspectiveCamera": {
                            "CameraPosition": {
                              "X": 0,
                              "Y": 0,
                              "Z": 0
                            },
                            "CameraDirection": {
                              "X": 0,
                              "Y": 0,
                              "Z": 0
                            },
                            "CameraUpVector": {
                              "X": 0,
                              "Y": 0,
                              "Z": 0
                            },
                            "FieldOfView": 0
                          },
                          "Pinpoint": {
                            "Name": null,
                            "Position": {
                              "X": 0,
                              "Y": 0,
                              "Z": 0
                            },
                            "Element1": null,
                            "Element2": null
                          },
                          "Source": "ThreeDViewer",
                          "ViewName": null,
                          "ModelName": null,
                          "Comments": [],
                          "ViewUniqueId": null,
                          "WasCreatedFromSheetInstance": false,
                          "ViewStateSummary": null
                        }
                      ],
                      "Id": 12345,
                      "ProjectId": 12345,
                      "Title": "Electrical Issue",
                      "Number": 123,
                      "Description": "This is a Viewpoint of the Electrical Issue on the Third Floor.",
                      "Group": null,
                      "Author": {
                        "Id": 12345,
                        "UserName": "John_Doe",
                        "Email": "contact@agaveapi.com",
                        "FirstName": "John",
                        "LastName": "Doe",
                        "AvatarUrl": null
                      },
                      "AssignedTo": {
                        "Id": 12345,
                        "UserName": "Jane_Doe",
                        "Email": "contact@agaveapi.com",
                        "FirstName": "Jane",
                        "LastName": "Doe",
                        "AvatarUrl": null
                      },
                      "LastModificationAuthor": {
                        "Id": 12345,
                        "UserName": "John_Doe",
                        "Email": "contact@agaveapi.com",
                        "FirstName": "John",
                        "LastName": "Doe",
                        "AvatarUrl": null
                      },
                      "LastModificationDate": "2022-01-01T00:00:00.000",
                      "DueDate": "2022-01-01T00:00:00",
                      "CreationDate": "2022-01-01T00:00:00.000",
                      "ClosingDate": null,
                      "DefaultViewpointId": 12345,
                      "Disciplines": [
                        {
                          "Name": "Architecture",
                          "Id": 12345
                        }
                      ],
                      "ProjectPhase": {
                        "Color": "#9F9F9F",
                        "Name": "Phase 1",
                        "Id": 12345
                      },
                      "ProjectZone": {
                        "Color": "#9F9F9F",
                        "Name": "Zone 1",
                        "Id": 12345
                      },
                      "Priority": {
                        "Order": 2,
                        "Color": "#FFC519",
                        "Name": "High",
                        "Id": 12345
                      },
                      "Status": {
                        "TeamsAllowedForStatus": [],
                        "Color": "#8FC550",
                        "Name": "Open",
                        "Id": 12345
                      },
                      "Type": {
                        "Color": "#DD4D40",
                        "Name": "Issue",
                        "Id": 12345
                      },
                      "Confidentiality": {
                        "Teams": []
                      },
                      "NotifyList": {
                        "TeamsToNotify": [],
                        "UsersToNotify": []
                      },
                      "CustomAttributes": [],
                      "CreationSource": "ThreeDViewer",
                      "IsRestricted": false
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "CoordinationIssue-3": {
        "allOf": [
          {
            "$ref": "#/components/schemas/CoordinationIssue"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "https://api.procore.com/rest/v1.0/coordination_issues"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "id": "b26339f5-6aa9-4231-b134-ca11e66ebfc1",
                      "created_at": "2022-08-11 08:19:03 +0800",
                      "updated_at": "2022-08-11 08:26:15 +0800",
                      "closed_at": "",
                      "created_by": "autodesk-sandbox@agavesearch.com",
                      "fields": [
                        {
                          "id": "f--identifier",
                          "name": "Identifier",
                          "display_type": "text",
                          "value": "000035"
                        },
                        {
                          "id": "f--due_date",
                          "name": "Due date",
                          "display_type": "date",
                          "value": "2022-10-22"
                        },
                        {
                          "id": "f--description",
                          "name": "Description",
                          "display_type": "textarea",
                          "value": "Title: Postman Test Issue\n\nTest description from Postman.\nNew line."
                        },
                        {
                          "id": "f--location_id",
                          "name": "Location",
                          "display_type": "location",
                          "value": null
                        },
                        {
                          "id": "f--status",
                          "name": "Status",
                          "display_type": "drop-down",
                          "value": "Draft"
                        },
                        {
                          "id": "f--priority",
                          "name": "Priority",
                          "display_type": "drop-down",
                          "value": "Medium"
                        },
                        {
                          "id": "f--root_cause_id",
                          "name": "Root cause",
                          "display_type": "root_cause_id",
                          "value": null
                        },
                        {
                          "id": "f--location_detail",
                          "name": "Location detail",
                          "display_type": "text",
                          "value": null
                        },
                        {
                          "id": "f--responsible_company_id",
                          "name": "Responsible company",
                          "display_type": "company_id",
                          "value": null
                        },
                        {
                          "id": "f--issue_type_id",
                          "name": "Issue type",
                          "display_type": "issue_type_id",
                          "value": "03b0daab-3736-4097-8540-270468a73b61"
                        }
                      ],
                      "additional_fields": {
                        "source_id": null,
                        "source_type": null,
                        "status_changed_at": "2022-08-11 08:19:03 +0800"
                      },
                      "comments": [],
                      "attachments": [
                        {
                          "id": "52ff806a-46da-4727-8724-b4decb9878fa",
                          "type": "Attachment",
                          "name": "viewpoint-4BRpEc.json",
                          "caption": null,
                          "tags": "",
                          "content_type": "application/json",
                          "original_url": "https://bim360field.autodesk.com/api/binary_data?ticket=f637c61e-86b9-4939-be04-6c0e183d85ce&project_id=4c065dec-5c56-4a19-846e-c9d6c4445df0&object_id=52ff806a-46da-4727-8724-b4decb9878fa&object_type=Attachment&image_type=original&page=0",
                          "thumb_url": "https://bim360field.autodesk.com/api/binary_data?ticket=f637c61e-86b9-4939-be04-6c0e183d85ce&project_id=4c065dec-5c56-4a19-846e-c9d6c4445df0&object_id=52ff806a-46da-4727-8724-b4decb9878fa&object_type=Attachment&image_type=thumb&page=0",
                          "num_pages": 1,
                          "composites": [
                            {
                              "page": 0,
                              "url": "https://bim360field.autodesk.com/api/binary_data?ticket=f637c61e-86b9-4939-be04-6c0e183d85ce&project_id=4c065dec-5c56-4a19-846e-c9d6c4445df0&object_id=52ff806a-46da-4727-8724-b4decb9878fa&object_type=Attachment&image_type=composite&page=0"
                            }
                          ],
                          "created_at": "2022-08-11 08:26:14 +0800",
                          "updated_at": "2022-08-11 08:26:14 +0800",
                          "created_by": "autodesk-sandbox@agavesearch.com"
                        },
                        {
                          "id": "aae92eca-5ec6-466e-a626-c1601af4d48c",
                          "type": "Attachment",
                          "name": "viewpoint-4BRpEc.png",
                          "caption": null,
                          "tags": "",
                          "content_type": "image/png",
                          "original_url": "https://bim360field.autodesk.com/api/binary_data?ticket=f637c61e-86b9-4939-be04-6c0e183d85ce&project_id=4c065dec-5c56-4a19-846e-c9d6c4445df0&object_id=aae92eca-5ec6-466e-a626-c1601af4d48c&object_type=Attachment&image_type=original&page=0",
                          "thumb_url": "https://bim360field.autodesk.com/api/binary_data?ticket=f637c61e-86b9-4939-be04-6c0e183d85ce&project_id=4c065dec-5c56-4a19-846e-c9d6c4445df0&object_id=aae92eca-5ec6-466e-a626-c1601af4d48c&object_type=Attachment&image_type=thumb&page=0",
                          "num_pages": 1,
                          "composites": [
                            {
                              "page": 0,
                              "url": "https://bim360field.autodesk.com/api/binary_data?ticket=f637c61e-86b9-4939-be04-6c0e183d85ce&project_id=4c065dec-5c56-4a19-846e-c9d6c4445df0&object_id=aae92eca-5ec6-466e-a626-c1601af4d48c&object_type=Attachment&image_type=composite&page=0"
                            }
                          ],
                          "created_at": "2022-08-11 08:26:15 +0800",
                          "updated_at": "2022-08-11 08:26:19 +0800",
                          "created_by": "autodesk-sandbox@agavesearch.com"
                        }
                      ]
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "CoordinationIssue-4": {
        "allOf": [
          {
            "$ref": "#/components/schemas/CoordinationIssue"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "https://api.procore.com/rest/v1.0/coordination_issues"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "id": 12345,
                      "assignee": {
                        "id": 12345,
                        "company_name": "AnyCompany Inc.",
                        "locale": "",
                        "login": "contact@agaveapi.com",
                        "name": "John Doe"
                      },
                      "bim_model_id": null,
                      "comments_count": 0,
                      "coordination_issue_file": {},
                      "created_at": "2022-01-01T00:00:00Z",
                      "created_by": {
                        "id": 12345,
                        "company_name": "AnyCompany Inc.",
                        "locale": "",
                        "login": "contact@agaveapi.com",
                        "name": "John Doe"
                      },
                      "creation_source": "procore_web_coordination_issues",
                      "custom_fields": {},
                      "description": "This is a Viewpoint of the Electrical Issue on the Third Floor.",
                      "drawing_revision": {},
                      "due_date": "2022-01-01",
                      "issue_number": 123,
                      "issue_type": "clash",
                      "location": {
                        "id": 12345,
                        "code": null,
                        "created_at": "2022-01-01T00:00:00Z",
                        "name": "Location 1",
                        "node_name": "Location1",
                        "parent_id": null,
                        "updated_at": "2022-01-01T00:00:00Z"
                      },
                      "origin": {},
                      "priority": "low",
                      "project_id": 12345,
                      "status": "open",
                      "title": "Electrical Issue",
                      "trade": {},
                      "updated_at": "2022-01-01T00:00:00Z",
                      "uuid": "b94f55df-fede-435c-a761-5b7051108477"
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "NewCoordinationIssue": {
        "type": "object",
        "properties": {
          "assignee_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Contact](#tag--contacts) assigned to the Coordination Issue."
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          },
          "description": {
            "type": "string",
            "description": "The description of the Coordination Issue.",
            "example": "This is a Viewpoint of the Electrical Issue on the Third Floor."
          },
          "due_date": {
            "allOf": [
              {
                "description": "The due date of the Coordination Issue."
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ]
          },
          "status": {
            "type": "string",
            "description": "The status of the Coordination Issue.",
            "example": "Open"
          },
          "title": {
            "type": "string",
            "description": "The title of the Coordination Issue.",
            "example": "Electrical Issue"
          },
          "type": {
            "type": "string",
            "description": "The type of the Coordination Issue.",
            "example": "Clash"
          },
          "viewpoints": {
            "type": "array",
            "description": "A list of Viewpoints associated with the Coordination Issue. The format of the Viewpoints is determined by the Source System, not Agave's unified model.",
            "items": {
              "type": "object",
              "properties": {
                "viewpoint": {
                  "type": "string",
                  "description": "The raw JSON corresponding to a Viewpoint object.",
                  "example": "<Raw Viewpoint object>"
                },
                "image": {
                  "type": "string",
                  "description": "The optional image to be used for the Coordination Issue.",
                  "format": "binary"
                }
              }
            }
          }
        }
      },
      "NewViewpoint": {
        "type": "object",
        "properties": {
          "viewpoint": {
            "type": "string",
            "description": "The raw JSON corresponding to a Viewpoint object.",
            "example": "<Raw Viewpoint object>"
          },
          "image": {
            "type": "string",
            "description": "The optional image to be used for the Coordination Issue.",
            "format": "binary"
          }
        }
      },
      "Drawing": {
        "type": "object",
        "properties": {
          "id": {
            "allOf": [
              {
                "description": "The UUID of the Drawing assigned by Agave."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "source_id": {
            "type": "string",
            "readOnly": true,
            "example": "12345",
            "description": "The ID of the Drawing in the Source System."
          },
          "creator_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Contact](#tag--contacts) that created the Drawing."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "discipline": {
            "type": "string",
            "description": "The discipline associated with the Drawing.",
            "example": "Architectural"
          },
          "drawing_version_id": {
            "allOf": [
              {
                "description": "The UUID (assigned by Agave) of the latest [Drawing Version](#tag--drawing-versions)."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "drawing_version_source_id": {
            "allOf": [
              {
                "description": "The ID of the latest [Drawing Version](#tag--drawing-versions) in the Source System."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "filename": {
            "type": "string",
            "description": "The filename associated with the Drawing.",
            "example": "Test_File.pdf"
          },
          "name": {
            "type": "string",
            "description": "The name or title of the Drawing.",
            "example": "Architectural 2nd Floor Drawing"
          },
          "number": {
            "type": "string",
            "description": "The number associated with the Drawing.",
            "example": "A123"
          },
          "preview_url": {
            "type": "string",
            "description": "A URL at which the Drawing can be previewd in a browser.",
            "example": "https://storage.agaveapi.com/preview/file.pdf?signature=xxx&expires_at=20220101T000001Z"
          },
          "revision": {
            "type": "string",
            "description": "The revision of the Drawing.",
            "example": "Revision A"
          },
          "url": {
            "type": "string",
            "description": "A URL at which the latest Drawing Version can be accessed or downloaded.",
            "example": "https://storage.agaveapi.com/download/file.pdf?signature=xxx&expires_at=20220530T031901Z"
          },
          "version": {
            "type": "string",
            "description": "The version number of the Drawing.",
            "example": "5"
          },
          "source_create_time": {
            "allOf": [
              {
                "description": "The datetime the Drawing was created."
              },
              {
                "$ref": "#/components/schemas/DateTimeProperty"
              }
            ]
          },
          "source_update_time": {
            "allOf": [
              {
                "description": "The datetime the Drawing was last updated."
              },
              {
                "$ref": "#/components/schemas/DateTimeProperty"
              }
            ]
          }
        }
      },
      "Drawing-2": {
        "allOf": [
          {
            "$ref": "#/components/schemas/Drawing"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee https://docs.agaveapi.com/agave-api/source-data for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the source system",
                    "example": "https://{{hostname}}/api/projects/{{ProjectID}}/register?search_query=doctype:drawing&return_fields=approved,asBuiltRequired,attribute1,attribute2,attribute3,attribute4,author,authorisedBy,category,check1,check2,comments,comments2,confidential,contractDeliverable,contractnumber,contractordocumentnumber,contractorrev,current,date1,date2,discipline,docno,doctype,filename,fileSize,forreview,markupLastModifiedDate,milestonedate,numberOfMarkups,packagenumber,percentComplete,plannedsubmissiondate,printSize,projectField1,projectField2,projectField3,received,reference,registered,reviewed,reviewSource,reviewstatus,revision,revisiondate,scale,statusid,tagNumber,title,toclient,vdrcode,vendordocumentnumber,vendorrev"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the source data",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the source system",
                    "example": {
                      "@attributes": {
                        "DocumentId": "12345"
                      },
                      "DateApproved": [],
                      "AsBuiltRequired": "false",
                      "Attribute1": {
                        "AttributeTypeNames": [],
                        "AttributeType": "ATTRIBUTE1"
                      },
                      "Attribute2": {
                        "AttributeTypeNames": {
                          "AttributeTypeName": "123 Location"
                        },
                        "AttributeType": "ATTRIBUTE2"
                      },
                      "Attribute3": {
                        "AttributeTypeNames": [],
                        "AttributeType": "ATTRIBUTE3"
                      },
                      "Attribute4": {
                        "AttributeTypeNames": [],
                        "AttributeType": "ATTRIBUTE4"
                      },
                      "Author": "AnyCompany Tech Inc.",
                      "AuthorisedBy": [],
                      "Category": [],
                      "Check1": "false",
                      "Check2": "false",
                      "Comments": [],
                      "Confidential": "false",
                      "ContractDeliverable": "false",
                      "Current": "true",
                      "Date1": [],
                      "Date2": [],
                      "DateCreated": "2022-01-01T00:00:00Z",
                      "DateForReview": [],
                      "DateModified": "2022-01-01T00:00:00Z",
                      "DateReviewed": [],
                      "Discipline": "Architectural",
                      "DocumentNumber": "A123",
                      "DocumentStatus": "For Design",
                      "DocumentType": "Drawing",
                      "FileSize": "1006735",
                      "Filename": "Test_File.pdf",
                      "MarkupLastModifiedDate": "2022-01-01T00:00:00Z",
                      "MilestoneDate": [],
                      "NumberOfMarkups": "0",
                      "PlannedSubmissionDate": [],
                      "PrintSize": [],
                      "Reference": [],
                      "ReviewSource": "None",
                      "ReviewStatus": "None",
                      "Revision": "5",
                      "RevisionDate": "2022-01-01T00:00:00Z",
                      "Scale": "0:0",
                      "Title": "Architectural 2nd Floor Drawing",
                      "ToClientDate": []
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "Drawing-3": {
        "allOf": [
          {
            "$ref": "#/components/schemas/Drawing"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The source data as we received it from the source system. \nSee https://docs.agaveapi.com/agave-api/source-data for more info\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the source system",
                    "example": "https://developer.api.autodesk.com/construction/sheets/v1/projects/b2df5997-014a-4784-bbf4-c922cb5e5299/sheets"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the source data",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the source system",
                    "example": {
                      "id": "a977420a-2d7e-3310-a650-236f4c337001",
                      "number": "A-0.1",
                      "versionSet": {
                        "id": "308bfff6-b894-4f47-8395-4b0790bef153",
                        "name": "STEM Bid",
                        "issuanceDate": "2023-04-04"
                      },
                      "createdAt": "2023-04-09T00:44:15.666Z",
                      "createdBy": "XPGWRSENBMAX",
                      "createdByName": "Agave Sandbox",
                      "updatedAt": "2023-04-09T00:44:15.803Z",
                      "updatedBy": "XPGWRSENBMAX",
                      "updatedByName": "Agave Sandbox",
                      "title": "CODE STUDY",
                      "uploadFileName": "stem-bid-drawings.pdf",
                      "uploadId": "cb365b09-7753-4bda-ba94-d3c112d466fc",
                      "tags": [],
                      "isCurrent": true,
                      "viewable": {
                        "urn": "urn:adsk.bimdocs:seed:a778df73-4e1a-4c0a-b346-2417d6961afb",
                        "guid": "25f69a00-50ac-32fa-82dc-f199a0abd7ac"
                      }
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "Drawing-4": {
        "allOf": [
          {
            "$ref": "#/components/schemas/Drawing"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The source data as we received it from the source system. \nSee https://docs.agaveapi.com/agave-api/source-data for more info\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the source system",
                    "example": "https://source-system.com/api/v3/resource"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the source data",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the source system",
                    "example": {}
                  }
                }
              }
            }
          }
        ]
      },
      "Drawing-5": {
        "allOf": [
          {
            "$ref": "#/components/schemas/Drawing"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as Agave received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "https://io.plangrid.com/projects/{projectId}/sheets"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "deleted": false,
                      "description": "This is a description of the Architectural 2nd Floor Drawing",
                      "history_set_uid": "12345",
                      "name": "Architectural 2nd Floor Drawing",
                      "published_at": "2022-01-01T00:00:00.000000+00:00",
                      "published_by": {
                        "email": "contact@agaveapi.com",
                        "uid": "12345",
                        "url": "https://io.plangrid.com/projects/{projectId}/users/{userId}"
                      },
                      "tags": [
                        "architectural"
                      ],
                      "uid": "12345",
                      "uploaded_file_name": "Test_File.pdf",
                      "version_name": "5"
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "Drawing-6": {
        "allOf": [
          {
            "$ref": "#/components/schemas/Drawing"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee https://docs.agaveapi.com/agave-api/source-data for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the source system",
                    "example": "https://source-system.com/api/v3/resource"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the source data",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the source system",
                    "example": {
                      "id": 12345,
                      "number": "A123",
                      "title": "Architectural 2nd Floor Drawing",
                      "obsolete": false,
                      "discipline": "Architectural",
                      "current_revision": {
                        "floorplan": false,
                        "has_drawing_sketches": false,
                        "id": 12345,
                        "pdf_size": 1006735,
                        "pdf_url": "https://s3.amazonaws.com/Test_File.pdf?sig=a",
                        "png_size": 3367559,
                        "png_url": "https://s3.amazonaws.com/Test_File.pdf?sig=b",
                        "revision_number": "0",
                        "thumbnail_url": "https://s3.amazonaws.com/Test_File.pdf?sig=c",
                        "large_thumbnail_url": "https://s3.amazonaws.com/Test_File.pdf?sig=d",
                        "updated_at": "2022-01-01T00:00:00Z"
                      }
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "DrawingVersion": {
        "type": "object",
        "properties": {
          "id": {
            "allOf": [
              {
                "description": "The UUID of the Drawing Version assigned by Agave."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "source_id": {
            "type": "string",
            "readOnly": true,
            "example": "12345",
            "description": "The ID of the Drawing Version in the Source System."
          },
          "creator_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Contact](#tag--contacts) that created the Drawing Version."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "drawing_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Drawing](#tag--drawings) associated with the Drawing Version."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "drawing_name": {
            "type": "string",
            "description": "The name of the Drawing associated with the Drawing Version.",
            "example": "Architectural 2nd Floor New Revision Two"
          },
          "filename": {
            "type": "string",
            "description": "The filename associated with the Drawing Version.",
            "example": "Test_File.pdf"
          },
          "file_url": {
            "type": "string",
            "description": "A URL at which the Drawing Version can be accessed or downloaded.",
            "example": "https://storage.agaveapi.com/download/file.pdf?signature=xxx&expires_at=20220530T031901Z"
          },
          "name": {
            "type": "string",
            "description": "The name of the Drawing Version.",
            "example": "Architectural 2nd Floor Drawing Version 1"
          },
          "preview_url": {
            "type": "string",
            "description": "A URL at which the Drawing Version can be previewd in a browser.",
            "example": "https://storage.agaveapi.com/preview/file.pdf?signature=xxx&expires_at=20220101T000001Z"
          },
          "revision": {
            "type": "string",
            "description": "The revision of the Drawing Version.",
            "example": "Revision A"
          },
          "url": {
            "type": "string",
            "description": "A URL at which the Drawing Version can be accessed or downloaded.",
            "example": "https://storage.agaveapi.com/download/file.pdf?signature=xxx&expires_at=20220530T031901Z"
          },
          "source_create_time": {
            "allOf": [
              {
                "description": "The datetime the Drawing Version was created."
              },
              {
                "$ref": "#/components/schemas/DateTimeProperty"
              }
            ]
          },
          "source_update_time": {
            "allOf": [
              {
                "description": "The datetime the Drawing Version was last updated."
              },
              {
                "$ref": "#/components/schemas/DateTimeProperty"
              }
            ]
          }
        }
      },
      "DrawingVersion-2": {
        "allOf": [
          {
            "$ref": "#/components/schemas/DrawingVersion"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "https://us1.aconex.com/api/projects/{projectId}}/register"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "@attributes": {
                        "DocumentId": "12345"
                      },
                      "DateApproved": [],
                      "AsBuiltRequired": "false",
                      "Attribute1": {
                        "AttributeTypeNames": [],
                        "AttributeType": "ATTRIBUTE1"
                      },
                      "Attribute2": {
                        "AttributeTypeNames": {
                          "AttributeTypeName": "123 Location"
                        },
                        "AttributeType": "ATTRIBUTE2"
                      },
                      "Attribute3": {
                        "AttributeTypeNames": [],
                        "AttributeType": "ATTRIBUTE3"
                      },
                      "Attribute4": {
                        "AttributeTypeNames": [],
                        "AttributeType": "ATTRIBUTE4"
                      },
                      "Author": "AnyCompany Inc",
                      "AuthorisedBy": [],
                      "Category": [],
                      "Check1": "false",
                      "Check2": "false",
                      "Comments": [],
                      "Confidential": "false",
                      "ContractDeliverable": "false",
                      "Current": "true",
                      "Date1": [],
                      "Date2": [],
                      "DateCreated": [],
                      "DateForReview": [],
                      "DateModified": "2022-01-01T00:00:00Z",
                      "DateReviewed": [],
                      "Discipline": "Architectural",
                      "DocumentNumber": "A123",
                      "DocumentStatus": "For Design",
                      "DocumentType": "Drawing",
                      "FileSize": "98765",
                      "Filename": "Test_File.pdf",
                      "MarkupLastModifiedDate": [],
                      "MilestoneDate": [],
                      "NumberOfMarkups": "0",
                      "PlannedSubmissionDate": [],
                      "PrintSize": [],
                      "Reference": [],
                      "ReviewSource": "None",
                      "ReviewStatus": "None",
                      "Revision": "0",
                      "RevisionDate": "2022-01-01T00:00:00Z",
                      "Scale": "0:0",
                      "Title": "Test File",
                      "ToClientDate": [],
                      "VersionNumber": 5
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "DrawingVersion-3": {
        "allOf": [
          {
            "$ref": "#/components/schemas/DrawingVersion"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as Agave received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "https://io.plangrid.com/projects/{projectId}/sheets"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "deleted": false,
                      "description": "This is a description of the Architectural 2nd Floor Drawing",
                      "history_set_uid": "12345",
                      "name": "Architectural 2nd Floor Drawing",
                      "published_at": "2022-01-01T00:00:00.000000+00:00",
                      "published_by": {
                        "email": "contact@agaveapi.com",
                        "uid": "12345",
                        "url": "https://io.plangrid.com/projects/{projectId}/users/{userId}"
                      },
                      "tags": [
                        "architectural"
                      ],
                      "uid": "12345",
                      "uploaded_file_name": "Test_File.pdf",
                      "version_name": "5"
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "DrawingVersion-4": {
        "allOf": [
          {
            "$ref": "#/components/schemas/DrawingVersion"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The source data as we received it from the source system. \nSee https://docs.agaveapi.com/agave-api/source-data for more info\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the source system",
                    "example": "https://source-system.com/api/v3/resource"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the source data",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the source system",
                    "example": {
                      "id": 12345,
                      "drawing_date": null,
                      "received_date": null,
                      "revision_number": "5",
                      "drawing_id": 12345,
                      "custom_fields": [],
                      "floorplan": false,
                      "current": true,
                      "drawing_set": {
                        "id": 12345
                      },
                      "drawing_sketches_count": 0,
                      "number": "A123",
                      "title": "Architectural 2nd Floor Drawing Version 1",
                      "has_public_markup_layer_elements": false,
                      "has_drawing_sketches": false,
                      "activity_stream_last_viewed_at": null,
                      "status": "published",
                      "obsolete": false,
                      "discipline": {
                        "id": 12345,
                        "name": "Architectural",
                        "position": null
                      },
                      "height": 56789,
                      "pdf_size": 56789,
                      "pdf_url": "https://s3.amazonaws.com/Test_File.pdf?sig=a",
                      "png_size": 56789,
                      "png_url": "https://s3.amazonaws.com/Test_File.pdf?sig=b",
                      "updated_at": "2022-03-17T23:55:17Z",
                      "width": 56789,
                      "large_thumbnail_url": "https://s3.amazonaws.com/Test_File.pdf?sig=c",
                      "position": null,
                      "order_in_drawing": 0,
                      "zip_url": null,
                      "thumbnail_url": "https://s3.amazonaws.com/Test_File.pdf?sig=d",
                      "drawing_area": {
                        "id": 12345
                      }
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "Issue": {
        "type": "object",
        "properties": {
          "id": {
            "allOf": [
              {
                "description": "The UUID of the Issue assigned by Agave."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "source_id": {
            "type": "string",
            "readOnly": true,
            "example": "12345",
            "description": "The ID of the Issue in the Source System."
          },
          "assignee_ids": {
            "type": "array",
            "description": "The UUID assigned by Agave of the [Contact](#tag--contacts) assigned to the Issue.",
            "items": {
              "$ref": "#/components/schemas/IdPropertyReadOnly"
            }
          },
          "closer_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Contact](#tag--contacts) that closed the Issue."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "close_time": {
            "allOf": [
              {
                "description": "The closed time of the Issue."
              },
              {
                "$ref": "#/components/schemas/DateTimeProperty"
              }
            ]
          },
          "creator_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Contact](#tag--contacts) that created the Issue."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "description": {
            "type": "string",
            "description": "The description of the Issue.",
            "example": "This is an example description of an issue."
          },
          "due_date": {
            "allOf": [
              {
                "description": "The due date of the Issue."
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ]
          },
          "location": {
            "type": "object",
            "properties": {
              "id": {
                "allOf": [
                  {
                    "description": "The UUID assigned by Agave of the [Location](#tag--locations) assigned to the Issue."
                  },
                  {
                    "$ref": "#/components/schemas/DateProperty"
                  }
                ]
              },
              "detail": {
                "description": "The description of the Location.",
                "type": "string",
                "example": "Floor 2 Room A"
              }
            }
          },
          "name": {
            "type": "string",
            "description": "The title of the Issue.",
            "example": "Example Issue"
          },
          "number": {
            "type": "string",
            "description": "The user-friendly identifier of the issue.",
            "example": 1
          },
          "priority": {
            "type": "string",
            "description": "The priority of the issue.",
            "example": "High"
          },
          "root_cause": {
            "type": "string",
            "description": "The root cause of the Issue.",
            "example": "Design Deficiency"
          },
          "root_cause_category": {
            "type": "string",
            "description": "The root cause category of the Issue.",
            "example": "Coordination"
          },
          "status": {
            "type": "string",
            "description": "The status of the Issue.",
            "example": "Open"
          },
          "subtype": {
            "type": "string",
            "description": "The type of the Issue.",
            "example": "Safety"
          },
          "type": {
            "type": "string",
            "description": "The type of the Issue.",
            "example": "Observation"
          },
          "updater_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Contact](#tag--contacts) that last updated the Issue."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "source_create_time": {
            "allOf": [
              {
                "description": "The datetime the Issue was created."
              },
              {
                "$ref": "#/components/schemas/DateTimeProperty"
              }
            ]
          },
          "source_update_time": {
            "allOf": [
              {
                "description": "The datetime the Issue was last updated."
              },
              {
                "$ref": "#/components/schemas/DateTimeProperty"
              }
            ]
          }
        }
      },
      "Issue-2": {
        "allOf": [
          {
            "$ref": "#/components/schemas/Issue"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The source data as we received it from the source system. \nSee https://docs.agaveapi.com/agave-api/source-data for more info\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the source system",
                    "example": "https://source-system.com/api/v3/resource"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the source data",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the source system",
                    "example": {
                      "path": "https://developer.api.autodesk.com/issues/v2/containers/42662a32-ad92-48d3-bd05-8b778f964bd5/issues?filter%5Bstatus%5D=draft%2Copen%2Cclosed%2Cwork_completed%2Cready_to_inspect%2Cin_dispute%2Cnot_approved%2Canswered",
                      "content_type": "application/json",
                      "data": {
                        "id": "dbcc6a01-7ee9-483d-af3b-0aad8ca0f333",
                        "containerId": "42662a32-ad92-48d3-bd05-8b778f964bd5",
                        "displayId": 1,
                        "rootCauseId": "ad671f4d-9f83-47aa-b6a8-e5ca4b131d06",
                        "title": "PA Test Issue 001",
                        "description": "Test description 1",
                        "issueTypeId": "64cf2503-f222-4a87-8252-9999ba7320dd",
                        "issueSubtypeId": "a2c4e5ca-b694-4141-a487-9e8a7e4061b9",
                        "status": "answered",
                        "assignedTo": "ETPJ89WMQ6L5LYKV",
                        "assignedToType": "user",
                        "dueDate": "2023-10-26",
                        "locationId": "64849c0c-b116-439f-bc7f-5a31e068da82",
                        "locationDetails": "PA's location",
                        "snapshotUrn": null,
                        "linkedDocuments": [],
                        "links": [],
                        "ownerId": "XPGWRSENBMAX",
                        "officialResponse": {
                          "response": null,
                          "respondedAt": null,
                          "respondedBy": null
                        },
                        "permittedAttributes": [
                          "title",
                          "description",
                          "issueTypeId",
                          "issueSubtypeId",
                          "status",
                          "assignedTo",
                          "assignedToType",
                          "dueDate",
                          "locationId",
                          "locationDetails",
                          "linkedDocuments",
                          "links",
                          "ownerId",
                          "rootCauseId",
                          "officialResponse",
                          "customAttributes",
                          "clientUpdatedAt",
                          "snapshotUrn"
                        ],
                        "permittedActions": [
                          "add_comment",
                          "add_attachment",
                          "assign_all",
                          "clear_assignee"
                        ],
                        "commentCount": 0,
                        "attachmentCount": 0,
                        "openedBy": "XPGWRSENBMAX",
                        "openedAt": "2023-10-18T18:54:15.980Z",
                        "closedBy": null,
                        "closedAt": null,
                        "createdBy": "XPGWRSENBMAX",
                        "createdAt": "2023-10-18T18:54:16.220Z",
                        "clientCreatedAt": "2023-10-18T18:54:15.980Z",
                        "updatedBy": "XPGWRSENBMAX",
                        "updatedAt": "2023-10-18T19:33:28.394Z",
                        "clientUpdatedAt": "2023-10-18T19:33:28.393Z",
                        "issueTemplateId": null,
                        "customAttributes": [],
                        "permittedStatuses": [
                          "open",
                          "answered",
                          "closed",
                          "void"
                        ],
                        "issueType": "Design",
                        "issueSubtype": "Design",
                        "rootCauseCategory": "Coordination",
                        "rootCause": "Design Deficiency",
                        "projectId": "42662a32-ad92-48d3-bd05-8b778f964bd5"
                      }
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "Location": {
        "type": "object",
        "properties": {
          "id": {
            "allOf": [
              {
                "description": "The UUID of the Location assigned by Agave."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "source_id": {
            "type": "string",
            "readOnly": true,
            "example": "12345",
            "description": "The ID of the Location in the Source System."
          },
          "name": {
            "description": "The name of the Location",
            "type": "string",
            "example": "Location 3"
          },
          "parent_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the Parent Location."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "path": {
            "description": "The full path of the Location.",
            "type": "string",
            "example": "Location 1 > Location 2 > Location 3"
          },
          "source_create_time": {
            "allOf": [
              {
                "description": "The datetime the Location was created."
              },
              {
                "$ref": "#/components/schemas/DateTimeProperty"
              }
            ]
          },
          "source_update_time": {
            "allOf": [
              {
                "description": "The datetime the Location was last updated."
              },
              {
                "$ref": "#/components/schemas/DateTimeProperty"
              }
            ]
          }
        }
      },
      "Location-2": {
        "allOf": [
          {
            "$ref": "#/components/schemas/Location"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "https://developer.api.autodesk.com/bim360/locations/v2/containers/{Container_Id}/trees/default/nodes"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "id": "12345",
                      "parentId": "12345",
                      "type": "Area",
                      "name": "Location 3",
                      "description": null,
                      "barcode": null,
                      "order": 3,
                      "documentCount": 0,
                      "areaDefined": false,
                      "path": [
                        "Location 1",
                        "Location 2",
                        "Location 3"
                      ]
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "Location-3": {
        "allOf": [
          {
            "$ref": "#/components/schemas/Location"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "https://api.procore.com/rest/v1.1/projects/{Project_ID}}/locations"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "id": 12345,
                      "code": null,
                      "created_at": "2022-01-01T00:00:00Z",
                      "name": "Location 1 > Location 2 > Location 3",
                      "node_name": "Location 3",
                      "parent_id": 67890,
                      "updated_at": "2022-01-01T00:00:00Z"
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "Observation": {
        "type": "object",
        "properties": {
          "id": {
            "allOf": [
              {
                "description": "The UUID of the Observation assigned by Agave."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "source_id": {
            "type": "string",
            "readOnly": true,
            "example": "12345",
            "description": "The ID of the Observation in the Source System."
          },
          "assignee_ids": {
            "type": "array",
            "description": "The list of [Contacts](#tag--contacts) or [Vendors](#tag--vendors) assigned to an Issue.",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "allOf": [
                    {
                      "description": "The UUID of the Contact or Vendor assigned by Agave."
                    },
                    {
                      "$ref": "#/components/schemas/IdPropertyReadOnly"
                    }
                  ]
                },
                "type": {
                  "allOf": [
                    {
                      "description": "The type of Assignee (i.e. a Contact or Vendor)."
                    },
                    {
                      "$ref": "#/components/schemas/DateProperty"
                    }
                  ]
                }
              }
            }
          },
          "attachments": {
            "type": "array",
            "description": "A list of Attachments associated with the Observation.",
            "items": {
              "$ref": "#/components/schemas/Attachment"
            }
          },
          "creator_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Contact](#tag--contacts) that created the Observation."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "description": {
            "type": "string",
            "description": "The description of the Observation.",
            "example": "There is a leaky faucet in the first floor bathroom."
          },
          "due_date": {
            "allOf": [
              {
                "description": "The due date of the Observation."
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ]
          },
          "location_description": {
            "type": "string",
            "description": "A description of the Location.",
            "example": "The leaky faucet is on the first foor bathroom, on the right as you enter."
          },
          "location_id": {
            "allOf": [
              {
                "description": "The UUID of the [Location](#tag--locations) assigned by Agave."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "name": {
            "type": "string",
            "description": "The title or name of the Observation.",
            "example": "Leaky faucet on first floor"
          },
          "root_cause": {
            "type": "string",
            "description": "The root cause of the Observation.",
            "example": "Equipment - Improper Equipment"
          },
          "status": {
            "type": "string",
            "description": "The status of the Observation.",
            "example": "Closed"
          },
          "type": {
            "type": "string",
            "description": "The type of the Observation.",
            "example": "Corrective Action"
          },
          "source_close_time": {
            "allOf": [
              {
                "description": "The datetime the Observation was closed."
              },
              {
                "$ref": "#/components/schemas/DateTimeProperty"
              }
            ]
          },
          "source_create_time": {
            "allOf": [
              {
                "description": "The datetime the Observation was created."
              },
              {
                "$ref": "#/components/schemas/DateTimeProperty"
              }
            ]
          },
          "source_update_time": {
            "allOf": [
              {
                "description": "The datetime the Observation was last updated."
              },
              {
                "$ref": "#/components/schemas/DateTimeProperty"
              }
            ]
          }
        }
      },
      "Observation-2": {
        "allOf": [
          {
            "$ref": "#/components/schemas/Observation"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "https://api.procore.com/rest/v1.0/projects/{projectId}/observations"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "id": 12345,
                      "name": "Leaky faucet on first floor",
                      "status": "closed",
                      "priority": null,
                      "due_date": "2022-01-01",
                      "custom_fields": [],
                      "closed_at": "2022-01-01T00:00:00Z",
                      "created_at": "2022-01-01T00:00:00Z",
                      "date_notified": null,
                      "deleted_at": null,
                      "description": "There is a leaky faucet in the first floor bathroom.",
                      "description_rich_text": "There is a leaky faucet in the first floor bathroom.",
                      "number": "A123",
                      "origin": null,
                      "personal": true,
                      "specification_section": null,
                      "type": {
                        "id": 12345,
                        "name": "Corrective Action",
                        "localized_name": "Corrective Action",
                        "category": "Corrective Action",
                        "category_key": "corrective action",
                        "company_active": true,
                        "active": true,
                        "kind": "company",
                        "parent_inactive": false,
                        "in_use": true,
                        "name_translations": null
                      },
                      "updated_at": "2022-01-01T00:00:00Z",
                      "assignee": {
                        "id": 12345,
                        "name": "John Doe",
                        "vendor": null
                      },
                      "location": {
                        "id": 12345,
                        "name": "First Floor",
                        "node_name": "First Floor",
                        "parent_id": 12345,
                        "created_at": "2022-01-01T00:00:00Z",
                        "updated_at": "2022-01-01T00:00:00Z"
                      },
                      "trade": null,
                      "created_by": {
                        "id": 12345,
                        "login": "contact@agaveapi.com",
                        "name": "John Doe"
                      }
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "NewObservation": {
        "type": "object",
        "properties": {
          "assignee_ids": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Contacts](#tag--contacts) assigned to the Observation."
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          },
          "description": {
            "type": "string",
            "description": "The description of the Observation.",
            "example": "There is a leaky faucet in the first floor bathroom."
          },
          "due_date": {
            "allOf": [
              {
                "description": "The due date of the Observation."
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ]
          },
          "root_cause": {
            "type": "string",
            "description": "The root cause of the Observation.",
            "example": "Equipment - Improper Equipment"
          },
          "status": {
            "type": "string",
            "description": "The status of the Observation.",
            "example": "Open"
          },
          "name": {
            "type": "string",
            "description": "The title or name of the Observation.",
            "example": "Leaky faucet on first floor"
          },
          "type": {
            "type": "string",
            "description": "The type of the Observation.",
            "example": "Corrective Action"
          }
        }
      },
      "Project": {
        "type": "object",
        "title": "Construction Project",
        "properties": {
          "id": {
            "allOf": [
              {
                "description": "The UUID of the Project assigned by Agave."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "source_id": {
            "type": "string",
            "readOnly": true,
            "example": "12345",
            "description": "The ID of the Project in the Source System."
          },
          "address": {
            "allOf": [
              {
                "description": "The Project's address."
              },
              {
                "$ref": "#/components/schemas/Address"
              }
            ]
          },
          "amount": {
            "allOf": [
              {
                "$ref": "#/components/schemas/MoneyProperty"
              },
              {
                "description": "The monetary value of the Project."
              }
            ],
            "example": "500000.00"
          },
          "completion_date": {
            "allOf": [
              {
                "description": "The completion date of the Project."
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ]
          },
          "description": {
            "type": "string",
            "description": "The project's description",
            "example": "123 Main Street residential project"
          },
          "logo_url": {
            "type": "string",
            "description": "The url of project's logo",
            "example": "https://storage.agaveapi.com/project-log.png?signature=xxx"
          },
          "name": {
            "type": "string",
            "description": "The name of the Project.",
            "example": "Test Project-1"
          },
          "number": {
            "type": "string",
            "description": "The Project number.",
            "example": "A123"
          },
          "start_date": {
            "allOf": [
              {
                "description": "The start date of the Project."
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ]
          },
          "status": {
            "type": "string",
            "description": "The status of the Project (e.g. “Active”, “Pending”).\n\n**Note for Viewpoint Vista:** possible values include \"Pending\", \"Open\", \"Soft Closed\", and \"Closed\".\n\n**Note for Acumatica:** default values include \"In Planning\", \"Pending Approval\", \"Active\", \"Completed\", \"Canceled\", and \"Suspended\".\n\n**Note for COINS:** possible values include \"Active\", \"Inactive\", and \"Closed\".\n\n**Note for Foundation:** possible values include \"Active,” \"Bid\", \"Closed\", “Inactive,” and \"Overhead\".\n\n**Note for ComputerEase:** possible values include \"Active\", \"Closed\", and \"Inactive\".\n",
            "example": "Active"
          },
          "type": {
            "type": "string",
            "description": "The type of Project (e.g. “Retail”, “Residential”). **Note for COINS**: These types are dynamic and can be defined by users in the \"Contract Type\" settings.\n",
            "example": "Residential"
          },
          "source_create_time": {
            "allOf": [
              {
                "description": "The datetime the Project was created."
              },
              {
                "$ref": "#/components/schemas/DateTimeProperty"
              }
            ]
          },
          "source_update_time": {
            "allOf": [
              {
                "description": "The datetime the Project was last updated."
              },
              {
                "$ref": "#/components/schemas/DateTimeProperty"
              }
            ]
          }
        }
      },
      "Project-2": {
        "allOf": [
          {
            "$ref": "#/components/schemas/Project"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The source data as Agave received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "https://{region}.aconex.com/api/projects"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "@attributes": {
                        "Hidden": "false",
                        "DisconnectionStatus": "NONE",
                        "Active": "true"
                      },
                      "CreationDate": "2022-01-01T00:00:000Z",
                      "DeliveryAddressLine": [],
                      "DeliveryCity": [],
                      "DeliveryCountry": [],
                      "DeliveryPostcode": [],
                      "DeliveryState": [],
                      "FaxNumber": "11235550101",
                      "LogoPath": "/html/logos/aconex-stored/project/123450/2022-01-01-00-00-00-file.jpg",
                      "ProjectOwnerOrganizationId": "1208003047",
                      "ProjectOwnerOrganizationName": "AnyCompany Inc",
                      "PhoneNumber": "11235550100",
                      "PostalAddressLine": [],
                      "PostalCity": [],
                      "PostalCountry": [],
                      "PostalPostcode": [],
                      "PostalState": [],
                      "ProjectAddressLine": "123 Main Street",
                      "ProjectCity": "AnyTown",
                      "ProjectCode": "0000",
                      "ProjectCountry": "United States",
                      "ProjectDescription": "A description of the project",
                      "ProjectId": "12345",
                      "ProjectName": "Test Project-1",
                      "ProjectPostcode": "19703",
                      "ProjectShortName": "Test Project-1",
                      "ProjectState": "DE",
                      "ProjectType": "Residential",
                      "ProjectValue": "500000.00",
                      "ProjectResponsibilities": [],
                      "StartDate": "2022-01-01T00:00:000Z",
                      "StopDate": "2022-01-01T00:00:000Z"
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "Project-3": {
        "allOf": [
          {
            "$ref": "#/components/schemas/Project"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "https://{{host}}.com/{{instance_name}}/entity/Default/20.200.001/Project?%24expand=ProjectProperties"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "id": "2360c433-440b-e911-b818-00155d408001",
                      "rowNumber": 1,
                      "note": {
                        "value": ""
                      },
                      "Assets": [],
                      "Customer": {
                        "value": "AnyCustomer"
                      },
                      "Balances": [
                        {
                          "id": "aac7d661-259b-4cc0-990a-fee3bb739103",
                          "rowNumber": 3,
                          "note": null,
                          "AccountGroup": [],
                          "ActualAmount": {
                            "value": 0
                          },
                          "ActualOpenCommittedAmount": {
                            "value": 0
                          },
                          "BudgetedCOAmount": {
                            "value": 0
                          },
                          "CommittedCOAmount": {
                            "value": 0
                          },
                          "CommittedInvoicedAmount": {
                            "value": 0
                          },
                          "CommittedOpenAmount": {
                            "value": 0
                          },
                          "Description": {
                            "value": "Income Totals"
                          },
                          "OriginalBudgetedAmount": {
                            "value": 500000
                          },
                          "OriginalCommittedAmount": {
                            "value": 0
                          },
                          "Performance": {
                            "value": 0
                          },
                          "RevisedBudgetedAmount": {
                            "value": 500000
                          },
                          "RevisedCommittedAmount": {
                            "value": 0
                          },
                          "VarianceAmount": {
                            "value": 500000
                          }
                        }
                      ],
                      "Description": {
                        "value": "123 Main Street residential project"
                      },
                      "Expenses": [],
                      "ExternalRefNbr": [],
                      "Hold": {
                        "value": false
                      },
                      "Income": [],
                      "LastModifiedDateTime": {
                        "value": "2022-01-01T00:00:00-08:00"
                      },
                      "Liabilities": [],
                      "ProjectID": {
                        "value": "A123"
                      },
                      "ProjectProperties": {
                        "id": "920436c9-098e-48b7-94d1-89784caf74dd",
                        "rowNumber": 1,
                        "note": null,
                        "CertifiedJob": {
                          "value": false
                        },
                        "ChangeOrderWorkflow": {
                          "value": true
                        },
                        "EndDate": {
                          "value": "2022-01-01T00:00:00-00:00"
                        },
                        "LastRevenueChangeNbr": [],
                        "ProjectManager": {
                          "value": "EP00000001"
                        },
                        "RestrictEmployees": {
                          "value": false
                        },
                        "RestrictEquipment": {
                          "value": false
                        },
                        "RevenueBudgetLevel": {
                          "value": "Task and Item"
                        },
                        "StartDate": {
                          "value": "2022-01-01T00:00:00-00:00"
                        },
                        "TrackProductionData": {
                          "value": false
                        },
                        "custom": []
                      },
                      "ProjectTemplateID": [],
                      "Status": {
                        "value": "Active"
                      },
                      "custom": [],
                      "_links": {
                        "self": "/TestU100/entity/Default/20.200.001/Project/2360c433-440b-e911-b818-00155d408001",
                        "files:put": "/TestU100/entity/Default/20.200.001/files/PX.Objects.PM.ProjectEntry/Project/2360c433-440b-e911-b818-00155d408001/{filename}"
                      }
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "Project-4": {
        "allOf": [
          {
            "$ref": "#/components/schemas/Project"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "https://developer.api.autodesk.com/hq/v1/accounts/{accountId}/projects"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "id": "9b465243-3be7-4f54-94c7-45360ca4fc44",
                      "account_id": "12345",
                      "name": "Test Project-1",
                      "start_date": "2022-01-01",
                      "end_date": "2023-01-01",
                      "value": 100,
                      "currency": "USD",
                      "status": "active",
                      "job_number": "A123",
                      "address_line_1": "123 Main Street",
                      "address_line_2": "Unit 1",
                      "city": "AnyTown",
                      "state_or_province": "Delaware",
                      "postal_code": "19703",
                      "country": "United States",
                      "business_unit_id": null,
                      "created_at": "2022-01-01T00:00:00.000Z",
                      "updated_at": "2022-01-01T00:00:00.000Z",
                      "project_type": "Stadium/Arena",
                      "timezone": "America/New_York",
                      "language": "en",
                      "construction_type": "New Construction",
                      "contract_type": "Construction Management (CM) at Risk",
                      "last_sign_in": "2022-01-01T00:00:00.000Z"
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "Project-5": {
        "allOf": [
          {
            "$ref": "#/components/schemas/Project"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "https://api.procore.com/rest/v1.0/projects"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "project_id": "4c065dec-5c56-4a19-846e-c9d6c4445df0",
                      "name": "Test Project",
                      "default_issue_due_date": null,
                      "issue_workflow_rule": "open",
                      "is_active": false,
                      "issue_filters": [
                        {
                          "issue_filter_id": "7fc72c34-3f4a-4520-9fd7-cc6e4bdec154",
                          "name": "All Issues",
                          "updated_at": "2022-02-05 17:19:58 -0500"
                        },
                        {
                          "issue_filter_id": "1424005a-1fd3-4ada-afeb-52158a2be36e",
                          "name": "All Unresolved Issues",
                          "updated_at": "2022-02-05 17:19:58 -0500"
                        },
                        {
                          "issue_filter_id": "bf37ae78-ad16-4eec-9a46-2fc6d3a23325",
                          "name": "Completed Issues for Subcontractor",
                          "updated_at": "2022-02-05 17:19:59 -0500"
                        },
                        {
                          "issue_filter_id": "6a8ebe42-08bf-4298-b976-de6ed1668633",
                          "name": "Emailed Issues",
                          "updated_at": "2022-02-05 17:19:58 -0500"
                        },
                        {
                          "issue_filter_id": "c410e64c-200a-4908-923b-854ff1c53038",
                          "name": "Issues Created by Me",
                          "updated_at": "2022-02-05 17:19:58 -0500"
                        },
                        {
                          "issue_filter_id": "8be6eb52-6826-4e47-8de4-eca929e4b959",
                          "name": "Issues Created by My Company",
                          "updated_at": "2022-02-05 17:19:59 -0500"
                        },
                        {
                          "issue_filter_id": "86d10c62-b540-4908-be78-e22a10e9cf49",
                          "name": "Issues for Architect",
                          "updated_at": "2022-02-05 17:19:58 -0500"
                        },
                        {
                          "issue_filter_id": "15b07427-14db-4569-b0da-a4e8e14ce117",
                          "name": "Issues for Contractor",
                          "updated_at": "2022-02-05 17:19:58 -0500"
                        },
                        {
                          "issue_filter_id": "ead27a97-219f-4ae9-812c-60615f9f2f98",
                          "name": "Issues for Engineer",
                          "updated_at": "2022-02-05 17:19:58 -0500"
                        },
                        {
                          "issue_filter_id": "e512782f-78c9-4b78-adb2-8b280063fd23",
                          "name": "Issues for My Company",
                          "updated_at": "2022-02-05 17:19:58 -0500"
                        },
                        {
                          "issue_filter_id": "3e9b550d-64a4-4e23-8042-a7584c1efbee",
                          "name": "Issues for Owner",
                          "updated_at": "2022-02-05 17:19:58 -0500"
                        },
                        {
                          "issue_filter_id": "dac0c9b9-3240-49b9-93b8-b6f46cc54ff3",
                          "name": "Issues for Subcontractor",
                          "updated_at": "2022-02-05 17:19:59 -0500"
                        },
                        {
                          "issue_filter_id": "10e8b5b7-b6ad-4b48-9c51-13454ed26601",
                          "name": "Open Issues for Subcontractor",
                          "updated_at": "2022-02-05 17:19:59 -0500"
                        },
                        {
                          "issue_filter_id": "da48d0b5-8c95-4ff8-ad15-9e9ebe48cef7",
                          "name": "Past Due Issues",
                          "updated_at": "2022-02-05 17:19:58 -0500"
                        },
                        {
                          "issue_filter_id": "8f34f80e-9938-4007-8731-3446cb767986",
                          "name": "Past Due Issues for Subcontractor",
                          "updated_at": "2022-02-05 17:19:59 -0500"
                        },
                        {
                          "issue_filter_id": "bcd7e6d7-111e-4f21-ab2c-653dfb217e17",
                          "name": "Voided Issues",
                          "updated_at": "2022-02-05 17:19:59 -0500"
                        }
                      ],
                      "document_paths": [],
                      "permissions": [
                        {
                          "realm": "issues",
                          "permission": "edit"
                        },
                        {
                          "realm": "qa_qc",
                          "permission": "edit"
                        },
                        {
                          "realm": "safety",
                          "permission": "edit"
                        },
                        {
                          "realm": "commissioning",
                          "permission": "edit"
                        },
                        {
                          "realm": "equipment",
                          "permission": "edit"
                        },
                        {
                          "realm": "reports",
                          "permission": "edit"
                        },
                        {
                          "realm": "filters",
                          "permission": "edit"
                        },
                        {
                          "realm": "library",
                          "permission": "edit"
                        },
                        {
                          "realm": "ticket",
                          "permission": "edit"
                        },
                        {
                          "realm": "dashboard",
                          "permission": "edit"
                        },
                        {
                          "realm": "assign_tasks",
                          "permission": "edit"
                        },
                        {
                          "realm": "daily_updates",
                          "permission": "edit"
                        },
                        {
                          "realm": "summary_bar",
                          "permission": true
                        }
                      ],
                      "user_roles": "contractor,project_admin,document_manager,photo_viewer",
                      "user_company_id": "bb4dd6d6-642d-4d85-9f7b-874a8db4e66e",
                      "lock_closed_checklists": false,
                      "lock_closed_tasks": false,
                      "task_edit_by_assignee_only": false,
                      "always_allow_attachments": true,
                      "filters": [
                        {
                          "filter_id": "0e1679f1-aa91-46f4-857e-768353333221",
                          "name": "Tasks for Subcontractor",
                          "container": "Task",
                          "position": 4,
                          "conditions": [
                            {
                              "identifier": "created_by_or_assigned_to_my_company",
                              "operation": "eq",
                              "sort_direction": "ASC",
                              "sort_field": false,
                              "values": "1"
                            }
                          ],
                          "created_by": "autodesk_system_hq_2@velaserver.com",
                          "creator_id": "00fe4235-fbf4-442b-be83-c06130a3126c",
                          "updated_by": "autodesk_system_hq_2@velaserver.com",
                          "roles": "subcontractor",
                          "created_at": "2022-02-05 17:19:59 -0500",
                          "updated_at": "2022-02-05 17:19:59 -0500"
                        },
                        {
                          "filter_id": "10e8b5b7-b6ad-4b48-9c51-13454ed26601",
                          "name": "Open Issues for Subcontractor",
                          "container": "Issue",
                          "position": 13,
                          "conditions": [
                            {
                              "identifier": "authored_by_or_assigned_to_my_company",
                              "operation": "eq",
                              "sort_direction": "ASC",
                              "sort_field": false,
                              "values": "1"
                            },
                            {
                              "identifier": "status",
                              "operation": "in",
                              "sort_direction": "ASC",
                              "sort_field": false,
                              "values": [
                                "Open"
                              ]
                            }
                          ],
                          "created_by": "autodesk_system_hq_2@velaserver.com",
                          "creator_id": "00fe4235-fbf4-442b-be83-c06130a3126c",
                          "updated_by": "autodesk_system_hq_2@velaserver.com",
                          "roles": "subcontractor",
                          "created_at": "2022-02-05 17:19:59 -0500",
                          "updated_at": "2022-02-05 17:19:59 -0500"
                        },
                        {
                          "filter_id": "1424005a-1fd3-4ada-afeb-52158a2be36e",
                          "name": "All Unresolved Issues",
                          "container": "Issue",
                          "position": 2,
                          "conditions": [
                            {
                              "identifier": "unresolved",
                              "operation": "eq",
                              "sort_direction": "ASC",
                              "sort_field": false,
                              "values": "1"
                            }
                          ],
                          "created_by": "autodesk_system_hq_2@velaserver.com",
                          "creator_id": "00fe4235-fbf4-442b-be83-c06130a3126c",
                          "updated_by": "autodesk_system_hq_2@velaserver.com",
                          "roles": "contractor,architect,engineer,owner,inspector",
                          "created_at": "2022-02-05 17:19:58 -0500",
                          "updated_at": "2022-02-05 17:19:58 -0500"
                        },
                        {
                          "filter_id": "15b07427-14db-4569-b0da-a4e8e14ce117",
                          "name": "Issues for Contractor",
                          "container": "Issue",
                          "position": 6,
                          "conditions": [
                            {
                              "identifier": "unresolved",
                              "operation": "eq",
                              "sort_direction": "ASC",
                              "sort_field": false,
                              "values": "1"
                            }
                          ],
                          "created_by": "autodesk_system_hq_2@velaserver.com",
                          "creator_id": "00fe4235-fbf4-442b-be83-c06130a3126c",
                          "updated_by": "autodesk_system_hq_2@velaserver.com",
                          "roles": "contractor",
                          "created_at": "2022-02-05 17:19:58 -0500",
                          "updated_at": "2022-02-05 17:19:58 -0500"
                        },
                        {
                          "filter_id": "1c16de07-56d2-4a35-8814-019e53b55d79",
                          "name": "Closed Checklists",
                          "container": "CompletedChecklist",
                          "position": 3,
                          "conditions": [
                            {
                              "identifier": "status",
                              "operation": "eq",
                              "sort_direction": "ASC",
                              "sort_field": false,
                              "values": "Closed"
                            }
                          ],
                          "created_by": "autodesk_system_hq_2@velaserver.com",
                          "creator_id": "00fe4235-fbf4-442b-be83-c06130a3126c",
                          "updated_by": "autodesk_system_hq_2@velaserver.com",
                          "roles": "contractor,architect,engineer,owner,inspector",
                          "created_at": "2022-02-05 17:19:58 -0500",
                          "updated_at": "2022-02-05 17:19:58 -0500"
                        },
                        {
                          "filter_id": "24b8b3e2-c6e8-4465-bf8d-e95777179625",
                          "name": "All Equipment",
                          "container": "Equipment",
                          "position": 1,
                          "conditions": [],
                          "created_by": "autodesk_system_hq_2@velaserver.com",
                          "creator_id": "00fe4235-fbf4-442b-be83-c06130a3126c",
                          "updated_by": "autodesk_system_hq_2@velaserver.com",
                          "roles": "contractor,architect,engineer,owner,subcontractor,inspector",
                          "created_at": "2022-02-05 17:19:58 -0500",
                          "updated_at": "2022-02-05 17:19:58 -0500"
                        },
                        {
                          "filter_id": "3122860a-2c48-4339-9e35-278d59a43605",
                          "name": "My Unresolved Tasks",
                          "container": "Task",
                          "position": 2,
                          "conditions": [
                            {
                              "identifier": "created_by_me_or_assigned_to_me",
                              "operation": "eq",
                              "sort_direction": "ASC",
                              "sort_field": false,
                              "values": "1"
                            },
                            {
                              "identifier": "unresolved",
                              "operation": "eq",
                              "sort_direction": "ASC",
                              "sort_field": false,
                              "values": "1"
                            }
                          ],
                          "created_by": "autodesk_system_hq_2@velaserver.com",
                          "creator_id": "00fe4235-fbf4-442b-be83-c06130a3126c",
                          "updated_by": "autodesk_system_hq_2@velaserver.com",
                          "roles": "contractor,architect,engineer,owner,subcontractor,inspector",
                          "created_at": "2022-02-05 17:19:58 -0500",
                          "updated_at": "2022-02-05 17:19:58 -0500"
                        },
                        {
                          "filter_id": "3b82a2b8-3bce-421f-9757-be1b6a4260f7",
                          "name": "Closed Checklists for Subcontractor",
                          "container": "CompletedChecklist",
                          "position": 6,
                          "conditions": [
                            {
                              "identifier": "authored_by_or_assigned_to_my_company",
                              "operation": "eq",
                              "sort_direction": "ASC",
                              "sort_field": false,
                              "values": "1"
                            },
                            {
                              "identifier": "status",
                              "operation": "in",
                              "sort_direction": "ASC",
                              "sort_field": false,
                              "values": [
                                "Closed"
                              ]
                            }
                          ],
                          "created_by": "autodesk_system_hq_2@velaserver.com",
                          "creator_id": "00fe4235-fbf4-442b-be83-c06130a3126c",
                          "updated_by": "autodesk_system_hq_2@velaserver.com",
                          "roles": "subcontractor",
                          "created_at": "2022-02-05 17:19:59 -0500",
                          "updated_at": "2022-02-05 17:19:59 -0500"
                        },
                        {
                          "filter_id": "3e9b550d-64a4-4e23-8042-a7584c1efbee",
                          "name": "Issues for Owner",
                          "container": "Issue",
                          "position": 8,
                          "conditions": [
                            {
                              "identifier": "status",
                              "operation": "eq",
                              "sort_direction": "ASC",
                              "sort_field": false,
                              "values": "Ready to Inspect"
                            }
                          ],
                          "created_by": "autodesk_system_hq_2@velaserver.com",
                          "creator_id": "00fe4235-fbf4-442b-be83-c06130a3126c",
                          "updated_by": "autodesk_system_hq_2@velaserver.com",
                          "roles": "owner",
                          "created_at": "2022-02-05 17:19:58 -0500",
                          "updated_at": "2022-02-05 17:19:58 -0500"
                        },
                        {
                          "filter_id": "43637810-6c05-4403-9e54-707c70b37d48",
                          "name": "All Tasks",
                          "container": "Task",
                          "position": 1,
                          "conditions": [],
                          "created_by": "autodesk_system_hq_2@velaserver.com",
                          "creator_id": "00fe4235-fbf4-442b-be83-c06130a3126c",
                          "updated_by": "autodesk_system_hq_2@velaserver.com",
                          "roles": "contractor,architect,engineer,owner,inspector",
                          "created_at": "2022-02-05 17:19:58 -0500",
                          "updated_at": "2022-02-05 17:19:58 -0500"
                        },
                        {
                          "filter_id": "6a8ebe42-08bf-4298-b976-de6ed1668633",
                          "name": "Emailed Issues",
                          "container": "Issue",
                          "position": 3,
                          "conditions": [
                            {
                              "identifier": "created_from",
                              "operation": "eq",
                              "sort_direction": "ASC",
                              "sort_field": false,
                              "values": "email"
                            }
                          ],
                          "created_by": "autodesk_system_hq_2@velaserver.com",
                          "creator_id": "00fe4235-fbf4-442b-be83-c06130a3126c",
                          "updated_by": "autodesk_system_hq_2@velaserver.com",
                          "roles": "contractor,architect,engineer,owner,inspector",
                          "created_at": "2022-02-05 17:19:58 -0500",
                          "updated_at": "2022-02-05 17:19:58 -0500"
                        },
                        {
                          "filter_id": "7fc72c34-3f4a-4520-9fd7-cc6e4bdec154",
                          "name": "All Issues",
                          "container": "Issue",
                          "position": 1,
                          "conditions": [],
                          "created_by": "autodesk_system_hq_2@velaserver.com",
                          "creator_id": "00fe4235-fbf4-442b-be83-c06130a3126c",
                          "updated_by": "autodesk_system_hq_2@velaserver.com",
                          "roles": "contractor,architect,engineer,owner,inspector",
                          "created_at": "2022-02-05 17:19:58 -0500",
                          "updated_at": "2022-02-05 17:19:58 -0500"
                        },
                        {
                          "filter_id": "86d10c62-b540-4908-be78-e22a10e9cf49",
                          "name": "Issues for Architect",
                          "container": "Issue",
                          "position": 5,
                          "conditions": [
                            {
                              "identifier": "status",
                              "operation": "eq",
                              "sort_direction": "ASC",
                              "sort_field": false,
                              "values": "Ready to Inspect"
                            }
                          ],
                          "created_by": "autodesk_system_hq_2@velaserver.com",
                          "creator_id": "00fe4235-fbf4-442b-be83-c06130a3126c",
                          "updated_by": "autodesk_system_hq_2@velaserver.com",
                          "roles": "architect",
                          "created_at": "2022-02-05 17:19:58 -0500",
                          "updated_at": "2022-02-05 17:19:58 -0500"
                        },
                        {
                          "filter_id": "8be6eb52-6826-4e47-8de4-eca929e4b959",
                          "name": "Issues Created by My Company",
                          "container": "Issue",
                          "position": 16,
                          "conditions": [
                            {
                              "identifier": "authored_by_my_company",
                              "operation": "eq",
                              "sort_direction": "ASC",
                              "sort_field": false,
                              "values": "1"
                            }
                          ],
                          "created_by": "autodesk_system_hq_2@velaserver.com",
                          "creator_id": "00fe4235-fbf4-442b-be83-c06130a3126c",
                          "updated_by": "autodesk_system_hq_2@velaserver.com",
                          "roles": "subcontractor",
                          "created_at": "2022-02-05 17:19:59 -0500",
                          "updated_at": "2022-02-05 17:19:59 -0500"
                        },
                        {
                          "filter_id": "8f34f80e-9938-4007-8731-3446cb767986",
                          "name": "Past Due Issues for Subcontractor",
                          "container": "Issue",
                          "position": 15,
                          "conditions": [
                            {
                              "identifier": "authored_by_or_assigned_to_my_company",
                              "operation": "eq",
                              "sort_direction": "ASC",
                              "sort_field": false,
                              "values": "1"
                            },
                            {
                              "identifier": "past_due",
                              "operation": "eq",
                              "sort_direction": "ASC",
                              "sort_field": false,
                              "values": "1"
                            }
                          ],
                          "created_by": "autodesk_system_hq_2@velaserver.com",
                          "creator_id": "00fe4235-fbf4-442b-be83-c06130a3126c",
                          "updated_by": "autodesk_system_hq_2@velaserver.com",
                          "roles": "subcontractor",
                          "created_at": "2022-02-05 17:19:59 -0500",
                          "updated_at": "2022-02-05 17:19:59 -0500"
                        },
                        {
                          "filter_id": "aac1f54c-d6b6-4195-afe0-54c9da87358d",
                          "name": "Voided Tasks",
                          "container": "Task",
                          "position": 3,
                          "conditions": [
                            {
                              "identifier": "status",
                              "operation": "eq",
                              "sort_direction": "ASC",
                              "sort_field": false,
                              "values": "Void"
                            }
                          ],
                          "created_by": "autodesk_system_hq_2@velaserver.com",
                          "creator_id": "00fe4235-fbf4-442b-be83-c06130a3126c",
                          "updated_by": "autodesk_system_hq_2@velaserver.com",
                          "roles": "contractor,architect,engineer,owner,inspector",
                          "created_at": "2022-02-05 17:19:58 -0500",
                          "updated_at": "2022-02-05 17:19:58 -0500"
                        },
                        {
                          "filter_id": "bcd7e6d7-111e-4f21-ab2c-653dfb217e17",
                          "name": "Voided Issues",
                          "container": "Issue",
                          "position": 11,
                          "conditions": [
                            {
                              "identifier": "status",
                              "operation": "eq",
                              "sort_direction": "ASC",
                              "sort_field": false,
                              "values": "Void"
                            }
                          ],
                          "created_by": "autodesk_system_hq_2@velaserver.com",
                          "creator_id": "00fe4235-fbf4-442b-be83-c06130a3126c",
                          "updated_by": "autodesk_system_hq_2@velaserver.com",
                          "roles": "contractor,architect,engineer,owner,inspector",
                          "created_at": "2022-02-05 17:19:59 -0500",
                          "updated_at": "2022-02-05 17:19:59 -0500"
                        },
                        {
                          "filter_id": "bf37ae78-ad16-4eec-9a46-2fc6d3a23325",
                          "name": "Completed Issues for Subcontractor",
                          "container": "Issue",
                          "position": 14,
                          "conditions": [
                            {
                              "identifier": "authored_by_or_assigned_to_my_company",
                              "operation": "eq",
                              "sort_direction": "ASC",
                              "sort_field": false,
                              "values": "1"
                            },
                            {
                              "identifier": "status",
                              "operation": "in",
                              "sort_direction": "ASC",
                              "sort_field": false,
                              "values": [
                                "Work Completed"
                              ]
                            }
                          ],
                          "created_by": "autodesk_system_hq_2@velaserver.com",
                          "creator_id": "00fe4235-fbf4-442b-be83-c06130a3126c",
                          "updated_by": "autodesk_system_hq_2@velaserver.com",
                          "roles": "subcontractor",
                          "created_at": "2022-02-05 17:19:59 -0500",
                          "updated_at": "2022-02-05 17:19:59 -0500"
                        },
                        {
                          "filter_id": "c345779b-0b9e-410a-b932-85ba5ea793ee",
                          "name": "All Checklists",
                          "container": "CompletedChecklist",
                          "position": 1,
                          "conditions": [],
                          "created_by": "autodesk_system_hq_2@velaserver.com",
                          "creator_id": "00fe4235-fbf4-442b-be83-c06130a3126c",
                          "updated_by": "autodesk_system_hq_2@velaserver.com",
                          "roles": "contractor,architect,engineer,owner,inspector",
                          "created_at": "2022-02-05 17:19:58 -0500",
                          "updated_at": "2022-02-05 17:19:58 -0500"
                        },
                        {
                          "filter_id": "c410e64c-200a-4908-923b-854ff1c53038",
                          "name": "Issues Created by Me",
                          "container": "Issue",
                          "position": 4,
                          "conditions": [
                            {
                              "identifier": "created_by_me",
                              "operation": "eq",
                              "sort_direction": "ASC",
                              "sort_field": false,
                              "values": "1"
                            }
                          ],
                          "created_by": "autodesk_system_hq_2@velaserver.com",
                          "creator_id": "00fe4235-fbf4-442b-be83-c06130a3126c",
                          "updated_by": "autodesk_system_hq_2@velaserver.com",
                          "roles": "contractor,architect,engineer,owner,subcontractor,inspector",
                          "created_at": "2022-02-05 17:19:58 -0500",
                          "updated_at": "2022-02-05 17:19:58 -0500"
                        },
                        {
                          "filter_id": "d6972b64-ddc3-47f8-a756-67e527472f3d",
                          "name": "Open Checklists",
                          "container": "CompletedChecklist",
                          "position": 2,
                          "conditions": [
                            {
                              "identifier": "status",
                              "operation": "eq",
                              "sort_direction": "ASC",
                              "sort_field": false,
                              "values": "Open"
                            }
                          ],
                          "created_by": "autodesk_system_hq_2@velaserver.com",
                          "creator_id": "00fe4235-fbf4-442b-be83-c06130a3126c",
                          "updated_by": "autodesk_system_hq_2@velaserver.com",
                          "roles": "contractor,architect,engineer,owner,inspector",
                          "created_at": "2022-02-05 17:19:58 -0500",
                          "updated_at": "2022-02-05 17:19:58 -0500"
                        },
                        {
                          "filter_id": "d71e63d4-f9d5-4a39-a88a-5a3a9af3998c",
                          "name": "Open Checklists for Subcontractor",
                          "container": "CompletedChecklist",
                          "position": 5,
                          "conditions": [
                            {
                              "identifier": "authored_by_or_assigned_to_my_company",
                              "operation": "eq",
                              "sort_direction": "ASC",
                              "sort_field": false,
                              "values": "1"
                            },
                            {
                              "identifier": "status",
                              "operation": "in",
                              "sort_direction": "ASC",
                              "sort_field": false,
                              "values": [
                                "Open"
                              ]
                            }
                          ],
                          "created_by": "autodesk_system_hq_2@velaserver.com",
                          "creator_id": "00fe4235-fbf4-442b-be83-c06130a3126c",
                          "updated_by": "autodesk_system_hq_2@velaserver.com",
                          "roles": "subcontractor",
                          "created_at": "2022-02-05 17:19:59 -0500",
                          "updated_at": "2022-02-05 17:19:59 -0500"
                        },
                        {
                          "filter_id": "da48d0b5-8c95-4ff8-ad15-9e9ebe48cef7",
                          "name": "Past Due Issues",
                          "container": "Issue",
                          "position": 10,
                          "conditions": [
                            {
                              "identifier": "past_due",
                              "operation": "eq",
                              "sort_direction": "ASC",
                              "sort_field": false,
                              "values": "1"
                            }
                          ],
                          "created_by": "autodesk_system_hq_2@velaserver.com",
                          "creator_id": "00fe4235-fbf4-442b-be83-c06130a3126c",
                          "updated_by": "autodesk_system_hq_2@velaserver.com",
                          "roles": "contractor,architect,engineer,owner,inspector",
                          "created_at": "2022-02-05 17:19:58 -0500",
                          "updated_at": "2022-02-05 17:19:58 -0500"
                        },
                        {
                          "filter_id": "dac0c9b9-3240-49b9-93b8-b6f46cc54ff3",
                          "name": "Issues for Subcontractor",
                          "container": "Issue",
                          "position": 12,
                          "conditions": [
                            {
                              "identifier": "authored_by_or_assigned_to_my_company",
                              "operation": "eq",
                              "sort_direction": "ASC",
                              "sort_field": false,
                              "values": "1"
                            }
                          ],
                          "created_by": "autodesk_system_hq_2@velaserver.com",
                          "creator_id": "00fe4235-fbf4-442b-be83-c06130a3126c",
                          "updated_by": "autodesk_system_hq_2@velaserver.com",
                          "roles": "subcontractor",
                          "created_at": "2022-02-05 17:19:59 -0500",
                          "updated_at": "2022-02-05 17:19:59 -0500"
                        },
                        {
                          "filter_id": "e27bc3f0-f8fa-442e-8c88-a6715dc8d50b",
                          "name": "Voided Tasks for Subcontractor",
                          "container": "Task",
                          "position": 5,
                          "conditions": [
                            {
                              "identifier": "created_by_or_assigned_to_my_company",
                              "operation": "eq",
                              "sort_direction": "ASC",
                              "sort_field": false,
                              "values": "1"
                            },
                            {
                              "identifier": "status",
                              "operation": "in",
                              "sort_direction": "ASC",
                              "sort_field": false,
                              "values": [
                                "Void"
                              ]
                            }
                          ],
                          "created_by": "autodesk_system_hq_2@velaserver.com",
                          "creator_id": "00fe4235-fbf4-442b-be83-c06130a3126c",
                          "updated_by": "autodesk_system_hq_2@velaserver.com",
                          "roles": "subcontractor",
                          "created_at": "2022-02-05 17:19:59 -0500",
                          "updated_at": "2022-02-05 17:19:59 -0500"
                        },
                        {
                          "filter_id": "e512782f-78c9-4b78-adb2-8b280063fd23",
                          "name": "Issues for My Company",
                          "container": "Issue",
                          "position": 9,
                          "conditions": [
                            {
                              "identifier": "my_company",
                              "operation": "eq",
                              "sort_direction": "ASC",
                              "sort_field": false,
                              "values": "1"
                            }
                          ],
                          "created_by": "autodesk_system_hq_2@velaserver.com",
                          "creator_id": "00fe4235-fbf4-442b-be83-c06130a3126c",
                          "updated_by": "autodesk_system_hq_2@velaserver.com",
                          "roles": "contractor,architect,engineer,owner,subcontractor,inspector",
                          "created_at": "2022-02-05 17:19:58 -0500",
                          "updated_at": "2022-02-05 17:19:58 -0500"
                        },
                        {
                          "filter_id": "ead27a97-219f-4ae9-812c-60615f9f2f98",
                          "name": "Issues for Engineer",
                          "container": "Issue",
                          "position": 7,
                          "conditions": [
                            {
                              "identifier": "status",
                              "operation": "eq",
                              "sort_direction": "ASC",
                              "sort_field": false,
                              "values": "Ready to Inspect"
                            }
                          ],
                          "created_by": "autodesk_system_hq_2@velaserver.com",
                          "creator_id": "00fe4235-fbf4-442b-be83-c06130a3126c",
                          "updated_by": "autodesk_system_hq_2@velaserver.com",
                          "roles": "engineer",
                          "created_at": "2022-02-05 17:19:58 -0500",
                          "updated_at": "2022-02-05 17:19:58 -0500"
                        },
                        {
                          "filter_id": "fa7ae242-9a54-4a1f-a615-b643ea3e6392",
                          "name": "Checklists for Subcontractor",
                          "container": "CompletedChecklist",
                          "position": 4,
                          "conditions": [
                            {
                              "identifier": "authored_by_or_assigned_to_my_company",
                              "operation": "eq",
                              "sort_direction": "ASC",
                              "sort_field": false,
                              "values": "1"
                            }
                          ],
                          "created_by": "autodesk_system_hq_2@velaserver.com",
                          "creator_id": "00fe4235-fbf4-442b-be83-c06130a3126c",
                          "updated_by": "autodesk_system_hq_2@velaserver.com",
                          "roles": "subcontractor",
                          "created_at": "2022-02-05 17:19:59 -0500",
                          "updated_at": "2022-02-05 17:19:59 -0500"
                        }
                      ],
                      "is_sub": false,
                      "needs_duns": false,
                      "is_trial": false,
                      "brand": null,
                      "brand_color": null,
                      "allow_photo_timestamp": false,
                      "enable_daily_updates": true,
                      "issue_id_can_be_changed_by": "no_one",
                      "business_unit": null,
                      "include_in_reports": true,
                      "allow_admin_close_any_issue": false,
                      "daily_update_general_notes_template": null,
                      "new_sub": false,
                      "account_company_id": "bb4dd6d6-642d-4d85-9f7b-874a8db4e66e",
                      "status": "active",
                      "hq_identifier": "9b465243-3be7-4f54-94c7-45360ca4fc44",
                      "alert_for_required_properties": false
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "Project-6": {
        "allOf": [
          {
            "$ref": "#/components/schemas/Project"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "https://api.bimtrackapp.co/v3/hubs/{hubId}/projects"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "Id": 12345,
                      "Author": {
                        "Id": 12345,
                        "UserName": "63e5582e-94b0-45c5-bc0f-48f9dad6d123",
                        "Email": "contact@agaveapi.com",
                        "FirstName": "Agave",
                        "LastName": "API",
                        "AvatarUrl": null
                      },
                      "Image": null,
                      "CreationDate": "2022-01-01T00:00:00.00",
                      "Name": "Test Project-1"
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "Project-7": {
        "allOf": [
          {
            "$ref": "#/components/schemas/Project"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "https://{{instance_name}}.coinscloud.com/env/{{environment}}/rest/pages/company/{{company_id}}/jc_job"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "kco": 3,
                      "job_num": "12345",
                      "job_name": "Test Project-1",
                      "job_shipaddr__1": "123 Main Street",
                      "job_shipaddr__2": "AnyTown",
                      "job_shipaddr__3": "CA",
                      "job_shipaddr__4": "US",
                      "job_pcode": "19703",
                      "job_antdate": null,
                      "job_sdate": null,
                      "job_active": "A",
                      "jc_job.RO_jtcreated": "2022-01-01T00:00:00.000",
                      "jc_job.RO_jtchanged": "2022-01-01T00:00:00.000",
                      "job_compdate": "2022-01-01",
                      "jgr_group": "00",
                      "job_opendate": "2022-01-01",
                      "job_complete": false,
                      "RO_job_type_desc": "Residential",
                      "job_desc__1": "123 Main Street residential project",
                      "rcm_num": "ACME",
                      "job_parent": ""
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "Project-8": {
        "allOf": [
          {
            "$ref": "#/components/schemas/Project"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": {
                      "Endpoint": null
                    }
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {}
                  }
                }
              }
            }
          }
        ]
      },
      "Project-9": {
        "allOf": [
          {
            "$ref": "#/components/schemas/Project"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "{{server}}/{{environemnt}}/jc-rest-api/rest/1/jcjob"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "JobAccmethCode": null,
                      "JobAcctContactCode": null,
                      "JobAcctPartnCode": null,
                      "JobAcctPartnTypeCode": null,
                      "JobActComplDate": null,
                      "JobActStartDate": "2022-01-01",
                      "JobActionCode": null,
                      "JobAddTypeCode": null,
                      "JobAdjBudgEqualsRevFlg": "N",
                      "JobAllocApdiscJobFlag": "N",
                      "JobAllowEtmshtEntriesFlag": "Y",
                      "JobAllowOverheadFlag": "Y",
                      "JobApTax1Code": null,
                      "JobApTax2Code": null,
                      "JobApTax3Code": null,
                      "JobApplyDbRules": "N",
                      "JobArTax1Code": null,
                      "JobArTax2Code": null,
                      "JobArTax3Code": null,
                      "JobArchiveFlag": "N",
                      "JobAreaDistrict": null,
                      "JobAsstContactCode": null,
                      "JobAsstPartnCode": null,
                      "JobAsstPartnTypeCode": null,
                      "JobAttachOraseq": 844131651,
                      "JobAuthRqSeqNum": null,
                      "JobBidCode": null,
                      "JobBidFlag": "N",
                      "JobBidStatusCode": null,
                      "JobBidSubmitDate": null,
                      "JobBillAccCode": null,
                      "JobBillAmt": null,
                      "JobBillDeptCode": "00",
                      "JobBillFlag": null,
                      "JobBillMethCode": "JB",
                      "JobBillTblRevFcastFlg": "N",
                      "JobBillingRateTableCode": "DFLT",
                      "JobBillingTypeCode": "PC",
                      "JobBudgOvrdProjFlag": "N",
                      "JobBudgUnit": null,
                      "JobBudgcstSameLevelFlag": "Y",
                      "JobBudgrSeqNum": null,
                      "JobCalSalChargeRate": null,
                      "JobCcAccCode": null,
                      "JobCcDeptCode": "00",
                      "JobCertifyCode": "N",
                      "JobCertrepContractNumber": null,
                      "JobCertrepEndDate": null,
                      "JobCertrepFringeBenPaid": null,
                      "JobCertrepSignatoryName": null,
                      "JobCertrepSignatoryTitle": null,
                      "JobCertrepStartDate": null,
                      "JobChgSeqNum": null,
                      "JobCilocCode": null,
                      "JobCode": "PA-002",
                      "JobCompCode": "001",
                      "JobComplUnit": null,
                      "JobCompletedForWipFlag": "N",
                      "JobConstructionValue": null,
                      "JobConstructionValuePct": null,
                      "JobContTypeCode": null,
                      "JobContactCode": null,
                      "JobContractAmt": 500000.25,
                      "JobContractCode": "PA-002",
                      "JobCostFlag": "Y",
                      "JobCostMethCode": "B",
                      "JobCostToComplOvrdFlg": "N",
                      "JobCreateDate": "2024-03-25T21:12:55-04:00",
                      "JobCtrlCode": "ALL",
                      "JobCustCode": "ULV",
                      "JobCustContactName": null,
                      "JobDaysOutstInvPaidTtl": null,
                      "JobDefaultDeptCode": "00",
                      "JobDefaultPyovhdGrp": null,
                      "JobDisbAmt": null,
                      "JobEqpChgNoRestartFlag": "N",
                      "JobEstComplDate": null,
                      "JobEstStartDate": null,
                      "JobExclBillingWip": "N",
                      "JobExclContAmtWipFlag": "N",
                      "JobExclRevBudgWip": "N",
                      "JobExcludeFromWipFlag": "N",
                      "JobFcastInclSubjobsFlg": "N",
                      "JobFinalizeProjectionsFlag": null,
                      "JobFullyPaidInvs": null,
                      "JobHbAmt": null,
                      "JobHbRecAmt": null,
                      "JobHier": "001     PA-002    ",
                      "JobIbAllowFlag": "N",
                      "JobIbExpenseCatCode": null,
                      "JobIbFullTariffFlag": "N",
                      "JobIgnoreCostsPriorToDate": null,
                      "JobInvFormatCode": null,
                      "JobInvoiceFormatCode": "LS",
                      "JobInvoiceGroupCode": null,
                      "JobIuCreateDate": "2024-03-25T21:12:56-04:00",
                      "JobIuUpdateDate": null,
                      "JobJbMapCode": "DFLT",
                      "JobJbRetainageCode": null,
                      "JobJtrExpFlag": null,
                      "JobLbcAccCode": null,
                      "JobLbcDeptCode": null,
                      "JobLocCode": null,
                      "JobLongCode": null,
                      "JobLstAddonDate": null,
                      "JobLstRecDate": null,
                      "JobLstRecPc": null,
                      "JobLtcAccCode": null,
                      "JobLtcDeptCode": "00",
                      "JobMakeupFlag": null,
                      "JobMaxBillingAmt": null,
                      "JobMaxBillingBudgetAmt": null,
                      "JobMaxChargePc": null,
                      "JobMaxHourlyRate": null,
                      "JobMaxHours": null,
                      "JobMsCode": null,
                      "JobMutliOvhdPcFlag": "N",
                      "JobName": "PA dredging Project 2",
                      "JobOrigBudgetEffectiveDate": null,
                      "JobOriginalContractAmt": null,
                      "JobOriginalFeeAmt": null,
                      "JobPartnCode": null,
                      "JobPartnTypeCode": null,
                      "JobPayFromJobCompFlag": "N",
                      "JobPayrateScheduleCode": null,
                      "JobPhsBudgUnitsFlag": "N",
                      "JobPhsTypeRequiredFlg": "N",
                      "JobPlPolicyNo": null,
                      "JobPmFlag": "N",
                      "JobPolicyNo": null,
                      "JobPrevailingWage": null,
                      "JobProfrecAmt": null,
                      "JobProjThresholdPct": 0,
                      "JobPropertyId": null,
                      "JobProvinceCode": null,
                      "JobPublicSectorFlag": "N",
                      "JobPwOvRate": null,
                      "JobPwRateCode": null,
                      "JobPyOvtruleCode": null,
                      "JobRateByJobFlag": null,
                      "JobRecAmt": null,
                      "JobReserveRevAccCode": "41011",
                      "JobReserveRevDeptCode": "00",
                      "JobRevenueGenState": "J",
                      "JobRevrecAmt": null,
                      "JobRevrecCurrDate": null,
                      "JobRevrecLstAmt": null,
                      "JobRevrecLstPc": null,
                      "JobRevrecPc": null,
                      "JobRuleCode": null,
                      "JobSecGroup": null,
                      "JobSectorCode": null,
                      "JobShowCprAsCostAmtFlag": "N",
                      "JobSiSeqNum": null,
                      "JobSickPolicyCode": null,
                      "JobSizeCode": "L",
                      "JobStatusCode": "I",
                      "JobSubFlag": null,
                      "JobSuptContactCode": null,
                      "JobSuptPartnCode": null,
                      "JobSuptPartnTypeCode": null,
                      "JobTax1Code": null,
                      "JobTax2Code": null,
                      "JobTax3Code": null,
                      "JobTermCode": "NET30",
                      "JobTrackRepBurden": null,
                      "JobUeValidFlag": "Y",
                      "JobUnbilledRevAccCode": "41009",
                      "JobUnbilledRevDeptCode": "00",
                      "JobUnitPricedContractFlag": "N",
                      "JobUseEqpBillRateFlag": "N",
                      "JobUsePayBillRateFlag": "N",
                      "JobWbsvCode1": null,
                      "JobWbsvCode10": null,
                      "JobWbsvCode11": null,
                      "JobWbsvCode12": null,
                      "JobWbsvCode2": null,
                      "JobWbsvCode3": null,
                      "JobWbsvCode4": null,
                      "JobWbsvCode5": null,
                      "JobWbsvCode6": null,
                      "JobWbsvCode7": null,
                      "JobWbsvCode8": null,
                      "JobWbsvCode9": null,
                      "JobWbsvEditableFlag1": "Y",
                      "JobWbsvEditableFlag10": null,
                      "JobWbsvEditableFlag11": null,
                      "JobWbsvEditableFlag12": null,
                      "JobWbsvEditableFlag2": "Y",
                      "JobWbsvEditableFlag3": "Y",
                      "JobWbsvEditableFlag4": "N",
                      "JobWbsvEditableFlag5": null,
                      "JobWbsvEditableFlag6": null,
                      "JobWbsvEditableFlag7": null,
                      "JobWbsvEditableFlag8": null,
                      "JobWbsvEditableFlag9": null,
                      "JobWbsvRequiredFlag1": "N",
                      "JobWbsvRequiredFlag10": null,
                      "JobWbsvRequiredFlag11": null,
                      "JobWbsvRequiredFlag12": null,
                      "JobWbsvRequiredFlag2": "N",
                      "JobWbsvRequiredFlag3": "N",
                      "JobWbsvRequiredFlag4": "N",
                      "JobWbsvRequiredFlag5": null,
                      "JobWbsvRequiredFlag6": null,
                      "JobWbsvRequiredFlag7": null,
                      "JobWbsvRequiredFlag8": null,
                      "JobWbsvRequiredFlag9": null,
                      "JobWipAccCode": null,
                      "JobWipAdjAccCode": null,
                      "JobWipAdjDeptCode": "00",
                      "JobWipDeptCode": "00",
                      "JobWipLmrgOvrFlag": "N",
                      "JobWipMrgLossbsAcc": null,
                      "JobWipMrgLossbsDep": null,
                      "JobWipMrgLossplAcc": null,
                      "JobWipMrgLossplDep": null,
                      "JobWipOhLossbsAcc": null,
                      "JobWipOhLossbsDep": null,
                      "JobWipOhLossplAcc": null,
                      "JobWipOhLossplDep": null,
                      "JobWipOverrideContAmt": null,
                      "JobWipRollInSubjobFlag": "Y",
                      "JobWipUnpostedCostAcc": "9999",
                      "JobWipUnpostedCostCat": null,
                      "JobWipUnpostedCostDep": "00",
                      "JobWipUnpostedCostPhase": "99999",
                      "JobWipUnpostedRevAcc": "9999",
                      "JobWipUnpostedRevCat": null,
                      "JobWipUnpostedRevDep": "00",
                      "JobWipUnpostedRevPhase": "99999",
                      "JobWmCode": null,
                      "JobWoFlag": null,
                      "JobWorkLoc": null,
                      "WorkLoc": null,
                      "JobVUuid": "14860E3A159B3FEDE06316821FAC29ED",
                      "links": [
                        {
                          "rel": "self",
                          "href": "http://mobtest.cmiccloudr12.com:80/cmictestrti/jc-rest-api/rest/1/jcjob/14860E3A159B3FEDE06316821FAC29ED",
                          "name": "jcjob",
                          "kind": "item"
                        },
                        {
                          "rel": "canonical",
                          "href": "http://mobtest.cmiccloudr12.com:80/cmictestrti/jc-rest-api/rest/1/jcjob/14860E3A159B3FEDE06316821FAC29ED",
                          "name": "jcjob",
                          "kind": "item"
                        }
                      ]
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "Project-10": {
        "allOf": [
          {
            "$ref": "#/components/schemas/Project"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "https://api.companycam.com/v2/projects"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "id": "12345",
                      "company_id": "12345",
                      "creator_id": "12345",
                      "creator_type": "User",
                      "creator_name": "John Doe",
                      "integration_relation_id": null,
                      "status": "active",
                      "public": true,
                      "name": "Test Project-1",
                      "address": {
                        "street_address_1": "123 Main Street",
                        "street_address_2": "Unit 1",
                        "city": "AnyTown",
                        "state": "California",
                        "postal_code": "19703",
                        "country": "The United States of America"
                      },
                      "feature_image": [],
                      "slug": "vaZcP9vNxmSNgqSE",
                      "project_url": "https://app.companycam.com/projects/12345",
                      "public_url": "https://app.companycam.com/timeline/12345",
                      "coordinates": {
                        "lat": null,
                        "lon": null
                      },
                      "geofence": [],
                      "primary_contact": null,
                      "created_at": 1641042000,
                      "updated_at": 1641042000,
                      "embedded_project_url": "https://app.companycam.com/embed/projects/12345",
                      "photo_count": 0,
                      "capture_photo_deeplink": "ccam://camera/43552959/12345",
                      "integrations": [],
                      "notepad": null
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "Project-11": {
        "allOf": [
          {
            "$ref": "#/components/schemas/Project"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "jcjob"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "jobnum": "A123",
                      "name": "Test Project-1",
                      "address1": "123 Main Street",
                      "address2": "Anytown, CA 19703",
                      "address3": "",
                      "address4": "",
                      "cusnum": "AGAVE",
                      "state": "CA",
                      "addresscity": "Anytown",
                      "addressstate": "CA",
                      "addresszip": "19703",
                      "locality": "",
                      "taxnum": "CINCI",
                      "class": "OFFICE",
                      "billnotes": "",
                      "salesacct": "",
                      "eeoclocnum": "",
                      "wcompnum1": "",
                      "wcompnum2": "",
                      "ponum": "",
                      "accesscode": "",
                      "tmcode": "DEFAULT",
                      "directpaynum": "",
                      "deptnum": "1",
                      "certnum": "",
                      "potaxnum": "",
                      "shoppaystate": "",
                      "shoppaylocal": "",
                      "routegroup": "",
                      "nextsubnum": "",
                      "billnum": "",
                      "multiphasesw": 0,
                      "puffsw": 0,
                      "tmsw": 0,
                      "aiadummysw": 0,
                      "closed": 0,
                      "useshoppaylocal": 0,
                      "status": 1,
                      "dateopen": "2025-07-30",
                      "datedue": "2025-09-26",
                      "contractamt": 0,
                      "taxabletypes": 0,
                      "waiversw": 2,
                      "markup0": 0,
                      "markup1": 0,
                      "markup2": 0,
                      "markup3": 0,
                      "markup4": 0,
                      "markup5": 0,
                      "markup6": 0,
                      "markup7": 0,
                      "markup8": 0,
                      "markup9": 0,
                      "markup10": 0,
                      "markup11": 0,
                      "markup12": 0,
                      "markup13": 0,
                      "markup14": 0,
                      "markup15": 0,
                      "markup16": 0,
                      "labordetailsw": 1,
                      "actualburdensw": 1,
                      "overheadpcnt1": 0,
                      "overheadpcnt2": 0,
                      "overheadpcnt3": 0,
                      "overheadpcnt4": 0,
                      "overheadpcnt5": 0,
                      "overheadpcnt6": 0,
                      "overheadpcnt7": 0,
                      "overheadpcnt8": 0,
                      "overheadpcnt9": 0,
                      "overheadpcnt10": 0,
                      "overheadpcnt11": 0,
                      "overheadpcnt12": 0,
                      "overheadpcnt13": 0,
                      "overheadpcnt14": 0,
                      "overheadpcnt15": 0,
                      "overheadpcnt16": 0,
                      "memo": "This is an example Job for Test Project 1",
                      "firstpayrolldate": null,
                      "burdenperreghr": 0,
                      "workloc": 1,
                      "burdenperothr": 0,
                      "unpostedoverheadpcnt1": 0,
                      "unpostedoverheadpcnt2": 0,
                      "lockbudgets": 0,
                      "attachid": "0",
                      "retpcnt": 0,
                      "subretpcnt": 0,
                      "waivermin": 0,
                      "rfcrates": "",
                      "rfcmarkups": "",
                      "proverride": "",
                      "serialnum": "12",
                      "checkpobudget": 0,
                      "checksubbudget": 0,
                      "billgroup": "",
                      "ecbillrates": "",
                      "pricecode": 0,
                      "pwcoordinatorid": "0",
                      "barcode": "",
                      "catcontracts": 0,
                      "nextrfcnum": "",
                      "mjob": "",
                      "fedsickpaysw": 0,
                      "latitude": 0,
                      "longitude": 0,
                      "radius": 0,
                      "locationaddress": "",
                      "approveruuid": "",
                      "user_1": "",
                      "user_2": "John Smith",
                      "user_3": "(123) 555-0100",
                      "user_4": "",
                      "user_5": ""
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "Project-12": {
        "allOf": [
          {
            "$ref": "#/components/schemas/Project"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "https://app.fieldwire.com/api/v3/account/projects"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "deleted_at": null,
                      "created_at": "2022-01-01T00:00:00.000Z",
                      "updated_at": "2022-01-01T00:00:00.000Z",
                      "resolved_conflict": false,
                      "device_created_at": "2022-01-01T00:00:00.000Z",
                      "device_updated_at": "2022-01-01T00:00:00.000Z",
                      "account_id": 12345,
                      "address": "Claymont, DE 19703, USA",
                      "archived_at": null,
                      "code": "A123",
                      "color": "#F9CD39",
                      "currency": "USD",
                      "default_pm_group_id": null,
                      "has_logo": true,
                      "id": "c3da50d8-b29e-4265-bef4-176f17a55f95",
                      "is_3d_bim_enabled": true,
                      "is_mobile_location_creation_enabled": true,
                      "is_email_notifications_enabled": true,
                      "logo_url": null,
                      "man_power_units": "man-hours",
                      "name": "Test Project-1",
                      "owner_email": "contact@agaveapi.com",
                      "plan_name": "Business",
                      "prompt_effort_on_complete": false,
                      "sheets_limit": null,
                      "time_zone": "Pacific Time (US & Canada)",
                      "is_analytics_enabled": true,
                      "min_api_version": null,
                      "is_pm_enabled": false,
                      "is_field_enabled": true,
                      "is_plan_text_search_enabled": true,
                      "is_premium": true,
                      "is_enterprise": true,
                      "work_week": [
                        true,
                        true,
                        true,
                        true,
                        true,
                        true,
                        true
                      ]
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "Project-13": {
        "allOf": [
          {
            "$ref": "#/components/schemas/Project"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The database query for the Source System.",
                    "example": "select [jobs].*, [project_classes].[description] as [project_classes_description] from [jobs] left join [project_classes] on [project_classes].[project_class_no] = [jobs].[project_class_no] where [jobs].[company_no] = 1"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "company_no": "1",
                      "job_no": "         1",
                      "description": "Xray Renovation",
                      "cost_code_method": "1",
                      "cost_basis": "U",
                      "certified_payroll": "N",
                      "job_status": "A",
                      "overhead_percent": ".0000000",
                      "county_no": null,
                      "tax_pr_no": "AKRON     ",
                      "customer_no": "      2009",
                      "project_manager_no": "SR        ",
                      "geo_area_no": "       100",
                      "project_class_no": "      1000",
                      "original_contract": "555000.00",
                      "total_change_orders": ".00",
                      "income_incurred": ".00",
                      "tax_ap_no": null,
                      "original_cost": "510000.00",
                      "tot_change_order_cost": ".00",
                      "tot_percent_complete": ".0000000",
                      "certified_last_paid_date": null,
                      "retainage_percent": ".0000000",
                      "pay_weeks": null,
                      "suta_state": null,
                      "short_desc": null,
                      "job_start_date": null,
                      "tax_ar_no": null,
                      "dept_no": null,
                      "completion_date": null,
                      "certified_start_date": null,
                      "workers_comp_state": null,
                      "non_union": "Y",
                      "override_union": null,
                      "customer_order_no": null,
                      "customer_job_no": null,
                      "address_1": null,
                      "address_2": null,
                      "attention_of": null,
                      "terms_no": null,
                      "order_number": null,
                      "order_date": null,
                      "customer_contact": null,
                      "job_contact": null,
                      "ship_via_no": null,
                      "prevailing_wage_union": null,
                      "overhead_rate_flag": null,
                      "apply_phases": "Y",
                      "county_pr_no": null,
                      "city": null,
                      "state": null,
                      "zip_code": null,
                      "job_location": null,
                      "type_of_work": null,
                      "project_no": null,
                      "job_number": null,
                      "federal_no": null,
                      "employment_status": "S",
                      "district": null,
                      "est_completion_date": null,
                      "work_days_remaining": null,
                      "contract_type": "P",
                      "security_code_no": null,
                      "comments": null,
                      "price_level_no": null,
                      "default_price_level": "0",
                      "overhead_rate": ".0000000",
                      "man_day_rate": ".0000000",
                      "contract": null,
                      "gen_phase": null,
                      "material_entered": null,
                      "apply_shift_differential": "N",
                      "record_status": "A",
                      "row_modified_by": "DBA",
                      "row_modified_on": "2022-01-25 14:41:00.360",
                      "row_unique_id": "1",
                      "stored_mat_retainage_perc": null,
                      "wc_proration_basis": "N",
                      "job_id": "1",
                      "company_id": "1",
                      "customer_id": "2009",
                      "customer_order_id": null,
                      "customer_job_id": null,
                      "county_id": null,
                      "county_pr_id": null,
                      "dept_id": null,
                      "federal_id": null,
                      "geo_area_id": "100",
                      "project_id": null,
                      "project_class_id": "1000",
                      "project_manager_id": "SR",
                      "price_level_id": null,
                      "ship_via_id": null,
                      "security_code_id": null,
                      "terms_id": null,
                      "tax_ap_id": null,
                      "tax_ar_id": null,
                      "tax_pr_id": "AKRON",
                      "default_income_cost_code": null,
                      "equipment_service_repair": "N",
                      "tm_billing_design_no": null,
                      "default_income_phase_no": null,
                      "tm_override_income_phase_no": null,
                      "tm_override_income_cost_code_no": null,
                      "tm_retainage_percent": ".0000000",
                      "tm_tax_no": null,
                      "tm_sales_tax_base_default": "C",
                      "tm_tax_labor": "N",
                      "tm_tax_material": "N",
                      "tm_tax_subcontract": "N",
                      "tm_tax_owned_equipment": "N",
                      "tm_tax_rented_equipment": "N",
                      "tm_tax_burden_misc": "N",
                      "tm_tax_overhead": "N",
                      "default_income_phase_id": null,
                      "tm_billing_design_id": null,
                      "tm_override_income_cost_code_id": null,
                      "tm_override_income_phase_id": null,
                      "tm_tax_id": null,
                      "waiver_owner": null,
                      "waiver_county": null,
                      "lien_waiver_default": "N",
                      "ap_tax_exempt": "N",
                      "ap_tax_exempt_cert": null,
                      "inv_usage_markup": "C",
                      "federal_project_id": null,
                      "state_project_id": null,
                      "include_job_in_tm": "Y",
                      "default_tax_type": "S",
                      "awarding_authority": null,
                      "lien_waiver_default_ar": "N",
                      "lien_waiver_format_ar": "CA",
                      "lien_waiver_format_ap": "GE",
                      "description_of_services": null,
                      "lien_waiver_owner_address_1": null,
                      "lien_waiver_owner_address_2": null,
                      "lien_waiver_owner_city": null,
                      "lien_waiver_owner_state": null,
                      "lien_waiver_owner_zip": null,
                      "pre_lien_required": "N",
                      "pre_lien_format": "CA_R",
                      "pre_lien_trust_fund_vendor": null,
                      "pre_lien_printed": null,
                      "pre_lien_contractor_name": null,
                      "pre_lien_contractor_address_1": null,
                      "pre_lien_contractor_address_2": null,
                      "pre_lien_contractor_city": null,
                      "pre_lien_contractor_state": null,
                      "pre_lien_contractor_zip": null,
                      "pre_lien_con_lender_name": null,
                      "pre_lien_con_lender_address_1": null,
                      "pre_lien_con_lender_address_2": null,
                      "pre_lien_con_lender_city": null,
                      "pre_lien_con_lender_state": null,
                      "pre_lien_con_lender_zip": null,
                      "ovhd_post_to_job": "Y",
                      "ovhd_rate": ".0000",
                      "ovhd_get_values_from": "CTL",
                      "ovhd_post_to_phase": null,
                      "ovhd_post_to_cost_code": null,
                      "ovhd_post_to_cost_class": null,
                      "type_of_work_pr": null,
                      "davis_bacon_payrate": null,
                      "date_of_letting": null,
                      "zone": null,
                      "project_serial_num": null,
                      "route": null,
                      "section": null,
                      "income_type_no": null,
                      "include_on_minority_compliance": "Y",
                      "income_type_id": null,
                      "provider": null,
                      "job_country": null,
                      "ship_to_no": null,
                      "ship_to_id": null,
                      "verify_budget_vs_posub_dist": "C",
                      "city_project_no": null,
                      "contract_awarded_date": null,
                      "city_contract_no": null,
                      "city_contract_id": null,
                      "city_project_id": null,
                      "kc_cert_pr_local_tax_no": null,
                      "kc_cert_pr_local_tax_id": null,
                      "lien_waiver_owner_use_flag": "N",
                      "sd_flag": "C",
                      "sd_site": null,
                      "sd_tech": null,
                      "import_batch_no": null,
                      "import_batch_id": null,
                      "prevailing_wage_date": null,
                      "awarding_auth_project_num": null,
                      "tm_usetax_tax_base_default": "C",
                      "tm_usetax_labor": "N",
                      "tm_usetax_material": "N",
                      "tm_usetax_subcontract": "N",
                      "tm_usetax_owned_equipment": "N",
                      "tm_usetax_rented_equipment": "N",
                      "tm_usetax_burden": "N",
                      "tm_usetax_overhead": "N",
                      "tm_tax_type": "S",
                      "qb_labor_account_name": null,
                      "qb_labor_account_n": null,
                      "qb_burden_account_name": null,
                      "qb_burden_account_n": null,
                      "qb_fica_account_name": null,
                      "qb_fica_account_n": null,
                      "qb_unemployment_account_name": null,
                      "qb_unemployment_account_n": null,
                      "qb_wc_account_name": null,
                      "qb_wc_account_n": null,
                      "qb_fringe_account_name": null,
                      "qb_fringe_account_n": null,
                      "qb_401k_account_name": null,
                      "qb_401k_account_n": null,
                      "qb_extra_burden_account_name": null,
                      "qb_extra_burden_account_n": null,
                      "qb_job": null,
                      "pre_lien_contractor_title": null,
                      "lien_waiver_owner_title": null,
                      "pre_lien_con_lender_title": null,
                      "lien_waiver_format_type": "S",
                      "lien_waiver_design_no_ap": null,
                      "eq_job_usage_rates_comment": null,
                      "aia_company_name_no": null,
                      "exclude_in_epr_wrk_wage": "N",
                      "tm_ws_design_no": null,
                      "aia_company_name_id": null,
                      "tm_ws_design_id": null,
                      "calc_daily_ot_based_on": "C",
                      "OT_day_limit": ".0000",
                      "apply_Sat_Sun_OT_rules": "Y",
                      "foreign_flag": "N",
                      "DT_day_limit": ".0000",
                      "Sat_all_OT": "C",
                      "Sat_DT_after": ".0000",
                      "Sun_all_DT": "C",
                      "awarding_authority_address": null,
                      "awarding_authority_city": null,
                      "awarding_authority_state": null,
                      "awarding_authority_zip": null,
                      "awarding_authority_phone": null,
                      "bid_date": null,
                      "bid_due_date": null,
                      "bid_status_no": null,
                      "bid_closed_date": null,
                      "estimator_no": null,
                      "salesperson_no": null,
                      "original_bid_no": null,
                      "proest_estimate_code": null,
                      "bid_status_id": null,
                      "estimator_id": null,
                      "original_bid_id": null,
                      "salesperson_id": null,
                      "bid_submitted_date": null,
                      "gen_liab_state": null,
                      "gen_liab_class_no": null,
                      "gen_liab_class_id": null,
                      "bid_design_no": null,
                      "record_guid": "2B1A9B2F-167E-EC11-A45D-E454E88F8BE7",
                      "bid_design_id": null,
                      "mc_job_no": null,
                      "mc_database_name": null,
                      "mc_job_id": null,
                      "project_classes_description": "Bonded"
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "Project-14": {
        "allOf": [
          {
            "$ref": "#/components/schemas/Project"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "https://api.hcssapps.com/setups/api/v1/Job?businessUnitCode=MANAGER"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "code": "A123",
                      "businessUnitCode": "MANAGER",
                      "status": "A",
                      "id": "8f91a49e-867c-4ef9-840a-66cae265a919",
                      "description": "Test Project-1",
                      "note": "123 Main Street residential project",
                      "address": "123 Main Street",
                      "city": "Anytown",
                      "country": "US",
                      "state": "CA",
                      "zipCode": "19703",
                      "laborRateSetGroup": "PREVAILING",
                      "equipmentRateSetGroup": "HARRIS",
                      "accountingTemplateName": "Viewpoint",
                      "tags": [
                        {
                          "group": "Project Manager",
                          "tag": "BLAKE",
                          "tagDescription": "Blake Smith's Jobs"
                        },
                        {
                          "group": "Region",
                          "tag": "HARRIS",
                          "tagDescription": "Harris County Jobs"
                        }
                      ]
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "Project-15": {
        "allOf": [
          {
            "$ref": "#/components/schemas/Project"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "https://io.plangrid.com/projects"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "acs_unified": false,
                      "city": "AnyTown",
                      "country": "USA",
                      "custom_id": "None",
                      "end_date": "2023-01-01",
                      "latitude": null,
                      "longitude": null,
                      "name": "Test Project-1",
                      "organization_id": null,
                      "owner": null,
                      "postal_code": "19703",
                      "region": "Delaware",
                      "start_date": "2022-01-01",
                      "status": "In Progress",
                      "street_1": "123 Main Street",
                      "street_2": "Unit 1",
                      "type": "Residential",
                      "uid": "1a23f456-7e8a-90c1-afc2-34c5678c9e01",
                      "updated_at": "2022-01-01T00:00:00.00000+00:00"
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "Project-16": {
        "allOf": [
          {
            "$ref": "#/components/schemas/Project"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "https://api.procore.com/rest/v1.0/projects"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "id": 12345,
                      "name": "Test Project-1",
                      "is_demo": false,
                      "parent_job_id": null,
                      "display_name": "Test Project 1",
                      "project_number": "A123",
                      "address": "123 Main Street",
                      "city": "AnyTown",
                      "state_code": "DE",
                      "country_code": "US",
                      "zip": "19703",
                      "county": "New Castle County",
                      "time_zone": "Pacific Time (US & Canada)",
                      "latitude": null,
                      "longitude": null,
                      "stage": "None",
                      "phone": "(123) 555-0100",
                      "created_at": "2022-01-01T00:00:00Z",
                      "updated_at": "2022-01-01T00:00:00Z",
                      "active": true,
                      "origin_id": null,
                      "origin_data": null,
                      "origin_code": null,
                      "owners_project_id": null,
                      "estimated_value": "500000.0",
                      "project_region_id": null,
                      "project_bid_type_id": null,
                      "project_owner_type_id": null,
                      "photo_id": null,
                      "start_date": "2022-01-01",
                      "completion_date": "2023-01-01",
                      "total_value": "500000.0",
                      "accounting_project_number": null,
                      "store_number": null,
                      "designated_market_area": null,
                      "custom_fields": [],
                      "company": {
                        "id": 12345,
                        "name": "AnyCompany"
                      }
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "Project-17": {
        "allOf": [
          {
            "$ref": "#/components/schemas/Project"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The database query for the Source System.",
                    "example": "select * from [actrec]"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "_idnum": "12345490-D058-EE11-93C2-7CB566A7DC1B",
                      "recnum": "12345",
                      "jobnme": "Test Project-1",
                      "shtnme": "TP1",
                      "clnnum": null,
                      "contct": "",
                      "addrs1": "123 Main Street",
                      "addrs2": "Unit B",
                      "ctynme": "AnyTown",
                      "state_": "CA",
                      "zipcde": "19703",
                      "phnnum": "1235550100",
                      "faxnum": "1235550101",
                      "achtct": null,
                      "lender": null,
                      "sprvsr": null,
                      "slsemp": null,
                      "estemp": null,
                      "usrdf1": "",
                      "usrdf2": "",
                      "lcltax": null,
                      "slstax": null,
                      "lgract": null,
                      "dptmnt": null,
                      "dscdte": "",
                      "duedte": "",
                      "dsccnt": ".00",
                      "finchg": ".00",
                      "retain": ".00",
                      "cntrct": "510000.00",
                      "begbal": ".00",
                      "endbal": ".00",
                      "biddte": null,
                      "plnrcv": null,
                      "actbid": null,
                      "ctcdte": null,
                      "prelen": null,
                      "sttdte": "2022-01-01T00:00:00.000Z",
                      "cmpdte": "2022-01-01T00:00:00.000Z",
                      "lenfld": null,
                      "lenrls": null,
                      "jobtyp": 1,
                      "status": 4,
                      "pstwip": 0,
                      "crtfid": 0,
                      "connum": "",
                      "pchord": "",
                      "imgfle": "",
                      "csttym": "",
                      "csttyl": "",
                      "csttye": "",
                      "csttys": "",
                      "csttyo": "",
                      "usrcs6": "",
                      "usrcs7": "",
                      "usrcs8": "",
                      "usrcs9": "",
                      "ntetxt": "2093 Philadelphia Pike residential building",
                      "export": "",
                      "lotclr": "",
                      "lotprm": ".00",
                      "plnprc": ".00",
                      "actprc": ".00",
                      "estdte": null,
                      "actdte": null,
                      "lotnum": "",
                      "modnme": "",
                      "sqarft": "0",
                      "usrlst": "",
                      "catxex": 0,
                      "pstexm": 0,
                      "insdte": "2022-01-01T00:00:00.000Z",
                      "insusr": "12345",
                      "upddte": null,
                      "updusr": null,
                      "inactv": 0,
                      "fedsck": 0,
                      "stmeml": "",
                      "ncrtck": 0,
                      "rtejob": 0,
                      "rtervw": null,
                      "typnme": "Government"
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "Project-18": {
        "allOf": [
          {
            "$ref": "#/components/schemas/Project"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The database query for the Source System.",
                    "example": "select * from [MASTER_JCM_RECORD_1]"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "JOB": "A123",
                      "JDESC": "West Coast Arena",
                      "JADDR1": "123 Main Street",
                      "JADDR2": "Unit B",
                      "JCITY": "AnyTown",
                      "JSTATE": "CA",
                      "JZIP": "19703",
                      "JTYPE": "Commercial",
                      "JSIZE": 0,
                      "JUDESC": "",
                      "JSECID": "",
                      "JSPHN": "(123)555-0100",
                      "JFPHN": "(123)555-0101",
                      "JPHN": "",
                      "JPRJMGR": "John Doe",
                      "JTITL1": "",
                      "JTITL2": "",
                      "JTITL3": "",
                      "JTITL4": "",
                      "JPMEML": "contact@agaveapitest.com",
                      "JSPEML": "",
                      "JORDER1": "",
                      "JORDER2": "",
                      "JSTATUS": "In progress",
                      "JCOMETH": "1",
                      "JEXTRAS": "Tracking extras",
                      "JESTSD": "2022-01-01",
                      "JESTCD": "2025-01-01",
                      "JREVSD": null,
                      "JREVCD": null,
                      "JACTSD": "2022-02-01",
                      "JACTCD": "2025-02-01",
                      "JLCUPD": null,
                      "JCLST1": "0",
                      "JCLST2": "0",
                      "JCLST3": "0",
                      "JCLST4": "0",
                      "JCLST5": "0",
                      "JCLST6": "0",
                      "JCLST7": "0",
                      "JCLST8": "0",
                      "JCLST9": "0",
                      "JCLST10": "0",
                      "JCLST11": "0",
                      "JCLST12": "0",
                      "JARCUST": "A123",
                      "JARTGRP": "",
                      "JBMETH": "Use Quick Bill",
                      "JBLEVEL": "Cost Code level 1",
                      "JREVACT": "",
                      "JRTNPCT": 0,
                      "JEXFC": "0",
                      "JFCTYPE": "None",
                      "JFCPCNT": 0,
                      "JFCFLAT": 0,
                      "JSCOPE": "This is a brand new arena for West Coast High School",
                      "JCERT": "Allow Daily Enry",
                      "JWCGRP": "",
                      "JBURPCT": 0,
                      "JWRKST": "",
                      "JWRKCTY": "",
                      "JERCODE": "",
                      "JCRTPRJ": "",
                      "JHOLD": "0",
                      "JAUTH": "",
                      "JAPBANK": "",
                      "JLTXGRP": "",
                      "JMTXGRP": "",
                      "JSTXGRP": "",
                      "JETXGRP": "",
                      "JBTXGRP": "",
                      "JOTXGRP": "",
                      "JCAGRP": "Group A",
                      "JPREFIX": "10",
                      "JCSTACC": "",
                      "JCOSACC": "",
                      "JREVACC": "",
                      "JRVRMTH": "Percent complete",
                      "JCPSLW": "0",
                      "JCUSCLA": "0",
                      "JCMLSCA": 0,
                      "JCMLWSA": 0,
                      "JCRSCR": "0",
                      "JCRSMA": "0",
                      "JCPPLW": "0",
                      "JCUPCLA": "0",
                      "JCMLPCA": 0,
                      "JCMLWPA": 0,
                      "JCRPCR": "0",
                      "JCRPMA": "0",
                      "JCPOLW": "0",
                      "JCUOCLA": "0",
                      "JCMLOCA": 0,
                      "JCMLWOA": 0,
                      "JCROCR": "0",
                      "JCROMA": "0",
                      "JCPELW": "0",
                      "JCUECLA": "0",
                      "JCMLECA": 0,
                      "JCMLWEA": 0,
                      "JCRECR": "0",
                      "JCREMA": "0",
                      "JCLDOM": 29,
                      "JCLWCTD": "Invoice Date",
                      "JCLWUTD": "Payment Date",
                      "JCJUR": "Not Specified",
                      "JCDWEND": "Friday",
                      "JCMCTOL": 0,
                      "JCUST": "",
                      "JCNAME": "",
                      "JCADDR1": "",
                      "JCADDR2": "",
                      "JCCITY": "",
                      "JCSTATE": "",
                      "JCZIP": "",
                      "JCCONT1": "",
                      "JCPHN1": "",
                      "JCFAX": "",
                      "JBADDR1": "",
                      "JBADDR2": "",
                      "JBCITY": "",
                      "JBSTATE": "",
                      "JBZIP": "",
                      "JCCONT2": "",
                      "JCPHN2": "",
                      "JOWNCNT": "",
                      "JCDATE": null,
                      "JRETPCT": 0,
                      "JCTYPE": "",
                      "JOCNT": 0,
                      "JPCNTC": 0,
                      "JPCNTC2": 0,
                      "JPCNTC3": 0,
                      "JACNTC": 0,
                      "JRVCNT": 0,
                      "JYTDACN": 0,
                      "JQTDACN": 0,
                      "JMTDACN": 0,
                      "JLMACN": 0,
                      "JNMACN": 0,
                      "JJTDWB": 0,
                      "JYTDWB": 0,
                      "JQTDWB": 0,
                      "JMTDWB": 0,
                      "JLMWB": 0,
                      "JNMWB": 0,
                      "JJTDRH": 0,
                      "JYTDRH": 0,
                      "JQTDRH": 0,
                      "JMTDRH": 0,
                      "JLMRH": 0,
                      "JNMRH": 0,
                      "JJTDPY": 0,
                      "JYTDPY": 0,
                      "JQTDPY": 0,
                      "JMTDPY": 0,
                      "JLMPY": 0,
                      "JNMPY": 0,
                      "JJTDADJ": 0,
                      "JYTDADJ": 0,
                      "JQTDADJ": 0,
                      "JMTDADJ": 0,
                      "JLMADJ": 0,
                      "JNMADJ": 0,
                      "JBLBAL": 0,
                      "JLSTDRR": "",
                      "JOESTFN": "0",
                      "JOEST": 0,
                      "JPESTC": 0,
                      "JAESTC": 0,
                      "JTEST": 0,
                      "JYTDAES": 0,
                      "JQTDAES": 0,
                      "JMTDAES": 0,
                      "JLMAES": 0,
                      "JNMAES": 0,
                      "JOCOM": 0,
                      "JPCOMC": 0,
                      "JACOMC": 0,
                      "JRVCOM": 0,
                      "JCOMI": 0,
                      "JJTDC": 0,
                      "JYTDC": 0,
                      "JQTDC": 0,
                      "JMTDC": 0,
                      "JLMC": 0,
                      "JNMC": 0,
                      "JPTDC": 0,
                      "JLPC": 0,
                      "JJTDCT": 0,
                      "JYTDCT": 0,
                      "JQTDCT": 0,
                      "JMTDCT": 0,
                      "JLMCT": 0,
                      "JNMCT": 0,
                      "JPTDCT": 0,
                      "JLPCT": 0,
                      "JJTDDP": 0,
                      "JYTDDP": 0,
                      "JQTDDP": 0,
                      "JMTDDP": 0,
                      "JLMDP": 0,
                      "JNMDP": 0,
                      "JPTDDP": 0,
                      "JLPDP": 0,
                      "JJTDDPT": 0,
                      "JYTDDPT": 0,
                      "JQTDDPT": 0,
                      "JMTDDPT": 0,
                      "JLMDPT": 0,
                      "JNMDPT": 0,
                      "JPTDDPT": 0,
                      "JLPDPT": 0,
                      "JTXAMT": 0,
                      "JTLEST": 0,
                      "JLUEST": 0,
                      "JTMEST": 0,
                      "JTSEST": 0,
                      "JTEEST": 0,
                      "JEUEST": 0,
                      "JTBEST": 0,
                      "JTOEST": 0,
                      "JTLCOM": 0,
                      "JTMCOM": 0,
                      "JTSCOM": 0,
                      "JTECOM": 0,
                      "JTBCOM": 0,
                      "JTOCOM": 0,
                      "JCOMIL": 0,
                      "JCOMIM": 0,
                      "JCOMIS": 0,
                      "JCOMIE": 0,
                      "JCOMIB": 0,
                      "JCOMIO": 0,
                      "JJTDLC": 0,
                      "JJTDLU": 0,
                      "JJTDMC": 0,
                      "JJTDSC": 0,
                      "JJTDEC": 0,
                      "JJTDEU": 0,
                      "JJTDBC": 0,
                      "JJTDOC": 0,
                      "JMTDLC": 0,
                      "JMTDLU": 0,
                      "JMTDMC": 0,
                      "JMTDSC": 0,
                      "JMTDEC": 0,
                      "JMTDEU": 0,
                      "JMTDBC": 0,
                      "JMTDOC": 0,
                      "JLMLC": 0,
                      "JLMLU": 0,
                      "JLMMC": 0,
                      "JLMSC": 0,
                      "JLMEC": 0,
                      "JLMEU": 0,
                      "JLMBC": 0,
                      "JLMOC": 0,
                      "JNMLC": 0,
                      "JNMLU": 0,
                      "JNMMC": 0,
                      "JNMSC": 0,
                      "JNMEC": 0,
                      "JNMEU": 0,
                      "JNMBC": 0,
                      "JNMOC": 0,
                      "JPTDLC": 0,
                      "JPTDLU": 0,
                      "JPTDEC": 0,
                      "JPTDEU": 0,
                      "JJTDLDP": 0,
                      "JJTDMDP": 0,
                      "JJTDSDP": 0,
                      "JJTDEDP": 0,
                      "JJTDBDP": 0,
                      "JJTDODP": 0,
                      "JLRDATE": null,
                      "JPCTCP": 0,
                      "JJFAM1": 0,
                      "JJFAM2": 0,
                      "JJFAM3": 0,
                      "JPFAM1": 0,
                      "JPFAM2": 0,
                      "JPFAM3": 0,
                      "JPFAM4": 0,
                      "JPFAM5": 0,
                      "JPFAM6": 0,
                      "JCFAM1": 0,
                      "JCFAM2": 0,
                      "JCFAM3": 0,
                      "JCFAM4": 0,
                      "JFRMT1": 0,
                      "JFRMT2": 0,
                      "JFRMT3": 0,
                      "JFRMT4": 0,
                      "JFRMT5": 0,
                      "JFRMT6": 0,
                      "JFRMDTE": null,
                      "JXOCNT": 0,
                      "JXPCNTC": 0,
                      "JXPCNT2": 0,
                      "JXPCNT3": 0,
                      "JXACNTC": 0,
                      "JXRVCNT": 0,
                      "JXYTDAC": 0,
                      "JXQTDAC": 0,
                      "JXMTDAC": 0,
                      "JXLMAC": 0,
                      "JXNMAC": 0,
                      "JXJTDWB": 0,
                      "JXYTDWB": 0,
                      "JXQTDWB": 0,
                      "JXMTDWB": 0,
                      "JXLMWB": 0,
                      "JXNMWB": 0,
                      "JXJTDRH": 0,
                      "JXYTDRH": 0,
                      "JXQTDRH": 0,
                      "JXMTDRH": 0,
                      "JXLMRH": 0,
                      "JXNMRH": 0,
                      "JXJTDPY": 0,
                      "JXYTDPY": 0,
                      "JXQTDPY": 0,
                      "JXMTDPY": 0,
                      "JXLMPY": 0,
                      "JXNMPY": 0,
                      "JXJTDAD": 0,
                      "JXYTDAD": 0,
                      "JXQTDAD": 0,
                      "JXMTDAD": 0,
                      "JXLMAD": 0,
                      "JXNMAD": 0,
                      "JXBLBAL": 0,
                      "JOXEST": 0,
                      "JPXEST": 0,
                      "JAXEST": 0,
                      "JTXEST": 0,
                      "JAXYTDE": 0,
                      "JAXQTDE": 0,
                      "JAXMTDE": 0,
                      "JAXLME": 0,
                      "JAXNME": 0,
                      "JOXCOM": 0,
                      "JPXCOM": 0,
                      "JAXCOM": 0,
                      "JRVXCOM": 0,
                      "JCOMXI": 0,
                      "JJTDXC": 0,
                      "JYTDXC": 0,
                      "JQTDXC": 0,
                      "JMTDXC": 0,
                      "JLMXC": 0,
                      "JNMXC": 0,
                      "JPTDXC": 0,
                      "JLPXC": 0,
                      "JJTDXCT": 0,
                      "JYTDXCT": 0,
                      "JQTDXCT": 0,
                      "JMTDXCT": 0,
                      "JLMXCT": 0,
                      "JNMXCT": 0,
                      "JPTDXCT": 0,
                      "JLPXCT": 0,
                      "JJTDXDP": 0,
                      "JYTDXDP": 0,
                      "JQTDXDP": 0,
                      "JMTDXDP": 0,
                      "JLMXDP": 0,
                      "JNMXDP": 0,
                      "JPTDXDP": 0,
                      "JLPXDP": 0,
                      "JJTDXDT": 0,
                      "JYTDXDT": 0,
                      "JQTDXDT": 0,
                      "JMTDXDT": 0,
                      "JLMXDPT": 0,
                      "JNMXDPT": 0,
                      "JPTDXDT": 0,
                      "JLPXDPT": 0,
                      "JTXXAMT": 0,
                      "JTXLEST": 0,
                      "JAXLUES": 0,
                      "JTXMEST": 0,
                      "JTXSEST": 0,
                      "JTXEEST": 0,
                      "JAXEUES": 0,
                      "JTXBEST": 0,
                      "JTXOEST": 0,
                      "JTXLCOM": 0,
                      "JTXMCOM": 0,
                      "JTXSCOM": 0,
                      "JTXECOM": 0,
                      "JTXBCOM": 0,
                      "JTXOCOM": 0,
                      "JCOMXIL": 0,
                      "JCOMXIM": 0,
                      "JCOMXIS": 0,
                      "JCOMXIE": 0,
                      "JCOMXIB": 0,
                      "JCOMXIO": 0,
                      "JJTDXLC": 0,
                      "JJTDXLU": 0,
                      "JJTDXMC": 0,
                      "JJTDXSC": 0,
                      "JJTDXEC": 0,
                      "JJTDXEU": 0,
                      "JJTDXBC": 0,
                      "JJTDXOC": 0,
                      "JMTDXLC": 0,
                      "JMTDXLU": 0,
                      "JMTDXMC": 0,
                      "JMTDXSC": 0,
                      "JMTDXEC": 0,
                      "JMTDXEU": 0,
                      "JMTDXBC": 0,
                      "JMTDXOC": 0,
                      "JLMXLC": 0,
                      "JLMXLU": 0,
                      "JLMXMC": 0,
                      "JLMXSC": 0,
                      "JLMXEC": 0,
                      "JLMXEU": 0,
                      "JLMXBC": 0,
                      "JLMXOC": 0,
                      "JNMXLC": 0,
                      "JNMXLU": 0,
                      "JNMXMC": 0,
                      "JNMXSC": 0,
                      "JNMXEC": 0,
                      "JNMXEU": 0,
                      "JNMXBC": 0,
                      "JNMXOC": 0,
                      "JPTDXLC": 0,
                      "JPTDXLU": 0,
                      "JPTDXEC": 0,
                      "JPTDXEU": 0,
                      "JJTDXLD": 0,
                      "JJTDXMD": 0,
                      "JJTDXSD": 0,
                      "JJTDXED": 0,
                      "JJTDXBD": 0,
                      "JJTDXOD": 0,
                      "JXEFA1": 0,
                      "JXEFA2": 0,
                      "JXEFA3": 0,
                      "JXPFA1": 0,
                      "JXPFA2": 0,
                      "JXPFA3": 0,
                      "JXPFA4": 0,
                      "JXPFA5": 0,
                      "JXPFA6": 0,
                      "JXCFA1": 0,
                      "JXCFA2": 0,
                      "JXCFA3": 0,
                      "JXCFA4": 0,
                      "JFRMTX1": 0,
                      "JFRMTX2": 0,
                      "JFRMTX3": 0,
                      "JFRMTX4": 0,
                      "JFRMTX5": 0,
                      "JFRMTX6": 0,
                      "JOSTAMP": "sageintegration",
                      "JDSTAMP": "2023-10-21",
                      "JTSTAMP": "17:29:47",
                      "JRWID": "92f16d82-6d70-ee11-8447-122f56880ad7",
                      "JRWVR": "1697934587",
                      "R1NTS": null,
                      "R1FLS": null
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "Project-19": {
        "allOf": [
          {
            "$ref": "#/components/schemas/Project"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "https://api.intacct.com/ia/xml/xmlgw.phtml"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "RECORDNO": "12345",
                      "PROJECTID": "12345",
                      "NAME": "Test Project-1",
                      "DESCRIPTION": "123 Main Street residential project",
                      "CURRENCY": "USD",
                      "PROJECTCATEGORY": "Residential",
                      "PROJECTSTATUSKEY": "1",
                      "PROJECTSTATUS": "Active",
                      "PREVENTTIMESHEET": "false",
                      "PREVENTEXPENSE": "false",
                      "PREVENTAPPO": "false",
                      "PREVENTGENINVOICE": "false",
                      "STATUS": "active",
                      "BEGINDATE": "01/01/2022",
                      "ENDDATE": "01/01/2022",
                      "BUDGETAMOUNT": "500000",
                      "CONTRACTAMOUNT": null,
                      "ACTUALAMOUNT": null,
                      "BUDGETQTY": null,
                      "ESTQTY": null,
                      "ACTUALQTY": null,
                      "APPROVEDQTY": null,
                      "REMAININGQTY": null,
                      "PERCENTCOMPLETE": ".50",
                      "OBSPERCENTCOMPLETE": "0",
                      "BILLINGTYPE": null,
                      "SONUMBER": null,
                      "PONUMBER": null,
                      "POAMOUNT": null,
                      "PQNUMBER": null,
                      "SFDCKEY": null,
                      "QARROWKEY": null,
                      "OAKEY": null,
                      "PARENTKEY": null,
                      "PARENTID": null,
                      "PARENTNAME": null,
                      "INVOICEWITHPARENT": "false",
                      "CUSTOMERKEY": "1",
                      "CUSTOMERID": "12345",
                      "CUSTOMERNAME": "AnyCustomer",
                      "SALESCONTACTKEY": null,
                      "SALESCONTACTID": null,
                      "SALESCONTACTNAME": null,
                      "PROJECTTYPEKEY": "1",
                      "PROJECTTYPE": null,
                      "MANAGERKEY": "1",
                      "MANAGERID": "12345",
                      "MANAGERCONTACTNAME": "Doe, John",
                      "PROJECTDEPTKEY": "1",
                      "DEPARTMENTID": "200",
                      "DEPARTMENTNAME": "Services",
                      "PROJECTLOCATIONKEY": "1",
                      "LOCATIONID": "100",
                      "LOCATIONNAME": "USA",
                      "CONTACTINFO.CONTACTNAME": null,
                      "SHIPTO.CONTACTNAME": null,
                      "BILLTO.CONTACTNAME": null,
                      "TERMSKEY": null,
                      "TERMNAME": null,
                      "DOCNUMBER": null,
                      "CUSTUSERKEY": null,
                      "CUSTUSERID": null,
                      "WHENCREATED": "01/01/2022 00:00:00",
                      "WHENMODIFIED": "01/01/2022 00:00:00",
                      "CREATEDBY": "12345",
                      "MODIFIEDBY": "12345",
                      "BUDGETEDCOST": "500000",
                      "CLASSID": null,
                      "CLASSNAME": null,
                      "CLASSKEY": null,
                      "USERRESTRICTIONS": "System Default",
                      "BILLABLEEXPDEFAULT": "true",
                      "BILLABLEAPPODEFAULT": "true",
                      "BUDGETID": null,
                      "BUDGETKEY": null,
                      "BILLINGRATE": null,
                      "BILLINGPRICING": "Billing rate",
                      "EXPENSERATE": "0",
                      "EXPENSEPRICING": "Cost plus fee",
                      "POAPRATE": "0",
                      "POAPPRICING": "Cost plus fee",
                      "CONTACTKEY": null,
                      "SHIPTOKEY": null,
                      "BILLTOKEY": null,
                      "INVOICEMESSAGE": null,
                      "INVOICECURRENCY": "USD",
                      "BILLINGOVERMAX": "Do nothing",
                      "EXCLUDEEXPENSES": "false",
                      "CONTRACTKEY": null,
                      "CONTRACTID": null,
                      "ROOTPARENTKEY": "12345",
                      "ROOTPARENTID": "12345",
                      "ROOTPARENTNAME": "AnyCustomer Projects",
                      "MEGAENTITYKEY": "1",
                      "MEGAENTITYID": "100",
                      "MEGAENTITYNAME": "USA"
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "Project-20": {
        "allOf": [
          {
            "$ref": "#/components/schemas/Project"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "https://{id}.cloud.jobpac.com.au:{id}/JobListing"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "Firm": "000",
                      "Job": "12345",
                      "WorkId": "12345",
                      "Description": "Test Project-1",
                      "AddressLine1": "123 Main Street",
                      "AddressLine2": "Unit 1",
                      "Suburb": "AnyTown",
                      "State": "DE",
                      "Country": "US",
                      "JobType": "Residential",
                      "ParentJob": "",
                      "ContractProgrammeIdentificationCode": "",
                      "TargetDurationDays": "0",
                      "TargetProgrammeIdentificationCode": "",
                      "OriginalContractValue": "0.00",
                      "CurrentContractValue": "500000.00",
                      "ApprovedVariationPrice": "0.00",
                      "UnapprovedVariationPrice": "",
                      "InternalContingency": "",
                      "InternalContingencyRemaining": "",
                      "ClientContingency": "",
                      "ClientContingencyAdjustments": "",
                      "LiquidatedDamages": "",
                      "EstimatedBudget": "",
                      "NumberOfDaysAheadBehindContractCompletion": "0",
                      "NumberOfDaysWorked": "0",
                      "BudgetsFinalised": "Yes",
                      "OriginalBudgetValue": "",
                      "OriginalUnallocatedBudget": "500000.00",
                      "ApprovedVariationsBudget": "0.00",
                      "UnapprovedVariationBudget": "",
                      "ApprovedBudgetChanges": "0.00",
                      "ScheduleOfRatesBudgetAdjustments": "",
                      "CurrentBudgetValue": "500000.00",
                      "UndistributedBudget": "",
                      "AdjustCommittedBudgetOnOrderCompletion": "",
                      "CommittedBudget": "0.00",
                      "BudgetEntryMethod": "C",
                      "OriginalMargin": "0.00",
                      "VariationMargin": "0.00",
                      "ScheduleOfRatesMarginAdjustments": "",
                      "CurrentMargin": "0.00",
                      "ForecastCostToCompletion": "",
                      "ForecastFinalCost": "0.00",
                      "GainOrLoss": "0.00",
                      "CommittedCost": "0.00",
                      "ActualAmount": "0.00",
                      "OutstandingAmount": "",
                      "PaidAmount": "0.00",
                      "IncurredAmount": "",
                      "ContractSumClaimed": "0.00",
                      "VariationsClaimed": "0.00",
                      "MaterialsonSiteClaimed": "",
                      "DeductionsClaimed": "",
                      "InsuranceClaim": "",
                      "RetentionHeld": "",
                      "RetentionClaimed": "",
                      "MinimumRate": "",
                      "OrderOverruns": "0.00",
                      "DefaultItemToCostCentre": "",
                      "TaskFinalPrint": "",
                      "WeekNumber": "0",
                      "DefectsPeriod": "12 MONTHS",
                      "GLAccountAtCostCentreLevel": "",
                      "CertificatePeriod": "0",
                      "LiquidatedDamagesUnitOfMeasure": "",
                      "BondsBankGuaranteesOrRetentionFlag": "B",
                      "MaximumRetentionValue": "",
                      "CostOverruns": "0.00",
                      "ProceedQuoteFlag": "P",
                      "TaskModuleClaimedAmount": "",
                      "Multiplier": "",
                      "CompletedJobSummary": "",
                      "LastExtensionOfTimeSubmission": "",
                      "ScheduleOfRatesAdjustments": "",
                      "ProvisionalSums": "",
                      "AllowCostUpdates": "Yes",
                      "Deductions": "",
                      "InterestToDate": "",
                      "TaskFinalised": "",
                      "RetentionCalculation": "",
                      "BillFormat": "",
                      "TaxCode": "",
                      "TaskContractValueUnallocated": "",
                      "ClaimFormat": "0",
                      "ProgressClaimLevel": "",
                      "OncostAmount": "",
                      "Fax": "",
                      "TaskOverruns": "",
                      "BillOvertimeSeparately": "",
                      "Debtor": "A12345",
                      "OrderAmount": "0.00",
                      "PhoneNumber": "",
                      "PayrollHoursThisPeriod": ".00",
                      "OvertimeHours": ".00",
                      "MaximumRate": "",
                      "NormalCost": "",
                      "CostsThisYear": "",
                      "ExtensionOfTimeUnapproved": "0",
                      "PostCode": "19703",
                      "ScheduleOfRatesJob": "",
                      "RecoveryAcccount": "",
                      "ExtensionOfTimeApproved": "0",
                      "ProvisionalSumsAdjustments": "",
                      "RevenueThisYear": "0.00",
                      "MaximumRetentionPercentage": "",
                      "CurrentClaimed": "",
                      "TaskSavings": "",
                      "Valuation": "",
                      "CurrentValuation": "",
                      "ValuationNumber": "0",
                      "MaterialsOnSiteValuation": "",
                      "LastClaimReference": "",
                      "SundryIncome": "",
                      "SurchargeRate": "",
                      "SurchargeCostCode": "",
                      "SurchargeBilledAsOutlay": "",
                      "SurchargeGLAccount": "",
                      "SurchargeJob": "",
                      "SurchargeCostType": "",
                      "Revenue": "-.05",
                      "ContractType": "",
                      "RevenueAccount": "0.00",
                      "Status": "A",
                      "ClaimStructureFinalised": "",
                      "ContractDuration": "0",
                      "DivisionCode": "",
                      "ReceivedAmount": "0.00",
                      "TaxReceivedAmount": "0.00",
                      "OvertimePremium": "",
                      "RetentionPercentage": "",
                      "RetentionBaseOriginalOrRevised": "",
                      "MaterialsOnSiteToBeClaimed": "",
                      "ClientPayment": "0",
                      "UserDefinedField1": "",
                      "UserDefinedField2": "",
                      "UserDefinedField3": "",
                      "UserDefinedField4": "",
                      "UserDefinedField5": "",
                      "ServiceCode": "",
                      "JobPaysOverTime": "",
                      "ProjectManagerEmployeeCode": "",
                      "AccountingPeriod": "0",
                      "CostPlusJob": "",
                      "GroupCode": "",
                      "NominatedSubcontractGLAccount": "",
                      "ConstructionManagementJob": "",
                      "AllocationType": "0",
                      "ForecastingFlag": "",
                      "PayrollForecastingFlag": "",
                      "Property": "",
                      "BillOutlaysSeparately": "",
                      "CCIPPercentage": "",
                      "CCIPFlag": "",
                      "SettlementType": "",
                      "TrustAccount": "",
                      "ExtensionOfTimeWaitingApproval": "0",
                      "DebtorFirm": "",
                      "ClientOrder": "",
                      "EarnedBudgetValue": "",
                      "UseCostCentreSecurity": "",
                      "NominatedSubcontractValueClaimed": "",
                      "PCSumsEngineersContingency": "",
                      "BonusLDS": "",
                      "ProfessionalIndemnityValue": "",
                      "ProfessionalIndemnityByClientOrUs": "",
                      "ProfessionalIndemnityExpiryDate": "",
                      "ProfessionalIndemnityExcessValue": "",
                      "CertifiedContractSumClaimed": "0.00",
                      "CertifiedVariationsClaimed": "0.00",
                      "CertifiedMaterialsOnSiteClaimed": "",
                      "CertifiedRetentionHeld": "",
                      "CertifiedRetentionClaimed": "",
                      "CertifiedNominatedSCClaimed": "",
                      "CertifiedPCSumsEngineersContingency": "",
                      "CertifiedBonusLDS": "",
                      "UnallocatedBudgetForVariations": "",
                      "ForecastFinalMargin": "0.00",
                      "DefectsManager": "",
                      "EPSKronosGLAccount": "12345",
                      "LongAddress": "",
                      "AcceptanceDate": "",
                      "BudgetFinalisedDate": "",
                      "ClaimedToDate": "",
                      "CouncilComplianceDate": "",
                      "ApprovedPracticalCompletionDate": "",
                      "DefectsExpiryDate": "",
                      "ForecastCompletionDate": "",
                      "LastBudgetUpdateDate": "",
                      "LastCostUpdateDate": "",
                      "LastExtensionOfTimeUpdate": "",
                      "LastForecastUpdateDate": "",
                      "LastMovementDate": "",
                      "LastPaymentDate": "",
                      "LastRolloverDate": "",
                      "ManualDrawingsFinalisedDate": "",
                      "Date": "",
                      "PracticalContractCompletionDate": "",
                      "StartDate": "01/01/22",
                      "TenderDate": "",
                      "TargettedCompletionDate": "",
                      "TargettedExpectedCompletionDate": "",
                      "TargettedStartDate": "",
                      "ValuationDate": "",
                      "WorkDoneToDate": "",
                      "NumberOfDaysAheadBehindTargetCompletionDate": "0",
                      "ProjectManagersWorksheetContingenciesPosted": "",
                      "ProjectManagersWorkksheetPendingsPosted": "",
                      "ProjectManagersWorksheetPendings": "",
                      "ProjectManagersWorksheetContingencies": "",
                      "ProjectManagersWorksheetDefaultFormula": "E",
                      "SubjectToRiseAndFall": "",
                      "InternalRiseAndFall": "",
                      "InternalRiseAndFallRemaining": "",
                      "RiseAndFall": "",
                      "RiseAndFallClaimed": "",
                      "LastDirectorsForecastProfit": "",
                      "RiseAndFallOnBalanceOfWorkDistributedToSubcontracts": "",
                      "DirectorsForecastProfit": "",
                      "RiseAndFallOnSubcontractsWorkDoneToDate": "",
                      "RiseAndFallOnBalanceOfWorkForNominatedSubcontracts": "",
                      "RiseAndFallOnBalanceOfWorkDistributed": "",
                      "RiseAndFallAccountingPeriod": "0",
                      "RiseAndFallDistributed": "",
                      "RiseAndFallOnNominatedSubcontracts": "",
                      "RiseAndFallOnBalanceOfWork": "",
                      "RiseAndFallAdjustments": "",
                      "OriginalRiseAndFallClaimed": "",
                      "SiteManager": "",
                      "SiteAddressLine1": "",
                      "SiteAddressLine2": "",
                      "SiteSuburb": "",
                      "SitePostCode": "",
                      "SiteState": "",
                      "SiteCountry": "",
                      "SitePhoneNumber": "",
                      "SiteFax": "",
                      "ClientsName": "",
                      "ClientsContact": "",
                      "ClientsAddressLine1": "",
                      "ClientsAddressLine2": "",
                      "ClientsSuburb": "",
                      "ClientsPostCode": "",
                      "ClientsState": "",
                      "ClientsCountry": "",
                      "ClientsPhoneNumber": "",
                      "ClientsFax": "",
                      "ClientIsContractSupervisor": "",
                      "BuildersName": "",
                      "BuildersContact": "",
                      "BuildersAddressLine1": "",
                      "BuildersAddressLine2": "",
                      "BuildersSuburb": "",
                      "BuildersPostCode": "",
                      "BuildersState": "",
                      "BuildersCountry": "",
                      "BuildersPhoneNumber": "",
                      "BuildersFax": "",
                      "ArchitectsName": "",
                      "ArchitectsContact": "",
                      "ArchitectsAddressLine1": "",
                      "ArchitectsAddressLine2": "",
                      "ArchitectsSuburb": "",
                      "ArchitectsPostCode": "",
                      "ArchitectsState": "",
                      "ArchitectsCountry": "",
                      "ArchitectsPhoneNumber": "",
                      "ArchitectsFax": "",
                      "ArchitectIsContractSupervisor": "",
                      "EngineersName": "",
                      "EngineersContact": "",
                      "EngineersAddressLine1": "",
                      "EngineersAddressLine2": "",
                      "EngineersSuburb": "",
                      "EngineersPostCode": "",
                      "EngineersState": "",
                      "EngineersCountry": "",
                      "EngineersPhoneNumber": "",
                      "EngineersFax": "",
                      "AccountsContact": "",
                      "DesignManager": "",
                      "Estimator": "",
                      "ProjectManager": "",
                      "VisualAttribute": "Normal",
                      "DummyField": ""
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "Project-21": {
        "allOf": [
          {
            "$ref": "#/components/schemas/Project"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "https://{{domain}}.dexterchaney.com:8482/ws/GetJobMain"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "Company_Code": "12345",
                      "Job_Number": "A123",
                      "Job_Description": "Test Project-1",
                      "Division": null,
                      "Master_Job": null,
                      "Address_1": "123 Main Street",
                      "Address_2": "Unit B",
                      "City": "AnyTown",
                      "State": "DE",
                      "Zip_Code": "19703",
                      "Phone": null,
                      "Fax_Phone": null,
                      "Job_Site_Phone": null,
                      "Customer_Code": "12345",
                      "Customer_Name": "AnyCustomer",
                      "Original_Contract": "500000.00",
                      "Contract_Number": null,
                      "Owner_Name": null,
                      "WO_Site": null,
                      "Comment": null,
                      "Price_Method_Code": "F",
                      "Total_Units": ".00",
                      "Unit_of_Measure": null,
                      "Status_Code": "A",
                      "Latitude": ".000000 ",
                      "Longitude": ".000000 ",
                      "Legal_Desc": null,
                      "Cost_Center": "1010",
                      "Field_1": null,
                      "Field_2": null,
                      "Field_3": null,
                      "Field_4": null,
                      "Field_5": null,
                      "Error_Code": null,
                      "Error_Description": null,
                      "Error_Column": null,
                      "Est_Start_Date": null,
                      "Est_Complete_Date": null,
                      "Projected_Complete_Date": null,
                      "Create_Date": "01/01/2022",
                      "Start_Date": "01/01/2022",
                      "Complete_Date": "01/01/2022"
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "Project-22": {
        "allOf": [
          {
            "$ref": "#/components/schemas/Project"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "JCJM"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "JCCo": "12345",
                      "Job": " A123",
                      "Description": "Test Project-1",
                      "Contract": "12345",
                      "JobStatus": "1",
                      "BidNumber": null,
                      "LockPhases": "N",
                      "ProjectMgr": null,
                      "JobPhone": null,
                      "JobFax": null,
                      "MailAddress": "123 Main Street",
                      "MailCity": "AnyTown",
                      "MailState": "CA",
                      "MailZip": "19703",
                      "MailAddress2": "Unit 1",
                      "ShipAddress": "123 Main Street",
                      "ShipCity": "AnyTown",
                      "ShipState": "CA",
                      "ShipZip": "19703",
                      "ShipAddress2": "Unit 1",
                      "LiabTemplate": "1",
                      "TaxGroup": "12345",
                      "TaxCode": null,
                      "InsTemplate": null,
                      "MarkUpDiscRate": ".000000",
                      "PRLocalCode": null,
                      "PRStateCode": "CA",
                      "Certified": "N",
                      "EEORegion": null,
                      "SMSACode": null,
                      "CraftTemplate": null,
                      "ProjMinPct": ".0000",
                      "Notes": null,
                      "SLCompGroup": null,
                      "POCompGroup": null,
                      "VendorGroup": "12345",
                      "ArchEngFirm": null,
                      "OTSched": null,
                      "PriceTemplate": null,
                      "HaulTaxOpt": "0",
                      "GeoCode": null,
                      "BaseTaxOn": "J",
                      "UpdatePlugs": "N",
                      "UniqueAttchID": null,
                      "ContactCode": null,
                      "ClosePurgeFlag": "N",
                      "OurFirm": null,
                      "AutoAddItemYN": "N",
                      "OverProjNotes": null,
                      "WghtAvgOT": "N",
                      "HrsPerManDay": "8.000",
                      "AutoGenSubNo": "P",
                      "SecurityGroup": null,
                      "DefaultStdDaysDue": null,
                      "DefaultRFIDaysDue": null,
                      "UpdateAPActualsYN": "Y",
                      "UpdateMSActualsYN": "Y",
                      "AutoGenPCONo": "P",
                      "AutoGenMTGNo": "P",
                      "AutoGenRFINo": "P",
                      "RateTemplate": null,
                      "KeyID": "4",
                      "RevGrpInv": null,
                      "MailCountry": null,
                      "ShipCountry": null,
                      "CertDate": null,
                      "AutoGenRFQNo": "T",
                      "ApplyEscalators": "N",
                      "UseTaxYN": "N",
                      "TimesheetRevGroup": null,
                      "PotentialProjectID": null,
                      "PCVisibleInJC": "Y",
                      "SubmittalReviewDaysResponsibleFirm": "0",
                      "SubmittalReviewDaysApprovingFirm": "0",
                      "SubmittalReviewDaysRequestingFirm": "0",
                      "SubmittalReviewDaysAutoCalcYN": "Y",
                      "SubmittalApprovingFirm": null,
                      "SubmittalApprovingFirmContact": null,
                      "FourProjectsContainerName": null,
                      "FourProjectsContainerId": null,
                      "ConstructionType": null,
                      "PRLeaveLevel": null,
                      "WghtAvgOTAvgBy": "W"
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "NewProject": {
        "type": "object",
        "required": [
          "number",
          "name",
          "start_date"
        ],
        "properties": {
          "amount": {
            "allOf": [
              {
                "$ref": "#/components/schemas/MoneyProperty"
              },
              {
                "description": "The monetary value of the Project."
              }
            ],
            "example": "500000.00"
          },
          "completion_date": {
            "allOf": [
              {
                "description": "The completion date of the Project."
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ]
          },
          "name": {
            "type": "string",
            "description": "The name of the Project.",
            "example": "Test Project-1"
          },
          "number": {
            "type": "string",
            "description": "The Project number.",
            "example": "A123"
          },
          "start_date": {
            "allOf": [
              {
                "description": "The start date of the Project."
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ]
          },
          "status": {
            "type": "string",
            "description": "The status of the Project (e.g. “Active”, “Pending”).\n\n**Note for Acumatica:** possible values include \"In Planning\" or \"Active\" for creating new projects.\n",
            "example": "Active"
          },
          "type": {
            "type": "string",
            "description": "The type of Project (e.g. “Retail”, “Residential”).\n\n**Note for Acumatica:** This must be a valid Project Template Id if included.\n",
            "example": "Residential"
          }
        }
      },
      "NewProject-2": {
        "required": [
          "name",
          "type"
        ],
        "type": "object",
        "properties": {
          "address": {
            "allOf": [
              {
                "description": "The Project's address."
              },
              {
                "$ref": "#/components/schemas/Address"
              }
            ]
          },
          "amount": {
            "type": "string",
            "description": "The original monetary amount of the Project.\n\n**Note for Autodeks Build**: the default currency for this field is \"USD\". To overwrite this currency with a different value, you will need to use the `source_data.project_value.currency` field.\n",
            "example": "1000000"
          },
          "completion_date": {
            "allOf": [
              {
                "description": "The completion date of the Project."
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ]
          },
          "name": {
            "type": "string",
            "description": "The name of the Project.",
            "example": "Test Project-1"
          },
          "number": {
            "type": "string",
            "description": "The Project number.",
            "example": "A123"
          },
          "start_date": {
            "allOf": [
              {
                "description": "The start date of the Project."
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ]
          },
          "type": {
            "type": "string",
            "description": "The type of Project (e.g. “Retail”, “Residential”).",
            "example": "Residential"
          }
        }
      },
      "NewProject-3": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "description": "The name of the Project.",
            "example": "Test Project-1"
          },
          "number": {
            "type": "string",
            "description": "The Project number.",
            "example": "A123"
          },
          "customer_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Customer](#tag--customers)."
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          },
          "start_date": {
            "allOf": [
              {
                "description": "The start date of the Project."
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ]
          },
          "completion_date": {
            "allOf": [
              {
                "description": "The completion date of the Project."
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ]
          },
          "status": {
            "type": "string",
            "description": "The status of the Project (e.g. “Active”, “Pending”).\n\n**Note for CMiC:** possible values include \"Pending\", \"In Progress\", and \"Closed\".\n",
            "example": "Pending"
          },
          "type": {
            "type": "string",
            "description": "The type of the cost method of the Project.\n\n**Note for CMiC:** possible values include \"Billing and Costs\", \"Completed Contract\", and \"T&M WIP Accrual\".\n",
            "example": "Billing and Costs"
          },
          "source_data": {
            "type": "object",
            "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
            "properties": {
              "JobDefaultDeptCode": {
                "allOf": [
                  {
                    "description": "Default department code of the Job\n"
                  },
                  {
                    "type": "string"
                  },
                  {
                    "example": "00"
                  }
                ]
              },
              "JobSecGroup": {
                "allOf": [
                  {
                    "description": "Security Gropu of the Job\n"
                  },
                  {
                    "type": "string"
                  },
                  {
                    "example": "MASTER"
                  }
                ]
              }
            }
          }
        }
      },
      "NewProject-4": {
        "type": "object",
        "required": [
          "name",
          "number"
        ],
        "properties": {
          "address": {
            "allOf": [
              {
                "description": "The Project's address."
              },
              {
                "$ref": "#/components/schemas/Address"
              }
            ]
          },
          "completion_date": {
            "allOf": [
              {
                "description": "The completion date of the Project."
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ]
          },
          "customer_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Customer](#tag--customers)."
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          },
          "description": {
            "type": "string",
            "description": "The project's description",
            "example": "123 Main Street residential project"
          },
          "name": {
            "type": "string",
            "description": "The name of the Project.",
            "example": "Test Project-1"
          },
          "number": {
            "type": "string",
            "description": "The Project number.",
            "example": "A123"
          },
          "start_date": {
            "allOf": [
              {
                "description": "The start date of the Project."
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ]
          },
          "type": {
            "type": "string",
            "description": "The type of Project (e.g. “Retail”, “Residential”).\n\n**Note for Foundation:** a list of possible values for this field can be found with the \"description\" column in the `project_classes` table, which requires a passthrough request. To learn more about passthrough requests, see [link](/agave-api/passthrough-requests#foundation-viewpoint-spectrum-and-viewpoint-vista).\n",
            "example": "Residential"
          }
        }
      },
      "NewProject-5": {
        "required": [
          "number"
        ],
        "type": "object",
        "properties": {
          "address": {
            "allOf": [
              {
                "description": "The Project's address."
              },
              {
                "$ref": "#/components/schemas/Address"
              }
            ]
          },
          "description": {
            "type": "string",
            "description": "The Project's description.",
            "example": "123 Main Street residential project"
          },
          "name": {
            "type": "string",
            "description": "The name of the Project.",
            "example": "Test Project-1"
          },
          "number": {
            "type": "string",
            "description": "The Project number.",
            "example": "A123"
          },
          "status": {
            "type": "string",
            "description": "The status of the Project (e.g. “Current\").\n",
            "example": "Active",
            "enum": [
              "Active",
              "Completed",
              "Inactive"
            ]
          }
        }
      },
      "NewProject-6": {
        "type": "object",
        "required": [
          "name",
          "status",
          "source_data"
        ],
        "properties": {
          "address": {
            "allOf": [
              {
                "description": "The Project's address."
              },
              {
                "$ref": "#/components/schemas/Address"
              }
            ]
          },
          "amount": {
            "allOf": [
              {
                "$ref": "#/components/schemas/MoneyProperty"
              },
              {
                "description": "The monetary value of the Project."
              }
            ],
            "example": "500000.00"
          },
          "completion_date": {
            "allOf": [
              {
                "description": "The completion date of the Project."
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ]
          },
          "description": {
            "type": "string",
            "description": "The project's description",
            "example": "2093 Philadelphia Pike residential building"
          },
          "name": {
            "type": "string",
            "description": "The name of the Project.",
            "example": "Test Project-1"
          },
          "number": {
            "type": "string",
            "description": "The Project number.",
            "example": "A123"
          },
          "start_date": {
            "allOf": [
              {
                "description": "The start date of the Project."
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ]
          },
          "source_data": {
            "type": "object",
            "properties": {
              "BaseCurrency": {
                "type": "string",
                "description": "The currency for the Project. **Note for InEight**: possible values for Currencies can be retrieved using [passthrough requests](/agave-api/passthrough-requests), with a path of \"/integrations/v1/currencies\".\n",
                "example": "USD"
              },
              "ProjectDisplayId": {
                "type": "string",
                "description": "The Display Identifier for InEight. **Note for InEight**: this will become the `source_id`.\n",
                "example": "A123"
              },
              "TimeZone": {
                "type": "string",
                "description": "The timezone for the Project.",
                "example": "(UTC-08:00) Pacific Time (US & Canada)"
              }
            }
          }
        }
      },
      "NewProject-7": {
        "type": "object",
        "required": [
          "name"
        ],
        "properties": {
          "address": {
            "allOf": [
              {
                "description": "The Project's address."
              },
              {
                "$ref": "#/components/schemas/Address"
              }
            ]
          },
          "amount": {
            "allOf": [
              {
                "$ref": "#/components/schemas/MoneyProperty"
              },
              {
                "description": "The monetary value of the Project."
              }
            ],
            "example": "500000.00"
          },
          "completion_date": {
            "allOf": [
              {
                "description": "The completion date of the Project."
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ]
          },
          "description": {
            "type": "string",
            "description": "The project's description",
            "example": "2093 Philadelphia Pike residential building"
          },
          "name": {
            "type": "string",
            "description": "The name of the Project.",
            "example": "Test Project-1"
          },
          "number": {
            "type": "string",
            "description": "The Project number.",
            "example": "A123"
          },
          "start_date": {
            "allOf": [
              {
                "description": "The start date of the Project."
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ]
          },
          "status": {
            "type": "string",
            "description": "The status of the Project. Defaults to \"Inactive\" if not included.",
            "example": "Active",
            "enum": [
              "Active",
              "Inactive"
            ]
          }
        }
      },
      "NewProject-8": {
        "required": [
          "name",
          "status"
        ],
        "type": "object",
        "properties": {
          "address": {
            "allOf": [
              {
                "description": "The Project's address.\n\n**Note for Sage 100 Contractor**: country is not a supported field.\n"
              },
              {
                "$ref": "#/components/schemas/Address"
              }
            ]
          },
          "completion_date": {
            "allOf": [
              {
                "description": "The completion date of the Project."
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ]
          },
          "customer_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Customer](#tag--customers)."
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          },
          "description": {
            "type": "string",
            "description": "The Project's description.",
            "example": "123 Main Street residential project"
          },
          "name": {
            "type": "string",
            "description": "The name of the Project.",
            "example": "Test Project-1"
          },
          "number": {
            "type": "string",
            "description": "The Project number.\n\n**Note for Sage 100 Contractor**: this value must be an integer.\n",
            "example": 123
          },
          "start_date": {
            "allOf": [
              {
                "description": "The start date of the Project."
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ]
          },
          "status": {
            "type": "string",
            "description": "The status of the Project (e.g. “Current\").\n",
            "example": "Active",
            "enum": [
              "Bid",
              "Closed",
              "Complete",
              "Contract",
              "Refused"
            ]
          },
          "type": {
            "type": "string",
            "description": "The type of Project (e.g. “Commercial”, “Residential”).\n\n**Note for Sage 100 Contractor**: a list of possible values for this field can be found with the `jobtyp` table in Vista (see `typnme`), which requires a passthrough request. To learn more about passthrough requests, see [link](/agave-api/passthrough-requests#foundation-viewpoint-spectrum-and-viewpoint-vista).\n",
            "example": "Government"
          }
        }
      },
      "NewProject-9": {
        "required": [
          "name",
          "number"
        ],
        "type": "object",
        "properties": {
          "address": {
            "allOf": [
              {
                "description": "The Project's address.\n\n**Note for Sage 100 Contractor**: country is not a supported field.\n"
              },
              {
                "$ref": "#/components/schemas/Address"
              }
            ]
          },
          "amount": {
            "type": "string",
            "description": "The name of the Project.",
            "example": "500000.00"
          },
          "completion_date": {
            "allOf": [
              {
                "description": "The completion date of the Project."
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ]
          },
          "customer_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Customer](#tag--customers)."
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          },
          "description": {
            "type": "string",
            "description": "The Project's description.",
            "example": "123 Main Street residential project"
          },
          "name": {
            "type": "string",
            "description": "The name of the Project.",
            "example": "Test Project-1"
          },
          "number": {
            "type": "string",
            "description": "The Project number.\n\n**Note for Sage 300 CRE**: this value must be in the format of \"XX-XXX\".\n",
            "example": "12-345"
          },
          "start_date": {
            "allOf": [
              {
                "description": "The start date of the Project."
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ]
          },
          "status": {
            "type": "string",
            "description": "The status of the Project (e.g. “In progress\").\n",
            "example": "In progress",
            "enum": [
              "Closed",
              "In progress",
              "Unstarted"
            ]
          },
          "type": {
            "type": "string",
            "description": "The type of Project.\n",
            "example": "Government"
          }
        }
      },
      "NewProject-10": {
        "type": "object",
        "required": [
          "name",
          "number"
        ],
        "properties": {
          "address": {
            "allOf": [
              {
                "description": "The Project's address."
              },
              {
                "$ref": "#/components/schemas/Address"
              }
            ]
          },
          "name": {
            "type": "string",
            "description": "The name of the Project.",
            "example": "Test Project-1"
          },
          "number": {
            "type": "string",
            "description": "The Project number.",
            "example": "A123"
          }
        }
      },
      "NewProject-11": {
        "required": [
          "number",
          "type",
          "source_data"
        ],
        "type": "object",
        "properties": {
          "address": {
            "allOf": [
              {
                "description": "The Project's address."
              },
              {
                "$ref": "#/components/schemas/Address"
              }
            ]
          },
          "completion_date": {
            "allOf": [
              {
                "description": "The completion date of the Project."
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ]
          },
          "description": {
            "type": "string",
            "description": "The project's description",
            "example": "123 Main Street residential project"
          },
          "name": {
            "type": "string",
            "description": "The name of the Project.",
            "example": "Test Project-1"
          },
          "number": {
            "type": "string",
            "description": "The Project number.",
            "example": "A123"
          },
          "start_date": {
            "allOf": [
              {
                "description": "The start date of the Project."
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ]
          },
          "status": {
            "type": "string",
            "description": "The status of the Project. \n\n**Note for Viewpoint Spectrum**: this value will default to \"Active\" if not supplied.\n",
            "example": "Active",
            "enum": [
              "Active",
              "Complete",
              "Inactive"
            ]
          },
          "type": {
            "type": "string",
            "description": "The type of Project.",
            "example": "Fixed Price",
            "enum": [
              "Cost Plus",
              "Fixed Price",
              "Time & Material",
              "Unit Price"
            ]
          },
          "source_data": {
            "type": "object",
            "properties": {
              "Cost_Center": {
                "type": "string",
                "example": "1010",
                "description": "The Project's Cost Center. If Cost Centers are enabled, this field is required."
              },
              "Taxable_Flag": {
                "type": "string",
                "example": "Y",
                "description": "This is a flag denoting whether the Project is taxable.",
                "enum": [
                  "Y",
                  "N"
                ]
              }
            }
          }
        }
      },
      "NewProject-12": {
        "required": [
          "address",
          "name",
          "number",
          "start_date",
          "source_data"
        ],
        "type": "object",
        "properties": {
          "address": {
            "allOf": [
              {
                "description": "The Project's address."
              },
              {
                "$ref": "#/components/schemas/Address"
              }
            ]
          },
          "description": {
            "type": "string",
            "description": "The project's description",
            "example": "123 Main Street residential project"
          },
          "name": {
            "type": "string",
            "description": "The name of the Project.",
            "example": "Test Project-1"
          },
          "number": {
            "type": "string",
            "description": "The Project number.",
            "example": "A123"
          },
          "start_date": {
            "allOf": [
              {
                "description": "The start date of the Project.\n\n**Note for Viewpoint Vista**: this field can't be updated in PUT operations.\n"
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ]
          },
          "status": {
            "type": "string",
            "description": "The status of the Project.\n\n**Note for Viewpoint Vista**: the only option for create requests is \"Open\". This field can't be updated in PUT operations.\n",
            "example": "Open"
          },
          "type": {
            "type": "string",
            "description": "The type of Project.",
            "example": "Residential",
            "enum": [
              "Building",
              "Dredging",
              "Heavy",
              "Highway",
              "Residential"
            ]
          },
          "source_data": {
            "type": "object",
            "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
            "properties": {
              "Department": {
                "allOf": [
                  {
                    "description": "The department associated with the Project. This field can't be updated in PUT operations. \n\nA list of possible values for this field can be found with the `JCDC` table in Vista (see `Department`), which requires a passthrough request. To learn more about passthrough requests, see [link](/agave-api/passthrough-requests#foundation-viewpoint-spectrum-and-viewpoint-vista).\n"
                  },
                  {
                    "$ref": "#/components/schemas/DateTimeProperty"
                  },
                  {
                    "example": "1"
                  }
                ]
              },
              "LiabTemplate": {
                "allOf": [
                  {
                    "description": "The liability template associated with the Project.\n\nA list of possible values for this field can be found with the `JCTH` table in Vista (see `LiabTemplate`), which requires a passthrough request. To learn more about passthrough requests, see [link](/agave-api/passthrough-requests#foundation-viewpoint-spectrum-and-viewpoint-vista).\n"
                  },
                  {
                    "type": "string"
                  },
                  {
                    "example": "1"
                  }
                ]
              }
            }
          }
        }
      },
      "NewProject-13": {
        "type": "object",
        "properties": {
          "address": {
            "allOf": [
              {
                "description": "The Project's address."
              },
              {
                "$ref": "#/components/schemas/Address"
              }
            ]
          },
          "description": {
            "type": "string",
            "description": "The project's description",
            "example": "123 Main Street residential project"
          },
          "name": {
            "type": "string",
            "description": "The name of the Project.",
            "example": "Test Project-1"
          },
          "number": {
            "type": "string",
            "description": "The Project number.",
            "example": "A123"
          },
          "start_date": {
            "allOf": [
              {
                "description": "The start date of the Project."
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ]
          },
          "status": {
            "type": "string",
            "description": "The status of the Project (e.g. “Active”, “Pending”).\n\n**Note for Viewpoint Vista:** possible values include \"Pending\", \"Open\", \"Soft Closed\", and \"Closed\".\n",
            "example": "Active"
          },
          "type": {
            "type": "string",
            "description": "The type of Project (e.g. “Retail”, “Residential”).",
            "example": "Residential"
          }
        }
      },
      "RfiResponse": {
        "type": "object",
        "properties": {
          "id": {
            "allOf": [
              {
                "description": "The UUID of the RFI Response assigned by Agave."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "source_id": {
            "type": "string",
            "readOnly": true,
            "example": "12345",
            "description": "The ID of the RFI Response in the Source System."
          },
          "attachments": {
            "type": "array",
            "description": "A list of Attachments associated with the RFI Response.",
            "items": {
              "$ref": "#/components/schemas/Attachment"
            }
          },
          "creator_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Contact](#tag--contacts) that created the RFI Response."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "status": {
            "type": "string",
            "description": "The status of the RFI Response (e.g. \"Official\", \"Draft\").",
            "example": true
          },
          "text": {
            "type": "string",
            "description": "The content of the RFI Response.",
            "example": "The electrical socket is on the third floor."
          },
          "source_create_time": {
            "allOf": [
              {
                "description": "The datetime the RFI Response was created."
              },
              {
                "$ref": "#/components/schemas/DateTimeProperty"
              }
            ]
          },
          "source_update_time": {
            "allOf": [
              {
                "description": "The datetime the RFI Response was last updated."
              },
              {
                "$ref": "#/components/schemas/DateTimeProperty"
              }
            ]
          }
        }
      },
      "Rfi": {
        "type": "object",
        "properties": {
          "id": {
            "allOf": [
              {
                "description": "The UUID of the RFI assigned by Agave."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "source_id": {
            "type": "string",
            "readOnly": true,
            "example": "12345",
            "description": "The ID of the RFI in the Source System."
          },
          "assignee_ids": {
            "type": "array",
            "description": "The UUID assigned by Agave of the [Contact(s)](#tag--contacts) assigned to the RFI.",
            "items": {
              "$ref": "#/components/schemas/IdPropertyReadOnly"
            }
          },
          "attachments": {
            "type": "array",
            "description": "A list of Attachments associated with the RFI's question.",
            "items": {
              "$ref": "#/components/schemas/Attachment"
            }
          },
          "cost_impact": {
            "allOf": [
              {
                "description": "The expected monetary cost impact of the RFI."
              },
              {
                "$ref": "#/components/schemas/MoneyProperty"
              }
            ]
          },
          "creator_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Contact](#tag--contacts) that created the RFI."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "due_date": {
            "allOf": [
              {
                "description": "The due date of the RFI."
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ]
          },
          "number": {
            "type": "string",
            "description": "The number of the RFI.",
            "example": "A-123"
          },
          "question": {
            "type": "string",
            "description": "The text of the RFI's question.",
            "example": "Where should we put the electrical socket?"
          },
          "responses": {
            "type": "array",
            "description": "The responses to the RFI's question.",
            "items": {
              "$ref": "#/components/schemas/RfiResponse"
            }
          },
          "specification_section_id": {
            "allOf": [
              {
                "description": "The [Specification Section](#tag--specification-sections) associated with the RFI."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "status": {
            "type": "string",
            "description": "The status of the RFI.",
            "example": "Open"
          },
          "title": {
            "type": "string",
            "description": "The title of the RFI.",
            "example": "Electrical Socket"
          },
          "source_create_time": {
            "allOf": [
              {
                "description": "The datetime the RFI was created."
              },
              {
                "$ref": "#/components/schemas/DateTimeProperty"
              }
            ]
          },
          "source_update_time": {
            "allOf": [
              {
                "description": "The datetime the RFI was last updated."
              },
              {
                "$ref": "#/components/schemas/DateTimeProperty"
              }
            ]
          }
        }
      },
      "Rfi-2": {
        "allOf": [
          {
            "$ref": "#/components/schemas/Rfi"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "https://developer.api.autodesk.com/bim360/rfis/v2/containers/{containerId}/rfis"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "id": "12345",
                      "title": "Electrical Socket",
                      "question": "Where should we put the electrical socket?",
                      "status": "open",
                      "assignedTo": "12345",
                      "assignedToType": "user",
                      "dueDate": "2022-01-01T00:00:00Z",
                      "location": {
                        "description": "Room 1"
                      },
                      "lbsIds": [],
                      "createdBy": "12345",
                      "createdAt": "2022-01-01T00:00:00Z",
                      "updatedAt": "2022-01-01T00:00:00Z",
                      "containerId": "12345",
                      "suggestedAnswer": "Yes",
                      "coReviewers": [],
                      "coReviewersRoles": [],
                      "coReviewersCompanies": [],
                      "distributionList": [],
                      "distributionListRoles": [],
                      "distributionListCompanies": [],
                      "discipline": [],
                      "category": [],
                      "attachmentsCount": 0,
                      "commentsCount": 0,
                      "projectId": "12345"
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "Rfi-3": {
        "allOf": [
          {
            "$ref": "#/components/schemas/Rfi"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "https://api.procore.com/rest/v1.0/projects/{projectId}}/rfis\","
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "id": 12345,
                      "created_at": "2022-01-01T00:00:00Z",
                      "initiated_at": "022-01-01T00:00:00Z",
                      "link": "agaveapi.com",
                      "project_stage": null,
                      "time_resolved": null,
                      "assignees": [
                        {
                          "id": 12345,
                          "name": "John Doe",
                          "locale": null,
                          "login": "contact@agaveapi.com",
                          "response_required": false
                        }
                      ],
                      "ball_in_courts": [
                        {
                          "id": 12345,
                          "name": "John Doe",
                          "locale": "",
                          "login": "contact@agaveapi.com"
                        }
                      ],
                      "cost_impact": {
                        "status": "yes_known",
                        "value": "100.00"
                      },
                      "custom_fields": [],
                      "due_date": "2022-01-01",
                      "full_number": "A-123",
                      "number": "A123",
                      "prefix": null,
                      "private": false,
                      "received_from": null,
                      "rfi_manager": {
                        "id": 12345,
                        "login": "contact@agaveapi.com",
                        "name": "John Doe"
                      },
                      "schedule_impact": {
                        "status": null,
                        "value": null
                      },
                      "status": "open",
                      "subject": "Electrical",
                      "translated_status": "Open",
                      "updated_at": "2022-01-01T00:00:00Z",
                      "assignee": {
                        "id": 12345,
                        "name": "Johjn Doe",
                        "locale": null,
                        "login": "contact@agaveapi.com"
                      },
                      "ball_in_court": {
                        "id": 12345,
                        "name": "John Doe",
                        "locale": "",
                        "login": "contact@agaveapi.com"
                      },
                      "reference": null,
                      "location_id": null,
                      "questions": [
                        {
                          "id": 12345,
                          "created_by": "John Doe",
                          "plain_text_body": "Where should we put the electrical socket?",
                          "attachments": [],
                          "answers": [
                            {
                              "id": 12345,
                              "answer_date": "2022-01-01T00:00:00Z",
                              "rich_text_body": "On the third floor.",
                              "plain_text_body": "On the third floor.",
                              "attachments": [],
                              "created_by": "John Doe",
                              "created_by_id": 12345,
                              "official": true
                            }
                          ],
                          "question_date": "2022-01-01T00:00:00Z",
                          "rich_text_body": "On the third floor."
                        }
                      ],
                      "drawing_number": null,
                      "accepted": false,
                      "ball_in_court_role": "rfi_manager",
                      "change_events": [],
                      "coordination_issues": [],
                      "custom_textfield_1": {
                        "label": null,
                        "value": null
                      },
                      "custom_textfield_2": {
                        "label": null,
                        "value": null
                      },
                      "title": "Electrical Socket",
                      "draft": false,
                      "drawing_ids": [],
                      "distribution_list": [],
                      "cost_code": null,
                      "location": null,
                      "sub_job": null,
                      "responsible_contractor": null,
                      "created_by": {
                        "id": 12345,
                        "login": "contact@agaveapi.com",
                        "name": "Johjn Doe"
                      },
                      "specification_section": null
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "NewRfi": {
        "type": "object",
        "properties": {
          "assignee_ids": {
            "type": "array",
            "description": "The UUID assigned by Agave of the [Contacts](#tag--contacts) assigned to the RFI.",
            "items": {
              "$ref": "#/components/schemas/IdPropertyReadOnly"
            }
          },
          "cost_impact": {
            "allOf": [
              {
                "description": "The expected cost impact of the RFI."
              },
              {
                "$ref": "#/components/schemas/MoneyProperty"
              }
            ]
          },
          "creator_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Contact](#tag--contacts) that created the RFI."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "due_date": {
            "allOf": [
              {
                "description": "The due date of the RFI."
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ]
          },
          "number": {
            "type": "string",
            "description": "The number of the RFI.",
            "example": "C-444"
          },
          "question": {
            "type": "string",
            "description": "The text of the RFI's question.",
            "example": "Where should we put the electrical socket?"
          },
          "title": {
            "type": "string",
            "description": "The title of the RFI.",
            "example": "Electrical"
          }
        }
      },
      "NewRfiResponse": {
        "type": "object",
        "properties": {
          "status": {
            "type": "boolean",
            "description": "The status of the RFI Response (e.g. \"Official\", \"Draft\").",
            "example": true
          },
          "text": {
            "type": "string",
            "description": "The content of the RFI Response.",
            "example": "The electrical socket is on the third floor."
          }
        }
      },
      "SpecificationSection": {
        "type": "object",
        "properties": {
          "id": {
            "allOf": [
              {
                "description": "The UUID of the Specification Section assigned by Agave."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "source_id": {
            "type": "string",
            "readOnly": true,
            "example": "3439",
            "description": "The ID of the Specification Section in the Source System."
          },
          "division": {
            "type": "string",
            "description": "The Division associated with the Specification Section",
            "example": "22 - Plumbing"
          },
          "filename": {
            "type": "string",
            "description": "The name of the Specification with its extension.",
            "example": "Test_File.pdf"
          },
          "name": {
            "type": "string",
            "description": "The name or title of the Specification Section.",
            "example": "Submittal Procedures"
          },
          "number": {
            "type": "string",
            "description": "The number associated with the Specification Section.",
            "example": "01.33.00"
          },
          "preview_url": {
            "type": "string",
            "description": "A URL at which the Specifications can be previewd in a browser.",
            "example": "https://storage.agaveapi.com/preview/file.pdf?signature=xxx&expires_at=20220101T000001Z"
          },
          "revision": {
            "type": "string",
            "description": "The revision of the Specification Section.",
            "example": 2
          },
          "section_version_id": {
            "allOf": [
              {
                "description": "The UUID of the latest [Specification Section Version](#tag--specification-section-versions) assigned by Agave."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "section_version_source_id": {
            "allOf": [
              {
                "description": "The ID of the latest [Specification Section Version](#tag--specification-section-versions) in the Source System."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "url": {
            "type": "string",
            "description": "The URL at which the Specification Section can be accessed or downloaded.",
            "example": "https://storage.agaveapi.com/download/file.pdf?signature=xxx&expires_at=20220530T031901Z"
          }
        }
      },
      "SpecificationSection-2": {
        "allOf": [
          {
            "$ref": "#/components/schemas/SpecificationSection"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The source data as we received it from the source system. \nSee https://docs.agaveapi.com/agave-api/source-data for more info\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the source system",
                    "example": "https://source-system.com/api/v3/resource"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the source data",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the source system",
                    "example": {
                      "id": 3439,
                      "current_revision_id": 3517,
                      "description": "Submittal Procedures",
                      "label": "01.33.00 - Submittal Procedures",
                      "number": "01.33.00"
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "SpecificationSectionVersion": {
        "type": "object",
        "properties": {
          "id": {
            "allOf": [
              {
                "description": "The UUID of the Specification Section Version assigned by Agave."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "source_id": {
            "type": "string",
            "readOnly": true,
            "example": "3517",
            "description": "The ID of the Specification Section Version in the Source System."
          },
          "name": {
            "type": "string",
            "description": "The name of the Section Version.",
            "example": "Rev 0"
          },
          "revision": {
            "type": "string",
            "description": "The revision of the Specification Section Version.",
            "example": 2
          },
          "section_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Specification Section](#tag--specification-sections) associated with the Specification Section Version."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "section_name": {
            "type": "string",
            "description": "The name of the Section associated with the Section Version.",
            "example": "Submittal Procedures"
          },
          "section_number": {
            "type": "string",
            "description": "The number of the Section associated with the Section Version.",
            "example": 1
          },
          "url": {
            "type": "string",
            "description": "The URL of the Specification Section associated with the Specification Section Version.",
            "example": "https://storage.procore.com/v4/d/us-east-1/pro-core.com-staging/7ac86524-e4a5-4176-801d-e4f2a070e423_staging_merged.pdf?sig=xxx"
          },
          "source_create_time": {
            "allOf": [
              {
                "description": "The datetime the Specification Section Version was created."
              },
              {
                "$ref": "#/components/schemas/DateTimeProperty"
              }
            ]
          },
          "source_update_time": {
            "allOf": [
              {
                "description": "The datetime the Specification Section Version was last updated."
              },
              {
                "$ref": "#/components/schemas/DateTimeProperty"
              }
            ]
          }
        }
      },
      "SpecificationSectionVersion-2": {
        "allOf": [
          {
            "$ref": "#/components/schemas/SpecificationSectionVersion"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The source data as we received it from the source system. \nSee https://docs.agaveapi.com/agave-api/source-data for more info\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the source system",
                    "example": "https://source-system.com/api/v3/resource"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the source data",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the source system",
                    "example": {
                      "id": 3517,
                      "custom_fields": {},
                      "description": "Submittal Procedures",
                      "issued_date": "2022-03-01",
                      "number": "01.33.00",
                      "received_date": "2022-03-08",
                      "revision": "Rev 0",
                      "specification_section_division_id": 870,
                      "specification_section_id": 3439,
                      "updated_at": "2022-03-11T05:49:53Z",
                      "url": "https://storage.procore.com/v4/d/us-east-1/pro-core.com-staging/6269a5bc-c0cb-424c-8a15-0127b5b0b07c_staging_merged.pdf?sig=xxx"
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "Submittal": {
        "type": "object",
        "properties": {
          "id": {
            "allOf": [
              {
                "description": "The UUID of the Submittal assigned by Agave."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "source_id": {
            "type": "string",
            "readOnly": true,
            "example": "12345",
            "description": "The ID of the Submittal in the Source System."
          },
          "attachments": {
            "type": "array",
            "description": "A list of Attachments associated with the Submittal.",
            "items": {
              "$ref": "#/components/schemas/Attachment"
            }
          },
          "creator_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Contact](#tag--contacts) that created the Submittal."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "description": {
            "type": "string",
            "description": "A description of the Submittal.",
            "example": "This is a Submittal for the paint for the front door."
          },
          "distribution_contact_ids": {
            "type": "array",
            "description": "A list of [Contacts](#tag--contacts) that receive updates regarding the Submittal.",
            "items": [
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "name": {
            "type": "string",
            "description": "The name of the Submittal.",
            "example": "Front door paint"
          },
          "number": {
            "type": "string",
            "description": "The number associated with the Submittal.",
            "example": "A-123"
          },
          "package_id": {
            "allOf": [
              {
                "description": "The UUID of the [Submittal Package](#tag--submittal-packages) assigned by Agave that this Submittal is associated with."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "reviewers": {
            "type": "array",
            "description": "The list of reviewers assigned to a Submittal workflow.",
            "items": {
              "type": "array",
              "items": {
                "type": "object",
                "properties": {
                  "id": {
                    "allOf": [
                      {
                        "description": "The UUID of the Submittal Reviewer assigned by Agave."
                      },
                      {
                        "$ref": "#/components/schemas/IdPropertyReadOnly"
                      }
                    ]
                  },
                  "attachments": {
                    "type": "array",
                    "description": "A list of Attachments associated with the Submittal.",
                    "items": {
                      "$ref": "#/components/schemas/Attachment"
                    }
                  },
                  "contact_id": {
                    "allOf": [
                      {
                        "description": "The UUID of the [Contact](#tag--contacts) assigned by Agave."
                      },
                      {
                        "$ref": "#/components/schemas/IdPropertyReadOnly"
                      }
                    ]
                  },
                  "due_date": {
                    "allOf": [
                      {
                        "description": "The date the reviewer's review of the Submittal is due."
                      },
                      {
                        "$ref": "#/components/schemas/DateProperty"
                      }
                    ]
                  },
                  "review_status": {
                    "type": "string",
                    "description": "The status of the reviewer's review of the Submittal.",
                    "example": "Pending"
                  },
                  "role": {
                    "type": "string",
                    "description": "The role of the Contact in the Submittal workflow.",
                    "example": "Approver"
                  }
                }
              }
            }
          },
          "specification_section_id": {
            "type": "string",
            "allOf": [
              {
                "description": "The UUID of the [Specification Section](#tag--specification-sections) assigned by Agave that this Submittal is associated with."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "status": {
            "type": "string",
            "description": "The status of the Submittal.",
            "example": "Open"
          },
          "submitter_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Contact](#tag--contacts) who submitted the Submittal."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "type": {
            "type": "string",
            "description": "The type of the Submittal.",
            "example": "Product Information"
          },
          "source_create_time": {
            "allOf": [
              {
                "description": "The datetime the Submittal was created."
              },
              {
                "$ref": "#/components/schemas/DateTimeProperty"
              }
            ]
          },
          "source_update_time": {
            "allOf": [
              {
                "description": "The datetime the Submittal was last updated."
              },
              {
                "$ref": "#/components/schemas/DateTimeProperty"
              }
            ]
          }
        }
      },
      "Submittal-2": {
        "allOf": [
          {
            "$ref": "#/components/schemas/Submittal"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "https://api.procore.com/rest/v1.1/projects/{Project_ID}}/submittals"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "id": 12345,
                      "approvers": [
                        {
                          "id": 12345,
                          "approver_type": "Approver",
                          "associated_attachments": [],
                          "comment": null,
                          "due_date": "2022-01-01",
                          "response": {
                            "id": 12345,
                            "considered": "pending",
                            "name": "Pending"
                          },
                          "returned_date": null,
                          "sent_date": null,
                          "user": {
                            "id": 12345,
                            "name": "John Doe"
                          },
                          "workflow_group_number": 0
                        }
                      ],
                      "associated_attachments": [],
                      "ball_in_court": [
                        {
                          "id": 12345,
                          "initials": "",
                          "name": "John Doe",
                          "vendor": null
                        }
                      ],
                      "cost_code_id": null,
                      "created_at": "2022-01-01T00:00:00Z",
                      "created_by": {
                        "id": 12345,
                        "name": "John Doe"
                      },
                      "current_revision": true,
                      "custom_fields": [],
                      "description": "This is a Submittal for the paint for the front door.",
                      "distributed_at": null,
                      "distribution_members": [],
                      "drawing_ids": [],
                      "due_date": "2022-01-01",
                      "formatted_number": "A-123",
                      "issue_date": "2022-01-01",
                      "last_distributed_submittal": null,
                      "lead_time": null,
                      "linked_drawing_ids": [],
                      "location_id": null,
                      "number": "123",
                      "private": true,
                      "received_date": "2022-01-01",
                      "received_from": null,
                      "required_on_site_date": "2022-01-01",
                      "responsible_contractor": null,
                      "revision": "",
                      "specification_section": 12345,
                      "status": {
                        "id": 1,
                        "name": "Open",
                        "status": "Open"
                      },
                      "sub_job_id": null,
                      "submit_by": "2022-01-01",
                      "submittal_manager": {
                        "id": 77742,
                        "name": "John Doe"
                      },
                      "submittal_package": 12345,
                      "title": "Front door paint",
                      "type": {
                        "id": 12345,
                        "name": "Product Info"
                      },
                      "updated_at": "2022-01-01T00:00:00Z"
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "NewSubmittal": {
        "type": "object",
        "properties": {
          "description": {
            "type": "string",
            "description": "A description of the Submittal.",
            "example": "This is a Submittal for the paint for the front door."
          },
          "distribution_contacts": {
            "type": "array",
            "description": "A list of [Contacts](#tag--contacts) that receive updates regarding the Submittal.",
            "items": [
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          },
          "name": {
            "type": "string",
            "description": "The name of the Submittal.",
            "example": "Front door paint"
          },
          "number": {
            "type": "string",
            "description": "The number associated with the Submittal.",
            "example": "A-123"
          },
          "package_id": {
            "allOf": [
              {
                "description": "The UUID of the [Submittal Package](#tag--submittal-packages) that this Submittal is associated with."
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          },
          "reviewers": {
            "type": "array",
            "description": "The list of reviewers assigned to a Submittal workflow.",
            "items": {
              "type": "array",
              "items": {
                "type": "object",
                "properties": {
                  "contact_id": {
                    "allOf": [
                      {
                        "description": "The UUID of the [Contact](#tag--contacts) associated with the reviewer."
                      },
                      {
                        "$ref": "#/components/schemas/IdPropertyWriteOnly"
                      }
                    ]
                  },
                  "due_date": {
                    "allOf": [
                      {
                        "description": "The date the reviewer's review of the Submittal is due."
                      },
                      {
                        "$ref": "#/components/schemas/DateProperty"
                      }
                    ]
                  },
                  "review_status": {
                    "type": "string",
                    "description": "The status of the reviewer's review of the Submittal.",
                    "example": "Pending"
                  },
                  "role": {
                    "type": "string",
                    "description": "The role of the Contact in the Submittal workflow.",
                    "example": "Approver"
                  }
                }
              }
            }
          },
          "specification_section_id": {
            "type": "string",
            "allOf": [
              {
                "description": "The UUID of the [Specification Section](#tag--specification-sections) assigned by Agave associated with the Submittal."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "status": {
            "type": "string",
            "description": "The status of the Submittal.",
            "example": "Open"
          },
          "submitter_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Contact](#tag--contacts) who submitted the Submittal."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "type": {
            "type": "string",
            "description": "The type of the Submittal.",
            "example": "Product Info"
          }
        }
      },
      "SubmittalPackage": {
        "type": "object",
        "properties": {
          "id": {
            "allOf": [
              {
                "description": "The UUID of the Submittal Package assigned by Agave."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "source_id": {
            "type": "string",
            "readOnly": true,
            "example": "12345",
            "description": "The ID of the Submittal Package in the Source System."
          },
          "creator_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Contact](#tag--contacts) that created the Submittal Package."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "description": {
            "type": "string",
            "description": "A description of the Submittal Package.",
            "example": "This is a Submittal Package for Door Frames."
          },
          "name": {
            "type": "string",
            "description": "The name of the Submittal Package.",
            "example": "Door Frames"
          },
          "number": {
            "type": "string",
            "description": "The number associated with the Submittal Package.",
            "example": "A-123"
          },
          "submittal_ids": {
            "type": "array",
            "description": "A list of [Submittals](#tag--submittals) contained within the Submittal Package.",
            "items": [
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "source_create_time": {
            "allOf": [
              {
                "description": "The datetime the Submittal Package was created."
              },
              {
                "$ref": "#/components/schemas/DateTimeProperty"
              }
            ]
          },
          "source_update_time": {
            "allOf": [
              {
                "description": "The datetime the Submittal Package was last updated."
              },
              {
                "$ref": "#/components/schemas/DateTimeProperty"
              }
            ]
          }
        }
      },
      "SubmittalPackage-2": {
        "allOf": [
          {
            "$ref": "#/components/schemas/SubmittalPackage"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "https://api.procore.com/rest/v1.1/projects/{Project_ID}}/submittal_packages"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "id": 12345,
                      "attachments_count": 0,
                      "number": "A-123",
                      "title": "Door Frames",
                      "created_by": {
                        "id": 77742,
                        "name": "John Doe",
                        "locale": "",
                        "login": "contact@agaveapi.com"
                      },
                      "description": "This is a Submittal Package for Door Frames.",
                      "specification_section_id": null,
                      "updated_at": "2022-01-01T00:00:00Z",
                      "submittal_ids": [
                        12345
                      ],
                      "attachments": []
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "NewSubmittalPackage": {
        "type": "object",
        "properties": {
          "description": {
            "type": "string",
            "description": "A description of the Submittal Package.",
            "example": "This is a Submittal Package for Door Frames."
          },
          "name": {
            "type": "string",
            "description": "The name of the Submittal Package.",
            "example": "Door Frames"
          },
          "number": {
            "type": "string",
            "description": "The number associated with the Submittal Package.",
            "example": "A-123"
          },
          "submittal_ids": {
            "type": "array",
            "description": "A list of [Submittals](#tag--submittals) contained within the Submittal Package.",
            "items": [
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          }
        }
      },
      "Transmittal": {
        "type": "object",
        "properties": {
          "id": {
            "allOf": [
              {
                "description": "The UUID of the Transmittal assigned by Agave."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "source_id": {
            "type": "string",
            "readOnly": true,
            "example": "12345",
            "description": "The ID of the Transmittal in the Source System."
          },
          "creator_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Contact](#tag--contacts) that created the Transmittal."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "drawing_ids": {
            "type": "array",
            "description": "A list of [Drawings](#tag--drawings) associated with the Transmittal. Note, these are only available for SHOW Transmittal requests.",
            "items": {
              "$ref": "#/components/schemas/IdPropertyReadOnly"
            }
          },
          "due_date": {
            "allOf": [
              {
                "description": "The due date of the Transmittal."
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ]
          },
          "file_ids": {
            "type": "array",
            "description": "A list of [Files](#tag--files) associated with the Transmittal. Note, these are only available for SHOW Transmittal requests.",
            "items": {
              "$ref": "#/components/schemas/IdPropertyReadOnly"
            }
          },
          "issue_reasons": {
            "type": "array",
            "description": "A list of reasons the Transmittal was issued.",
            "items": {
              "example": "Issued for Approval"
            }
          },
          "number": {
            "type": "string",
            "description": "The number of the Transmittal.",
            "example": "A123"
          },
          "recipients": {
            "type": "array",
            "description": "A list of Contacts that are recipients of the Transmittal.",
            "items": {
              "type": "object",
              "properties": {
                "contact_id": {
                  "allOf": [
                    {
                      "description": "The UUID assigned by Agave of the [Contact](#tag--contacts) that received the Transmittal."
                    },
                    {
                      "$ref": "#/components/schemas/IdPropertyReadOnly"
                    }
                  ]
                },
                "type": {
                  "type": "string",
                  "enum": [
                    "TO",
                    "CC",
                    "BCC"
                  ]
                }
              }
            }
          },
          "required_actions": {
            "type": "array",
            "description": "A list of actions required by the recipient in response to the Transmittal.",
            "items": {
              "example": "Approve By"
            }
          },
          "sent_date": {
            "allOf": [
              {
                "description": "The date the Transmittal was sent."
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ]
          },
          "status": {
            "type": "string",
            "description": "The status of the Transmittal.",
            "example": "Outstanding"
          },
          "subject": {
            "type": "string",
            "description": "The subject of the Transmittal.",
            "example": "Sample Transmittal"
          },
          "source_create_time": {
            "allOf": [
              {
                "description": "The datetime the Transmittal was created."
              },
              {
                "$ref": "#/components/schemas/DateTimeProperty"
              }
            ]
          },
          "source_update_time": {
            "allOf": [
              {
                "description": "The datetime the Transmittal was last updated."
              },
              {
                "$ref": "#/components/schemas/DateTimeProperty"
              }
            ]
          }
        }
      },
      "Transmittal-2": {
        "allOf": [
          {
            "$ref": "#/components/schemas/Transmittal"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "https://{{hostname}}/api/projects/{{projectId}}/mail"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "@attributes": {
                        "MailId": "12345"
                      },
                      "AttachedDocumentCount": "1",
                      "AttachmentFileSize": "98765",
                      "Confidential": "false",
                      "CorrespondenceType": "Transmittal",
                      "ToUsers": {
                        "Recipient": [
                          {
                            "OrganizationId": "12345",
                            "OrganizationName": "AnyCompany Inc.",
                            "Status": "Outstanding",
                            "DistributionType": "TO",
                            "FirstName": "John",
                            "Name": "John Doe",
                            "UserId": "12345",
                            "LastName": "Doe"
                          },
                          {
                            "OrganizationId": "12345",
                            "OrganizationName": "AnyCompany Inc.",
                            "Status": "N/A",
                            "DistributionType": "CC",
                            "FirstName": "Jane",
                            "Name": " Jane Doe",
                            "UserId": "12345",
                            "LastName": "Doe"
                          }
                        ]
                      },
                      "MailNo": "A123",
                      "FromUserDetails": {
                        "OrganizationId": "12345",
                        "OrganizationName": "AnyCompany Inc.",
                        "FirstName": "John",
                        "Name": "John Smith",
                        "UserId": "12345",
                        "LastName": "Smith"
                      },
                      "ReasonForIssue": "Issued for Approval",
                      "ReferenceNumber": "AGAVE-TRN-000003",
                      "ResponseRequired": {
                        "ResponseRequiredDate": "2022-01-01T00:00:00.000Z",
                        "ResponseRequiredMessage": "Approve by"
                      },
                      "SentDate": "2022-01-01T00:00:00.000Z",
                      "Status": "Outstanding",
                      "Subject": "Test Transmittal"
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "Vendor": {
        "type": "object",
        "properties": {
          "id": {
            "allOf": [
              {
                "description": "The UUID of the Vendor assigned by Agave."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "source_id": {
            "type": "string",
            "readOnly": true,
            "example": "12345",
            "description": "The ID of the Vendor in the Source System."
          },
          "address": {
            "allOf": [
              {
                "description": "The Vendor's address."
              },
              {
                "$ref": "#/components/schemas/Address"
              }
            ]
          },
          "alternate_name": {
            "type": "string",
            "description": "An alternate name for the Vendor (e.g. the trade name or Doing Business As (DBA) name).",
            "example": "AnyCompany"
          },
          "code": {
            "type": "string",
            "description": "A reference code for the Vendor.",
            "example": "ACO"
          },
          "email": {
            "type": "string",
            "description": "The email address for the Vendor.",
            "example": "contact@agaveapi.com"
          },
          "fax": {
            "type": "string",
            "description": "The fax number for the Vendor",
            "example": "(123) 555-0100"
          },
          "name": {
            "type": "string",
            "description": "The name of the Vendor.",
            "example": "AnyCompany Inc."
          },
          "phone": {
            "type": "string",
            "description": "The Vendor's phone number.",
            "example": "(123) 555-0100"
          },
          "status": {
            "type": "string",
            "description": "The current status of the Vendor.\n\n**Note for most systems**: Valid statuses include \"Active\", \"Archived\", and \"Inactive\".\n\n**Note for Acumatica**: Valid statuses include \"Active\", \"On Hold\", \"Hold Payments\", \"One-Time\", and \"Inactive\".\n\n**Note for COINS**: Valid statuses include \"Active\", \"Dormant\", and \"Closed\".\n",
            "example": "Active"
          },
          "tax_number": {
            "type": "string",
            "description": "The tax identifier of the Vendor.",
            "example": "987654321"
          },
          "terms": {
            "type": "string",
            "description": "The default terms of the Vendor.\n\n**Note for COINS**: The time until payment is due. Can take two forms: 1) \"x mnth due y\" (where x = # of months and y=day of the month) 2) \"x days\" where x = # of days.\n",
            "example": "Net 30 Days"
          },
          "type": {
            "type": "string",
            "description": "The type of Vendor.",
            "example": "Subcontractor"
          },
          "website": {
            "type": "string",
            "description": "The web address of the Vendor.",
            "example": "https://www.agaveapi.com/"
          },
          "source_create_time": {
            "allOf": [
              {
                "description": "The datetime the Vendor was created in the Source System."
              },
              {
                "$ref": "#/components/schemas/DateTimeProperty"
              }
            ]
          },
          "source_update_time": {
            "allOf": [
              {
                "description": "The datetime the Vendor was last updated in the Source System."
              },
              {
                "$ref": "#/components/schemas/DateTimeProperty"
              }
            ]
          }
        }
      },
      "Vendor-2": {
        "allOf": [
          {
            "$ref": "#/components/schemas/Vendor"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "https://{region}.aconex.com/api/organizations"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "ABN": "12-3456789",
                      "DeliveryAddressLine": "123 Main Street Unit 1",
                      "DeliveryCity": "AnyTown",
                      "DeliveryCountry": "United States",
                      "DeliveryPostcode": "19703",
                      "DeliveryState": "Delaware",
                      "OrganizationDivisions": [],
                      "EmailAddress": "contact@agaveapi.com",
                      "Fax": [],
                      "OrganizationCode": "AGAVE",
                      "OrganizationId": "1208003047",
                      "OrganizationName": "Agave Tech Inc",
                      "Phone": [],
                      "PostalAddressLine": "123 Main Street Unit 1",
                      "PostalCity": "AnyTown",
                      "PostalCountry": "United States",
                      "PostalPostCode": "19703",
                      "PostalState": "Delaware",
                      "OrganizationRoles": {
                        "Role": [
                          "Head Contractor",
                          "Subcontractor",
                          "Supplier",
                          "Architect",
                          "Quantity Surveyor",
                          "Engineer",
                          "Developer",
                          "Consultant",
                          "Project Manager",
                          "Other"
                        ]
                      },
                      "TradingName": "AnyCompany Inc.",
                      "WebsiteAddress": "https://www.agaveapi.com/"
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "Vendor-3": {
        "allOf": [
          {
            "$ref": "#/components/schemas/Vendor"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "https://{{host}}.com/{{instance_name}}/entity/Default/20.200.001/Vendor?%24top=10&%24expand=MainContact%2CMainContact%2FAddress"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "id": "7ce4fb65-ab12-eb11-b835-00155d408001",
                      "rowNumber": 1,
                      "note": {
                        "value": ""
                      },
                      "AccountRef": [],
                      "APAccount": {
                        "value": "20000"
                      },
                      "CashAccount": {
                        "value": "10200TG"
                      },
                      "CreatedDateTime": {
                        "value": "2022-01-01T00:00:00+00:00"
                      },
                      "CurrencyID": {
                        "value": "USD"
                      },
                      "CurrencyRateType": [],
                      "EnableCurrencyOverride": {
                        "value": false
                      },
                      "EnableRateOverride": {
                        "value": false
                      },
                      "F1099Box": [],
                      "F1099Vendor": {
                        "value": false
                      },
                      "FATCA": [],
                      "FOBPoint": [],
                      "ForeignEntity": {
                        "value": false
                      },
                      "LandedCostVendor": {
                        "value": false
                      },
                      "LastModifiedDateTime": {
                        "value": "2022-01-01T00:00:00+00:00"
                      },
                      "LeadTimedays": [],
                      "LocationName": {
                        "value": "Primary Location"
                      },
                      "MainContact": {
                        "id": "5146cd5b-23fa-48da-809b-cc01bf045864",
                        "rowNumber": 1,
                        "note": null,
                        "Address": {
                          "id": "c2f0d1ba-c6fd-449b-881e-07cad22bb043",
                          "rowNumber": 1,
                          "note": null,
                          "AddressLine1": {
                            "value": "123 Main Street"
                          },
                          "AddressLine2": {
                            "value": "Unit 1"
                          },
                          "City": {
                            "value": "AnyTown"
                          },
                          "Country": {
                            "value": "US"
                          },
                          "PostalCode": {
                            "value": "19703"
                          },
                          "State": {
                            "value": "CA"
                          },
                          "custom": []
                        },
                        "Attention": [],
                        "ContactID": {
                          "value": 100185
                        },
                        "DisplayName": {
                          "value": "AnyCompany, Inc"
                        },
                        "Email": {
                          "value": "contact@agaveapi.com"
                        },
                        "Fax": [],
                        "FirstName": [],
                        "JobTitle": [],
                        "LastName": [],
                        "MiddleName": [],
                        "Phone1": {
                          "value": "+1-123-555-0100"
                        },
                        "Phone1Type": {
                          "value": "Business 1"
                        },
                        "Phone2": [],
                        "Phone2Type": {
                          "value": "Business 2"
                        },
                        "Title": [],
                        "WebSite": {
                          "value": "https://www.agaveapi.com/"
                        },
                        "custom": []
                      },
                      "MaxReceipt": {
                        "value": 100
                      },
                      "MinReceipt": {
                        "value": 0
                      },
                      "ParentAccount": [],
                      "PaymentBy": {
                        "value": "Due Date"
                      },
                      "PaymentLeadTimedays": {
                        "value": 0
                      },
                      "PaymentMethod": {
                        "value": "CHECK"
                      },
                      "PaySeparately": {
                        "value": false
                      },
                      "PrintOrders": {
                        "value": false
                      },
                      "ReceiptAction": {
                        "value": "Accept but Warn"
                      },
                      "ReceivingBranch": [],
                      "RemittanceAddressOverride": [],
                      "RemittanceContactOverride": [],
                      "SendOrdersbyEmail": {
                        "value": false
                      },
                      "ShippingAddressOverride": [],
                      "ShippingContactOverride": [],
                      "ShippingTerms": [],
                      "ShipVia": [],
                      "Status": {
                        "value": "Active"
                      },
                      "TaxCalculationMode": {
                        "value": "Tax Settings"
                      },
                      "TaxRegistrationID": [],
                      "TaxZone": [],
                      "Terms": {
                        "value": "30D"
                      },
                      "ThresholdReceipt": {
                        "value": 100
                      },
                      "VendorClass": {
                        "value": "SUBCON"
                      },
                      "VendorID": {
                        "value": "ACO"
                      },
                      "VendorIsLaborUnion": {
                        "value": false
                      },
                      "VendorIsTaxAgency": {
                        "value": false
                      },
                      "VendorName": {
                        "value": "AnyCompany, Inc"
                      },
                      "Warehouse": [],
                      "custom": [],
                      "_links": {
                        "self": "/AcumaticaU100/entity/Default/20.200.001/Vendor/7ce4fb65-ab12-eb11-b835-00155d408001",
                        "files:put": "/AcumaticaU100/entity/Default/20.200.001/files/PX.Objects.AP.VendorMaint/BAccount/7ce4fb65-ab12-eb11-b835-00155d408001/{filename}"
                      }
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "Vendor-4": {
        "allOf": [
          {
            "$ref": "#/components/schemas/Vendor"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "https://developer.api.autodesk.com/hq/v1/accounts/{accountId}/projects/{projectId}/companies"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "id": "12345",
                      "account_id": "80793a28-f9b1-4888-9533-5f00cddcd6fb",
                      "name": "AnyCompany Inc.",
                      "trade": "Concrete",
                      "address_line_1": "123 Main Street",
                      "address_line_2": "Unit 1",
                      "city": "AnyTown",
                      "postal_code": "19703",
                      "state_or_province": "Delaware",
                      "country": "United States of America",
                      "phone": "(123) 555-1230",
                      "website_url": "https://agaveapi.com/",
                      "description": "AnyCompany Inc. is just like any company.",
                      "created_at": "2022-01-01T00:00:00Z",
                      "updated_at": "2022-01-01T00:00:00Z",
                      "erp_id": "c79bf096-5a3e-41a4-aaf8-a771ed329047",
                      "tax_id": "987654321"
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "Vendor-5": {
        "allOf": [
          {
            "$ref": "#/components/schemas/Vendor"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "https://{{instance_name}}.coinscloud.com//env/{{environment}}/rest/pages/company/{{company_id}}/ap_vendor\""
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "avm_num": "12345",
                      "avm_name": "AnyCompany Inc.",
                      "avm_add__1": "123 Main Street",
                      "avm_add__2": "AnyTown",
                      "avm_add__3": "CA",
                      "avm_add__4": "US",
                      "avm_pcode": "19703",
                      "avm_phone": "(123) 555-0100",
                      "avm_fax": "(123) 555-0100",
                      "avm_email": "contact@agaveapi.com",
                      "avm_closed": false,
                      "RO_avm_payterms": "Net 30 Days",
                      "RO_avm_sclab_details": "",
                      "avm_accno": "",
                      "avm_srchname": "AnyCompany",
                      "avm_shname": "ACO",
                      "avm_dormant": false,
                      "avm_sclab": false
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "Vendor-6": {
        "allOf": [
          {
            "$ref": "#/components/schemas/Vendor"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": {
                      "Endpoint": null
                    }
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {}
                  }
                }
              }
            }
          }
        ]
      },
      "Vendor-7": {
        "allOf": [
          {
            "$ref": "#/components/schemas/Vendor"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "{{server}}/{{environemnt}}/pm-rest-api/rest/1/businesspartner"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "Bp1099Code": "12345",
                      "Bp1099Name": "Exempt",
                      "BpAbbrevCode": "12345",
                      "BpActiveFlag": "Y",
                      "BpAdd1": "123 Main Street",
                      "BpAdd2": "Unit B",
                      "BpAdd3": "AnyTown",
                      "BpAkaName": "AnyCompany",
                      "BpClassCode": null,
                      "BpClassName": null,
                      "BpClvValueCode1": null,
                      "BpClvValueCode1Prompt": null,
                      "BpClvValueCode2": null,
                      "BpClvValueCode2Prompt": null,
                      "BpClvValueCode3": null,
                      "BpClvValueCode3Prompt": null,
                      "BpClvValueCode4": null,
                      "BpClvValueCode4Prompt": null,
                      "BpClvValueCode5": null,
                      "BpClvValueCode5Prompt": null,
                      "BpClvValueCode6": null,
                      "BpClvValueCode6Prompt": null,
                      "BpCode": "12345",
                      "BpContactName": null,
                      "BpCountry": "USA",
                      "BpCustBalAmt": null,
                      "BpCustomerStatusFlag": "Y",
                      "BpDispatchFlag": "N",
                      "BpEmail": null,
                      "BpFax": "(123) 555-0100",
                      "BpLegalName": "AnyCompany Inc.",
                      "BpLegalentTypeCode": "CORP",
                      "BpLegalentTypeName": "Corporations",
                      "BpModFlag": null,
                      "BpName": "AnyCompany",
                      "BpOmOnlyFlag": "N",
                      "BpOneTimeFlag": "N",
                      "BpParentCode": null,
                      "BpParentName": null,
                      "BpPhone": "(123) 555-0100",
                      "BpPostalCode": "19703",
                      "BpPrequalRequiredFlag": "N",
                      "BpRegionCode": "CA",
                      "BpRegionName": "California",
                      "BpRegistrationCode": "123456789",
                      "BpShortName": "AC Inc.",
                      "BpSsnFlag": "N",
                      "BpStartDate": "2022-01-01",
                      "BpSysBpAutoNumberFlag": "N",
                      "BpTypeCode": "P",
                      "BpUeValidFlag": "Y",
                      "BpVUuid": "12345",
                      "BpVatCountryCode": null,
                      "BpVatRegistrationNum": null,
                      "BpVendorStatusFlag": "Y",
                      "BpWebSite": null,
                      "BpIuCreateDate": "2022-01-01T00:00:00-00:00",
                      "BpIuUpdateDate": "2022-01-01T00:00:00-00:00"
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "Vendor-8": {
        "allOf": [
          {
            "$ref": "#/components/schemas/Vendor"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The table in the Source System.",
                    "example": "vendor"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "vennum": "A123",
                      "name": "AnySupplier Inc.",
                      "address1": "123 Main Street",
                      "address2": "Anytown, CA 19703",
                      "address3": "",
                      "phonenum": "(123) 555-0100",
                      "costtype": 5,
                      "status": 1,
                      "checklimit": 0,
                      "acctnum": "501.0",
                      "terms": 1,
                      "termsday": 0,
                      "disctype": 1,
                      "discday": 0,
                      "discpcnt": 0,
                      "retpcnt": 0,
                      "sw1099": 2,
                      "wcomppcnt": 0,
                      "wcompexpdate": null,
                      "id": "12-3456789",
                      "notes1": "",
                      "notes2": "",
                      "ventype": 3,
                      "addresscity": "Anytown",
                      "addressstate": "CA",
                      "addresszip": "19703",
                      "faxnum": "(123) 555-0101",
                      "memo": "",
                      "onevouchperchk": 2,
                      "waivernum": "",
                      "remitaddress1": "",
                      "remitaddress2": "",
                      "remitaddress3": "",
                      "remitcity": "",
                      "remitstate": "",
                      "remitzip": "",
                      "warnmsg": "",
                      "warndate": null,
                      "oldemail": "",
                      "web": "https://useagave.com/",
                      "accountnum": "",
                      "name10991": "",
                      "name10992": "",
                      "deptnum": "",
                      "requirepo": 0,
                      "attachid": "0",
                      "box1099": 1,
                      "addr1099": 1,
                      "onhold": 0,
                      "serialnum": "68",
                      "routegroup": "",
                      "cd_enabled": 0,
                      "cd_email": "",
                      "email": "contact@agaveapitest.com",
                      "statetaxcode": "",
                      "ach_bankid": "",
                      "ach_acctid": "",
                      "ach_accttype": 0,
                      "ach_enabled": 0,
                      "ach_memotype": 0,
                      "ach_custommemo": "",
                      "remitemail": "",
                      "remitemailenabled": 0,
                      "ach_seccode": 0,
                      "nvoicepay_enabled": 0,
                      "payment_source": 0,
                      "checkname": "",
                      "user_1": 0,
                      "user_2": 0,
                      "user_3": 0,
                      "user_4": 0,
                      "user_5": "",
                      "user_6": null,
                      "user_7": "",
                      "user_8": 0
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "Vendor-9": {
        "allOf": [
          {
            "$ref": "#/components/schemas/Vendor"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The database query for the Source System.",
                    "example": "select * from [vendors] where [vendors].[company_no] = 1"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "company_no": "1",
                      "vendor_no": "       101",
                      "name": "Lewis Construction",
                      "sort_name": "Lewis Construction",
                      "address_1": "18056 Ledgepoint Place",
                      "address_2": null,
                      "city": "Baldwin",
                      "state": "NY",
                      "zip_code": "73568       ",
                      "country": null,
                      "phone_no": "5165720323  ",
                      "fax_no": "5168425230  ",
                      "email_address": "Lewis@aol.com",
                      "contact": "Leon Bell",
                      "credit_limit": ".00",
                      "vendor_since": "1995-07-18 00:00:00.000",
                      "minority": null,
                      "ship_to_no": null,
                      "terms_no": "   30",
                      "print_1099": "M",
                      "federal_id": "*******9549 ",
                      "hold_payment": "N",
                      "default_gl_account": "4010",
                      "phase_no": null,
                      "cost_code_no": "      2070",
                      "cost_class_no": "    3",
                      "tax_no": "NY   ",
                      "require_po": "N",
                      "retainage_percent": ".0000000",
                      "pay_class_no": null,
                      "ins_certificate": "Y",
                      "ins_date_expires": "2012-03-01 00:00:00.000",
                      "wc_certificate": "Y",
                      "wc_date_expires": "2012-03-01 00:00:00.000",
                      "check_description": null,
                      "record_status": "A",
                      "row_modified_by": "98053",
                      "row_modified_on": "2023-04-13 16:34:07.383",
                      "row_unique_id": "2",
                      "check_desc_print_method": null,
                      "misc_flag": "N",
                      "reporting_class_no": null,
                      "fax_id": "5168425230",
                      "phone_id": "5165720323",
                      "company_id": "1",
                      "vendor_id": "101",
                      "cost_code_id": "2070",
                      "cost_class_id": "3",
                      "phase_id": null,
                      "pay_class_id": null,
                      "ship_to_id": null,
                      "tax_id": "NY",
                      "terms_id": "30",
                      "reporting_class_id": null,
                      "lien_waiver_default": "N",
                      "waiver_description": null,
                      "waiver_trade_work": null,
                      "waiver_title": null,
                      "waiver_signature_name": null,
                      "vendor_name_1099": null,
                      "postal_code_flag": "U",
                      "foreign_postal_code": null,
                      "provider": null,
                      "name_control_1099": null,
                      "federal_id_type": " ",
                      "vendor_name_1099_2": null,
                      "name_2": null,
                      "certificate_1": "Y",
                      "certificate_date_expires_1": "2013-02-18 00:00:00.000",
                      "certificate_2": "Y",
                      "certificate_date_expires_2": "2013-02-19 00:00:00.000",
                      "certificate_3": "Y",
                      "certificate_date_expires_3": "2013-02-20 00:00:00.000",
                      "certificate_4": "N",
                      "certificate_date_expires_4": null,
                      "certificate_5": "N",
                      "certificate_date_expires_5": null,
                      "address_1_1099": null,
                      "address_2_1099": null,
                      "city_1099": null,
                      "state_1099": null,
                      "country_1099": null,
                      "zip_code_1099": null,
                      "postal_code_flag_1099": "U",
                      "foreign_postal_code_1099": null,
                      "use_1099_address": "N",
                      "default_tax_type": "S",
                      "direct_payment": "N",
                      "federal_id_eid": "35",
                      "default_fuel_po": "N",
                      "extension_num": null,
                      "recipient_last_name": null,
                      "recipient_first_name": null,
                      "recipient_middle_name": null,
                      "recipient_name_suffix": null,
                      "print_invoice_desc": "N",
                      "default_payment_type": null,
                      "record_guid": "B31A9B2F-167E-EC11-A45D-E454E88F8BE7"
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "Vendor-10": {
        "allOf": [
          {
            "$ref": "#/components/schemas/Vendor"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "https://apitest.ineight.com/integrations/v1/Vendors?includeAttributes=true"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "SourceSystemId": "12345",
                      "SourceSystemName": null,
                      "VendorCode": "A123",
                      "VendorDescription": "AnyCompany Inc.",
                      "IsActive": true,
                      "AlternateName": "AnyCompany",
                      "Address1": "123 Main Street",
                      "Address2": "Unit B",
                      "ZipCode": "19703",
                      "City": "AnyTown",
                      "RegionISOCode": "US-CA",
                      "CountryISOCode": "US",
                      "TelephoneNumber": "(123) 555-0100",
                      "FaxNumber": "(123) 555-0100",
                      "DefaultPaymentTerms": "12345",
                      "DefaultINCOTerms": "FOB",
                      "DefaultINCOTermsLocation": "AnyTown",
                      "VendorTypeReference": null,
                      "DefaultCurrencyCode": null,
                      "PreferredLanguage": null,
                      "VendorTaxJurisdiction": null,
                      "Status": "Available",
                      "VendorTaxId": "987654321",
                      "VendorAddresses": []
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "Vendor-11": {
        "allOf": [
          {
            "$ref": "#/components/schemas/Vendor"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "https://api.procore.com/rest/v1.0/projects/{projectId}/vendors"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "id": 12345,
                      "name": "AnyCompany",
                      "abbreviated_name": null,
                      "attachments": [],
                      "address": "123 Main Street, Unit 1",
                      "authorized_bidder": true,
                      "business_phone": "(123) 555-0100",
                      "city": "AnyTown",
                      "created_at": "2022-01-01T00:00:00Z",
                      "email_address": "contact@agaveapi.com",
                      "fax_number": "(123) 555-0100",
                      "labor_union": null,
                      "license_number": null,
                      "logo": null,
                      "mobile_phone": null,
                      "non_union_prevailing_wage": false,
                      "notes": null,
                      "prequalified": false,
                      "state_code": "DE",
                      "trade_name": "AnyCompany Inc.",
                      "union_member": false,
                      "updated_at": "2022-01-01T00:00:00Z",
                      "website": "https://www.agaveapi.com/",
                      "zip": "19703",
                      "company": "AnyCompany Inc.",
                      "country_code": "US",
                      "is_active": true,
                      "origin_code": null,
                      "origin_data": null,
                      "origin_id": null,
                      "synced_to_erp": false,
                      "contact_count": 1,
                      "bidding": {
                        "affirmative_action": false,
                        "african_american_business": false,
                        "asian_american_business": false,
                        "certified_business_enterprise": false,
                        "disadvantaged_business": false,
                        "eight_a_business": false,
                        "hispanic_business": false,
                        "historically_underutilized_business": false,
                        "minority_business_enterprise": false,
                        "native_american_business": false,
                        "sdvo_business": false,
                        "small_business": false,
                        "womens_business": false
                      },
                      "legal_name": "AnyCompany Inc.",
                      "standard_cost_codes": [],
                      "children_count": 0,
                      "project_ids": [],
                      "business_register": "987654321",
                      "primary_contact": "12345",
                      "vendor_group": null,
                      "trades": [],
                      "parent": null,
                      "bidding_distribution": []
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "Vendor-12": {
        "allOf": [
          {
            "$ref": "#/components/schemas/Vendor"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "VendorQueryRq"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "ListID": "12345",
                      "TimeCreated": "2022-01-01T00:00:00-00:00",
                      "TimeModified": "2022-01-01T00:00:00-00:00",
                      "EditSequence": "12345",
                      "Name": "AnyCompany",
                      "IsActive": "true",
                      "CompanyName": "AnyCompany Inc",
                      "FirstName": "John",
                      "LastName": "Doe",
                      "VendorAddress": {
                        "Addr1": "123 Main Street",
                        "Addr2": "Unit B",
                        "City": "AnyTown",
                        "State": "CA",
                        "PostalCode": "19703"
                      },
                      "VendorAddressBlock": {
                        "Addr1": "123 Main Street",
                        "Addr2": "Unit B",
                        "Addr3": "AnyTown, CA 19703"
                      },
                      "Phone": "123-555-0100",
                      "Contact": "John Doe",
                      "AdditionalContactRef": {
                        "ContactName": "Main Phone",
                        "ContactValue": "123-555-0101"
                      },
                      "ContactsRet": {
                        "ListID": "12345",
                        "TimeCreated": "2022-01-01T00:00:00-00:00",
                        "TimeModified": "2022-01-01T00:00:00-00:00",
                        "EditSequence": "12345",
                        "FirstName": "John Doe"
                      },
                      "NameOnCheck": "AnyCompany",
                      "IsVendorEligibleFor1099": "false",
                      "Balance": "0.00"
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "Vendor-13": {
        "allOf": [
          {
            "$ref": "#/components/schemas/Vendor"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "https://quickbooks.api.intuit.com/v3/company/12345/query"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "id": 123,
                      "name": "AnyCompany Inc.",
                      "active": true,
                      "isTruckReplenishment": false,
                      "isMobileCreationRestricted": false,
                      "memo": null,
                      "deliveryOption": "Manual",
                      "defaultTaxRate": 0,
                      "contactInfo": {
                        "firstName": null,
                        "lastName": null,
                        "phone": null,
                        "email": null,
                        "fax": null
                      },
                      "address": {
                        "street": "123 Main Street",
                        "unit": "Unit 1",
                        "city": "AnyTown",
                        "state": "California",
                        "zip": "19703",
                        "country": "USA"
                      },
                      "createdOn": "2022-01-01T00:00:00.000000Z",
                      "modifiedOn": "2022-01-01T00:00:00.000000Z",
                      "externalData": null
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "Vendor-14": {
        "allOf": [
          {
            "$ref": "#/components/schemas/Vendor"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The database query for the Source System.",
                    "example": "select * from [actpay]"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "_idnum": "12345935-899F-E511-B83D-005056C00008",
                      "recnum": "12345",
                      "vndnme": "AnyCompany Inc.",
                      "shtnme": "AnyCo",
                      "ownnme": "",
                      "addrs1": "123 Main Street",
                      "addrs2": "Unit B",
                      "ctynme": "AnyTown",
                      "state_": "CA",
                      "zipcde": "19703",
                      "fedidn": "12345dZTLyhZb04TFitlnQGXmu9x8oBjx8yv84GcRQ4=",
                      "steidn": "123-4567-8",
                      "resnum": "",
                      "actnum": "",
                      "licnum": "12345",
                      "usrdf1": "",
                      "usrdf2": "",
                      "phnnum": "",
                      "pagnum": "",
                      "faxnum": "",
                      "cllphn": "",
                      "homphn": "",
                      "e_mail": "",
                      "dscrte": 0,
                      "dscdte": "",
                      "duedte": "",
                      "lgrdft": null,
                      "cdedft": null,
                      "typdft": null,
                      "stsdft": 0,
                      "wrndft": 1,
                      "begbal": 0,
                      "endbal": 0,
                      "vndtyp": 1,
                      "prt199": 5,
                      "minsts": 0,
                      "taxdst": 1,
                      "intrnl": 1,
                      "cmprte": 0,
                      "utxrte": 0,
                      "hotlst": 0,
                      "ordtyp": null,
                      "orddsc": "",
                      "contyp": null,
                      "condsc": "",
                      "ntetxt": "",
                      "imgfle": "",
                      "dupchk": 0,
                      "rfptyp": null,
                      "rfpdsc": "",
                      "sepchk": 0,
                      "contct": "",
                      "pomesg": 0,
                      "toltyp": 0,
                      "tolamt": 0,
                      "tolprc": 0,
                      "tolexc": 0,
                      "dirdep": 0,
                      "prente": 0,
                      "acttyp": 0,
                      "rtnmbr": "",
                      "bnkact": "",
                      "acheml": "",
                      "eftpay": 0,
                      "eftiid": "",
                      "eftrtn": "",
                      "eftact": "",
                      "eftcde": "",
                      "efteml": "",
                      "taxcde": null,
                      "insdte": "2022-01-01T00:00:00.000Z",
                      "insusr": "John",
                      "upddte": "2022-01-01T00:00:00.000Z",
                      "updusr": "John",
                      "elc199": 0,
                      "eml199": "",
                      "inactv": 0,
                      "utwarn": 0,
                      "paymth": 0
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "Vendor-15": {
        "allOf": [
          {
            "$ref": "#/components/schemas/Vendor"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The database query for the Source System.",
                    "example": "select * from [MASTER_APM_RECORD_9]"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "VENDOR": "A123",
                      "VNAME": "AnyCompany Inc.",
                      "VADDR1": "123 Main Street",
                      "VADDR2": "Unit B",
                      "VCITY": "AnyTown",
                      "VSTATE": "CA",
                      "VZIP": "19703",
                      "VCCODE": "US",
                      "VPHONE": "(123)555-0100",
                      "VFAX": "(123)555-0101",
                      "VCNAME1": "John Doe",
                      "VCTELE1": "",
                      "VCEXT1": "",
                      "VCEML1": "contact@agaveapitest.com",
                      "VCNAME2": "",
                      "VCTELE2": "",
                      "VCEXT2": "",
                      "VCEML2": "",
                      "VTYPE": "Supplier",
                      "VCUST": "",
                      "VINACT": "0",
                      "VDSCPCT": 0,
                      "VDSCDAY": 0,
                      "VPMTDAY": 30,
                      "VDAYTYP": "Number of days",
                      "VMDRATE": 0,
                      "VPPSRAT": 0,
                      "VPTYPE": "Check",
                      "VGLEXP": "",
                      "VCCPAY": "",
                      "VJCPHS": "",
                      "VJCCAT": "",
                      "VTAXGRP": "",
                      "VTAXCOL": "Actual tax",
                      "VICODE1": "",
                      "VICODE2": "",
                      "VDCODE": "",
                      "VSTBDTL": "List all invoices",
                      "VONEINV": "0",
                      "VBNKID": 0,
                      "VBNKACT": "",
                      "VATYPE": "Checking",
                      "VPNOTE": "0",
                      "VPDATE": null,
                      "VTITLE": "",
                      "VPMTREF": "",
                      "VFM1099": "0",
                      "VFEDID": "12-3456789",
                      "VTIDNAM": "",
                      "VSCNTIN": "0",
                      "V1099": "Non-employee comp",
                      "V1099EL": "1",
                      "V1099EM": "contact@agaveapitest.com",
                      "VPRATTY": "0",
                      "VGROREV": 0,
                      "VTY1099": 0,
                      "VTYDED": 0,
                      "VLY1099": 0,
                      "VLYDED": 0,
                      "VNY1099": 0,
                      "VNYDED": 0,
                      "VCANFMT": "0",
                      "VCANRCT": "Corporation",
                      "VCANBN1": "",
                      "VCANBN2": "",
                      "VCANFIR": "",
                      "VCANMI": "",
                      "VCANLST": "",
                      "VCANRAN": "",
                      "VCANSIN": 0,
                      "VOAMT": 0,
                      "VODSC": 0,
                      "VRETAIN": 0,
                      "VMDHELD": 0,
                      "VOREC": 0,
                      "VAUTO": 0,
                      "VLSTINV": "",
                      "VLSTIDT": null,
                      "VLSTIA": 0,
                      "VLSTCBK": "",
                      "VLSTCHK": 0,
                      "VLSTCDT": null,
                      "VLSTCA": 0,
                      "VYTDAMT": 0,
                      "VYTDDO": 0,
                      "VYTDDT": 0,
                      "VYTDDL": 0,
                      "VYTDMD": 0,
                      "VYTDPD": 0,
                      "VLYAMT": 0,
                      "VLYDO": 0,
                      "VLYDT": 0,
                      "VLYDL": 0,
                      "VLYMD": 0,
                      "VLYPD": 0,
                      "VNYAMT": 0,
                      "VNYDO": 0,
                      "VNYDT": 0,
                      "VNYDL": 0,
                      "VNYMD": 0,
                      "VNYPD": 0,
                      "VUSELW": "0",
                      "VGLIPR": "0",
                      "VGLRPC": "0",
                      "VGLICMP": "AnyInsurance Inc.",
                      "VGLIPOL": "123456789",
                      "VGLIRD": "2023-01-22",
                      "VGLOVRD": "0",
                      "VGLIEFF": "2023-01-22",
                      "VGLIEXP": "2024-01-22",
                      "VGLILIM": 1000000,
                      "VAIPR": "0",
                      "VAIRPC": "0",
                      "VAICMP": "",
                      "VAIPOL": "",
                      "VAIRD": null,
                      "VAIOVRD": "0",
                      "VAIEFF": null,
                      "VAIEXP": null,
                      "VAILIM": 0,
                      "VWCIPR": "0",
                      "VWCRPC": "0",
                      "VWCICMP": "",
                      "VWCIPOL": "",
                      "VWCRD": null,
                      "VWCOVRD": "0",
                      "VWCIEFF": null,
                      "VWCIEXP": null,
                      "VWCILIM": 0,
                      "VUIPR": "0",
                      "VUIRPC": "0",
                      "VUICMP": "",
                      "VUIPOL": "",
                      "VUIRD": null,
                      "VUOVRD": "0",
                      "VUIEFF": null,
                      "VUIEXP": null,
                      "VUILIM": 0,
                      "VM1IPR": "0",
                      "VM1RPC": "0",
                      "VM1ICMP": "",
                      "VM1IPOL": "",
                      "VM1RD": null,
                      "VM1OVRD": "0",
                      "VM1IEFF": null,
                      "VM1IEXP": null,
                      "VM1ILIM": 0,
                      "VM2IPR": "0",
                      "VM2IRPC": "0",
                      "VM2ICMP": "",
                      "VM2IPOL": "",
                      "VM2IRD": null,
                      "VM2OVRD": "0",
                      "VM2IEFF": null,
                      "VM2IEXP": null,
                      "VM2ILIM": 0,
                      "VHOLD": 0,
                      "VINCLD": "0",
                      "VPAMT": 0,
                      "VPRETP": 0,
                      "VPDSC": 0,
                      "VPRETH": 0,
                      "VPMDED": 0,
                      "VCOMPID": "6F8540AF-C4E9-4E58-8DB4-51A76BE7C65D",
                      "VOSTMP": "sageintegration",
                      "VDSTMP": "2022-01-01",
                      "VTSTMP": "00:00:00",
                      "VRWID": "dbcfbb08-0e71-ee11-8448-122f56880ad7",
                      "VRWVR": "1698002608",
                      "R9NTS": null,
                      "R9FLS": null
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "Vendor-16": {
        "allOf": [
          {
            "$ref": "#/components/schemas/Vendor"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "https://api.intacct.com/ia/xml/xmlgw.phtml"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "RECORDNO": "12345",
                      "VENDORID": "12345",
                      "NAME": "ADP",
                      "NAME1099": null,
                      "PARENTKEY": null,
                      "PARENTID": null,
                      "PARENTNAME": null,
                      "DISPLAYCONTACT.CONTACTNAME": null,
                      "DISPLAYCONTACT.COMPANYNAME": "AnyCompany",
                      "DISPLAYCONTACT.PREFIX": null,
                      "DISPLAYCONTACT.FIRSTNAME": null,
                      "DISPLAYCONTACT.LASTNAME": null,
                      "DISPLAYCONTACT.INITIAL": null,
                      "DISPLAYCONTACT.PRINTAS": null,
                      "DISPLAYCONTACT.TAXABLE": "true",
                      "DISPLAYCONTACT.TAXGROUP": null,
                      "DISPLAYCONTACT.TAXSOLUTIONKEY": null,
                      "DISPLAYCONTACT.TAXSOLUTIONID": null,
                      "DISPLAYCONTACT.TAXSCHEDULE": null,
                      "DISPLAYCONTACT.TAXID": null,
                      "DISPLAYCONTACT.PHONE1": "(123) 555-0100",
                      "DISPLAYCONTACT.PHONE2": null,
                      "DISPLAYCONTACT.CELLPHONE": null,
                      "DISPLAYCONTACT.PAGER": null,
                      "DISPLAYCONTACT.FAX": null,
                      "DISPLAYCONTACT.TAXIDVALIDATIONDATE": null,
                      "DISPLAYCONTACT.GSTREGISTERED": null,
                      "DISPLAYCONTACT.TAXCOMPANYNAME": null,
                      "DISPLAYCONTACT.TAXADDRESS": null,
                      "DISPLAYCONTACT.EMAIL1": null,
                      "DISPLAYCONTACT.EMAIL2": null,
                      "DISPLAYCONTACT.URL1": null,
                      "DISPLAYCONTACT.URL2": null,
                      "DISPLAYCONTACT.VISIBLE": "true",
                      "DISPLAYCONTACT.MAILADDRESS.ADDRESS1": "123 Main Street",
                      "DISPLAYCONTACT.MAILADDRESS.ADDRESS2": "Unit B",
                      "DISPLAYCONTACT.MAILADDRESS.CITY": "AnyTown",
                      "DISPLAYCONTACT.MAILADDRESS.STATE": "CA",
                      "DISPLAYCONTACT.MAILADDRESS.ZIP": "19703",
                      "DISPLAYCONTACT.MAILADDRESS.COUNTRY": "United States",
                      "DISPLAYCONTACT.MAILADDRESS.COUNTRYCODE": "US",
                      "DISPLAYCONTACT.MAILADDRESS.LATITUDE": null,
                      "DISPLAYCONTACT.MAILADDRESS.LONGITUDE": null,
                      "DISPLAYCONTACT.STATUS": "active",
                      "ENTITY": "12345",
                      "TERMNAME": "Net 30",
                      "TERMVALUE": "::#30#:O:",
                      "VENDORACCOUNTNO": null,
                      "TAXID": "987654321",
                      "CREDITLIMIT": null,
                      "TOTALDUE": "0",
                      "BILLINGTYPE": "openitem",
                      "VENDTYPE": "General Trade",
                      "VENDTYPE1099TYPE": null,
                      "GLGROUP": null,
                      "PRICESCHEDULE": null,
                      "DISCOUNT": null,
                      "PRICELIST": null,
                      "COMMENTS": null,
                      "ACCOUNTLABEL": null,
                      "APACCOUNT": "12345",
                      "APACCOUNTTITLE": null,
                      "FORM1099TYPE": null,
                      "FORM1099BOX": null,
                      "PAYMENTPRIORITY": "Normal",
                      "CONTACTINFO.CONTACTNAME": null,
                      "CONTACTINFO.PREFIX": null,
                      "CONTACTINFO.FIRSTNAME": null,
                      "CONTACTINFO.INITIAL": null,
                      "CONTACTINFO.LASTNAME": null,
                      "CONTACTINFO.COMPANYNAME": null,
                      "CONTACTINFO.PRINTAS": null,
                      "CONTACTINFO.PHONE1": null,
                      "CONTACTINFO.PHONE2": null,
                      "CONTACTINFO.CELLPHONE": null,
                      "CONTACTINFO.PAGER": null,
                      "CONTACTINFO.FAX": null,
                      "CONTACTINFO.EMAIL1": null,
                      "CONTACTINFO.EMAIL2": null,
                      "CONTACTINFO.URL1": null,
                      "CONTACTINFO.URL2": null,
                      "CONTACTINFO.VISIBLE": null,
                      "CONTACTINFO.MAILADDRESS.ADDRESS1": null,
                      "CONTACTINFO.MAILADDRESS.ADDRESS2": null,
                      "CONTACTINFO.MAILADDRESS.CITY": null,
                      "CONTACTINFO.MAILADDRESS.STATE": null,
                      "CONTACTINFO.MAILADDRESS.ZIP": null,
                      "CONTACTINFO.MAILADDRESS.COUNTRY": null,
                      "CONTACTINFO.MAILADDRESS.COUNTRYCODE": null,
                      "PAYTO.CONTACTNAME": null,
                      "PAYTO.PREFIX": null,
                      "PAYTO.FIRSTNAME": null,
                      "PAYTO.INITIAL": null,
                      "PAYTO.LASTNAME": null,
                      "PAYTO.COMPANYNAME": null,
                      "PAYTO.PRINTAS": null,
                      "PAYTO.PHONE1": null,
                      "PAYTO.PHONE2": null,
                      "PAYTO.CELLPHONE": null,
                      "PAYTO.PAGER": null,
                      "PAYTO.FAX": null,
                      "PAYTO.EMAIL1": null,
                      "PAYTO.EMAIL2": null,
                      "PAYTO.URL1": null,
                      "PAYTO.URL2": null,
                      "PAYTO.VISIBLE": null,
                      "PAYTO.MAILADDRESS.ADDRESS1": null,
                      "PAYTO.MAILADDRESS.ADDRESS2": null,
                      "PAYTO.MAILADDRESS.CITY": null,
                      "PAYTO.MAILADDRESS.STATE": null,
                      "PAYTO.MAILADDRESS.ZIP": null,
                      "PAYTO.MAILADDRESS.COUNTRY": null,
                      "PAYTO.MAILADDRESS.COUNTRYCODE": null,
                      "PAYTO.TAXGROUP": null,
                      "PAYTO.TAXSOLUTIONKEY": null,
                      "PAYTO.TAXSOLUTIONID": null,
                      "PAYTO.TAXSCHEDULE": null,
                      "PAYTO.TAXID": null,
                      "RETURNTO.CONTACTNAME": null,
                      "RETURNTO.PREFIX": null,
                      "RETURNTO.FIRSTNAME": null,
                      "RETURNTO.INITIAL": null,
                      "RETURNTO.LASTNAME": null,
                      "RETURNTO.COMPANYNAME": null,
                      "RETURNTO.PRINTAS": null,
                      "RETURNTO.PHONE1": null,
                      "RETURNTO.PHONE2": null,
                      "RETURNTO.CELLPHONE": null,
                      "RETURNTO.PAGER": null,
                      "RETURNTO.FAX": null,
                      "RETURNTO.EMAIL1": null,
                      "RETURNTO.EMAIL2": null,
                      "RETURNTO.URL1": null,
                      "RETURNTO.URL2": null,
                      "RETURNTO.VISIBLE": null,
                      "RETURNTO.MAILADDRESS.ADDRESS1": null,
                      "RETURNTO.MAILADDRESS.ADDRESS2": null,
                      "RETURNTO.MAILADDRESS.CITY": null,
                      "RETURNTO.MAILADDRESS.STATE": null,
                      "RETURNTO.MAILADDRESS.ZIP": null,
                      "RETURNTO.MAILADDRESS.COUNTRY": null,
                      "RETURNTO.MAILADDRESS.COUNTRYCODE": null,
                      "STATUS": "active",
                      "PAYDATEVALUE": null,
                      "ONETIME": "false",
                      "ONHOLD": "false",
                      "WHENMODIFIED": "01/01/2022 00:00:00",
                      "ISOWNER": "false",
                      "DONOTCUTCHECK": "false",
                      "OWNER.EQGLACCOUNT": null,
                      "OWNER.EQGLACCOUNTLABEL": null,
                      "OWNER.HOLDDIST": null,
                      "OWNER.ACCOUNTLABEL.LABEL": null,
                      "CURRENCY": "USD",
                      "PYMTCOUNTRYCODE": null,
                      "FILEPAYMENTSERVICE": "NONE",
                      "ACHENABLED": null,
                      "WIREENABLED": null,
                      "CHECKENABLED": null,
                      "ACHBANKROUTINGNUMBER": null,
                      "ACHACCOUNTNUMBER": null,
                      "ACHACCOUNTTYPE": null,
                      "ACHREMITTANCETYPE": null,
                      "WIREBANKNAME": null,
                      "WIREBANKROUTINGNUMBER": null,
                      "WIREACCOUNTNUMBER": null,
                      "WIREACCOUNTTYPE": null,
                      "PMPLUSREMITTANCETYPE": null,
                      "PMPLUSEMAIL": null,
                      "PMPLUSFAX": null,
                      "DISPLAYTERMDISCOUNT": "false",
                      "OEPRCLSTKEY": null,
                      "DISPLOCACCTNOCHECK": "false",
                      "WHENCREATED": "01/01/2022 00:00:00",
                      "CREATEDBY": "12345",
                      "MODIFIEDBY": "12345",
                      "PAYMENTNOTIFY": null,
                      "PAYMETHODKEY": null,
                      "OBJECTRESTRICTION": "Unrestricted",
                      "MERGEPAYMENTREQ": "true",
                      "DISPLAYCONTACTKEY": "64",
                      "PRIMARYCONTACTKEY": null,
                      "PAYTOKEY": null,
                      "RETURNTOKEY": null,
                      "ACCOUNTLABELKEY": null,
                      "ACCOUNTKEY": "197",
                      "VENDTYPEKEY": "1",
                      "GLGRPKEY": null,
                      "TERMSKEY": "9",
                      "VENDORACCTNOKEY": null,
                      "PAYMETHODREC": null,
                      "OUTSOURCECHECK": null,
                      "OUTSOURCECHECKSTATE": null,
                      "OUTSOURCEACH": null,
                      "OUTSOURCEACHSTATE": null,
                      "OUTSOURCECARD": null,
                      "OUTSOURCECARDOVERRIDE": null,
                      "CARDSTATE": null,
                      "VENDORACHACCOUNTID": null,
                      "VENDORACCOUNTOUTSOURCEACH": null,
                      "OFFSETGLACCOUNTNO": null,
                      "OFFSETGLACCOUNTNOTITLE": null,
                      "CONTACTTO1099.CONTACTNAME": null,
                      "CONTACTTO1099.PREFIX": null,
                      "CONTACTTO1099.FIRSTNAME": null,
                      "CONTACTTO1099.INITIAL": null,
                      "CONTACTTO1099.LASTNAME": null,
                      "CONTACTTO1099.COMPANYNAME": null,
                      "CONTACTTO1099.PRINTAS": null,
                      "CONTACTTO1099.PHONE1": null,
                      "CONTACTTO1099.PHONE2": null,
                      "CONTACTTO1099.CELLPHONE": null,
                      "CONTACTTO1099.PAGER": null,
                      "CONTACTTO1099.FAX": null,
                      "CONTACTTO1099.EMAIL1": null,
                      "CONTACTTO1099.EMAIL2": null,
                      "CONTACTTO1099.URL1": null,
                      "CONTACTTO1099.URL2": null,
                      "CONTACTTO1099.VISIBLE": null,
                      "CONTACTTO1099.MAILADDRESS.ADDRESS1": null,
                      "CONTACTTO1099.MAILADDRESS.ADDRESS2": null,
                      "CONTACTTO1099.MAILADDRESS.CITY": null,
                      "CONTACTTO1099.MAILADDRESS.STATE": null,
                      "CONTACTTO1099.MAILADDRESS.ZIP": null,
                      "CONTACTTO1099.MAILADDRESS.COUNTRY": null,
                      "CONTACTTO1099.MAILADDRESS.COUNTRYCODE": null,
                      "CONTACTKEY1099": null,
                      "SUPDOCID": null,
                      "VENDOR_AMEX_ORGANIZATION_ID": null,
                      "VENDOR_AMEX_ORG_ADDRESS_ID": null,
                      "VENDOR_AMEX_CD_AFFILIATE_ID": null,
                      "VENDOR_AMEX_CARD_AFFILIATE_ID": null,
                      "AMEX_BANK_ACCOUNT_ID": null,
                      "AMEX_BANK_ACCOUNT_ADDRESS_ID": null,
                      "RETAINAGEPERCENTAGE": null,
                      "ISINDIVIDUAL": "false",
                      "PROVIDERSTATUS": "false",
                      "WHENLASTBILLED": null,
                      "WHENLASTPAID": null,
                      "PROVIDERMISMATCH": "false",
                      "MEGAENTITYKEY": null,
                      "MEGAENTITYID": null,
                      "MEGAENTITYNAME": null,
                      "HIDEDISPLAYCONTACT": "false",
                      "RESTRICTEDLOCATIONS": null,
                      "RESTRICTEDDEPARTMENTS": null
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "Vendor-17": {
        "allOf": [
          {
            "$ref": "#/components/schemas/Vendor"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "https://api.servicetitan.io/inventory/v2/tenant/{tenantId}/vendors"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "id": 123,
                      "name": "AnyCompany Inc.",
                      "active": true,
                      "isTruckReplenishment": false,
                      "isMobileCreationRestricted": false,
                      "memo": null,
                      "deliveryOption": "Manual",
                      "defaultTaxRate": 0,
                      "contactInfo": {
                        "firstName": null,
                        "lastName": null,
                        "phone": null,
                        "email": null,
                        "fax": null
                      },
                      "address": {
                        "street": "123 Main Street",
                        "unit": "Unit 1",
                        "city": "AnyTown",
                        "state": "California",
                        "zip": "19703",
                        "country": "USA"
                      },
                      "createdOn": "2022-01-01T00:00:00.000000Z",
                      "modifiedOn": "2022-01-01T00:00:00.000000Z",
                      "externalData": null
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "Vendor-18": {
        "allOf": [
          {
            "$ref": "#/components/schemas/Vendor"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The source data as we received it from the source system. \nSee https://docs.agaveapi.com/agave-api/source-data for more info\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the source system",
                    "example": "https://source-system.com/api/v3/resource"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the source data",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the source system",
                    "example": {
                      "CreditorWorkId": "123",
                      "CreditorFirm": "12345",
                      "Creditor": "12345",
                      "Status": "A",
                      "ActiveSubcontractsExist": "",
                      "ParentCreditor": "",
                      "Name": "AnyCompany Inc.",
                      "AddressLine1": "123 Main Street",
                      "AddressLine2": "Unit 1",
                      "Country": "US",
                      "PostCode": "93101",
                      "Suburb": "Santa Barbara County",
                      "PaymentDueDate": "01/01/22",
                      "ABN": "987654321",
                      "Currency": "USD",
                      "PostalAddressCity": "",
                      "PostalAddressState": "",
                      "PostalAddressStateShort": "",
                      "AlternateName": "",
                      "AlternateNameExtendedDescription": "",
                      "AlternateAddressLine1": "",
                      "AlternateAddressLine2": "",
                      "AlternateAddressSuburb": "",
                      "AlternateAddressCity": "",
                      "AlternateAddressPostCode": "",
                      "AlternateAddressStateShort": "",
                      "AlternateAddressState": "",
                      "AlternateAddressCountry": "",
                      "AlternatePhoneNumber": "",
                      "AlternateFax": "",
                      "Contact": "12345",
                      "AccountsContactMobilePhone": "",
                      "AccountsContactEmailAddress": "",
                      "Branch": "",
                      "SalesContact": "",
                      "SalesContactMobilePhone": "",
                      "SalesContactEmailAddress": "",
                      "EmailAddress": "contact@agaveapi.com",
                      "PhoneNumber": "(123) 555-1230",
                      "Fax": "",
                      "Activity": "",
                      "InternalOrExternal": "",
                      "Type": "",
                      "BankAccount": "12345",
                      "GeneralLedgerControlAccountOverride": "",
                      "Subcontractor": "Yes",
                      "BSB": "",
                      "GSTCode": "",
                      "DummyField": "",
                      "CountryCode": "US",
                      "BankCountry": "",
                      "DummyField2": "",
                      "StrippedSpacesName": "AnyCompanyInc.",
                      "StrippedSpacesAddress": "123MainStreet",
                      "StateAndPostCode": "19703",
                      "EarlyTradeAddress": "",
                      "AU": "",
                      "AU2": "",
                      "CanonIrisCompanyCode": "",
                      "PostCode2": "",
                      "CanonIRISBranch": "",
                      "Terms": "",
                      "DefaultInvoiceStatus": "",
                      "PaymentMethod": "",
                      "LastUpdateTimestamp": "2020-01-01-01.01.01.0000000",
                      "LastSubcontractUpdate": "2020-01-01-01.01.01.0000000",
                      "IncludeInvoicesInTaxablePaymentsReporting": "",
                      "IncludeSubcontractPaymentsInTaxablePaymentsReporting": "",
                      "StopPayments": "",
                      "SettlementDiscountAvailable": "",
                      "SettlementDiscountPercentage": "",
                      "UserDefinedField1": "",
                      "ACN": "987654321"
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "Vendor-19": {
        "allOf": [
          {
            "$ref": "#/components/schemas/Vendor"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "https://{{domain}}.dexterchaney.com:8482/vendors/CCD"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "Company_Code": "12345",
                      "Vendor_Code": "      A123",
                      "Name": "AnyCompany",
                      "Address_1": "123 Main Street",
                      "Address_2": "Unit B",
                      "City": "AnyTown",
                      "State": "DE",
                      "Zip_Code": "19703",
                      "First_Name": "John",
                      "Last_Name": "Doe",
                      "Phone": "",
                      "Email": "",
                      "Account_Reference": " ",
                      "Payment_Terms": "A",
                      "Payment_Term_Days": 30,
                      "Discount_Terms": "A",
                      "Discount_Term_Days": 0,
                      "Discount_Percent": 0,
                      "Purchase_Location_Name": "",
                      "Purchase_Address_1": "",
                      "Purchase_Address_2": "",
                      "Purchase_City": "",
                      "Purchase_State": "",
                      "Purchase_Zip": "",
                      "Payment_Location_Name": "",
                      "Payment_Address_1": "",
                      "Payment_Address_2": "",
                      "Payment_City": "",
                      "Payment_State": "",
                      "Payment_Zip": ""
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "Vendor-20": {
        "allOf": [
          {
            "$ref": "#/components/schemas/Vendor"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "bAPVM"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "VendorGroup": "12345",
                      "Vendor": "12345",
                      "SortName": "ANYCOMPANY INC",
                      "Name": "AnyCompany Inc",
                      "Type": "R",
                      "TempYN": "N",
                      "Contact": null,
                      "Phone": "(123) 555-0100",
                      "Fax": "(123) 555-0100",
                      "EMail": "contact@agaveapi.com",
                      "URL": "https://www.agaveapi.com/",
                      "Address": "123 Main Street",
                      "City": "AnyTown",
                      "State": "CA",
                      "Zip": "19703",
                      "Address2": "Unit B",
                      "POAddress": "123 Main Street",
                      "POCity": "AnyTown",
                      "POState": "DE",
                      "POZip": "19703",
                      "POAddress2": "Unit B",
                      "Purge": "N",
                      "CustGroup": "201",
                      "Customer": null,
                      "TaxGroup": "201",
                      "TaxCode": null,
                      "PayTerms": null,
                      "GLCo": "201",
                      "GLAcct": null,
                      "V1099YN": "Y",
                      "V1099Type": "MISC",
                      "V1099Box": "7",
                      "TaxId": "123456789",
                      "Prop": null,
                      "ActiveYN": "Y",
                      "EFT": "N",
                      "RoutingId": null,
                      "BankAcct": null,
                      "AcctType": null,
                      "LastInvDate": null,
                      "AuditYN": "Y",
                      "Notes": null,
                      "AddnlInfo": null,
                      "AddendaTypeId": null,
                      "Reviewer": null,
                      "SeparatePayInvYN": "N",
                      "UniqueAttchID": null,
                      "OverrideMinAmtYN": "N",
                      "MasterVendor": null,
                      "APRefUnqOvr": "0",
                      "ICFirstName": null,
                      "ICMInitial": null,
                      "ICLastName": null,
                      "ICSocSecNbr": null,
                      "ICStreetNbr": null,
                      "ICStreetName": null,
                      "ICAptNbr": null,
                      "ICCity": null,
                      "ICState": null,
                      "ICZip": null,
                      "ICLastRptDate": null,
                      "UpdatePMYN": "N",
                      "KeyID": "5",
                      "AddRevToAllLinesYN": "N",
                      "Country": "US",
                      "POCountry": "US",
                      "ICCountry": null,
                      "AUVendorEFTYN": "N",
                      "AUVendorAccountNumber": null,
                      "AUVendorBSB": null,
                      "AUVendorReference": null,
                      "IATYN": "N",
                      "ISODestinationCountryCode": null,
                      "RDFIBankName": null,
                      "BranchCountryCode": null,
                      "RDFIIdentNbrQualifier": null,
                      "GatewayOperatorRDFIIdent": null,
                      "CMAcct": null,
                      "PayInfoDelivMthd": "N",
                      "T5FirstName": null,
                      "T5MiddleInit": null,
                      "T5LastName": null,
                      "T5SocInsNbr": null,
                      "T5BusinessNbr": null,
                      "T5BusTypeCode": null,
                      "T5PartnerFIN": null,
                      "AusBusNbr": null,
                      "AusCorpNbr": null,
                      "PayControl": null,
                      "CASubjToWC": "N",
                      "CAClearanceCert": null,
                      "CACertEffectiveDate": null,
                      "V1099AddressSeq": null,
                      "PayMethod": "C",
                      "SubjToOnCostYN": "N",
                      "CSEmail": null,
                      "OnCostCostType": null,
                      "UpdatePREHYN": "N",
                      "VendorAcctNumber": null,
                      "SubcontractorYN": "N",
                      "DuplicateOf": null,
                      "TaxIdType": "E"
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "NewVendor": {
        "allOf": [
          {
            "$ref": "#/components/schemas/Vendor"
          },
          {
            "type": "object",
            "required": [
              "name",
              "source_data"
            ],
            "properties": {
              "addresses": {
                "type": "array",
                "description": "The addresses of the Vendor.",
                "items": {
                  "$ref": "#/components/schemas/Address"
                }
              },
              "email": {
                "type": "string",
                "description": "The email address for contacting the Vendor.",
                "example": "contact@agaveapi.com"
              },
              "name": {
                "type": "string",
                "description": "The name of the Vendor.\n",
                "example": "John Doe"
              },
              "phone": {
                "type": "string",
                "description": "The phone number for contacting the Vendor.",
                "example": "+1-123-555-0100"
              },
              "status": {
                "type": "string",
                "description": "The status of the Vendor.\n",
                "example": "Active",
                "enum": [
                  "Active",
                  "Hold",
                  "Inactive"
                ]
              },
              "type": {
                "type": "string",
                "description": "The type of the Vendor.",
                "example": "Client",
                "enum": [
                  "Client",
                  "One-time",
                  "Service",
                  "Standard"
                ]
              }
            }
          }
        ]
      },
      "NewVendor-2": {
        "required": [
          "name",
          "source_data"
        ],
        "type": "object",
        "properties": {
          "address": {
            "allOf": [
              {
                "description": "The Vendor's address."
              },
              {
                "$ref": "#/components/schemas/Address"
              }
            ]
          },
          "name": {
            "type": "string",
            "description": "The name of the Vendor.",
            "example": "AnyCompany Inc."
          },
          "phone": {
            "type": "string",
            "description": "The Vendor's phone number.",
            "example": "(123) 555-0100"
          },
          "tax_number": {
            "type": "string",
            "description": "The tax identifier of the Vendor.",
            "example": "987654321"
          },
          "trade": {
            "type": "string",
            "example": "Architecture",
            "description": "The type of Vendor.For a list of possible values for this field, see [link](https://forge.autodesk.com/en/docs/bim360/v1/overview/parameters/#trade)."
          },
          "website": {
            "type": "string",
            "description": "The web address of the Vendor.",
            "example": "https://www.agaveapi.com/"
          }
        }
      },
      "NewVendor-3": {
        "required": [
          "name",
          "source_data"
        ],
        "type": "object",
        "properties": {
          "address": {
            "allOf": [
              {
                "description": "The Vendor's address."
              },
              {
                "$ref": "#/components/schemas/Address"
              }
            ]
          },
          "name": {
            "type": "string",
            "description": "The name of the Vendor.",
            "example": "AnyCompany Inc."
          },
          "phone": {
            "type": "string",
            "description": "The Vendor's phone number.",
            "example": "(123) 555-0100"
          },
          "tax_number": {
            "type": "string",
            "description": "The tax identifier of the Vendor.",
            "example": "987654321"
          },
          "website": {
            "type": "string",
            "description": "The web address of the Vendor.",
            "example": "https://www.agaveapi.com/"
          },
          "source_data": {
            "type": "object",
            "properties": {
              "trade": {
                "type": "string",
                "example": "Architecture",
                "description": "The trade of the Vendor based on specialization. For a list of possible values for this field, see [link](https://forge.autodesk.com/en/docs/bim360/v1/overview/parameters/#trade)."
              }
            }
          }
        }
      },
      "NewVendor-4": {
        "required": [
          "name",
          "source_data"
        ],
        "type": "object",
        "properties": {
          "address": {
            "allOf": [
              {
                "description": "The Vendor's address."
              },
              {
                "$ref": "#/components/schemas/Address"
              }
            ]
          },
          "alternate_name": {
            "type": "string",
            "description": "An alternate name for the Vendor (e.g. the trade name or Doing Business As (DBA) name).",
            "example": "AnyCompany"
          },
          "code": {
            "type": "string",
            "description": "A reference code for the Vendor.",
            "example": "ACO"
          },
          "email": {
            "type": "string",
            "description": "The email address for the Vendor.",
            "example": "contact@agaveapi.com"
          },
          "fax": {
            "type": "string",
            "description": "The fax number for the Vendor",
            "example": "(123) 555-0100"
          },
          "name": {
            "type": "string",
            "description": "The name of the Vendor.",
            "example": "AnyCompany Inc."
          },
          "phone": {
            "type": "string",
            "description": "The Vendor's phone number.",
            "example": "(123) 555-0100"
          },
          "tax_number": {
            "type": "string",
            "description": "The tax identifier of the Vendor.",
            "example": "987654321"
          },
          "terms": {
            "type": "string",
            "description": "The default terms of the Vendor.",
            "example": "Net 30 Days"
          },
          "website": {
            "type": "string",
            "description": "The web address of the Vendor.",
            "example": "https://www.agaveapi.com/"
          },
          "source_data": {
            "type": "object",
            "properties": {
              "BpvenApAccCode": {
                "type": "string",
                "description": "The default Accounts Payable Ledger Account for the Vendor.",
                "example": "21011"
              },
              "BpvenApDeptCode": {
                "type": "string",
                "description": "The default Accounts Payable Department for the Vendor.",
                "example": "00"
              },
              "BpvenCashAccCode": {
                "type": "string",
                "description": "The default Cash Ledger Account for the Vendor.",
                "example": "10001"
              },
              "BpvenCashDeptCode": {
                "type": "string",
                "description": "The default Cash Department for the Vendor.",
                "example": "00"
              },
              "BpvenCurrCode": {
                "type": "string",
                "description": "The default Currency Code for the Vendor.",
                "example": "USD"
              },
              "BpvenDiscAccCode": {
                "type": "string",
                "description": "The default Discount Ledger Account for the Vendor.",
                "example": "79020"
              },
              "BpvenDiscDeptCode": {
                "type": "string",
                "description": "The default Discount Department for the Vendor.",
                "example": "00"
              },
              "BpvenExpAccCode": {
                "type": "string",
                "description": "The default Expenses Ledger Account for the Vendor.",
                "example": "79010"
              },
              "BpvenExpDeptCode": {
                "type": "string",
                "description": "The default Expenses Department for the Vendor.",
                "example": "00"
              },
              "BpvenHldbkAccCode": {
                "type": "string",
                "description": "The default Retention Ledger Account for the Vendor.",
                "example": "21012"
              },
              "BpvenHldbkDeptCode": {
                "type": "string",
                "description": "The default Retention Department for the Vendor.",
                "example": "00"
              },
              "BpvenPpeAccCode": {
                "type": "string",
                "description": "The default Pre-paid Deposit Ledger Account for the Vendor.",
                "example": "21012"
              },
              "BpvenPPeDeptCode": {
                "type": "string",
                "description": "The default Pre-paid Department for the Vendor.",
                "example": "00"
              }
            }
          }
        }
      },
      "NewVendor-5": {
        "type": "object",
        "required": [
          "name",
          "source_data"
        ],
        "properties": {
          "address": {
            "allOf": [
              {
                "description": "The Vendor's address."
              },
              {
                "$ref": "#/components/schemas/Address"
              }
            ]
          },
          "alternate_name": {
            "type": "string",
            "description": "An alternate name for the Vendor (e.g. the trade name or Doing Business As (DBA) name).",
            "example": "AnyCompany"
          },
          "fax": {
            "type": "string",
            "description": "The fax number for the Vendor",
            "example": "(123) 555-0100"
          },
          "name": {
            "type": "string",
            "description": "The name of the Vendor.",
            "example": "AnyCompany Inc."
          },
          "phone": {
            "type": "string",
            "description": "The Vendor's phone number.",
            "example": "(123) 555-0100"
          },
          "tax_number": {
            "type": "string",
            "description": "The tax identifier of the Vendor. **Note for InEight**: this value must be unique.\n",
            "example": "987654321"
          },
          "source_data": {
            "type": "object",
            "properties": {
              "VendorCode": {
                "type": "string",
                "description": "The code for the Vendor. **Note for InEight**: this value must be unique and becomes the value for `source_id`.\n",
                "example": "A123"
              }
            }
          }
        }
      },
      "NewVendor-6": {
        "required": [
          "name"
        ],
        "type": "object",
        "properties": {
          "address": {
            "allOf": [
              {
                "description": "The Vendor's address."
              },
              {
                "$ref": "#/components/schemas/Address"
              }
            ]
          },
          "alternate_name": {
            "type": "string",
            "description": "An alternate name for the Vendor (e.g. the trade name or Doing Business As (DBA) name).",
            "example": "AnyCompany"
          },
          "email": {
            "type": "string",
            "description": "The email address for the Vendor.",
            "example": "contact@agaveapi.com"
          },
          "fax": {
            "type": "string",
            "description": "The fax number for the Vendor",
            "example": "(123) 555-0100"
          },
          "name": {
            "type": "string",
            "description": "The name of the Vendor.",
            "example": "AnyCompany Inc."
          },
          "phone": {
            "type": "string",
            "description": "The Vendor's phone number.",
            "example": "(123) 555-0100"
          },
          "tax_number": {
            "type": "string",
            "description": "The tax identifier of the Vendor.",
            "example": "987654321"
          },
          "website": {
            "type": "string",
            "description": "The web address of the Vendor.",
            "example": "https://www.agaveapi.com/"
          },
          "source_data": {
            "type": "object",
            "properties": {
              "business_register": {
                "type": "object",
                "description": "The national register this Vendor is associated with.",
                "properties": {
                  "type": {
                    "description": "Depending on your users' country, input Australian Business Number (\"abn\") or Employer Identification Number (\"ein\").",
                    "example": "ein",
                    "type": "string",
                    "enum": [
                      "abn",
                      "ein"
                    ]
                  }
                }
              }
            }
          }
        }
      },
      "NewVendor-7": {
        "required": [
          "name"
        ],
        "type": "object",
        "properties": {
          "address": {
            "allOf": [
              {
                "description": "The Vendor's address."
              },
              {
                "$ref": "#/components/schemas/Address"
              }
            ]
          },
          "alternate_name": {
            "type": "string",
            "description": "An alternate name for the Vendor (e.g. the trade name or Doing Business As (DBA) name).",
            "example": "AnyCompany"
          },
          "email": {
            "type": "string",
            "description": "The email address for the Vendor.",
            "example": "contact@agaveapi.com"
          },
          "fax": {
            "type": "string",
            "description": "The fax number for the Vendor",
            "example": "(123) 555-0100"
          },
          "name": {
            "type": "string",
            "description": "The name of the Vendor. **Note for QuickBooks Online:** the name of the Vendor must be unique.\n",
            "example": "AnyCompany Inc."
          },
          "phone": {
            "type": "string",
            "description": "The Vendor's phone number.",
            "example": "(123) 555-0100"
          },
          "tax_number": {
            "type": "string",
            "description": "The tax identifier of the Vendor.",
            "example": "987654321"
          }
        }
      },
      "NewVendor-8": {
        "required": [
          "code",
          "name"
        ],
        "type": "object",
        "properties": {
          "address": {
            "allOf": [
              {
                "description": "The Vendor's address.\n\n**Note for Sage 300 CRE**: the field `country` is not supported.\n"
              },
              {
                "$ref": "#/components/schemas/Address"
              }
            ]
          },
          "code": {
            "type": "string",
            "description": "A reference code for the Vendor.\n\n**Note for Sage 300 CRE**: the code must be unique.\n",
            "example": "123"
          },
          "email": {
            "type": "string",
            "description": "The email address for the Vendor.",
            "example": "contact@agaveapi.com"
          },
          "fax": {
            "type": "string",
            "description": "The fax number for the Vendor",
            "example": "(123) 555-0100"
          },
          "name": {
            "type": "string",
            "description": "The name of the Vendor. \n",
            "example": "AnyCompany Inc."
          },
          "phone": {
            "type": "string",
            "description": "The Vendor's phone number.",
            "example": "(123) 555-0100"
          },
          "status": {
            "type": "string",
            "description": "The current status of the Vendor.",
            "example": "Active",
            "enum": [
              "Active",
              "Archived"
            ]
          },
          "tax_number": {
            "type": "string",
            "description": "The tax identifier of the Vendor.",
            "example": "987654321"
          },
          "terms": {
            "type": "string",
            "description": "The default terms of the Vendor.\n\n**Note for Sage 300 CRE**: the terms must be in the format of \"Number of days: XX\", \"Day of month: XX\", or \"Day of next month: XX.\"\n",
            "example": "Net 30 Days"
          },
          "type": {
            "type": "string",
            "description": "The type of Vendor.",
            "example": "Subcontractor",
            "enum": [
              "Credit card Vendor",
              "Equip Supplier",
              "Other",
              "Subcontractor",
              "Summary",
              "Supplier"
            ]
          }
        }
      },
      "NewVendor-9": {
        "required": [
          "address",
          "name"
        ],
        "type": "object",
        "properties": {
          "address": {
            "allOf": [
              {
                "description": "The Vendor's address.\n\n**Note for Sage 300 CRE**: the field `country` is not supported.\n"
              },
              {
                "$ref": "#/components/schemas/Address"
              }
            ]
          },
          "email": {
            "type": "string",
            "description": "The email address for the Vendor.",
            "example": "contact@agaveapi.com"
          },
          "fax": {
            "type": "string",
            "description": "The fax number for the Vendor",
            "example": "(123) 555-0100"
          },
          "name": {
            "type": "string",
            "description": "The name of the Vendor. \n",
            "example": "AnyCompany Inc."
          },
          "phone": {
            "type": "string",
            "description": "The Vendor's phone number.",
            "example": "(123) 555-0100"
          },
          "status": {
            "type": "string",
            "description": "The current status of the Vendor.",
            "example": "Active",
            "enum": [
              "Active",
              "Archived"
            ]
          },
          "terms": {
            "type": "string",
            "description": "The default terms of the Vendor.\n\n**Note for Sage 300 CRE**: the terms must be in the format of \"Number of days: XX\", \"Day of month: XX\", or \"Day of next month: XX.\"\n",
            "example": "Net 30 Days"
          }
        }
      },
      "NewVendor-10": {
        "required": [
          "name",
          "source_data"
        ],
        "type": "object",
        "properties": {
          "address": {
            "allOf": [
              {
                "description": "The Vendor's address."
              },
              {
                "$ref": "#/components/schemas/Address"
              }
            ]
          },
          "alternate_name": {
            "type": "string",
            "description": "An alternate name for the Vendor (e.g. the trade name or Doing Business As (DBA) name).",
            "example": "AnyCompany"
          },
          "email": {
            "type": "string",
            "description": "The email address for the Vendor.",
            "example": "contact@agaveapi.com"
          },
          "fax": {
            "type": "string",
            "description": "The fax number for the Vendor",
            "example": "(123) 555-0100"
          },
          "name": {
            "type": "string",
            "description": "The name of the Vendor. **Note for QuickBooks Desktop:** the name of the Vendor must be unique.\n",
            "example": "AnyCompany Inc."
          },
          "phone": {
            "type": "string",
            "description": "The Vendor's phone number.",
            "example": "(123) 555-0100"
          },
          "tax_number": {
            "type": "string",
            "description": "The tax identifier of the Vendor.",
            "example": "987654321"
          },
          "source_data": {
            "type": "object",
            "properties": {
              "Alpha_Sort": {
                "type": "string",
                "example": "ASC",
                "description": "This is a flag denoting whether the Vendor should be sorted alphabetically ascending, or descending.",
                "enum": [
                  "ASC",
                  "DESC"
                ]
              },
              "Terms_Code": {
                "type": "string",
                "example": "A",
                "description": "This is a flag denoting the payment due terms for Bills for the Vendor. Enter 'A' if based on invoice date, or 'B' if based on 1st of next month.",
                "enum": [
                  "A",
                  "B"
                ]
              },
              "Terms_Days": {
                "type": "string",
                "example": "30",
                "description": "These are the days from which payment is due for Bills for the Vendor."
              },
              "Terms_Disc_Code": {
                "type": "string",
                "example": "A",
                "description": "This is a flag denoting the discount due terms for Bills for the Vendor. Enter 'A' if based on invoice date, or 'B' if based on 1st of next month.",
                "enum": [
                  "A",
                  "B"
                ]
              },
              "Vendor_Code": {
                "type": "string",
                "example": "A123",
                "description": "This is the unique identifier for the Vendor in Spectrum. Note, this value will populate \"source_id\" in Agave."
              }
            }
          }
        }
      },
      "NewVendor-11": {
        "type": "object",
        "required": [
          "name",
          "source_data"
        ],
        "properties": {
          "address": {
            "allOf": [
              {
                "description": "The Vendor's address."
              },
              {
                "$ref": "#/components/schemas/Address"
              }
            ]
          },
          "code": {
            "type": "string",
            "description": "The code of the Vendor. The value from this field will auto-increment from the highest value for Code if not supplied.",
            "example": "100"
          },
          "email": {
            "type": "string",
            "description": "The email address for the Vendor.",
            "example": "contact@agaveapi.com"
          },
          "fax": {
            "type": "string",
            "description": "The fax number for the Vendor",
            "example": "(123) 555-0100"
          },
          "name": {
            "type": "string",
            "description": "The name of the Vendor.",
            "example": "AnyCompany Inc."
          },
          "phone": {
            "type": "string",
            "description": "The Vendor's phone number.",
            "example": "(123) 555-0100"
          },
          "status": {
            "type": "string",
            "description": "The status of the Vendor. The value for this field will default to \"Active\" if not supplied.",
            "example": "Active",
            "enum": [
              "Active",
              "Archived",
              "Unknown"
            ]
          },
          "tax_number": {
            "type": "string",
            "description": "The tax identifier of the Vendor.",
            "example": "987654321"
          },
          "terms": {
            "type": "string",
            "description": "The payment terms for the Vendor.\n\n**Note for Viewpoint Vista:** a list of possible values for this field can be found with the \"description\" column in the `HQPT` table, which requires a passthrough request. To learn more about passthrough requests, see [link](/agave-api/passthrough-requests#foundation-viewpoint-spectrum-and-viewpoint-vista).\n",
            "example": "Net 30 Days"
          },
          "type": {
            "type": "string",
            "description": "The type of the Vendor. The value for this field will default to \"Regular\" if not supplied.",
            "example": "Regular",
            "enum": [
              "Supplier",
              "Regular"
            ]
          },
          "website": {
            "type": "string",
            "description": "The web address of the Vendor.",
            "example": "https://www.agaveapi.com/"
          },
          "source_data": {
            "type": "object",
            "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
            "properties": {
              "V1099YN": {
                "description": "This field is used to denote whether the Vendor has a Form 1099 associated with them. A Form 1099 is a collection of tax forms documenting different types of payments made by an individual or a business.\n",
                "example": "Y",
                "type": "string",
                "enum": [
                  "N",
                  "Y"
                ]
              },
              "V1099Type": {
                "description": "The 1099 Type for the Vendor. This field is required if `source_data.V1099YN` is set to \"Y\".\n\nA list of possible values for this field can be found with the `APTT` table in Vista (see `Department`), which requires a passthrough request. To learn more about passthrough requests, see [link](/agave-api/passthrough-requests#foundation-viewpoint-spectrum-and-viewpoint-vista).\n",
                "example": "MISC",
                "type": "string"
              },
              "V1099Box": {
                "description": "The 1099 Box for the Vendor. This value maps to the Box Number on a Form 1099, and can be any value between 1 and 18. This field is required if `source_data.V1099YN` is set to \"Y\".\n",
                "example": "7",
                "type": "string"
              },
              "EFT": {
                "description": "The Electronic Funds Transfer (EFT) status of a Vendor. Valid values include:\n  - **\"A\" for \"Active\"**: selected if you are using EFTs as a payment method for the Vendor.\n  - **\"N\" for \"None\"**: selected if you are not using EFTs as a payment method for the Vendor.\n  - **\"P\" for \"Prenote\"**: selected if the Vendor is in the “prenote” stage of validating data with the bank for EFT. This means all payable transactions posted to this Vendor must be paid with a manual or computer-generated check.\n",
                "example": "A",
                "type": "string",
                "enum": [
                  "A",
                  "N",
                  "P"
                ]
              }
            }
          }
        }
      },
      "NewVendor-12": {
        "type": "object",
        "properties": {
          "address": {
            "allOf": [
              {
                "description": "The Vendor's address."
              },
              {
                "$ref": "#/components/schemas/Address"
              }
            ]
          },
          "alternate_name": {
            "type": "string",
            "description": "An alternate name for the Vendor (e.g. the trade name or Doing Business As (DBA) name).",
            "example": "AnyCompany"
          },
          "email": {
            "type": "string",
            "description": "The email address for the Vendor.",
            "example": "contact@agaveapi.com"
          },
          "fax": {
            "type": "string",
            "description": "The fax number for the Vendor",
            "example": "(123) 555-0100"
          },
          "name": {
            "type": "string",
            "description": "The name of the Vendor.",
            "example": "AnyCompany Inc."
          },
          "phone": {
            "type": "string",
            "description": "The Vendor's phone number.",
            "example": "(123) 555-0100"
          },
          "tax_number": {
            "type": "string",
            "description": "The tax identifier of the Vendor.",
            "example": "987654321"
          },
          "website": {
            "type": "string",
            "description": "The web address of the Vendor.",
            "example": "https://www.agaveapi.com/"
          }
        }
      },
      "Contact-13": {
        "allOf": [
          {
            "$ref": "#/components/schemas/Contact"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The SQL path on the Source System.",
                    "example": "select * from [PA_CONTACTS_MASTER]"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "Contact_ID": 12345,
                      "First_Name": "John",
                      "Middle_Name": null,
                      "Last_Name": "Doe",
                      "CSuffix": "",
                      "Concat_Name": "John Doe",
                      "Title": "Project Manager",
                      "Remarks": "",
                      "Email1": "contact@agaveapi.com",
                      "Email2": "",
                      "Email3": "",
                      "Operator_ID": "",
                      "Addr_ID": null,
                      "Phone_ID": 12345,
                      "Status": "A",
                      "Employee_Contact": "Y",
                      "Default_Job_Contact": "",
                      "Sample_Contact": "Y",
                      "Addr_1": null,
                      "Addr_2": null,
                      "Addr_City": null,
                      "Addr_State": null,
                      "Addr_Zip": null,
                      "Addr_Country": null,
                      "Addr_Type": null,
                      "Addr_Display": null,
                      "Addr_Remark": null
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "VendorCompliance": {
        "type": "object",
        "properties": {
          "id": {
            "allOf": [
              {
                "description": "The UUID of the Vendor Compliance assigned by Agave."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "source_id": {
            "type": "string",
            "readOnly": true,
            "example": "12345",
            "description": "The ID of the Vendor Compliance in the Source System."
          },
          "amount": {
            "type": "string",
            "description": "The amount (e.g. insurance limit) covered under the Vendor Compliance.",
            "example": "1,000,000"
          },
          "description": {
            "type": "string",
            "description": "A description of the Vendor Compliance.",
            "example": "Certified Payroll for Federal Works Project"
          },
          "effective_date": {
            "allOf": [
              {
                "description": "The effective date of the Vendor Compliance."
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ]
          },
          "expiration_date": {
            "allOf": [
              {
                "description": "The expiration date of the Vendor Compliance."
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ]
          },
          "policy_number": {
            "type": "string",
            "description": "The policy number associated with the Vendor Compliance.",
            "example": "123 45 6789"
          },
          "provider_name": {
            "type": "string",
            "description": "The name of the provider of the Vendor Compliance.",
            "example": "AnyCompany Insurance Providers"
          },
          "status": {
            "type": "string",
            "description": "The status of the Vendor Compliance. \n\n**Note for Procore**: possible values for this field include \"Complient\", \"Compliant in Progress\", \"Expired\", \"Non compliant\", \"Non Compliant in Progress\", \"Undecided\", and \"Unregistered\".\n\n**Note for Viewpoint Spectrum and Viewpoint Vista**: possible values for this field include \"Compliant\" and \"Not Compliant\".\n",
            "example": "Compliant"
          },
          "type": {
            "type": "string",
            "description": "The type of Vendor Compliance.",
            "example": "Certified Payroll"
          },
          "vendor_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Vendor](#tag--vendors) which the Vendor Compliance applies to."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "source_create_time": {
            "allOf": [
              {
                "description": "The datetime the Vendor Compliance was created."
              },
              {
                "$ref": "#/components/schemas/DateTimeProperty"
              }
            ]
          },
          "source_update_time": {
            "allOf": [
              {
                "description": "The datetime the Vendor Compliance was last updated."
              },
              {
                "$ref": "#/components/schemas/DateTimeProperty"
              }
            ]
          }
        }
      },
      "VendorCompliance-2": {
        "allOf": [
          {
            "$ref": "#/components/schemas/VendorCompliance"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "{{server}}/{{environemnt}}/ap-rest-api/rest/1/apinsurance?finder=selectInsurance%3BcomplType%3DVEN"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "InsAmt": 1000000,
                      "InsCPoAutoAssignFlag": "N",
                      "InsCScAutoAssignFlag": "N",
                      "InsCertLoc": null,
                      "InsCertNum": "123 45 6789",
                      "InsCompCode": null,
                      "InsComplType": "VEN",
                      "InsComplianceFlag": "N",
                      "InsCoverTypeCode": "Certified Payroll",
                      "InsCoverTypeDesc": "ertified Payroll for Federal Works Project",
                      "InsDateComplianceFlag": "Y",
                      "InsDateSensitiveFlag": "Y",
                      "InsDeleteFlag": "N",
                      "InsEndDate": "2022-01-01",
                      "InsInscompCode": "ANYCO",
                      "InsInscompName": "AnyCompany Insurance Provider",
                      "InsNotesFlag": null,
                      "InsPoAutoAssignFlag": "N",
                      "InsPoNum": null,
                      "InsPoReleaseNum": null,
                      "InsScAutoAssignFlag": "N",
                      "InsScContCode": null,
                      "InsScJobCode": null,
                      "InsStartDate": "2022-01-01",
                      "InsUpdateDate": null,
                      "InsUpdateFlag": "Y",
                      "InsUpdateUser": null,
                      "InsVUuid": "A12345F9CFC97A04E05316821FACE140",
                      "InsVenCode": "A123",
                      "InsVouNum": null,
                      "InsVouRemitDesc": null,
                      "OrigCertNum": "123 45 6789",
                      "OrigInscompCode": "ANYCO",
                      "InsApriVUuid": null,
                      "InsApriInvCode": null
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "VendorCompliance-3": {
        "allOf": [
          {
            "$ref": "#/components/schemas/VendorCompliance"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "https://api.procore.com/rest/v1.0/companies/{company_id}/vendors/{vendor_id}/insurances"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "additional_insured": "John Doe",
                      "division_template": "Template 1",
                      "effective_date": "2022-01-01",
                      "enable_expired_insurance_notifications": true,
                      "exempt": false,
                      "expiration_date": "2022-01-01",
                      "id": 12345,
                      "info_received": true,
                      "insurance_provider": "AnyCompany Insurance Providers",
                      "insurance_sets": null,
                      "insurance_type": "Certified Payroll",
                      "limit": "1000000.0",
                      "notes": "This is worker's comp for AnyCompany Inc.",
                      "origin_data": null,
                      "origin_id": null,
                      "policy_number": "123 45 6789",
                      "status": "Compliant",
                      "vendor_id": 562949962156358
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "VendorCompliance-4": {
        "allOf": [
          {
            "$ref": "#/components/schemas/VendorCompliance"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The SQL path on the Source System.",
                    "example": "VN_VENDOR_SUB_COMPLIANCE_MC"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "Company_Code": "CCD",
                      "Vendor_Code": "       A123",
                      "Subcontract_Number": "A123",
                      "Tracking_Item_Code": "BR",
                      "Log_ID": "1",
                      "Lien_Rel_Job": "",
                      "Source": "V",
                      "Entry_Date": "2022-01-01 00:00:00.000",
                      "Condition": "Y",
                      "Expire_Date": null,
                      "Entry_Closed": "Y",
                      "Entry_Closed_Opr": "001",
                      "Entry_Closed_Date": "2022-01-01 00:00:00.000",
                      "Due_Date": null,
                      "Comment": "This is a sample Bond Required"
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "VendorCompliance-5": {
        "allOf": [
          {
            "$ref": "#/components/schemas/VendorCompliance"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The SQL path on the Source System.",
                    "example": "bJCJP"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "APCo": "12345",
                      "VendorGroup": "12345",
                      "Vendor": "12345",
                      "CompCode": "CP",
                      "Verify": "Y",
                      "ExpDate": null,
                      "Complied": "Y",
                      "Memo": "Certified Payroll for Federal Works Project",
                      "UniqueAttchID": null,
                      "KeyID": "12345"
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "NewVendorCompliance-2": {
        "type": "object",
        "properties": {
          "amount": {
            "type": "string",
            "description": "The amount (e.g. insurance limit) covered under the Compliance Code.",
            "example": "10000000"
          },
          "effective_date": {
            "allOf": [
              {
                "description": "The effective date of the Compliance Code."
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ]
          },
          "expiration_date": {
            "allOf": [
              {
                "description": "The expiration date of the Compliance Code."
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ]
          },
          "policy_number": {
            "type": "string",
            "description": "The policy number associated with the Compliance Code.",
            "example": "123 45 6789"
          },
          "status": {
            "type": "string",
            "description": "The status of the Compliance Code. \n\n**Note for CMiC**: possible values for this field include \"Compliant\" and \"Not Compliant\".\n",
            "example": "Compliant"
          },
          "type": {
            "type": "string",
            "description": "The type of Compliance Code.",
            "example": "Certified Payroll"
          }
        }
      },
      "NewVendorCompliance-3": {
        "type": "object",
        "properties": {
          "amount": {
            "type": "string",
            "description": "The amount (e.g. insurance limit) covered under the Vendor Compliance.",
            "example": "1,000,000"
          },
          "description": {
            "type": "string",
            "description": "A description of the Vendor Compliance.",
            "example": "Certified Payroll for Federal Works Project"
          },
          "effective_date": {
            "allOf": [
              {
                "description": "The effective date of the Vendor Compliance."
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ]
          },
          "expiration_date": {
            "allOf": [
              {
                "description": "The expiration date of the Vendor Compliance."
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ]
          },
          "policy_number": {
            "type": "string",
            "description": "The policy number associated with the Vendor Compliance.",
            "example": "123 45 6789"
          },
          "provider_name": {
            "type": "string",
            "description": "The name of the provider of the Vendor Compliance.",
            "example": "AnyCompany Insurance Providers"
          },
          "status": {
            "type": "string",
            "description": "The status of the Vendor Compliance. \n\n**Note for Procore**: possible values for this field include \"Complient\", \"Compliant in Progress\", \"Expired\", \"Non compliant\", \"Non Compliant in Progress\", \"Undecided\", and \"Unregistered\".\n\n**Note for Viewpoint Vista**: possible values for this field include \"Compliant\" and \"Not Compliant\".\n",
            "example": "Compliant"
          },
          "type": {
            "type": "string",
            "description": "The type of Vendor Compliance.",
            "example": "Certified Payroll"
          }
        }
      },
      "NewVendorCompliance-4": {
        "required": [
          "type",
          "vendor_id"
        ],
        "type": "object",
        "properties": {
          "description": {
            "type": "string",
            "description": "A description of the Compliance Code.",
            "example": "Certified Payroll for Federal Works Project"
          },
          "expiration_date": {
            "allOf": [
              {
                "description": "The expiration date of the Compliance Code. \n\n**Note for Viewpoint Vista**: the Compliance Code `type` must have a type of \"D\" in the \"HQCP\" table in order to pass a value for `expiration_date`.\n"
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ]
          },
          "status": {
            "type": "string",
            "description": "The status of the Compliance Code. \n\n**Note for Viewpoint Vista**: if a value for `expiration_date` is provided, the value for `status` will be determined based on whether the `expiration_date` is before or after the date of the Agave API request.\n",
            "example": "Compliant",
            "enum": [
              "Compliant",
              "Not Compliant"
            ]
          },
          "type": {
            "type": "string",
            "description": "The type of Compliance Code. \n\n**Note for Viewpoint Vista:** possible values for this field can be found with the \"Description\" column in the \"HQCP\" table. These values can be retrieved using [passthrough requests](/agave-api/passthrough-requests#foundation-viewpoint-spectrum-and-viewpoint-vista).\n",
            "example": "Certified Payroll"
          }
        }
      },
      "Activity": {
        "type": "object",
        "properties": {
          "id": {
            "allOf": [
              {
                "description": "The UUID of the Activity assigned by Agave."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "source_id": {
            "type": "string",
            "readOnly": true,
            "example": "12345",
            "description": "The ID of the Activity in the Source System."
          },
          "activity_time": {
            "allOf": [
              {
                "description": "The datetime for the Activity."
              },
              {
                "$ref": "#/components/schemas/DateTimeProperty"
              }
            ]
          },
          "attachment_ids": {
            "type": "array",
            "description": "The UUID assigned by Agave of the attached [File](#tag--files).",
            "items": {
              "$ref": "#/components/schemas/IdPropertyReadOnly"
            }
          },
          "description": {
            "type": "string",
            "description": "The description of the Activity. Supporting HTML markup.",
            "example": "Latest <strong>notes</strong>."
          },
          "subject": {
            "type": "string",
            "description": "The subject of the Activity.",
            "example": "Check-in on Status"
          },
          "type": {
            "type": "string",
            "description": "The type of the Activity.",
            "example": "note"
          },
          "source_create_time": {
            "allOf": [
              {
                "description": "The datetime the Activity was created."
              },
              {
                "$ref": "#/components/schemas/DateTimeProperty"
              }
            ]
          },
          "source_update_time": {
            "allOf": [
              {
                "description": "The datetime the Activity was last updated."
              },
              {
                "$ref": "#/components/schemas/DateTimeProperty"
              }
            ]
          }
        }
      },
      "Note": {
        "allOf": [
          {
            "$ref": "#/components/schemas/Activity"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "https://api.hubapi.com/crm/v3/objects/notes"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "id": "29564829699",
                      "properties": {
                        "hs_all_accessible_team_ids": null,
                        "hs_all_assigned_business_unit_ids": null,
                        "hs_all_owner_ids": "269408298",
                        "hs_all_team_ids": null,
                        "hs_at_mentioned_owner_ids": null,
                        "hs_attachment_ids": null,
                        "hs_body_preview": "test",
                        "hs_body_preview_html": "<html>\n <head></head>\n <body>\n <div style=\"white-space: pre-wrap;\" dir=\"auto\" data-top-level=\"true\"> \n <p style=\"margin-bottom:0;\">test</p> \n </div>\n </body>\n</html>",
                        "hs_body_preview_is_truncated": "false",
                        "hs_created_by": "48320936",
                        "hs_created_by_user_id": "48320936",
                        "hs_createdate": "2023-01-05T06:57:42.491Z",
                        "hs_engagement_source": "CRM_UI",
                        "hs_engagement_source_id": null,
                        "hs_follow_up_action": null,
                        "hs_gdpr_deleted": null,
                        "hs_lastmodifieddate": "2023-01-05T06:57:42.491Z",
                        "hs_merged_object_ids": null,
                        "hs_modified_by": "48320936",
                        "hs_note_body": "<div style=\"white-space: pre-wrap;\" dir=\"auto\" data-top-level=\"true\"><p style=\"margin-bottom:0;\">test</p></div>",
                        "hs_object_id": "29564829699",
                        "hs_product_name": null,
                        "hs_queue_membership_ids": null,
                        "hs_read_only": null,
                        "hs_timestamp": "2023-01-05T06:57:42.491Z",
                        "hs_unique_creation_key": null,
                        "hs_unique_id": null,
                        "hs_updated_by_user_id": "48320936",
                        "hs_user_ids_of_all_notification_followers": null,
                        "hs_user_ids_of_all_notification_unfollowers": null,
                        "hs_user_ids_of_all_owners": "48320936",
                        "hubspot_owner_assigneddate": "2023-01-05T06:57:42.491Z",
                        "hubspot_owner_id": "269408298",
                        "hubspot_team_id": null
                      },
                      "createdAt": "2023-01-05T06:57:42.491Z",
                      "updatedAt": "2023-01-05T06:57:42.491Z",
                      "archived": false
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "Activity-2": {
        "allOf": [
          {
            "$ref": "#/components/schemas/Activity"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "https://agave-sandbox.pipedrive.com/v1/activities"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "id": 6,
                      "company_id": 12577477,
                      "user_id": 17244697,
                      "done": false,
                      "type": "call",
                      "reference_type": null,
                      "reference_id": null,
                      "conference_meeting_client": null,
                      "conference_meeting_url": null,
                      "due_date": "2023-03-31",
                      "due_time": "17:00",
                      "duration": "",
                      "busy_flag": true,
                      "add_time": "2023-01-23 23:51:17",
                      "marked_as_done_time": "",
                      "last_notification_time": null,
                      "last_notification_user_id": null,
                      "notification_language_id": null,
                      "subject": "<string>",
                      "public_description": null,
                      "calendar_sync_include_context": null,
                      "location": null,
                      "org_id": null,
                      "person_id": null,
                      "deal_id": null,
                      "lead_id": null,
                      "active_flag": true,
                      "update_time": "2023-01-23 23:51:17",
                      "update_user_id": null,
                      "source_timezone": null,
                      "rec_rule": null,
                      "rec_rule_extension": null,
                      "rec_master_activity_id": null,
                      "conference_meeting_id": null,
                      "original_start_time": null,
                      "note": "<strong>hello notes</strong>",
                      "created_by_user_id": 17244697,
                      "location_subpremise": null,
                      "location_street_number": null,
                      "location_route": null,
                      "location_sublocality": null,
                      "location_locality": null,
                      "location_admin_area_level_1": null,
                      "location_admin_area_level_2": null,
                      "location_country": null,
                      "location_postal_code": null,
                      "location_formatted_address": null,
                      "attendees": null,
                      "participants": null,
                      "series": null,
                      "is_recurring": null,
                      "org_name": null,
                      "person_name": null,
                      "deal_title": null,
                      "lead_title": null,
                      "owner_name": "Sandbox Agave",
                      "person_dropbox_bcc": null,
                      "deal_dropbox_bcc": null,
                      "assigned_to_user_id": 17244697,
                      "type_name": "Call",
                      "lead": null,
                      "file": {
                        "id": 12,
                        "clean_name": "test11.gif",
                        "url": "https://agave-sandbox.pipedrive.com/api/v1/files/12/download",
                        "add_time": "2023-02-22 23:22:03",
                        "file_size": 34326,
                        "remote_location": "s3"
                      }
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "NewNote": {
        "type": "object",
        "properties": {
          "activity_time": {
            "allOf": [
              {
                "description": "The datetime for the Activity."
              },
              {
                "$ref": "#/components/schemas/DateTimeProperty"
              }
            ]
          },
          "description": {
            "type": "string",
            "description": "The description of the Activity. Supporting HTML markup.",
            "example": "Latest <strong>notes</strong>."
          },
          "type": {
            "type": "string",
            "description": "The type of the Activity.",
            "example": "note"
          },
          "source_data": {
            "type": "object",
            "example": {
              "properties": {
                "hs_attachment_ids": "{{source_attachment_id}}"
              }
            }
          }
        }
      },
      "NewActivity": {
        "type": "object",
        "properties": {
          "activity_time": {
            "allOf": [
              {
                "description": "The datetime for the Activity."
              },
              {
                "$ref": "#/components/schemas/DateTimeProperty"
              }
            ]
          },
          "description": {
            "type": "string",
            "description": "The description of the Activity. Supporting HTML markup.",
            "example": "Latest <strong>notes</strong>."
          },
          "subject": {
            "type": "string",
            "description": "The subject of the Activity.",
            "example": "Activity Subject"
          },
          "type": {
            "type": "string",
            "description": "The type of the Activity.",
            "example": "call"
          }
        }
      },
      "Appointment": {
        "type": "object",
        "properties": {
          "id": {
            "allOf": [
              {
                "description": "The UUID of the Appointment assigned by Agave."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "source_id": {
            "type": "string",
            "readOnly": true,
            "example": "12345",
            "description": "The ID of the Appointment in the Source System."
          },
          "actual_duration": {
            "type": "string",
            "description": "The duration of the Appointment (in minutes).",
            "example": "180.0"
          },
          "actual_end_time": {
            "allOf": [
              {
                "description": "The datetime of the actual end of the Appointment."
              },
              {
                "$ref": "#/components/schemas/DateTimeProperty"
              }
            ]
          },
          "actual_start_time": {
            "allOf": [
              {
                "description": "The datetime of the actual start of the Appointment."
              },
              {
                "$ref": "#/components/schemas/DateTimeProperty"
              }
            ]
          },
          "address": {
            "$ref": "#/components/schemas/Address"
          },
          "arrival_window_end_time": {
            "allOf": [
              {
                "description": "The datetime of the end of the Appointment's window."
              },
              {
                "$ref": "#/components/schemas/DateTimeProperty"
              }
            ]
          },
          "arrival_window_start_time": {
            "allOf": [
              {
                "description": "The datetime of the start of the Appointment's window."
              },
              {
                "$ref": "#/components/schemas/DateTimeProperty"
              }
            ]
          },
          "description": {
            "type": "string",
            "description": "A summary of the Appointment.",
            "example": "HVAC repair for AnyCompany Inc."
          },
          "number": {
            "type": "string",
            "description": "The number of the Appointment.",
            "example": "A123"
          },
          "status": {
            "type": "string",
            "description": "The status of the Appointment.",
            "example": "Scheduled"
          },
          "source_create_time": {
            "allOf": [
              {
                "description": "The datetime the Appointment was created in the Source System."
              },
              {
                "$ref": "#/components/schemas/DateTimeProperty"
              }
            ]
          },
          "source_update_time": {
            "allOf": [
              {
                "description": "The datetime the Appointment was last updated in the Source System."
              },
              {
                "$ref": "#/components/schemas/DateTimeProperty"
              }
            ]
          }
        }
      },
      "Appointment-2": {
        "allOf": [
          {
            "$ref": "#/components/schemas/Appointment"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "https://api.servicetitan.io/jpm/v2/tenant/{tenantId}/appointments"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "id": 12345,
                      "jobId": 12345,
                      "appointmentNumber": "A123",
                      "start": "2022-01-01T00:00:00Z",
                      "end": "2022-01-01T00:00:00Z",
                      "arrivalWindowStart": "2022-01-01T00:00:00Z",
                      "arrivalWindowEnd": "2022-01-01T00:00:00Z",
                      "status": "Scheduled",
                      "specialInstructions": "",
                      "createdOn": "2022-01-01T00:00:00Z",
                      "modifiedOn": "2022-01-01T00:00:00Z"
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "Customer": {
        "type": "object",
        "properties": {
          "id": {
            "allOf": [
              {
                "description": "The UUID of the Customer assigned by Agave."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "source_id": {
            "type": "string",
            "readOnly": true,
            "example": "12345",
            "description": "The ID of the Customer in the Source System."
          },
          "addresses": {
            "type": "array",
            "description": "The addresses of the Customer.",
            "items": {
              "$ref": "#/components/schemas/Address"
            }
          },
          "balance": {
            "type": "string",
            "description": "The current balance of the Customer.",
            "example": "100.0"
          },
          "currency_code": {
            "type": "string",
            "description": "The code of the default currency used for the Customer's transactions. Valid values are ISO 4217 codes.",
            "example": "USD"
          },
          "email": {
            "type": "string",
            "description": "The email address for contacting the Customer.",
            "example": "contact@agaveapi.com"
          },
          "name": {
            "type": "string",
            "description": "The name of the Customer.",
            "example": "John Doe"
          },
          "parent_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the Parent Customer."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "phone": {
            "type": "string",
            "description": "The phone number for contacting the Customer.",
            "example": "(123) 555-0100"
          },
          "status": {
            "type": "string",
            "description": "The current status of the Customer.\n\n**Note for Most Systems**: valid values include \"Active\", \"Archived\", \"Inactive\", and \"Unknown\".\n\n**Note for Acumatica**: default values include \"Active\", \"On Hold\", \"Credit Hold\", \"One-Time\", and \"Inactive\".\n\n**Note for ComputerEase**: valid values include \"Active\", \"Hold\", and \"Inactive\".\n",
            "example": "Active"
          },
          "tax_code_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the defautl [Sales Tax Code](#tag--tax-codes) for the Customer."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "terms": {
            "type": "string",
            "description": "The default payment terms for the Customer.",
            "example": "Net 30 Days"
          },
          "type": {
            "type": "string",
            "description": "The type of Customer.\n\n**Note for Foundation**: valid types include \"Employee\", \"Job\", \"Other\", and \"Rent/Sale\".\n\n**Note for QuickBooks Desktop**: possible values include \"Job\", \"SubJob\", \"SubSubJob\", and \"SubSubSubJob\".\n\n**Note for ServiceTitan**: possible values include \"Commercial\" and \"Residential\".\n",
            "example": "Job"
          },
          "website": {
            "type": "string",
            "description": "The web address of the Customer.",
            "example": "https://agaveapi.com/"
          },
          "source_create_time": {
            "allOf": [
              {
                "description": "The datetime the Customer was created in the Source System."
              },
              {
                "$ref": "#/components/schemas/DateTimeProperty"
              }
            ]
          },
          "source_update_time": {
            "allOf": [
              {
                "description": "The datetime the Customer was last updated in the Source System."
              },
              {
                "$ref": "#/components/schemas/DateTimeProperty"
              }
            ]
          }
        }
      },
      "Customer-2": {
        "allOf": [
          {
            "$ref": "#/components/schemas/Customer"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "https://{{host}}.com/{{instance_name}}/entity/Default/20.200.001/Customer?%24top=10&%24expand=MainContact%2CMainContact%2FAddress"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "id": "4f96cb55-dd71-eb11-b83e-00155d408001",
                      "rowNumber": 1,
                      "note": {
                        "value": ""
                      },
                      "AccountRef": [],
                      "AutoApplyPayments": {
                        "value": false
                      },
                      "BillingAddressOverride": {
                        "value": false
                      },
                      "BillingContactOverride": {
                        "value": false
                      },
                      "CreatedDateTime": {
                        "value": "2022-01-01T00:00:00+00:00"
                      },
                      "CurrencyID": {
                        "value": "USD"
                      },
                      "CurrencyRateType": [],
                      "CustomerClass": {
                        "value": "DEFAULT"
                      },
                      "CustomerID": {
                        "value": "John Doe"
                      },
                      "CustomerName": {
                        "value": "John Doe"
                      },
                      "EnableCurrencyOverride": {
                        "value": false
                      },
                      "EnableRateOverride": {
                        "value": false
                      },
                      "EnableWriteOffs": {
                        "value": false
                      },
                      "FOBPoint": [],
                      "LastModifiedDateTime": {
                        "value": "2022-01-01T00:00:00+00:00"
                      },
                      "LeadTimedays": [],
                      "LocationName": {
                        "value": "Primary Location"
                      },
                      "MainContact": {
                        "id": "0c96a68d-c9fb-4179-bd82-0e5bf5226e6f",
                        "rowNumber": 1,
                        "note": null,
                        "Address": {
                          "id": "4e6ce5c7-9c76-495a-889d-e1bcae6d0509",
                          "rowNumber": 1,
                          "note": null,
                          "AddressLine1": {
                            "value": "123 Main Street"
                          },
                          "AddressLine2": {
                            "value": "Unit 1"
                          },
                          "City": {
                            "value": "AnyTown"
                          },
                          "Country": {
                            "value": "US"
                          },
                          "PostalCode": {
                            "value": "19703"
                          },
                          "State": {
                            "value": "CA"
                          },
                          "custom": []
                        },
                        "Attention": [],
                        "CompanyName": {
                          "value": "John Doe"
                        },
                        "ContactID": {
                          "value": 100210
                        },
                        "DisplayName": {
                          "value": "John Doe"
                        },
                        "Email": {
                          "value": "contact@agaveapi.com"
                        },
                        "Fax": [],
                        "FirstName": [],
                        "JobTitle": {
                          "value": "Pastry Chef"
                        },
                        "LastName": [],
                        "MiddleName": [],
                        "Phone1": {
                          "value": "+1-123-555-0100"
                        },
                        "Phone1Type": {
                          "value": "Business 1"
                        },
                        "Phone2": [],
                        "Phone2Type": {
                          "value": "Cell"
                        },
                        "Title": [],
                        "WebSite": {
                          "value": "https://agaveapi.com/"
                        },
                        "custom": []
                      },
                      "MultiCurrencyStatements": {
                        "value": false
                      },
                      "OrderPriority": {
                        "value": 0
                      },
                      "ParentRecord": [],
                      "PriceClassID": [],
                      "PrintInvoices": {
                        "value": false
                      },
                      "PrintStatements": {
                        "value": true
                      },
                      "ResidentialDelivery": {
                        "value": false
                      },
                      "SaturdayDelivery": {
                        "value": false
                      },
                      "SendInvoicesbyEmail": {
                        "value": false
                      },
                      "SendStatementsbyEmail": {
                        "value": false
                      },
                      "ShippingAddressOverride": [],
                      "ShippingBranch": [],
                      "ShippingContactOverride": [],
                      "ShippingRule": {
                        "value": "Cancel Remainder"
                      },
                      "ShippingTerms": [],
                      "ShippingZoneID": [],
                      "ShipVia": [],
                      "StatementCycleID": {
                        "value": "EOM"
                      },
                      "StatementType": {
                        "value": "Open Item"
                      },
                      "Status": {
                        "value": "Active"
                      },
                      "TaxRegistrationID": [],
                      "TaxZone": [],
                      "Terms": {
                        "value": "30D"
                      },
                      "WarehouseID": [],
                      "WriteOffLimit": {
                        "value": 0
                      },
                      "custom": [],
                      "_links": {
                        "self": "/AcumaticaU100/entity/Default/20.200.001/Customer/4f96cb55-dd71-eb11-b83e-00155d408001",
                        "files:put": "/AcumaticaU100/entity/Default/20.200.001/files/PX.Objects.AR.CustomerMaint/BAccount/4f96cb55-dd71-eb11-b83e-00155d408001/{filename}"
                      }
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "Customer-3": {
        "allOf": [
          {
            "$ref": "#/components/schemas/Customer"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "{{server}}/{{environemnt}}/ar-rest-api/rest/1/arcustomer"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "BpIuCreateDatetime": "2015-04-08T15:12:21-04:00",
                      "BpIuUpdateDatetime": "2022-11-07T10:59:45-05:00",
                      "BpcustActiveFlag": "1",
                      "BpcustActiveFromDate": "2015-04-23T16:00:02-04:00",
                      "BpcustActiveToDate": null,
                      "BpcustAllocApdiscJobFlag": "N",
                      "BpcustArAccCode": "11011",
                      "BpcustArAccName": "AR - $USD External",
                      "BpcustArDeptCode": "00",
                      "BpcustArDeptName": "Company Level",
                      "BpcustArStatementEmailAdd": null,
                      "BpcustArStatementEmailFlag": "N",
                      "BpcustAvgDaysToPayInv": null,
                      "BpcustBankAccNum1": null,
                      "BpcustBankAccNum2": null,
                      "BpcustBankAccNum3": null,
                      "BpcustBankCode": null,
                      "BpcustBankName": null,
                      "BpcustBillAdd1": "1 Infinite Loop",
                      "BpcustBillAdd2": null,
                      "BpcustBillAdd3": "Cupertino",
                      "BpcustBillContactName": null,
                      "BpcustBillCountry": "USA",
                      "BpcustBillEmail": null,
                      "BpcustBillFax": "408-555-9999",
                      "BpcustBillPhone": "408-555-1212",
                      "BpcustBillPostalCode": "94281",
                      "BpcustBillRegionCode": "CA",
                      "BpcustBillRegionName": "California",
                      "BpcustBpCode": "APPLE",
                      "BpcustBpCodeBf": "APPLE",
                      "BpcustBpName": "Apple Incc.",
                      "BpcustBpNameBf": "Apple Incc.",
                      "BpcustBpccCode": null,
                      "BpcustBpccOraseq": null,
                      "BpcustCashAccCode": "10001",
                      "BpcustCashAccName": "Bank - $USD Operating Account",
                      "BpcustCashDeptCode": "00",
                      "BpcustCashDeptName": "Company Level",
                      "BpcustChargeCode": "NA",
                      "BpcustChargeName": "Not Applicable",
                      "BpcustClassCode": null,
                      "BpcustClassName": null,
                      "BpcustCollCode": "ACCT",
                      "BpcustCollName": "Accounting (A/R Dept)",
                      "BpcustCompCode": "001",
                      "BpcustCompName": "CMiC Construction Inc",
                      "BpcustCrLimitAmt": 999999999999,
                      "BpcustCurrCode": "USD",
                      "BpcustCurrName": "US Dollar",
                      "BpcustDaysOutstInvPaidTtl": null,
                      "BpcustDeliveryDiscPc": null,
                      "BpcustDiscAccCode": "73003",
                      "BpcustDiscAccName": "A/R Discounts",
                      "BpcustDiscDeptCode": "00",
                      "BpcustDiscDeptName": "Company Level",
                      "BpcustDiscPc": 0,
                      "BpcustDunnFlag": "1",
                      "BpcustFrtAccCode": "40020",
                      "BpcustFrtAccName": "Miscellaneous Revenue",
                      "BpcustFrtDeptCode": "00",
                      "BpcustFrtDeptName": "Company Level",
                      "BpcustFullyPaidInvs": null,
                      "BpcustHldbkAccCode": "11012",
                      "BpcustHldbkAccName": "AR - Retainage Recble $USD",
                      "BpcustHldbkDeptCode": "00",
                      "BpcustHldbkDeptName": "Company Level",
                      "BpcustHldbkPc": 0,
                      "BpcustInsAccCode": "40020",
                      "BpcustInsAccName": "Miscellaneous Revenue",
                      "BpcustInsDeptCode": "00",
                      "BpcustInsDeptName": "Company Level",
                      "BpcustInvDeliq": null,
                      "BpcustIuCreateDate": "2015-04-23T16:00:02-04:00",
                      "BpcustIuCreateDatetime": "2015-04-23T16:00:02-04:00",
                      "BpcustIuUpdateDate": null,
                      "BpcustIuUpdateDatetime": null,
                      "BpcustJbBillRateTableCode": null,
                      "BpcustJbBillRateTableName": null,
                      "BpcustJbBillTypeCode": null,
                      "BpcustJbBillTypeName": null,
                      "BpcustJbInvFormatCode": null,
                      "BpcustJbInvFormatName": null,
                      "BpcustJbInvGroupCode": null,
                      "BpcustJbMapCode": null,
                      "BpcustJbMapName": null,
                      "BpcustJbretrCode": null,
                      "BpcustJbretrName": null,
                      "BpcustLastInvDate": null,
                      "BpcustLastUpdateDate": "2020-11-15T00:36:25-05:00",
                      "BpcustMiscAccCode": "40020",
                      "BpcustMiscAccName": "Miscellaneous Revenue",
                      "BpcustMiscDeptCode": "00",
                      "BpcustMiscDeptName": "Company Level",
                      "BpcustMsPropagateCompFlag": "N",
                      "BpcustObjectOraseq": 10171701,
                      "BpcustSalesAccCode": "40001",
                      "BpcustSalesAccName": "Contract Revenue",
                      "BpcustSalesDeptCode": "00",
                      "BpcustSalesDeptName": "Company Level",
                      "BpcustSalesmanCode": null,
                      "BpcustShipAdd1": "1 Infinite Loop",
                      "BpcustShipAdd2": null,
                      "BpcustShipAdd3": "Cupertino",
                      "BpcustShipContactName": null,
                      "BpcustShipCountry": "USA",
                      "BpcustShipEmail": null,
                      "BpcustShipFax": "408-555-9999",
                      "BpcustShipPhone": "408-555-1212",
                      "BpcustShipPostalCode": "94281",
                      "BpcustShipRegionCode": "CA",
                      "BpcustShipRegionName": "California",
                      "BpcustStatementFlag": "1",
                      "BpcustTax1Code": null,
                      "BpcustTax1Name": null,
                      "BpcustTax2Code": null,
                      "BpcustTax2Name": null,
                      "BpcustTax3Code": null,
                      "BpcustTax3Name": null,
                      "BpcustTaxedCode": "Y",
                      "BpcustTermCode": "NET30",
                      "BpcustTermName": "Net 30",
                      "BpcustTranAllowFlag": "1",
                      "BpcustTruckerPayDiscPc": null,
                      "BpcustVUuid": "BD8E16DAF9572691E05316821FAC4947",
                      "BpcustWebSite": null,
                      "BpcustCreditHoldFlag": "N",
                      "links": [
                        {
                          "rel": "self",
                          "href": "http://mobtest.cmiccloudr12.com:80/cmictestrti/ar-rest-api/rest/1/arcustomer/BD8E16DAF9572691E05316821FAC4947",
                          "name": "arcustomer",
                          "kind": "item"
                        },
                        {
                          "rel": "canonical",
                          "href": "http://mobtest.cmiccloudr12.com:80/cmictestrti/ar-rest-api/rest/1/arcustomer/BD8E16DAF9572691E05316821FAC4947",
                          "name": "arcustomer",
                          "kind": "item"
                        }
                      ]
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "Customer-4": {
        "allOf": [
          {
            "$ref": "#/components/schemas/Customer"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The table on the Source System.",
                    "example": "customer"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "cusnum": "12345",
                      "name": "AnyCustomer Inc.",
                      "address1": "123 Main Street",
                      "address2": "Anytown, CA 19703",
                      "address3": "",
                      "addresscity": "Anytown",
                      "addressstate": "CA",
                      "addresszip": "19703",
                      "phonenum": "(123) 555-0100",
                      "faxnum": "(123) 555-0101",
                      "notes1": "This is a sample customer",
                      "notes2": "",
                      "notes3": "",
                      "salesrepnum": "PM",
                      "contact": "John Doe",
                      "taxnum": "CINCI",
                      "taxexemptnum": "",
                      "deptnum": "",
                      "email": "contact@agaveapitest.com",
                      "web": "https://www.agaveapi.com/",
                      "ffinvoice": "NORMAL",
                      "svcinvoice": "NORMAL",
                      "invaddress1": "124 Main Street",
                      "invaddress2": "Anyvillage, CA 19704",
                      "invaddress3": "",
                      "invaddresscity": "Anyvillage",
                      "invaddressstate": "CA",
                      "invaddresszip": "19704",
                      "invphonenum": "(123) 555-0102",
                      "invfaxnum": "(123) 555-0103",
                      "status": 1,
                      "statementsw": 1,
                      "financechargesw": 1,
                      "pricecode": 1,
                      "terms": 1,
                      "termsday": 30,
                      "type": 1,
                      "creditrating": 1,
                      "disctype": 1,
                      "discday": 0,
                      "lastpaymentdate": null,
                      "lastpayment": 0,
                      "creditlimit": 0,
                      "financediscpcnt": 0,
                      "balance": 0,
                      "tradediscpcnt": 0,
                      "retentionpcnt": 0,
                      "memo": "These are the notes for a sample customer",
                      "attachid": "0",
                      "serialnum": "7",
                      "emailinvoices": 1,
                      "invemail": "contact@agaveapitest.com",
                      "nopastdue": 0,
                      "invname": "AnyCustomer Inc.",
                      "user_1": "(123) 555-0105",
                      "user_2": "Good",
                      "user_3": 0,
                      "user_4": 1
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "Customer-5": {
        "allOf": [
          {
            "$ref": "#/components/schemas/Customer"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The database query for the Source System.",
                    "example": "select [reccln].*, [clntyp].[typnme] as [clntyp_typnme] from [reccln] left join [clntyp] on [clntyp].[recnum] = [reccln].[clntyp]"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "company_no": 12345,
                      "customer_no": "A123",
                      "name": "AnyCustomer Inc.",
                      "sort_name": "AnyCustomer Inc.",
                      "customer_type": "J",
                      "address_1": "123 Main Street",
                      "address_2": "Unit B",
                      "city": "AnyTown",
                      "state": "CA",
                      "zip_code": "197031234",
                      "contact": "John Doe",
                      "phone_voice": "1235550100",
                      "phone_fax": "1235550101",
                      "phone_data": null,
                      "gl_income": null,
                      "gl_cash": null,
                      "gl_ar": null,
                      "gl_retainage": null,
                      "gl_tax": null,
                      "force_job": "Y",
                      "on_account": "N",
                      "gl_service_inc": null,
                      "order_status": "N",
                      "ship_to_no": null,
                      "tax_no": "NY",
                      "terms_no": "   30",
                      "ship_via_no": null,
                      "warehouse_no": null,
                      "invoice_freight": "N",
                      "sb_price_level_no": null,
                      "billing_rate": ".00000",
                      "mileage_rate": ".00000",
                      "billing_cycle_no": null,
                      "bypass_service_charge": "N",
                      "tax_pr_no": null,
                      "price_level_no": null,
                      "tm_income_type_no": null,
                      "rent_show_closed": "Y",
                      "rent_number_days": null,
                      "client_since": null,
                      "credit_limit": ".00",
                      "record_status": "A",
                      "row_modified_by": "98053",
                      "row_modified_on": "2024-02-18 13:43:52.967",
                      "row_unique_id": 12,
                      "email_address": "contact@agaveapitest.com",
                      "project_manager_no": null,
                      "geo_area_no": null,
                      "project_class_no": null,
                      "provider": "FSI",
                      "billing_cycle_id": null,
                      "company_id": "1",
                      "customer_id": "A123",
                      "geo_area_id": null,
                      "price_level_id": null,
                      "project_class_id": null,
                      "project_manager_id": null,
                      "sb_price_level_id": null,
                      "ship_to_id": null,
                      "ship_via_id": null,
                      "tax_id": "NY",
                      "tax_pr_id": null,
                      "terms_id": "30",
                      "tm_income_type_id": null,
                      "warehouse_id": null,
                      "tm_billing_design_no": null,
                      "tm_billing_design_id": null,
                      "inv_usage_markup": "C",
                      "tm_rounding": "C",
                      "default_tax_type": "S",
                      "enable_service_charge": "N",
                      "srv_chrg_use_customer": "N",
                      "srv_chrg_percent": ".0000000",
                      "srv_chrg_past_due": "0",
                      "srv_chrg_perc_dollar": "N",
                      "srv_chrg_inv_acct": "N",
                      "certified_license": null,
                      "income_type_no": null,
                      "income_type_id": null,
                      "foreign_flag": "U",
                      "country": null,
                      "invoice_design_no": null,
                      "invoice_design_id": null,
                      "hold_flag": "N",
                      "aia_rounding": "0",
                      "aia_whole_dollars": "0",
                      "tm_tax_no": null,
                      "tm_tax_type": "S",
                      "tm_tax_id": null,
                      "include_in_statements": "Y",
                      "tm_ws_design_no": null,
                      "tm_ws_design_id": null,
                      "extension_num": null,
                      "bid_design_no": 116,
                      "record_guid": "920DB29C-06CE-EE11-83B7-0050560190F2",
                      "bid_design_id": "116",
                      "bid_customer": "N",
                      "Batch_No": null,
                      "Internal_Batch_Number": null,
                      "Batch_id": null,
                      "terms_description": "30 Days"
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "Customer-6": {
        "allOf": [
          {
            "$ref": "#/components/schemas/Customer"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "https://api.housecallpro.com/customers/{id}"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "id": "12345",
                      "first_name": "John",
                      "last_name": "Doe",
                      "email": "contact@agaveapi.com",
                      "mobile_number": "(123) 555-0100",
                      "home_number": null,
                      "work_number": null,
                      "company": "AnyCompany Inc.",
                      "notifications_enabled": true,
                      "lead_source": null,
                      "company_name": "AnyCompany",
                      "company_id": "12345",
                      "tags": [],
                      "addresses": [
                        {
                          "id": "12345",
                          "type": "billing",
                          "street": "123 Main Street",
                          "street_line_2": "Unit B",
                          "city": "AnyTown",
                          "state": "DE",
                          "zip": "19703",
                          "country": "US"
                        }
                      ]
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "Customer-7": {
        "allOf": [
          {
            "$ref": "#/components/schemas/Customer"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "https://api.hubapi.com/crm/v3/objects/company"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "id": "10540882048",
                      "properties": {
                        "about_us": null,
                        "address": "123 Main Street",
                        "address2": "Unit 1",
                        "annualrevenue": null,
                        "city": "AnyTown",
                        "closedate": null,
                        "closedate_timestamp_earliest_value_a2a17e6e": null,
                        "country": "The United States of America",
                        "createdate": "2023-01-04T22:55:47.140Z",
                        "days_to_close": null,
                        "description": "Connect construction software in minutes - project management, files, financials, and more. Agave standardizes auth, data, and docs to make it fast and easy for you.",
                        "domain": "agaveapi.com",
                        "engagements_last_meeting_booked": null,
                        "engagements_last_meeting_booked_campaign": null,
                        "engagements_last_meeting_booked_medium": null,
                        "engagements_last_meeting_booked_source": null,
                        "facebook_company_page": null,
                        "facebookfans": null,
                        "first_contact_createdate": "2023-01-27T23:24:59.624Z",
                        "first_contact_createdate_timestamp_earliest_value_78b50eea": null,
                        "first_conversion_date": null,
                        "first_conversion_date_timestamp_earliest_value_61f58f2c": null,
                        "first_conversion_event_name": null,
                        "first_conversion_event_name_timestamp_earliest_value_68ddae0a": null,
                        "first_deal_created_date": "2023-01-26T20:12:49.764Z",
                        "founded_year": "2021",
                        "googleplus_page": null,
                        "hs_additional_domains": null,
                        "hs_all_accessible_team_ids": null,
                        "hs_all_assigned_business_unit_ids": null,
                        "hs_all_owner_ids": null,
                        "hs_all_team_ids": null,
                        "hs_analytics_first_timestamp": "2023-01-27T23:24:59.624Z",
                        "hs_analytics_first_timestamp_timestamp_earliest_value_11e3a63a": null,
                        "hs_analytics_first_touch_converting_campaign": null,
                        "hs_analytics_first_touch_converting_campaign_timestamp_earliest_value_4757fe10": null,
                        "hs_analytics_first_visit_timestamp": null,
                        "hs_analytics_first_visit_timestamp_timestamp_earliest_value_accc17ae": null,
                        "hs_analytics_last_timestamp": null,
                        "hs_analytics_last_timestamp_timestamp_latest_value_4e16365a": null,
                        "hs_analytics_last_touch_converting_campaign": null,
                        "hs_analytics_last_touch_converting_campaign_timestamp_latest_value_81a64e30": null,
                        "hs_analytics_last_visit_timestamp": null,
                        "hs_analytics_last_visit_timestamp_timestamp_latest_value_999a0fce": null,
                        "hs_analytics_latest_source": "OFFLINE",
                        "hs_analytics_latest_source_data_1": "INTEGRATION",
                        "hs_analytics_latest_source_data_2": "1267957",
                        "hs_analytics_latest_source_timestamp": "2023-01-31T18:15:38.195Z",
                        "hs_analytics_num_page_views": "0",
                        "hs_analytics_num_page_views_cardinality_sum_e46e85b0": null,
                        "hs_analytics_num_visits": "0",
                        "hs_analytics_num_visits_cardinality_sum_53d952a6": null,
                        "hs_analytics_source": "OFFLINE",
                        "hs_analytics_source_data_1": "INTEGRATION",
                        "hs_analytics_source_data_1_timestamp_earliest_value_9b2f1fa1": null,
                        "hs_analytics_source_data_2": "1267897",
                        "hs_analytics_source_data_2_timestamp_earliest_value_9b2f9400": null,
                        "hs_analytics_source_timestamp_earliest_value_25a3a52c": null,
                        "hs_avatar_filemanager_key": null,
                        "hs_created_by_user_id": null,
                        "hs_createdate": null,
                        "hs_date_entered_customer": null,
                        "hs_date_entered_evangelist": null,
                        "hs_date_entered_lead": "2023-01-04T22:55:47.140Z",
                        "hs_date_entered_marketingqualifiedlead": null,
                        "hs_date_entered_opportunity": "2023-01-30T21:41:27.582Z",
                        "hs_date_entered_other": null,
                        "hs_date_entered_salesqualifiedlead": null,
                        "hs_date_entered_subscriber": null,
                        "hs_date_exited_customer": null,
                        "hs_date_exited_evangelist": null,
                        "hs_date_exited_lead": "2023-01-30T21:41:27.582Z",
                        "hs_date_exited_marketingqualifiedlead": null,
                        "hs_date_exited_opportunity": null,
                        "hs_date_exited_other": null,
                        "hs_date_exited_salesqualifiedlead": null,
                        "hs_date_exited_subscriber": null,
                        "hs_ideal_customer_profile": null,
                        "hs_is_target_account": null,
                        "hs_last_booked_meeting_date": null,
                        "hs_last_logged_call_date": "2023-01-05T06:58:13.480Z",
                        "hs_last_open_task_date": null,
                        "hs_last_sales_activity_date": null,
                        "hs_last_sales_activity_timestamp": null,
                        "hs_last_sales_activity_type": null,
                        "hs_lastmodifieddate": "2023-02-01T02:02:45.949Z",
                        "hs_latest_createdate_of_active_subscriptions": null,
                        "hs_latest_meeting_activity": null,
                        "hs_lead_status": null,
                        "hs_merged_object_ids": null,
                        "hs_num_blockers": "0",
                        "hs_num_child_companies": "0",
                        "hs_num_contacts_with_buying_roles": "0",
                        "hs_num_decision_makers": "0",
                        "hs_num_open_deals": "3",
                        "hs_object_id": "10540882048",
                        "hs_parent_company_id": null,
                        "hs_pinned_engagement_id": null,
                        "hs_pipeline": "companies-lifecycle-pipeline",
                        "hs_predictivecontactscore_v2": "3.6",
                        "hs_predictivecontactscore_v2_next_max_max_d4e58c1e": null,
                        "hs_read_only": null,
                        "hs_sales_email_last_replied": null,
                        "hs_target_account": null,
                        "hs_target_account_probability": "0.6690788269042969",
                        "hs_target_account_recommendation_snooze_time": null,
                        "hs_target_account_recommendation_state": null,
                        "hs_time_in_customer": null,
                        "hs_time_in_evangelist": null,
                        "hs_time_in_lead": "2241940442",
                        "hs_time_in_marketingqualifiedlead": null,
                        "hs_time_in_opportunity": "102701540",
                        "hs_time_in_other": null,
                        "hs_time_in_salesqualifiedlead": null,
                        "hs_time_in_subscriber": null,
                        "hs_total_deal_value": "2997",
                        "hs_unique_creation_key": null,
                        "hs_updated_by_user_id": null,
                        "hs_user_ids_of_all_notification_followers": null,
                        "hs_user_ids_of_all_notification_unfollowers": null,
                        "hs_user_ids_of_all_owners": null,
                        "hubspot_owner_assigneddate": null,
                        "hubspot_owner_id": null,
                        "hubspot_team_id": null,
                        "hubspotscore": null,
                        "industry": null,
                        "is_public": "false",
                        "lifecyclestage": "opportunity",
                        "linkedin_company_page": "https://www.linkedin.com/company/agave-api",
                        "linkedinbio": "Connect construction software in minutes - project management, files, financials, and more. Agave standardizes auth, data, and docs to make it fast and easy for you.",
                        "name": "Agave Tech Inc.",
                        "notes_last_contacted": "2023-01-05T06:58:13.480Z",
                        "notes_last_updated": "2023-01-05T06:58:13.480Z",
                        "notes_next_activity_date": null,
                        "num_associated_contacts": "3",
                        "num_associated_deals": "3",
                        "num_contacted_notes": "1",
                        "num_conversion_events": "0",
                        "num_conversion_events_cardinality_sum_d095f14b": null,
                        "num_notes": "1",
                        "numberofemployees": "10",
                        "owneremail": "contact@agaveapi.com",
                        "ownername": null,
                        "phone": "123-456-7890",
                        "recent_conversion_date": null,
                        "recent_conversion_date_timestamp_latest_value_72856da1": null,
                        "recent_conversion_event_name": null,
                        "recent_conversion_event_name_timestamp_latest_value_66c820bf": null,
                        "recent_deal_amount": null,
                        "recent_deal_close_date": null,
                        "state": "California",
                        "timezone": "America/Los_Angeles",
                        "total_money_raised": null,
                        "total_revenue": null,
                        "twitterbio": null,
                        "twitterfollowers": null,
                        "twitterhandle": null,
                        "type": null,
                        "web_technologies": "aws_route_53;convert_kit;google_apps",
                        "website": "https://www.agaveapi.com/",
                        "zip": "19703"
                      },
                      "createdAt": "2023-01-04T22:55:47.140Z",
                      "updatedAt": "2023-02-01T02:02:45.949Z",
                      "archived": false
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "Customer-8": {
        "allOf": [
          {
            "$ref": "#/components/schemas/Customer"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "https://agave-sandbox.pipedrive.com/v1/organizations"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "id": 1,
                      "company_id": 12577477,
                      "owner_id": {
                        "id": 17117394,
                        "name": "John Doe",
                        "email": "contact@agaveapi.com",
                        "has_pic": 0,
                        "pic_hash": null,
                        "active_flag": true,
                        "value": 17117394
                      },
                      "name": "Agave",
                      "open_deals_count": 1,
                      "related_open_deals_count": 0,
                      "closed_deals_count": 0,
                      "related_closed_deals_count": 0,
                      "email_messages_count": 0,
                      "people_count": 5,
                      "activities_count": 0,
                      "done_activities_count": 0,
                      "undone_activities_count": 0,
                      "files_count": 0,
                      "notes_count": 0,
                      "followers_count": 2,
                      "won_deals_count": 0,
                      "related_won_deals_count": 0,
                      "lost_deals_count": 0,
                      "related_lost_deals_count": 0,
                      "active_flag": true,
                      "category_id": null,
                      "picture_id": null,
                      "country_code": null,
                      "first_char": "a",
                      "update_time": "2023-02-15 21:19:40",
                      "delete_time": null,
                      "add_time": "2023-01-05 02:53:24",
                      "visible_to": "3",
                      "next_activity_date": null,
                      "next_activity_time": null,
                      "next_activity_id": null,
                      "last_activity_id": null,
                      "last_activity_date": null,
                      "label": null,
                      "owner_name": "John Doe",
                      "cc_email": "contact@agaveapi.com"
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "Customer-9": {
        "allOf": [
          {
            "$ref": "#/components/schemas/Customer"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "https://api.servicetitan.io/jpm/v2/tenant/{tenantId}/jobs"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "Taxable": true,
                      "BillAddr": {
                        "Id": "12345",
                        "Line1": "123 Main Street",
                        "City": "AnyTown",
                        "CountrySubDivisionCode": "CA",
                        "PostalCode": "19703",
                        "Lat": "INVALID",
                        "Long": "INVALID"
                      },
                      "ShipAddr": {
                        "Id": "12345",
                        "Line1": "123 Main Street",
                        "City": "AnyTown",
                        "CountrySubDivisionCode": "CA",
                        "PostalCode": "19703",
                        "Lat": "INVALID",
                        "Long": "INVALID"
                      },
                      "Job": false,
                      "BillWithParent": false,
                      "Balance": 1000,
                      "BalanceWithJobs": 1000,
                      "CurrencyRef": {
                        "value": "USD",
                        "name": "United States Dollar"
                      },
                      "PreferredDeliveryMethod": "Print",
                      "domain": "QBO",
                      "sparse": false,
                      "Id": "1",
                      "SyncToken": "0",
                      "MetaData": {
                        "CreateTime": "2022-01-01T00:00:00-00:00",
                        "LastUpdatedTime": "2022-01-01T00:00:00-00:00"
                      },
                      "GivenName": "John",
                      "FamilyName": "Doe",
                      "FullyQualifiedName": "AnyCompany Inc.",
                      "CompanyName": "AnyCompany",
                      "DisplayName": "AnyCompany",
                      "PrintOnCheckName": "AnyCompany",
                      "Active": true,
                      "PrimaryPhone": {
                        "FreeFormNumber": "(123) 555-0100"
                      },
                      "PrimaryEmailAddr": {
                        "Address": "contact@agaveapi.com"
                      }
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "Customer-10": {
        "allOf": [
          {
            "$ref": "#/components/schemas/Customer"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The database query for the Source System.",
                    "example": "select [reccln].*, [clntyp].[typnme] as [clntyp_typnme] from [reccln] left join [clntyp] on [clntyp].[recnum] = [reccln].[clntyp]"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "_idnum": "12345935-899F-E511-B83D-005056C00008",
                      "recnum": "12345",
                      "shtnme": "John Doe",
                      "clnnme": "John Doe",
                      "grting": "Mr. Doe",
                      "addrs1": "123 Main Street",
                      "addrs2": "Unit B",
                      "ctynme": "AnyTown",
                      "state_": "CA",
                      "zipcde": "19703",
                      "bilad1": "123 Main Street",
                      "bilad2": "Unit B",
                      "bilcty": "AnyTown",
                      "bilste": "CA",
                      "bilzip": "19703",
                      "shpad1": "",
                      "shpad2": "",
                      "shpcty": "",
                      "shpste": "",
                      "shpzip": "",
                      "usrdf1": "",
                      "usrdf2": "",
                      "usrdf3": "",
                      "usrdf4": "",
                      "usrdf5": "",
                      "usrdf6": 0,
                      "usrdf7": 0,
                      "usrdf8": 0,
                      "usrdf9": 0,
                      "contct": "",
                      "contc2": "",
                      "contc3": "",
                      "cntds1": "",
                      "cntds2": "",
                      "cntds3": "",
                      "phnnum": "",
                      "phn002": "",
                      "phn003": "",
                      "phnext": "",
                      "phext2": "",
                      "phext3": "",
                      "faxnum": "",
                      "fax002": "",
                      "fax003": "",
                      "cllphn": "",
                      "cell02": "",
                      "cell03": "",
                      "pagnum": "",
                      "pagr02": "",
                      "pagr03": "",
                      "e_mail": "",
                      "email2": "",
                      "email3": "",
                      "dtercv": null,
                      "empnum": null,
                      "mannum": null,
                      "taxdst": null,
                      "lstctc": null,
                      "cllbck": null,
                      "lstmal": "",
                      "lstdte": null,
                      "pchdte": null,
                      "refdte": null,
                      "prdnum": null,
                      "dsctrm": "",
                      "dscrte": 0,
                      "duetrm": "30DY",
                      "finrte": 12345,
                      "ledsrc": null,
                      "clntyp": 1,
                      "status": 3,
                      "mallst": null,
                      "region": null,
                      "cmpsze": null,
                      "srvcon": null,
                      "srvexp": null,
                      "clndsc": 0,
                      "begbal": 0,
                      "endbal": 0,
                      "maploc": "",
                      "crsstr": "",
                      "bilbas": 3,
                      "pchnum": "",
                      "exmnum": "",
                      "crdnum": "",
                      "expdte": null,
                      "crdnme": "",
                      "crdtyp": "",
                      "ntetxt": "",
                      "catxex": 0,
                      "pstexm": 0,
                      "nvrvlt": 0,
                      "valtid": "",
                      "vlttyp": 0,
                      "vltnme": "",
                      "vltmin": "",
                      "vltlnm": "",
                      "vltad1": "",
                      "vltad2": "",
                      "vltcty": "",
                      "vltste": "",
                      "vltzip": "",
                      "vltcnt": "",
                      "vlteml": "",
                      "insdte": "2022-01-01T00:00:00.000Z",
                      "insusr": "Bob",
                      "upddte": null,
                      "updusr": null,
                      "inactv": 0,
                      "stmeml": "",
                      "altnte": "",
                      "clntyp_typnme": "Job"
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "Customer-11": {
        "allOf": [
          {
            "$ref": "#/components/schemas/Customer"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The database query for the Source System.",
                    "example": "select * from [MASTER_ARM_RECORD_1]"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "CUST": "A123",
                      "CNAME": "AnyCustomer Inc.",
                      "CTYPEA": "Standard",
                      "CTRADE": "Development",
                      "CAKEY1": "",
                      "CAKEY2": "",
                      "CADD1": "123 Main Street",
                      "CADD2": "Unit B",
                      "CADD3": "",
                      "CADD4": "",
                      "CCITY": "AnyTown",
                      "CSTATE": "CA",
                      "CZIP": "19703",
                      "CPHONE": "(123)555-0100",
                      "CFAX": "(123)555-0101",
                      "CEMAIL": "contact@agaveapitest.com",
                      "CESTDT": "2023-06-10",
                      "CSTATUS": "Active",
                      "CGLPREF": "",
                      "CDAYDUE": 0,
                      "CSNDSTM": "1",
                      "CCLPORQ": "0",
                      "CCRDLMT": 0,
                      "CCRDRTG": "Excellent",
                      "CCONT1": "",
                      "CCONT2": "",
                      "CCONT3": "",
                      "CCONT4": "",
                      "CCONT5": "",
                      "CCONT6": "",
                      "CCONT7": "",
                      "CCONT8": "",
                      "CCONT9": "",
                      "CCONT10": "",
                      "CBADD1": "123 Billing Street",
                      "CBADD2": "Unit A",
                      "CBADD3": "",
                      "CBADD4": "",
                      "CBCIY": "AnyTown",
                      "CBSTATE": "CA",
                      "CBZIP": "19703",
                      "CBEMAIL": "contact@agaveapitest.com",
                      "CBCONT": "",
                      "CINVFMT": "",
                      "CSMIFMT": "",
                      "CBFREQA": "5th of month",
                      "CRETG": 0,
                      "CLSTINT": "A123",
                      "CLSTINN": 0,
                      "CFCXMPT": "0",
                      "CFCRT": "None",
                      "CFCPERC": 0,
                      "CFCFLAT": 0,
                      "CRATEL": "",
                      "CRATEM": "",
                      "CRATES": "",
                      "CRATEE": "",
                      "CRATEO": "",
                      "CRATET": "",
                      "CMARKTB": "",
                      "CADDTB": "",
                      "CDISCNT": 0,
                      "CTXGRTB": "Taxable",
                      "CTXGR": "OR",
                      "CTXGRPL": "Non-Taxable",
                      "CTXGRPM": "Non-Taxable",
                      "CTXGRPS": "Non-Taxable",
                      "CTXGRPE": "Non-Taxable",
                      "CTXGRPO": "Non-Taxable",
                      "CTXGRPT": "Non-Taxable",
                      "CRCERT": "",
                      "CABN": "",
                      "CCLST1": "0",
                      "CCLSTD1": null,
                      "CCLST2": "0",
                      "CCLSTD2": null,
                      "CCLST3": "0",
                      "CCLSTD3": null,
                      "CCLST4": "0",
                      "CCLSTD4": null,
                      "CCLST5": "0",
                      "CCLSTD5": null,
                      "CCLST6": "0",
                      "CCLSTD6": null,
                      "CCLST7": "0",
                      "CCLSTD7": null,
                      "CCLST8": "0",
                      "CCLSTD8": null,
                      "CCLST9": "0",
                      "CCLSTD9": null,
                      "CCLST10": "0",
                      "CCLTD10": null,
                      "CTEXT1": "",
                      "CTEXT2": "",
                      "CTEXT3": "",
                      "CTEXT4": "",
                      "CTEXT5": "",
                      "CTEXT6": "",
                      "CCOMPID": "12345CC0-1FF8-4660-9D6F-F00E66F1C6D2",
                      "COSTAMP": "sageintegration",
                      "CDSTAMP": "2022-01-01",
                      "CTSTAMP": "00:00:00",
                      "CRWID": "123453d6-b107-ee11-83f7-122f56880ad7",
                      "CRWVR": "123455898",
                      "R1NTS": null,
                      "R1FLS": null,
                      "CTAR0": null
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "Customer-12": {
        "allOf": [
          {
            "$ref": "#/components/schemas/Customer"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "https://api.intacct.com/ia/xml/xmlgw.phtml"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "RECORDNO": "12345",
                      "CUSTOMERID": "12345",
                      "DISPLAYCONTACT.CONTACTNAME": "John Doe",
                      "DISPLAYCONTACT.MAILADDRESS.ADDRESS1": "123 Main Street",
                      "DISPLAYCONTACT.MAILADDRESS.ADDRESS2": "Unit 1",
                      "DISPLAYCONTACT.MAILADDRESS.CITY": "AnyTown",
                      "DISPLAYCONTACT.MAILADDRESS.STATE": "CA",
                      "DISPLAYCONTACT.MAILADDRESS.ZIP": "19703",
                      "DISPLAYCONTACT.MAILADDRESS.COUNTRY": "United States",
                      "TOTALDUE": "100.0",
                      "CURRENCY": null,
                      "DISPLAYCONTACT.EMAIL1": "contact@agaveapi.com",
                      "NAME": "John Doe",
                      "PARENTID": "123",
                      "DISPLAYCONTACT.PHONE1": "1235550100",
                      "DISPLAYCONTACT.STATUS": "active",
                      "CUSTTYPE": "Owner",
                      "DISPLAYCONTACT.URL1": "https://agaveapi.com",
                      "WHENCREATED": "01/01/2022 00:00:00",
                      "WHENMODIFIED": "01/01/2022 00:00:00"
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "Customer-13": {
        "allOf": [
          {
            "$ref": "#/components/schemas/Customer"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "https://api.servicetitan.io/crm/v2/tenant/{tenantId}/customers"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "id": 12345,
                      "active": true,
                      "name": "John Doe",
                      "type": "Commercial",
                      "address": {
                        "street": "123 Main Street",
                        "unit": "Unit 1",
                        "city": "AnyTown",
                        "state": "CA",
                        "zip": "19703",
                        "country": "USA",
                        "latitude": 34.166323,
                        "longitude": -118.280684
                      },
                      "customFields": [],
                      "balance": 100,
                      "doNotMail": false,
                      "doNotService": false,
                      "createdOn": "2022-01-01T00:00:00.0000000Z",
                      "createdById": 12345,
                      "modifiedOn": "2022-01-01T00:00:00.0000000Z",
                      "mergedToId": null
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "Customer-14": {
        "allOf": [
          {
            "$ref": "#/components/schemas/Customer"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "https://{{domain}}.dexterchaney.com:8482/ws/GetCustomers"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "Company_Code": "123",
                      "Customer_Code": "A123",
                      "Name": "AnyCompany Inc.",
                      "Address_1": "123 Main Street",
                      "Address_2": "Unit B",
                      "City": "AnyCity",
                      "State": "DE",
                      "Zip_Code": "19703",
                      "First_Name": "John",
                      "Last_Name": "Doe",
                      "Phone_Number": "(123) 555-0100",
                      "Email1": "Contact@agaveapi.com",
                      "Price_Level_Material": null,
                      "Taxable_Flag": null,
                      "Status": "Active",
                      "Error_Code": null,
                      "Error_Description": null,
                      "Error_Column": null
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "Customer-15": {
        "allOf": [
          {
            "$ref": "#/components/schemas/Customer"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "bARCM"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "CustGroup": "12345",
                      "Customer": "12345",
                      "Name": "AnyCustomer Inc.",
                      "SortName": "ANYCUSTOMER INC",
                      "TempYN": "N",
                      "Phone": "1235550100",
                      "Fax": "1235550100",
                      "EMail": "contact@agaveapi.com",
                      "URL": "https://agaveapi.com",
                      "Contact": "John Doe",
                      "ContactExt": null,
                      "Address": "123 Main Street, Unit B",
                      "City": "AnyTown",
                      "State": "CA",
                      "Zip": "19703",
                      "Address2": null,
                      "BillAddress": "123 Main Street, Unit B",
                      "BillCity": "AnyTown",
                      "BillState": "CA",
                      "BillZip": "19703",
                      "BillAddress2": null,
                      "Status": "A",
                      "RecType": "12345",
                      "PayTerms": "12345",
                      "TaxGroup": "12345",
                      "TaxCode": null,
                      "CreditLimit": ".00",
                      "SelPurge": "N",
                      "StmntPrint": "N",
                      "StmtType": "O",
                      "FCType": "N",
                      "FCPct": ".0000",
                      "MarkupDiscPct": ".000000",
                      "DateOpened": "2022-01-01 00:00:00",
                      "MiscDistCode": null,
                      "Notes": null,
                      "PriceTemplate": null,
                      "DiscTemplate": null,
                      "HaulTaxOpt": "0",
                      "InvLvl": "0",
                      "BillFreq": null,
                      "MiscOnInv": "N",
                      "MiscOnPay": "N",
                      "PrintLvl": "1",
                      "SubtotalLvl": "1",
                      "SepHaul": "Y",
                      "ExclContFromFC": "N",
                      "UniqueAttchID": null,
                      "KeyID": "4",
                      "Country": "US",
                      "BillCountry": "US",
                      "ABN": null,
                      "ACN": null,
                      "MSDefaultInvoiceReport": null
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "NewCustomer": {
        "allOf": [
          {
            "$ref": "#/components/schemas/Customer"
          },
          {
            "type": "object",
            "required": [
              "name",
              "source_data"
            ],
            "properties": {
              "addresses": {
                "type": "array",
                "description": "The addresses of the Customer.",
                "items": {
                  "$ref": "#/components/schemas/Address"
                }
              },
              "email": {
                "type": "string",
                "description": "The email address for contacting the Customer.",
                "example": "contact@agaveapi.com"
              },
              "name": {
                "type": "string",
                "description": "The name of the Customer.\n",
                "example": "John Doe"
              },
              "phone": {
                "type": "string",
                "description": "The phone number for contacting the Customer.",
                "example": "+1-123-555-0100"
              },
              "status": {
                "type": "string",
                "description": "The status of the Customer.\n",
                "example": "Active",
                "enum": [
                  "Active",
                  "Hold",
                  "Inactive"
                ]
              },
              "type": {
                "type": "string",
                "description": "The type of the Customer.",
                "example": "Client",
                "enum": [
                  "Client",
                  "One-time",
                  "Service",
                  "Standard"
                ]
              }
            }
          }
        ]
      },
      "NewCustomer-2": {
        "required": [
          "name",
          "code"
        ],
        "type": "object",
        "properties": {
          "addresses": {
            "type": "array",
            "description": "The addresses of the Customer.",
            "items": {
              "$ref": "#/components/schemas/Address"
            }
          },
          "code": {
            "type": "string",
            "description": "The code of the Customer.\n",
            "example": "A123"
          },
          "email": {
            "type": "string",
            "description": "The email address for contacting the Customer.",
            "example": "contact@agaveapi.com"
          },
          "name": {
            "type": "string",
            "description": "The name of the Customer. \n",
            "example": "AnyCompany Inc."
          },
          "phone": {
            "type": "string",
            "description": "The phone number for contacting the Customer.",
            "example": "(123) 555-0100"
          },
          "tax_code_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the defautl [Sales Tax Code](#tag--tax-codes) for the Customer."
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          },
          "terms": {
            "type": "string",
            "description": "The default payment terms for the Customer.",
            "example": "Upon Receipt"
          },
          "type": {
            "type": "string",
            "description": "The type of the Customer.\n",
            "example": "Job",
            "enum": [
              "Employee",
              "Job",
              "Other",
              "Rent/Sale"
            ]
          }
        }
      },
      "NewCustomer-3": {
        "required": [
          "name"
        ],
        "type": "object",
        "properties": {
          "addresses": {
            "type": "array",
            "description": "The addresses of the Customer.",
            "items": {
              "$ref": "#/components/schemas/Address"
            }
          },
          "email": {
            "type": "string",
            "description": "The email address for contacting the Customer.",
            "example": "contact@agaveapi.com"
          },
          "name": {
            "type": "string",
            "description": "The name of the Customer. **Note for QuickBooks Desktop**: the value for this field must be unique. \n",
            "example": "AnyCompany Inc."
          },
          "parent_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the parent [Customer](#tag--cusotmers).\n\n**Note for QuickBooks Desktop**: the parent Customer's `type` will determine the `type` for this Customer. For example, if the parent Customer's `type` is:\n  - \"Customer\", this Customer's type will be \"Job\"\n  - \"Job\", this Customer's type will be \"SubJob\"\n"
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          },
          "phone": {
            "type": "string",
            "description": "The phone number for contacting the Customer.",
            "example": "(123) 555-0100"
          }
        }
      },
      "NewCustomer-4": {
        "required": [
          "name"
        ],
        "type": "object",
        "properties": {
          "addresses": {
            "type": "array",
            "description": "The addresses of the Customer.",
            "items": {
              "$ref": "#/components/schemas/Address"
            }
          },
          "email": {
            "type": "string",
            "description": "The email address for contacting the Customer.",
            "example": "contact@agaveapi.com"
          },
          "name": {
            "type": "string",
            "description": "The name of the Customer. **Note for QuickBooks Desktop**: the value for this field must be unique. \n",
            "example": "AnyCompany Inc."
          },
          "phone": {
            "type": "string",
            "description": "The phone number for contacting the Customer.",
            "example": "(123) 555-0100"
          }
        }
      },
      "NewCustomer-5": {
        "required": [
          "name",
          "source_data"
        ],
        "type": "object",
        "properties": {
          "addresses": {
            "type": "array",
            "description": "The addresses of the Customer.",
            "items": {
              "$ref": "#/components/schemas/Address"
            }
          },
          "name": {
            "type": "string",
            "description": "The name of the Customer. \n",
            "example": "AnyCompany Inc."
          },
          "terms": {
            "type": "string",
            "description": "The default payment terms for the Customer.\n\n**Note for Sage 100 Contractor**: the terms must be in the format \"##DY\", \"##MO\", or \"##TH\".\n",
            "example": "30DY"
          },
          "type": {
            "type": "string",
            "description": "The type of the Customer.\n\n**Note for Sage 100:** a list of possible values for this field can be found with the \"typnme\" column in the `clntyp` table, which requires a passthrough request. To learn more about passthrough requests, see [link](/agave-api/passthrough-requests#foundation-viewpoint-spectrum-and-viewpoint-vista).\n",
            "example": "Commercial"
          },
          "source_data": {
            "type": "object",
            "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
            "properties": {
              "ClientStatusRef": {
                "type": "object",
                "properties": {
                  "ObjectId": {
                    "type": "string",
                    "description": "The stage of the Customer. \n\n**Note for Sage 100:** a list of possible values for this field can be found with the \"recnum\" column in the `clnsts` table, which requires a passthrough request. To learn more about passthrough requests, see [link](/agave-api/passthrough-requests#foundation-viewpoint-spectrum-and-viewpoint-vista).\n",
                    "example": "1"
                  }
                }
              }
            }
          }
        }
      },
      "NewCustomer-6": {
        "required": [
          "name",
          "source_data"
        ],
        "type": "object",
        "properties": {
          "addresses": {
            "type": "array",
            "description": "The addresses of the Customer.",
            "items": {
              "$ref": "#/components/schemas/Address"
            }
          },
          "email": {
            "type": "string",
            "description": "The email address for contacting the Customer.",
            "example": "contact@agaveapitest.com"
          },
          "name": {
            "type": "string",
            "description": "The name of the Customer. \n",
            "example": "AnyCompany Inc."
          },
          "phone": {
            "type": "string",
            "description": "The phone number for contacting the Customer.",
            "example": "(123) 555-0100"
          },
          "status": {
            "type": "string",
            "description": "The type of the Customer.\n",
            "example": "Active",
            "enum": [
              "Active",
              "Hold",
              "Inactive"
            ]
          },
          "type": {
            "type": "string",
            "description": "The type of the Customer.",
            "example": "Client",
            "enum": [
              "Client",
              "One-time",
              "Service",
              "Standard"
            ]
          },
          "source_data": {
            "type": "object",
            "properties": {
              "CUST": {
                "type": "string",
                "description": "The five character code for the Customer. **Note for Sage 300 CRE**: this value will be auto-generated if it is not provided.\n",
                "example": "12345"
              }
            }
          }
        }
      },
      "NewCustomer-7": {
        "required": [
          "name",
          "tax_code_id",
          "terms",
          "source_data"
        ],
        "type": "object",
        "properties": {
          "addresses": {
            "type": "array",
            "description": "The addresses of the Customer.",
            "items": {
              "$ref": "#/components/schemas/Address"
            }
          },
          "email": {
            "type": "string",
            "description": "The email address for contacting the Customer.",
            "example": "contact@agaveapi.com"
          },
          "name": {
            "type": "string",
            "description": "The name of the Customer.",
            "example": "John Doe"
          },
          "phone": {
            "type": "string",
            "description": "The phone number for contacting the Customer.",
            "example": "(123) 555-0100"
          },
          "tax_code_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the defautl [Sales Tax Code](#tag--tax-codes) for the Customer."
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          },
          "terms": {
            "type": "string",
            "description": "The default payment terms for the Customer.",
            "example": "Net 30"
          },
          "type": {
            "type": "string",
            "description": "The type of Customer.",
            "example": "Contractor"
          },
          "website": {
            "type": "string",
            "description": "The web address of the Customer.",
            "example": "https://agaveapi.com/"
          },
          "source_data": {
            "type": "object",
            "properties": {
              "Customer_Code": {
                "type": "string",
                "example": "A123",
                "description": "A unique code of the Customer in Spectrum."
              }
            }
          }
        }
      },
      "NewCustomer-8": {
        "required": [
          "name"
        ],
        "type": "object",
        "properties": {
          "addresses": {
            "type": "array",
            "description": "The addresses of the Customer.",
            "items": {
              "$ref": "#/components/schemas/Address"
            }
          },
          "email": {
            "type": "string",
            "description": "The email address for contacting the Customer.",
            "example": "contact@agaveapi.com"
          },
          "name": {
            "type": "string",
            "description": "The name of the Customer.",
            "example": "John Doe"
          },
          "phone": {
            "type": "string",
            "description": "The phone number for contacting the Customer.",
            "example": "(123) 555-0100"
          },
          "status": {
            "type": "string",
            "enum": [
              "Active",
              "Inactive",
              "On Hold"
            ],
            "description": "The current status of the Customer.\n\n**Note for Viewpoint Vista**: the value for this field will default to \"Active\" if it is not included.\n",
            "example": "Active"
          },
          "tax_code_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the defautl [Sales Tax Code](#tag--tax-codes) for the Customer."
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          },
          "terms": {
            "type": "string",
            "description": "The default payment terms for the Customer.",
            "example": "Net 30 Days"
          },
          "website": {
            "type": "string",
            "description": "The web address of the Customer.",
            "example": "https://agaveapi.com/"
          }
        }
      },
      "NewContact-2": {
        "type": "object",
        "properties": {
          "email": {
            "description": "The Contact's email address.",
            "type": "string",
            "example": "contact@agaveapitest.com"
          },
          "full_name": {
            "description": "The Contact's full name.",
            "type": "string",
            "example": "John Doe"
          },
          "job_title": {
            "description": "The Contact's job title.",
            "type": "string",
            "example": "Project Manager"
          },
          "mobile_phone": {
            "description": "The Contact's mobile phone number.",
            "type": "string",
            "example": "(123) 555-0100"
          },
          "phone": {
            "description": "The Contact's phone number.",
            "type": "string",
            "example": "(123) 555-0100"
          }
        }
      },
      "NewContact-3": {
        "required": [
          "full_name",
          "source_data"
        ],
        "type": "object",
        "properties": {
          "email": {
            "description": "The Contact's email address.",
            "type": "string",
            "example": "contact@agaveapitest.com"
          },
          "full_name": {
            "description": "The Contact's full name.",
            "type": "string",
            "example": "John Doe"
          },
          "job_title": {
            "description": "The Contact's job title.",
            "type": "string",
            "example": "Project Manager"
          },
          "mobile_phone": {
            "description": "The Contact's mobile phone number.",
            "type": "string",
            "example": "(123) 555-0100"
          },
          "phone": {
            "description": "The Contact's phone number.",
            "type": "string",
            "example": "(123) 555-0100"
          },
          "source_data": {
            "type": "object",
            "properties": {
              "COCONT": {
                "type": "string",
                "description": "The three character code for the Contact. **Note for Sage 300 CRE**: this value will be auto-generated if it is not provided.\n",
                "example": "123"
              }
            }
          }
        }
      },
      "Lead": {
        "type": "object",
        "properties": {
          "id": {
            "allOf": [
              {
                "description": "The UUID of the Lead assigned by Agave."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "source_id": {
            "type": "string",
            "readOnly": true,
            "example": "12345",
            "description": "The ID of the Lead in the Source System."
          },
          "address": {
            "$ref": "#/components/schemas/Address"
          },
          "customer_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Customer](#tag--customers)."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "status": {
            "type": "string",
            "description": "The status of the Lead.",
            "example": "Active"
          },
          "source_create_time": {
            "allOf": [
              {
                "description": "The datetime the Lead was created."
              },
              {
                "$ref": "#/components/schemas/DateTimeProperty"
              }
            ]
          },
          "source_update_time": {
            "allOf": [
              {
                "description": "The datetime the Lead was last updated."
              },
              {
                "$ref": "#/components/schemas/DateTimeProperty"
              }
            ]
          }
        }
      },
      "Lead-2": {
        "allOf": [
          {
            "$ref": "#/components/schemas/Lead"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "https://api.servicetitan.io/jpm/v2/tenant/{tenantId}/jobs"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "id": 12345,
                      "active": true,
                      "name": "John Doe",
                      "type": "Commercial",
                      "address": {
                        "street": "123 Main Street",
                        "unit": "Unit 1",
                        "city": "AnyTown",
                        "state": "CA",
                        "zip": "19703",
                        "country": "USA",
                        "latitude": null,
                        "longitude": null
                      },
                      "customFields": [],
                      "balance": 100,
                      "doNotMail": false,
                      "doNotService": false,
                      "createdOn": "2022-01-01T00:00:00.000000Z",
                      "createdById": 12345,
                      "modifiedOn": "2022-01-01T00:00:00.000000Z",
                      "mergedToId": null
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "Opportunity": {
        "type": "object",
        "properties": {
          "id": {
            "allOf": [
              {
                "description": "The UUID of the Opportunity assigned by Agave."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "source_id": {
            "type": "string",
            "readOnly": true,
            "example": "12345",
            "description": "The ID of the Opportunity in the Source System."
          },
          "amount": {
            "type": "string",
            "description": "The monetary amount of the Opportunity.",
            "example": "150000"
          },
          "close_date": {
            "allOf": [
              {
                "description": "The date the Opportunity was closed."
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ]
          },
          "contact_ids": {
            "type": "array",
            "description": "The UUID assigned by Agave of the [Contact](#tag--contacts).",
            "items": {
              "$ref": "#/components/schemas/IdPropertyReadOnly"
            }
          },
          "creator_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Contact](#tag--contacts) that created the Opportunity."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "customer_ids": {
            "type": "array",
            "description": "The UUID assigned by Agave of the [Customer](#tag--customers).",
            "items": {
              "$ref": "#/components/schemas/IdPropertyReadOnly"
            }
          },
          "description": {
            "type": "string",
            "description": "A description of the Opportunity.",
            "example": "A new apartment building in South San Francisco."
          },
          "name": {
            "type": "string",
            "description": "The name of the Opportunity.",
            "example": "123 Apartment Project"
          },
          "probability": {
            "type": "string",
            "description": "The probability assigned to winning the Opportunity.",
            "example": "10"
          },
          "stage": {
            "type": "string",
            "description": "The current stage of the Opportunity.",
            "example": "Qualification"
          },
          "status": {
            "type": "string",
            "description": "The current status of the Opportunity.",
            "example": "Won"
          },
          "type": {
            "type": "string",
            "description": "The type of Opportunity.",
            "example": "newbusiness"
          },
          "source_create_time": {
            "allOf": [
              {
                "description": "The datetime the Opportunity was created in the Source System."
              },
              {
                "$ref": "#/components/schemas/DateTimeProperty"
              }
            ]
          },
          "source_update_time": {
            "allOf": [
              {
                "description": "The datetime the Opportunity was last updated in the Source System."
              },
              {
                "$ref": "#/components/schemas/DateTimeProperty"
              }
            ]
          }
        }
      },
      "Opportunity-2": {
        "allOf": [
          {
            "$ref": "#/components/schemas/Opportunity"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "https://api.hubapi.com/crm/v3/objects/deals"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "id": "11058909066",
                      "properties": {
                        "amount": "150000",
                        "amount_in_home_currency": "150000",
                        "closed_lost_reason": null,
                        "closed_won_reason": null,
                        "closedate": "2022-12-01T05:37:00.951Z",
                        "createdate": "2022-11-23T05:37:29.977Z",
                        "days_to_close": "7",
                        "deal_currency_code": null,
                        "dealname": "123 Apartment Project",
                        "dealstage": "qualifiedtobuy",
                        "dealtype": null,
                        "description": "DESC.",
                        "engagements_last_meeting_booked": null,
                        "engagements_last_meeting_booked_campaign": null,
                        "engagements_last_meeting_booked_medium": null,
                        "engagements_last_meeting_booked_source": null,
                        "hs_acv": null,
                        "hs_all_accessible_team_ids": null,
                        "hs_all_assigned_business_unit_ids": null,
                        "hs_all_collaborator_owner_ids": null,
                        "hs_all_deal_split_owner_ids": null,
                        "hs_all_owner_ids": "269408298",
                        "hs_all_team_ids": null,
                        "hs_analytics_latest_source": "OFFLINE",
                        "hs_analytics_latest_source_company": "OFFLINE",
                        "hs_analytics_latest_source_contact": "OFFLINE",
                        "hs_analytics_latest_source_data_1": "INTEGRATION",
                        "hs_analytics_latest_source_data_1_company": "INTEGRATION",
                        "hs_analytics_latest_source_data_1_contact": "INTEGRATION",
                        "hs_analytics_latest_source_data_2": "1267897",
                        "hs_analytics_latest_source_data_2_company": "1267897",
                        "hs_analytics_latest_source_data_2_contact": "1267897",
                        "hs_analytics_latest_source_timestamp": "2022-11-23T05:36:36.047Z",
                        "hs_analytics_latest_source_timestamp_company": null,
                        "hs_analytics_latest_source_timestamp_contact": "2022-11-23T05:36:36.047Z",
                        "hs_analytics_source": "OFFLINE",
                        "hs_analytics_source_data_1": "API",
                        "hs_analytics_source_data_2": "sample-contact",
                        "hs_arr": null,
                        "hs_campaign": null,
                        "hs_closed_amount": "0",
                        "hs_closed_amount_in_home_currency": "0",
                        "hs_created_by_user_id": "48320936",
                        "hs_createdate": "2022-11-23T05:37:29.977Z",
                        "hs_date_entered_appointmentscheduled": "2022-11-23T05:37:29.977Z",
                        "hs_date_entered_closedlost": null,
                        "hs_date_entered_closedwon": null,
                        "hs_date_entered_contractsent": null,
                        "hs_date_entered_decisionmakerboughtin": null,
                        "hs_date_entered_presentationscheduled": null,
                        "hs_date_entered_qualifiedtobuy": "2022-11-23T05:37:29.977Z",
                        "hs_date_exited_appointmentscheduled": "2022-11-23T05:37:29.977Z",
                        "hs_date_exited_closedlost": null,
                        "hs_date_exited_closedwon": null,
                        "hs_date_exited_contractsent": null,
                        "hs_date_exited_decisionmakerboughtin": null,
                        "hs_date_exited_presentationscheduled": null,
                        "hs_date_exited_qualifiedtobuy": null,
                        "hs_deal_amount_calculation_preference": null,
                        "hs_deal_stage_probability": "10",
                        "hs_deal_stage_probability_shadow": "10",
                        "hs_exchange_rate": null,
                        "hs_forecast_amount": "150000",
                        "hs_forecast_probability": null,
                        "hs_is_closed": "false",
                        "hs_is_closed_won": "false",
                        "hs_is_deal_split": "false",
                        "hs_lastmodifieddate": "2023-02-01T18:43:30.840Z",
                        "hs_latest_meeting_activity": null,
                        "hs_likelihood_to_close": null,
                        "hs_line_item_global_term_hs_discount_percentage": null,
                        "hs_line_item_global_term_hs_discount_percentage_enabled": null,
                        "hs_line_item_global_term_hs_recurring_billing_period": null,
                        "hs_line_item_global_term_hs_recurring_billing_period_enabled": null,
                        "hs_line_item_global_term_hs_recurring_billing_start_date": null,
                        "hs_line_item_global_term_hs_recurring_billing_start_date_enabled": null,
                        "hs_line_item_global_term_recurringbillingfrequency": null,
                        "hs_line_item_global_term_recurringbillingfrequency_enabled": null,
                        "hs_manual_forecast_category": null,
                        "hs_merged_object_ids": null,
                        "hs_mrr": null,
                        "hs_next_step": null,
                        "hs_num_associated_active_deal_registrations": "0",
                        "hs_num_associated_deal_registrations": "0",
                        "hs_num_associated_deal_splits": "0",
                        "hs_num_target_accounts": "0",
                        "hs_object_id": "11058909066",
                        "hs_pinned_engagement_id": null,
                        "hs_predicted_amount": null,
                        "hs_predicted_amount_in_home_currency": null,
                        "hs_priority": null,
                        "hs_projected_amount": "150000",
                        "hs_projected_amount_in_home_currency": "150000",
                        "hs_read_only": null,
                        "hs_sales_email_last_replied": null,
                        "hs_tag_ids": null,
                        "hs_tcv": null,
                        "hs_time_in_appointmentscheduled": "0",
                        "hs_time_in_closedlost": null,
                        "hs_time_in_closedwon": null,
                        "hs_time_in_contractsent": null,
                        "hs_time_in_decisionmakerboughtin": null,
                        "hs_time_in_presentationscheduled": null,
                        "hs_time_in_qualifiedtobuy": "6095210186",
                        "hs_unique_creation_key": null,
                        "hs_updated_by_user_id": "48320936",
                        "hs_user_ids_of_all_notification_followers": null,
                        "hs_user_ids_of_all_notification_unfollowers": null,
                        "hs_user_ids_of_all_owners": "48320936",
                        "hubspot_owner_assigneddate": "2022-11-23T05:37:29.977Z",
                        "hubspot_owner_id": "269408298",
                        "hubspot_team_id": null,
                        "notes_last_contacted": null,
                        "notes_last_updated": null,
                        "notes_next_activity_date": null,
                        "num_associated_contacts": "2",
                        "num_contacted_notes": null,
                        "num_notes": null,
                        "pipeline": "default"
                      },
                      "createdAt": "2022-11-23T05:37:29.977Z",
                      "updatedAt": "2023-02-01T18:43:30.840Z",
                      "archived": false,
                      "associations": {
                        "companies": {
                          "results": [
                            {
                              "id": "11482706302",
                              "type": "deal_to_company"
                            },
                            {
                              "id": "11470069166",
                              "type": "deal_to_company_unlabeled"
                            },
                            {
                              "id": "11482706302",
                              "type": "deal_to_company_unlabeled"
                            }
                          ]
                        },
                        "contacts": {
                          "results": [
                            {
                              "id": "51",
                              "type": "deal_to_contact"
                            },
                            {
                              "id": "151",
                              "type": "deal_to_contact"
                            }
                          ]
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "Opportunity-3": {
        "allOf": [
          {
            "$ref": "#/components/schemas/Opportunity"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "https://agave-sandbox.pipedrive.com/v1/deals"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "id": 1,
                      "creator_user_id": {
                        "id": 17244697,
                        "name": "Sandbox Agave",
                        "email": "pipedrive-sandbox@agavesearch.com",
                        "has_pic": 0,
                        "pic_hash": null,
                        "active_flag": true,
                        "value": 17244697
                      },
                      "user_id": {
                        "id": 17244697,
                        "name": "Sandbox Agave",
                        "email": "pipedrive-sandbox@agavesearch.com",
                        "has_pic": 0,
                        "pic_hash": null,
                        "active_flag": true,
                        "value": 17244697
                      },
                      "person_id": {
                        "active_flag": true,
                        "name": "Jane Doe",
                        "email": [
                          {
                            "value": "",
                            "primary": true
                          }
                        ],
                        "phone": [
                          {
                            "value": "",
                            "primary": true
                          }
                        ],
                        "owner_id": 17244697,
                        "value": 1
                      },
                      "org_id": {
                        "name": "Agave",
                        "people_count": 5,
                        "owner_id": 17117394,
                        "address": "123 Main Street, San Francisco, CA, USA",
                        "active_flag": true,
                        "cc_email": "agave-sandbox@pipedrivemail.com",
                        "value": 1
                      },
                      "stage_id": 5,
                      "title": "Agave deal",
                      "value": 1000000,
                      "currency": "USD",
                      "add_time": "2023-01-24 00:15:39",
                      "update_time": "2023-02-21 18:28:14",
                      "stage_change_time": "2023-02-21 18:28:14",
                      "active": true,
                      "deleted": false,
                      "status": "open",
                      "probability": 35,
                      "next_activity_date": null,
                      "next_activity_time": null,
                      "next_activity_id": null,
                      "last_activity_id": null,
                      "last_activity_date": null,
                      "lost_reason": null,
                      "visible_to": "3",
                      "close_time": null,
                      "pipeline_id": 1,
                      "won_time": null,
                      "first_won_time": null,
                      "lost_time": null,
                      "products_count": 0,
                      "files_count": 0,
                      "notes_count": 0,
                      "followers_count": 1,
                      "email_messages_count": 0,
                      "activities_count": 0,
                      "done_activities_count": 0,
                      "undone_activities_count": 0,
                      "participants_count": 1,
                      "expected_close_date": "2023-03-31",
                      "last_incoming_mail_time": null,
                      "last_outgoing_mail_time": null,
                      "label": null,
                      "renewal_type": "one_time",
                      "stage_order_nr": 4,
                      "person_name": "Jane Doe",
                      "org_name": "Agave",
                      "next_activity_subject": null,
                      "next_activity_type": null,
                      "next_activity_duration": null,
                      "next_activity_note": null,
                      "formatted_value": "$1,000,000",
                      "weighted_value": 350000,
                      "formatted_weighted_value": "$350,000",
                      "weighted_value_currency": "USD",
                      "rotten_time": null,
                      "owner_name": "Sandbox Agave",
                      "cc_email": "agave-sandbox+deal1@pipedrivemail.com",
                      "org_hidden": false,
                      "person_hidden": false
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "Opportunity-4": {
        "allOf": [
          {
            "$ref": "#/components/schemas/Opportunity"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "https://{domain}.salesforce.com/services/data/v54.0/queryAll/?q=SELECT+Fields(Standard)+from+Opportunity"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "attributes": {
                        "type": "Opportunity",
                        "url": "/services/data/v54.0/sobjects/Opportunity/12345"
                      },
                      "Id": "12345",
                      "IsDeleted": false,
                      "AccountId": "12345",
                      "IsPrivate": false,
                      "Name": "123 Apartment Project",
                      "Description": "A new apartment building in South San Francisco.",
                      "StageName": "Qualification",
                      "Amount": 150000,
                      "Probability": 10,
                      "ExpectedRevenue": 15000,
                      "TotalOpportunityQuantity": null,
                      "CloseDate": "2022-01-01",
                      "Type": "New Business",
                      "NextStep": null,
                      "LeadSource": "Purchased List",
                      "IsClosed": false,
                      "IsWon": true,
                      "ForecastCategory": "Pipeline",
                      "ForecastCategoryName": "Pipeline",
                      "CampaignId": null,
                      "HasOpportunityLineItem": false,
                      "Pricebook2Id": null,
                      "OwnerId": "12345",
                      "CreatedDate": "2022-01-01T00:00:00.000+0000",
                      "CreatedById": "12345",
                      "LastModifiedDate": "2022-01-01T00:00:00.000+0000",
                      "LastModifiedById": "12345",
                      "SystemModstamp": "2022-01-01T00:00:00.000+0000",
                      "LastActivityDate": null,
                      "PushCount": 0,
                      "LastStageChangeDate": null,
                      "FiscalQuarter": 1,
                      "FiscalYear": 2022,
                      "Fiscal": "2022 1",
                      "ContactId": null,
                      "LastViewedDate": null,
                      "LastReferencedDate": null,
                      "HasOpenActivity": false,
                      "HasOverdueTask": false,
                      "LastAmountChangedHistoryId": null,
                      "LastCloseDateChangedHistoryId": null
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "NewOpportunity": {
        "type": "object",
        "properties": {
          "amount": {
            "type": "string",
            "description": "The monetary amount of the Opportunity.",
            "example": "150000"
          },
          "close_date": {
            "allOf": [
              {
                "description": "The date the Opportunity was closed."
              },
              {
                "$ref": "#/components/schemas/DateProperty"
              }
            ]
          },
          "contact_ids": {
            "type": "array",
            "description": "The UUID assigned by Agave of the [Contact](#tag--contacts).",
            "items": {
              "$ref": "#/components/schemas/IdPropertyWriteOnly"
            }
          },
          "customer_ids": {
            "type": "array",
            "description": "The UUID assigned by Agave of the [Customer](#tag--customers).",
            "items": {
              "$ref": "#/components/schemas/IdPropertyWriteOnly"
            }
          },
          "description": {
            "type": "string",
            "description": "A description of the Opportunity.",
            "example": "A new apartment building in South San Francisco."
          },
          "name": {
            "type": "string",
            "description": "The name of the Opportunity.",
            "example": "123 Apartment Project"
          },
          "probability": {
            "type": "string",
            "description": "The probability assigned to winning the Opportunity.",
            "example": "10"
          },
          "stage": {
            "type": "string",
            "description": "The current stage of the Opportunity.",
            "example": "Qualification"
          },
          "status": {
            "type": "string",
            "description": "The current status of the Opportunity.",
            "example": "Won"
          },
          "type": {
            "type": "string",
            "description": "The type of Opportunity.",
            "example": "newbusiness"
          }
        }
      },
      "File": {
        "type": "object",
        "properties": {
          "id": {
            "allOf": [
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              },
              {
                "description": "The UUID of the File assigned by Agave."
              }
            ]
          },
          "source_id": {
            "type": "string",
            "readOnly": true,
            "example": "12345",
            "description": "The ID of the File in the Source System."
          },
          "creator_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Contact](#tag--contacts) that created the File."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "file_version_id": {
            "allOf": [
              {
                "description": "The UUID (assigned by Agave) of the latest version of the [File Version](#tag--file-versions)."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "file_version_source_id": {
            "allOf": [
              {
                "description": "The ID of the latest version of the [File Version](#tag--file-versions) in the Source System."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "filename": {
            "type": "string",
            "description": "The name of the File with its extension.",
            "example": "Test_File.pdf"
          },
          "folder_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the File's [Folder](#tag--folders)."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "name": {
            "type": "string",
            "description": "The name or title of the File.",
            "example": "Test_File"
          },
          "notes": {
            "type": "array",
            "description": "The notes attached to the File.",
            "items": {
              "example": "This File is confidential."
            }
          },
          "preview_url": {
            "type": "string",
            "description": "A URL at which the File can be previewed in a browser.",
            "example": "https://storage.agaveapi.com/preview/file.pdf?signature=xxx&expires_at=20220101T000001Z"
          },
          "size": {
            "type": "string",
            "description": "The size of the File.",
            "example": 98765
          },
          "type": {
            "type": "string",
            "description": "The type of the File.",
            "example": "Adobe Acrobat PDF"
          },
          "url": {
            "type": "string",
            "description": "A URL at which the File can be accessed or downloaded.",
            "example": "https://storage.agaveapi.com/download/file.pdf?signature=xxx&expires_at=20220530T031901Z"
          },
          "version": {
            "type": "string",
            "description": "The version number of the File.",
            "example": "4"
          },
          "source_create_time": {
            "allOf": [
              {
                "description": "The datetime the File was created."
              },
              {
                "$ref": "#/components/schemas/DateTimeProperty"
              }
            ]
          },
          "source_update_time": {
            "allOf": [
              {
                "description": "The datetime the File was last updated."
              },
              {
                "$ref": "#/components/schemas/DateTimeProperty"
              }
            ]
          }
        },
        "required": [
          "id",
          "source_id"
        ]
      },
      "File-2": {
        "allOf": [
          {
            "$ref": "#/components/schemas/File"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "https://us1.aconex.com/api/projects/{projectId}}/register"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "@attributes": {
                        "DocumentId": "12345"
                      },
                      "DateApproved": [],
                      "AsBuiltRequired": "false",
                      "Attribute1": {
                        "AttributeTypeNames": [],
                        "AttributeType": "ATTRIBUTE1"
                      },
                      "Attribute2": {
                        "AttributeTypeNames": {
                          "AttributeTypeName": "123 Location"
                        },
                        "AttributeType": "ATTRIBUTE2"
                      },
                      "Attribute3": {
                        "AttributeTypeNames": [],
                        "AttributeType": "ATTRIBUTE3"
                      },
                      "Attribute4": {
                        "AttributeTypeNames": [],
                        "AttributeType": "ATTRIBUTE4"
                      },
                      "Author": "AnyCompany Inc",
                      "AuthorisedBy": [],
                      "Category": [],
                      "Check1": "false",
                      "Check2": "false",
                      "Comments": [],
                      "Confidential": "false",
                      "ContractDeliverable": "false",
                      "Current": "true",
                      "Date1": [],
                      "Date2": [],
                      "DateCreated": [],
                      "DateForReview": [],
                      "DateModified": "2022-01-01T00:00:00Z",
                      "DateReviewed": [],
                      "Discipline": "Architectural",
                      "DocumentNumber": "A123",
                      "DocumentStatus": "For Design",
                      "DocumentType": "Drawing",
                      "FileSize": "98765",
                      "Filename": "Test_File.pdf",
                      "MarkupLastModifiedDate": [],
                      "MilestoneDate": [],
                      "NumberOfMarkups": "0",
                      "PlannedSubmissionDate": [],
                      "PrintSize": [],
                      "Reference": [],
                      "ReviewSource": "None",
                      "ReviewStatus": "None",
                      "Revision": "0",
                      "RevisionDate": "2022-01-01T00:00:00Z",
                      "Scale": "0:0",
                      "Title": "Test File",
                      "ToClientDate": [],
                      "VersionNumber": 5
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "File-3": {
        "allOf": [
          {
            "$ref": "#/components/schemas/File"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "https://developer.api.autodesk.com/data/v1/projects/{project_ID}/folders/{folder_ID}/contents"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "type": "items",
                      "id": "urn:adsk.wipprod:dm.lineage:12345",
                      "attributes": {
                        "displayName": "Test_File",
                        "createTime": "2022-01-01T00:00:00.0000000Z",
                        "createUserId": "12345",
                        "createUserName": "John Doe",
                        "lastModifiedTime": "2022-01-01T00:00:00.0000000Z",
                        "lastModifiedUserId": "12345",
                        "lastModifiedUserName": "John Doe",
                        "hidden": false,
                        "reserved": false,
                        "extension": {
                          "type": "items:autodesk.bim360:File",
                          "version": "1.0",
                          "schema": {
                            "href": "https://developer.api.autodesk.com/schema/v1/versions/items:autodesk.bim360:File-1.0"
                          },
                          "data": {
                            "sourceFileName": "1324-1.las"
                          }
                        }
                      },
                      "links": {
                        "self": {
                          "href": "https://www.agaveapi.com/"
                        },
                        "webView": {
                          "href": "https://www.agaveapi.com/"
                        }
                      },
                      "relationships": {
                        "tip": {
                          "data": {
                            "type": "versions",
                            "id": "urn:adsk.wipprod:fs.file:12345?version=1"
                          },
                          "links": {
                            "related": {
                              "href": "https://www.agaveapi.com/"
                            }
                          }
                        },
                        "versions": {
                          "links": {
                            "related": {
                              "href": "https://www.agaveapi.com/"
                            }
                          }
                        },
                        "parent": {
                          "data": {
                            "type": "folders",
                            "id": "urn:adsk.wipprod:fs.folder:co.12345"
                          },
                          "links": {
                            "related": {
                              "href": "https://www.agaveapi.com/"
                            }
                          }
                        },
                        "refs": {
                          "links": {
                            "self": {
                              "href": "https://www.agaveapi.com/"
                            },
                            "related": {
                              "href": "https://www.agaveapi.com/"
                            }
                          }
                        },
                        "links": {
                          "links": {
                            "self": {
                              "href": "https://www.agaveapi.com/"
                            }
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "File-4": {
        "allOf": [
          {
            "$ref": "#/components/schemas/File"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "https://api.companycam.com/v2/projects/{projectId}/documents"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "id": "12345",
                      "company_id": "12345",
                      "byte_size": 98765,
                      "content_type": "application/pdf",
                      "creator_id": "12345",
                      "creator_type": "User",
                      "creator_name": "John Doe",
                      "project_id": "12345",
                      "name": "Test File.pdf",
                      "url": "https://static.companycam.com/documents/12345",
                      "created_at": 1641042000,
                      "updated_at": 1641042000
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "File-5": {
        "allOf": [
          {
            "$ref": "#/components/schemas/File"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "https://api.dropboxapi.com/{file_ID}/files/get_metadata"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      ".tag": "file",
                      "name": "Test_File",
                      "path_lower": "/Test_File.pdf",
                      "path_display": "/Test_File.pdf",
                      "id": "id:12345",
                      "client_modified": "2022-01-01T00:00:00Z",
                      "server_modified": "2022-01-01T00:00:00Z",
                      "rev": "4",
                      "size": 98765,
                      "is_downloadable": false,
                      "export_info": {
                        "export_as": "html",
                        "export_options": [
                          "html",
                          "markdown"
                        ]
                      },
                      "content_hash": "1abcdef28371571e460a82d4a785390fd68d50fd049916bda90f397f30cd55a77"
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "File-6": {
        "allOf": [
          {
            "$ref": "#/components/schemas/File"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "https://{domain}.egnyte.com/pubapi/v1/fs/ids/file/{file_ID}"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "uploaded": 12345,
                      "checksum": "12345",
                      "size": 98765,
                      "path": "/folder/Test_File.pdf",
                      "name": "Test_File.pdf",
                      "locked": false,
                      "permission": "Owner",
                      "is_folder": false,
                      "entry_id": "12345",
                      "group_id": "12345",
                      "last_modified": "Sat, 01 Jan 2022 00:00:00 GMT",
                      "uploaded_by": "John Doe",
                      "num_versions": 4,
                      "parent_id": "12345"
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "File-7": {
        "allOf": [
          {
            "$ref": "#/components/schemas/File"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as Agave received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "https://io.plangrid.com/projects/{projectId}/sheets"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "id": "12345",
                      "creator_user_id": 12345,
                      "last_editor_user_id": 12345,
                      "project_id": "12345",
                      "resolved_conflict": false,
                      "created_at": "2022-01-01T00:00:00.007Z",
                      "updated_at": "2022-01-01T00:00:00.007Z",
                      "device_created_at": "2022-01-01T00:00:00.007Z",
                      "device_updated_at": "2022-01-01T00:00:00.007Z",
                      "deleted_at": null,
                      "name": "Test_File.pdf",
                      "is_dynamic": false,
                      "folder_id": "12345",
                      "floorplans_count": 0,
                      "process_state": null,
                      "latitude": null,
                      "longitude": null,
                      "cascade_deleted_by_id": null,
                      "kind": "file",
                      "file_size": 98765,
                      "thumb_url": null,
                      "file_url": "www.agaveapi.com",
                      "original_url": "www.agaveapi.com",
                      "flattened_file_url": null
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "File-8": {
        "allOf": [
          {
            "$ref": "#/components/schemas/File"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "https://api.hubapi.com/files/v3/files/{item-id}"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "id": "97428150096",
                      "createdAt": "2023-01-05T08:53:50.265Z",
                      "updatedAt": "2023-01-10T22:17:27.372Z",
                      "archived": false,
                      "parentFolderId": "97428149386",
                      "name": "storyboard-16x9-blank1",
                      "path": "/updated folder name 42/storyboard-16x9-blank1.pdf",
                      "size": 322961,
                      "type": "DOCUMENT",
                      "extension": "pdf",
                      "defaultHostingUrl": "https://23429609.fs1.hubspotusercontent-na1.net/hubfs/23429609/updated%20folder%20name%2042/storyboard-16x9-blank1.pdf",
                      "url": "https://23429609.fs1.hubspotusercontent-na1.net/hubfs/23429609/updated%20folder%20name%2042/storyboard-16x9-blank1.pdf",
                      "isUsableInContent": true,
                      "access": "PUBLIC_INDEXABLE"
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "File-9": {
        "allOf": [
          {
            "$ref": "#/components/schemas/File"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "https://graph.microsoft.com/v1.0/me/drive/items/{item-id}"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "@odata.context": "https://graph.microsoft.com/v1.0/$metadata#users('29e13967-4748-47bc-ab37-e45b431dbcc6')/drive/items/$entity",
                      "@microsoft.graph.downloadUrl": "https://agaveapi-my.sharepoint.com/personal/project-user-1_agaveapi_onmicrosoft_com/_layouts/15/download.aspx?UniqueId=...",
                      "createdDateTime": "2022-06-13T22:35:30Z",
                      "eTag": "\"{8297ACE7-46F4-40F0-8B84-4AACDF1E7605},1\"",
                      "id": "01ZIKLJ27HVSLYF5CG6BAIXBCKVTPR45QF",
                      "lastModifiedDateTime": "2022-06-13T22:35:30Z",
                      "name": "logo-square-inverse.png",
                      "webUrl": "https://agaveapi-my.sharepoint.com/personal/project-user-1_agaveapi_onmicrosoft_com/Documents/logo-square-inverse.png",
                      "cTag": "\"c:{8297ACE7-46F4-40F0-8B84-4AACDF1E7605},1\"",
                      "size": 17687,
                      "createdBy": {
                        "user": {
                          "email": "project-user-1@agaveapi.onmicrosoft.com",
                          "id": "29e13967-4748-47bc-ab37-e45b431dbcc6",
                          "displayName": "Project1 User"
                        }
                      },
                      "lastModifiedBy": {
                        "user": {
                          "email": "project-user-1@agaveapi.onmicrosoft.com",
                          "id": "29e13967-4748-47bc-ab37-e45b431dbcc6",
                          "displayName": "Project1 User"
                        }
                      },
                      "parentReference": {
                        "driveType": "business",
                        "driveId": "b!1CemnVlz_k6r1yqAswdZ0PAHyHPfLzBEhZfzTWGyp8-N_b0CCmn7TqcIfAPT5EcQ",
                        "id": "01ZIKLJ256Y2GOVW7725BZO354PWSELRRZ",
                        "path": "/drive/root:"
                      },
                      "file": {
                        "mimeType": "image/png",
                        "hashes": {
                          "quickXorHash": "L0E5F25wr3rkuKB57jfIqZwHV2I="
                        }
                      },
                      "fileSystemInfo": {
                        "createdDateTime": "2022-06-13T22:35:30Z",
                        "lastModifiedDateTime": "2022-06-13T22:35:30Z"
                      },
                      "image": {
                        "height": 512,
                        "width": 512
                      }
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "File-10": {
        "allOf": [
          {
            "$ref": "#/components/schemas/File"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "https://agave-sandbox.pipedrive.com/v1/files"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "id": 2,
                      "user_id": 17244697,
                      "log_id": null,
                      "add_time": "2023-01-24 01:29:30",
                      "update_time": "2023-01-24 01:29:30",
                      "file_name": "05adb0ae-4d5a-47ca-b542-acd78b2efc9c.jpg",
                      "file_size": 26638,
                      "active_flag": true,
                      "inline_flag": true,
                      "remote_location": "s3",
                      "remote_id": "company/12577477/user/17244697/profile-pictures/05adb0ae-4d5a-47ca-b542-acd78b2efc9c.jpg",
                      "s3_bucket": "pipedrive-profile-pics",
                      "url": "https://agave-sandbox.pipedrive.com/api/v1/files/2/download",
                      "name": "4dc5724a57d05833bb24aaa30b832ed65405d0fa_512.jpg",
                      "description": null,
                      "deal_id": null,
                      "lead_id": null,
                      "person_id": null,
                      "org_id": null,
                      "product_id": null,
                      "activity_id": null,
                      "deal_name": null,
                      "lead_name": null,
                      "person_name": null,
                      "org_name": null,
                      "product_name": null,
                      "mail_message_id": null,
                      "mail_template_id": null,
                      "cid": null,
                      "file_type": "img"
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "File-11": {
        "allOf": [
          {
            "$ref": "#/components/schemas/File"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as Agave received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "https://io.plangrid.com/projects/{projectId}/sheets"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "created_at": "2022-01-01T00:00:00.00000+00:00",
                      "created_by": {
                        "email": "contact@agaveapi.com",
                        "uid": "12345",
                        "url": "https://io.plangrid.com/projects/{projectId}/users/{userId}"
                      },
                      "deleted_at": null,
                      "file_type": "Adobe Acrobat PDF",
                      "name": "Test_File.pdf",
                      "namespace": "documents",
                      "parent_uid": "12345",
                      "path": "12345",
                      "project_uid": "12345",
                      "type": "file",
                      "uid": "12345",
                      "updated_at": "2022-01-01T00:00:00.00000+00:00",
                      "updated_by": {
                        "email": "contact@agaveapi.com",
                        "uid": "12345",
                        "url": "https://io.plangrid.com/projects/{projectId}/users/{userId}"
                      },
                      "url": "https://www.agaveapi.com/",
                      "versions": [
                        {
                          "created_at": "2022-01-01T00:00:00.00000+00:00",
                          "deleted_at": null,
                          "document_uid": "12345",
                          "filename": "Test_File.pdf",
                          "project_uid": "12345",
                          "s3_key": "12345.pdf",
                          "size": 98765,
                          "uid": "12345"
                        }
                      ]
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "File-12": {
        "allOf": [
          {
            "$ref": "#/components/schemas/File"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "https://api.procore.com/rest/v1.0/folders/{folderId}"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "id": 12345,
                      "custom_fields": [],
                      "name": "Test_File.pdf",
                      "parent_id": 12345,
                      "size": 98765,
                      "description": null,
                      "updated_at": "2022-01-01T00:00:00Z",
                      "created_at": "2022-01-01T00:00:00Z",
                      "name_with_path": "Test-Project-1/01 Design Files/01 Bulletins & Addenda/Test_File.pdf",
                      "file_versions": [
                        {
                          "id": 12345,
                          "notes": null,
                          "url": "https://www.agaveapi.com/",
                          "size": 98765,
                          "created_at": "2022-01-01T00:00:00Z",
                          "number": 1,
                          "created_by": {
                            "id": 12345,
                            "login": "contact@agaveapi.com",
                            "name": "Agave API Admin"
                          },
                          "file_id": 12345,
                          "prostore_file": {
                            "id": 12345,
                            "name": "Test File.pdf",
                            "url": "https://www.agaveapi.com/",
                            "filename": "Test_File.pdf"
                          }
                        }
                      ],
                      "file_type": "Adobe Acrobat PDF",
                      "is_deleted": false,
                      "checked_out_by": null,
                      "checked_out_until": null,
                      "is_tracked": false,
                      "tracked_folder": null,
                      "private": false,
                      "legacy_id": 12345
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "NewFile": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "description": "The name or title of the File.",
            "example": "Test_File.pdf"
          },
          "content_type": {
            "type": "string",
            "description": "The MIME type of the uploaded File.",
            "example": "application/pdf"
          },
          "contents": {
            "type": "string",
            "format": "binary",
            "description": "The binary content of the File, sent as part of the `multipart/form-data` request."
          }
        }
      },
      "Folder": {
        "type": "object",
        "properties": {
          "id": {
            "allOf": [
              {
                "description": "The UUID of the Folder assigned by Agave."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "source_id": {
            "type": "string",
            "readOnly": true,
            "example": "12345",
            "description": "The ID of the Folder in the Source System."
          },
          "files": {
            "type": "array",
            "description": "A list of Files in the Folder.",
            "items": {
              "$ref": "#/components/schemas/File"
            }
          },
          "folders": {
            "type": "array",
            "description": "The child Folders in the Folder.",
            "items": {
              "$ref": "#/components/schemas/Folder"
            }
          },
          "name": {
            "type": "string",
            "description": "The name or title of the Folder.",
            "example": "01 Design Files"
          },
          "parent_id": {
            "allOf": [
              {
                "description": "The Agave UUID of the parent [Folder](#tag--folders)."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "project_id": {
            "allOf": [
              {
                "description": "The Agave UUID of the [Project](#tag--projects) associated with the Folder."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "source_create_time": {
            "allOf": [
              {
                "description": "The datetime the Folder was created."
              },
              {
                "$ref": "#/components/schemas/DateTimeProperty"
              }
            ]
          },
          "source_update_time": {
            "allOf": [
              {
                "description": "The datetime the Folder was last updated."
              },
              {
                "$ref": "#/components/schemas/DateTimeProperty"
              }
            ]
          }
        },
        "required": [
          "id",
          "source_id",
          "name"
        ]
      },
      "Folder-2": {
        "allOf": [
          {
            "$ref": "#/components/schemas/Folder"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "https://developer.api.autodesk.com/data/v1/projects/{Project_ID}/folders/{folder_ID}"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "type": "folders",
                      "id": "urn:adsk.wipprod:fs.folder:co.12345",
                      "attributes": {
                        "name": "01 Design Files",
                        "displayName": "01 Design Files",
                        "createTime": "2022-01-01T00:00:00.0000000Z",
                        "createUserId": 12345,
                        "createUserName": "John Doe",
                        "lastModifiedTime": "2022-01-01T00:00:00.0000000Z",
                        "lastModifiedUserId": "12345",
                        "lastModifiedUserName": "John Doe",
                        "lastModifiedTimeRollup": "2022-01-01T00:00:00.0000000Z",
                        "objectCount": 616,
                        "hidden": false,
                        "extension": {
                          "type": "folders:autodesk.bim360:Folder",
                          "version": "1.0",
                          "schema": {
                            "href": "https://developer.api.autodesk.com/schema/v1/versions/folders:autodesk.bim360:Folder-1.0"
                          },
                          "data": {
                            "visibleTypes": [
                              "items:autodesk.bim360:File"
                            ],
                            "actions": [
                              "CONVERT"
                            ],
                            "allowedTypes": [
                              "items:autodesk.bim360:File",
                              "folders:autodesk.bim360:Folder"
                            ],
                            "namingStandardIds": []
                          }
                        }
                      },
                      "links": {
                        "self": {
                          "href": "https://developer.api.autodesk.com/data/v1/projects/{Project_ID}/folders/{folderId}"
                        },
                        "webView": {
                          "href": "https://docs.b360.autodesk.com/projects/{Project_ID}/folders/urn%3Aadsk.wipprod%3Afs.folder%3Aco.12345"
                        }
                      },
                      "relationships": {
                        "contents": {
                          "links": {
                            "related": {
                              "href": "https://developer.api.autodesk.com/data/v1/projects/{Project_Id}/folders/urn:adsk.wipprod:fs.folder:co.12345/contents"
                            }
                          }
                        },
                        "parent": {
                          "data": {
                            "type": "folders",
                            "id": "urn:adsk.wipprod:fs.folder:co.12345"
                          },
                          "links": {
                            "related": {
                              "href": "https://developer.api.autodesk.com/data/v1/projects/{Project_ID}/folders/{Folder_ID/parent"
                            }
                          }
                        },
                        "refs": {
                          "links": {
                            "self": {
                              "href": "https://developer.api.autodesk.com/data/v1/projects/{Project_ID}/folders/{Folder_ID}/relationships/refs"
                            },
                            "related": {
                              "href": "https://developer.api.autodesk.com/data/v1/projects/{Project_ID}/folders/{Folder_ID}/refs"
                            }
                          }
                        },
                        "links": {
                          "links": {
                            "self": {
                              "href": "https://developer.api.autodesk.com/data/v1/projects/{Project_ID}/folders/{Folder_ID}/relationships/links"
                            }
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "NewFileTransfer": {
        "type": "object",
        "properties": {
          "source": {
            "type": "object",
            "description": "These properties detail where the source File should be transferred from.",
            "properties": {
              "url": {
                "type": "string",
                "format": "url",
                "description": "The publicly-available URL of the File that you want to transfer to a Source System.",
                "example": "https://s3.amazonaws.com/test-file.pdf"
              }
            }
          },
          "target": {
            "type": "object",
            "description": "These properties detail where the File should be transferred to.",
            "properties": {
              "name": {
                "type": "string",
                "description": "The name or title of the File.",
                "example": "Test_File.pdf"
              },
              "content_type": {
                "type": "string",
                "description": "The MIME type of the uploaded File.",
                "example": "application/pdf"
              }
            }
          }
        }
      },
      "FileTransferStatus": {
        "type": "object",
        "properties": {
          "id": {
            "allOf": [
              {
                "description": "The UUID of the File Transfer assigned by Agave."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "source": {
            "type": "object",
            "description": "These properties detail where the File should be transferred from.",
            "properties": {
              "url": {
                "type": "string",
                "format": "url",
                "description": "The publicly-available URL of the File to transfer to the Source System.",
                "example": "https://s3.amazonaws.com/test-file.pdf"
              }
            }
          },
          "target": {
            "type": "object",
            "description": "This is information about where the File should be transferred to.",
            "properties": {
              "name": {
                "type": "string",
                "description": "The name or title of the File.",
                "example": "Test_File.pdf"
              },
              "content_type": {
                "type": "string",
                "description": "The MIME type of the uploaded File.",
                "example": "application/pdf"
              }
            }
          },
          "file": {
            "allOf": [
              {
                "description": "This property is initially `null`. When the status changes to `finished`, it will show the newly-uploaded File."
              },
              {
                "$ref": "#/components/schemas/File"
              }
            ]
          },
          "progress": {
            "type": "number",
            "description": "The percentage (0-100) of the File that has been copied from the Source to the Target so far.",
            "example": 24
          },
          "status": {
            "type": "string",
            "enum": [
              "scheduled",
              "initializing",
              "downloading",
              "chunking",
              "copying",
              "finalizing",
              "finished",
              "failed",
              "aborted"
            ]
          },
          "error": {
            "description": "The error message when the File Transfer fails (status: `failed`).\n",
            "type": "string",
            "example": "Failed to move file to {Source System}: Bad Request: {\\\"errors\\\":{\\\"name\\\":[\\\"has already been taken\\\"]}}\n"
          }
        },
        "required": [
          "id"
        ]
      },
      "scheduled": {
        "allOf": [
          {
            "$ref": "#/components/schemas/FileTransferStatus"
          },
          {
            "type": "object",
            "properties": {
              "file": {
                "example": null
              },
              "progress": {
                "example": 0
              },
              "status": {
                "example": "scheduled"
              },
              "error": {
                "example": null
              }
            }
          }
        ]
      },
      "initializing": {
        "allOf": [
          {
            "$ref": "#/components/schemas/FileTransferStatus"
          },
          {
            "type": "object",
            "properties": {
              "file": {
                "example": null
              },
              "progress": {
                "example": 1
              },
              "status": {
                "example": "initializing"
              },
              "error": {
                "example": null
              }
            }
          }
        ]
      },
      "downloading": {
        "allOf": [
          {
            "$ref": "#/components/schemas/FileTransferStatus"
          },
          {
            "type": "object",
            "properties": {
              "file": {
                "example": null
              },
              "status": {
                "example": "downloading"
              },
              "error": {
                "example": null
              },
              "progress": {
                "example": 4
              }
            }
          }
        ]
      },
      "chunking": {
        "allOf": [
          {
            "$ref": "#/components/schemas/FileTransferStatus"
          },
          {
            "type": "object",
            "properties": {
              "file": {
                "example": null
              },
              "status": {
                "example": "chunking"
              },
              "error": {
                "example": null
              },
              "progress": {
                "example": 50
              }
            }
          }
        ]
      },
      "copying": {
        "allOf": [
          {
            "$ref": "#/components/schemas/FileTransferStatus"
          },
          {
            "type": "object",
            "properties": {
              "file": {
                "example": null
              },
              "status": {
                "example": "copying"
              },
              "error": {
                "example": null
              },
              "progress": {
                "example": 54
              }
            }
          }
        ]
      },
      "finalizing": {
        "allOf": [
          {
            "$ref": "#/components/schemas/FileTransferStatus"
          },
          {
            "type": "object",
            "properties": {
              "file": {
                "example": null
              },
              "progress": {
                "example": 99
              },
              "status": {
                "example": "finalizing"
              },
              "error": {
                "example": null
              }
            }
          }
        ]
      },
      "finished": {
        "allOf": [
          {
            "$ref": "#/components/schemas/FileTransferStatus"
          },
          {
            "type": "object",
            "properties": {
              "progress": {
                "example": 100
              },
              "status": {
                "example": "finished"
              },
              "error": {
                "example": null
              }
            }
          }
        ]
      },
      "failed": {
        "allOf": [
          {
            "$ref": "#/components/schemas/FileTransferStatus"
          },
          {
            "type": "object",
            "properties": {
              "file": {
                "example": null
              },
              "status": {
                "example": "failed"
              }
            }
          }
        ]
      },
      "FileVersion": {
        "type": "object",
        "properties": {
          "id": {
            "allOf": [
              {
                "description": "The UUID of the File Version assigned by Agave."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "source_id": {
            "type": "string",
            "readOnly": true,
            "example": "12345",
            "description": "The ID of the File Version in the Source System."
          },
          "creator_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Contact](#tag--contacts) that created the File Version."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "filename": {
            "type": "string",
            "description": "The name of the File Version with its extension.",
            "example": "Test_File.pdf"
          },
          "name": {
            "type": "string",
            "description": "The name or title of the File Version.",
            "example": "Test_File_v1.pdf"
          },
          "number": {
            "type": "string",
            "description": "The File Version number.",
            "example": 2
          },
          "preview_url": {
            "type": "string",
            "description": "A URL at which the File Version can be previewed in a browser.",
            "example": "https://storage.agaveapi.com/preview/file.pdf?signature=xxx&expires_at=20220101T000001Z"
          },
          "size": {
            "type": "string",
            "description": "The size of the File Version in bytes.",
            "example": 965072
          },
          "url": {
            "type": "string",
            "description": "A URL at which the File Version can be accessed.",
            "example": "https://storage.procore.com/v4/"
          },
          "version": {
            "type": "string",
            "description": "The version number of the File Version.",
            "example": "4"
          },
          "source_create_time": {
            "allOf": [
              {
                "description": "The datetime the File Version was created."
              },
              {
                "$ref": "#/components/schemas/DateTimeProperty"
              }
            ]
          },
          "source_update_time": {
            "allOf": [
              {
                "description": "The datetime the File Version was last updated."
              },
              {
                "$ref": "#/components/schemas/DateTimeProperty"
              }
            ]
          }
        }
      },
      "FileVersion-2": {
        "allOf": [
          {
            "$ref": "#/components/schemas/FileVersion"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "https://us1.aconex.com/api/projects/{projectId}}/register"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "@attributes": {
                        "DocumentId": "12345"
                      },
                      "DateApproved": [],
                      "AsBuiltRequired": "false",
                      "Attribute1": {
                        "AttributeTypeNames": [],
                        "AttributeType": "ATTRIBUTE1"
                      },
                      "Attribute2": {
                        "AttributeTypeNames": {
                          "AttributeTypeName": "123 Location"
                        },
                        "AttributeType": "ATTRIBUTE2"
                      },
                      "Attribute3": {
                        "AttributeTypeNames": [],
                        "AttributeType": "ATTRIBUTE3"
                      },
                      "Attribute4": {
                        "AttributeTypeNames": [],
                        "AttributeType": "ATTRIBUTE4"
                      },
                      "Author": "AnyCompany Inc",
                      "AuthorisedBy": [],
                      "Category": [],
                      "Check1": "false",
                      "Check2": "false",
                      "Comments": [],
                      "Confidential": "false",
                      "ContractDeliverable": "false",
                      "Current": "true",
                      "Date1": [],
                      "Date2": [],
                      "DateCreated": [],
                      "DateForReview": [],
                      "DateModified": "2022-01-01T00:00:00Z",
                      "DateReviewed": [],
                      "Discipline": "Architectural",
                      "DocumentNumber": "A123",
                      "DocumentStatus": "For Design",
                      "DocumentType": "Drawing",
                      "FileSize": "98765",
                      "Filename": "Test_File.pdf",
                      "MarkupLastModifiedDate": [],
                      "MilestoneDate": [],
                      "NumberOfMarkups": "0",
                      "PlannedSubmissionDate": [],
                      "PrintSize": [],
                      "Reference": [],
                      "ReviewSource": "None",
                      "ReviewStatus": "None",
                      "Revision": "0",
                      "RevisionDate": "2022-01-01T00:00:00Z",
                      "Scale": "0:0",
                      "Title": "Test File",
                      "ToClientDate": [],
                      "VersionNumber": 2
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "FileVersion-3": {
        "allOf": [
          {
            "$ref": "#/components/schemas/FileVersion"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "https://developer.api.autodesk.com/data/v1/projects/{project_ID}/items/{item_ID}/versions"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "type": "versions",
                      "id": "urn:adsk.wipprod:fs.file.vf.12345?version=1",
                      "attributes": {
                        "displayName": "Test_File",
                        "createTime": "2022-01-01T00:00:00.0000000Z",
                        "createUserId": "12345",
                        "createUserName": "John Doe",
                        "lastModifiedTime": "2022-01-01T00:00:00.0000000Z",
                        "lastModifiedUserId": "12345",
                        "lastModifiedUserName": "John Doe",
                        "versionNumber": 2,
                        "storageSize": 965072,
                        "fileType": "las",
                        "extension": {
                          "type": "items:autodesk.bim360:File",
                          "version": "1.0",
                          "schema": {
                            "href": "https://developer.api.autodesk.com/schema/v1/versions/items:autodesk.bim360:File-1.0"
                          },
                          "data": {
                            "processState": "PROCESSING_COMPLETE",
                            "extractionState": "UNSUPPORTED",
                            "splittingState": "NOT_SPLIT",
                            "reviewState": "NOT_IN_REVIEW",
                            "revisionDisplayLabel": "2",
                            "sourceFileName": "Test_File.pdf",
                            "conformingStatus": "NONE"
                          }
                        }
                      },
                      "links": {
                        "self": {
                          "href": "https://www.agaveapi.com/"
                        },
                        "webView": {
                          "href": "https://www.agaveapi.com/"
                        }
                      },
                      "relationships": {
                        "tip": {
                          "data": {
                            "type": "versions",
                            "id": "urn:adsk.wipprod:fs.file:12345?version=1"
                          },
                          "links": {
                            "related": {
                              "href": "https://www.agaveapi.com/"
                            }
                          }
                        },
                        "versions": {
                          "links": {
                            "related": {
                              "href": "https://www.agaveapi.com/"
                            }
                          }
                        },
                        "parent": {
                          "data": {
                            "type": "folders",
                            "id": "urn:adsk.wipprod:fs.folder:co.12345"
                          },
                          "links": {
                            "related": {
                              "href": "https://www.agaveapi.com/"
                            }
                          }
                        },
                        "refs": {
                          "links": {
                            "self": {
                              "href": "https://www.agaveapi.com/"
                            },
                            "related": {
                              "href": "https://www.agaveapi.com/"
                            }
                          }
                        },
                        "links": {
                          "links": {
                            "self": {
                              "href": "https://www.agaveapi.com/"
                            }
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "FileVersion-4": {
        "allOf": [
          {
            "$ref": "#/components/schemas/FileVersion"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "https://api.procore.com/rest/v1.0/file_versions/{id}"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "id": 12345,
                      "notes": null,
                      "url": "https://storage.procore.com/v4/d/...",
                      "size": 98765,
                      "created_at": "2022-01-01T00:00:00Z",
                      "number": 12345,
                      "created_by": {
                        "id": 12345,
                        "login": "contact@agaveapi.com",
                        "name": "John Doe"
                      },
                      "file_id": 12345,
                      "prostore_file": {
                        "id": 12345,
                        "name": "Test_File",
                        "url": "https://storage.procore.com/v4/d/...",
                        "filename": "Test_File.pdf"
                      }
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "RootFolder": {
        "type": "object",
        "properties": {
          "id": {
            "allOf": [
              {
                "description": "The UUID of the Root Folder assigned by Agave."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "source_id": {
            "type": "string",
            "readOnly": true,
            "example": "12345",
            "description": "The ID of the Root Folder in the Source System."
          },
          "files": {
            "type": "array",
            "description": "A list of Files in the Root Folder.",
            "items": {
              "$ref": "#/components/schemas/File"
            }
          },
          "folders": {
            "type": "array",
            "description": "The child Folders in the Folder.",
            "items": {
              "$ref": "#/components/schemas/Folder"
            }
          },
          "name": {
            "type": "string",
            "description": "The name or title of the Root Folder.",
            "example": "01 Design Files"
          },
          "parent_id": {
            "allOf": [
              {
                "description": "The Agave UUID of the parent Root Folder. This value will always be null."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "project_id": {
            "allOf": [
              {
                "description": "The Agave UUID of the [Project](#tag--projects) associated with the Root Folder."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "source_create_time": {
            "allOf": [
              {
                "description": "The datetime the Root Folder was created."
              },
              {
                "$ref": "#/components/schemas/DateTimeProperty"
              }
            ]
          },
          "source_update_time": {
            "allOf": [
              {
                "description": "The datetime the Root Folder was last updated."
              },
              {
                "$ref": "#/components/schemas/DateTimeProperty"
              }
            ]
          }
        }
      },
      "RootFolder-2": {
        "allOf": [
          {
            "$ref": "#/components/schemas/RootFolder"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "N/A"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {}
                  }
                }
              }
            }
          }
        ]
      },
      "RootFolder-3": {
        "allOf": [
          {
            "$ref": "#/components/schemas/Folder"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "https://developer.api.autodesk.com/data/v1/projects/{Project_ID}/folders/{Folder_ID}"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "type": "folders",
                      "id": "urn:adsk.wipprod:fs.folder:co.12345",
                      "attributes": {
                        "name": "01 Design Files",
                        "displayName": "01 Design Files",
                        "createTime": "2022-01-01T00:00:00.0000000Z",
                        "createUserId": 12345,
                        "createUserName": "John Doe",
                        "lastModifiedTime": "2022-01-01T00:00:00.0000000Z",
                        "lastModifiedUserId": "12345",
                        "lastModifiedUserName": "John Doe",
                        "lastModifiedTimeRollup": "2022-01-01T00:00:00.0000000Z",
                        "objectCount": 616,
                        "hidden": false,
                        "extension": {
                          "type": "folders:autodesk.bim360:Folder",
                          "version": "1.0",
                          "schema": {
                            "href": "https://developer.api.autodesk.com/schema/v1/versions/folders:autodesk.bim360:Folder-1.0"
                          },
                          "data": {
                            "visibleTypes": [
                              "items:autodesk.bim360:File"
                            ],
                            "actions": [
                              "CONVERT"
                            ],
                            "allowedTypes": [
                              "items:autodesk.bim360:File",
                              "folders:autodesk.bim360:Folder"
                            ],
                            "namingStandardIds": []
                          }
                        }
                      },
                      "links": {
                        "self": {
                          "href": "https://developer.api.autodesk.com/data/v1/projects/{Project_ID}/folders/{folderId}"
                        },
                        "webView": {
                          "href": "https://docs.b360.autodesk.com/projects/{Project_ID}/folders/urn%3Aadsk.wipprod%3Afs.folder%3Aco.12345"
                        }
                      },
                      "relationships": {
                        "contents": {
                          "links": {
                            "related": {
                              "href": "https://developer.api.autodesk.com/data/v1/projects/{Project_Id}/folders/urn:adsk.wipprod:fs.folder:co.12345/contents"
                            }
                          }
                        },
                        "parent": {
                          "data": {
                            "type": "folders",
                            "id": "urn:adsk.wipprod:fs.folder:co.12345"
                          },
                          "links": {
                            "related": {
                              "href": "https://developer.api.autodesk.com/data/v1/projects/{Project_ID}/folders/{Folder_ID/parent"
                            }
                          }
                        },
                        "refs": {
                          "links": {
                            "self": {
                              "href": "https://developer.api.autodesk.com/data/v1/projects/{Project_ID}/folders/{Folder_ID}/relationships/refs"
                            },
                            "related": {
                              "href": "https://developer.api.autodesk.com/data/v1/projects/{Project_ID}/folders/{Folder_ID}/refs"
                            }
                          }
                        },
                        "links": {
                          "links": {
                            "self": {
                              "href": "https://developer.api.autodesk.com/data/v1/projects/{Project_ID}/folders/{Folder_ID}/relationships/links"
                            }
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "RootFolder-4": {
        "allOf": [
          {
            "$ref": "#/components/schemas/RootFolder"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "https://api.companycam.com/v2/projects/{projectId}/documents"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "id": "12345",
                      "company_id": "12345",
                      "byte_size": 98765,
                      "content_type": "application/pdf",
                      "creator_id": "12345",
                      "creator_type": "User",
                      "creator_name": "John Doe",
                      "project_id": "12345",
                      "name": "Test_File.pdf",
                      "url": "https://static.companycam.com/documents/12345",
                      "created_at": 1641042000,
                      "updated_at": 1641042000
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "RootFolder-5": {
        "allOf": [
          {
            "$ref": "#/components/schemas/Folder"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "N/A"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {}
                  }
                }
              }
            }
          }
        ]
      },
      "RootFolder-6": {
        "allOf": [
          {
            "$ref": "#/components/schemas/Folder"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "https://developer.api.autodesk.com/data/v1/projects/{Project_ID}/folders/{Folder_ID}"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "name": "01 Design Files",
                      "lastModified": 1643643627000,
                      "uploaded": 1643647227437,
                      "count": 0,
                      "offset": 0,
                      "path": "/",
                      "folder_id": "12345",
                      "total_count": 2,
                      "is_folder": true,
                      "public_links": "files_folders",
                      "restrict_move_delete": true,
                      "allow_links": true,
                      "folders": [
                        {
                          "name": "Private",
                          "lastModified": 1643643627000,
                          "uploaded": 1643647227443,
                          "path": "/Private",
                          "folder_id": "12345",
                          "is_folder": true
                        },
                        {
                          "name": "Shared",
                          "lastModified": 1643643627000,
                          "uploaded": 1643647227595,
                          "path": "/Shared",
                          "folder_id": "12345",
                          "is_folder": true
                        }
                      ]
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "RootFolder-7": {
        "allOf": [
          {
            "$ref": "#/components/schemas/RootFolder"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as Agave received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "https://io.plangrid.com/projects/{projectId}/sheets"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {}
                  }
                }
              }
            }
          }
        ]
      },
      "RootFolder-8": {
        "allOf": [
          {
            "$ref": "#/components/schemas/Folder"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": null
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {}
                  }
                }
              }
            }
          }
        ]
      },
      "RootFolder-9": {
        "allOf": [
          {
            "$ref": "#/components/schemas/Folder"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "https://graph.microsoft.com/v1.0/me/drive/root"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "@odata.context": "https://graph.microsoft.com/v1.0/$metadata#users('29e13967-4748-47bc-ab37-e45b431dbcc6')/drive/root/$entity",
                      "createdDateTime": "2022-06-05T05:10:17Z",
                      "id": "01ZIKLJ256Y2GOVW7725BZO354PWSELRRZ",
                      "lastModifiedDateTime": "2022-06-24T04:33:03Z",
                      "name": "root",
                      "webUrl": "https://agaveapi-my.sharepoint.com/personal/project-user-1_agaveapi_onmicrosoft_com/Documents",
                      "size": 476155,
                      "parentReference": {
                        "driveType": "business",
                        "driveId": "b!1CemnVlz_k6r1yqAswdZ0PAHyHPfLzBEhZfzTWGyp8-N_b0CCmn7TqcIfAPT5EcQ"
                      },
                      "fileSystemInfo": {
                        "createdDateTime": "2022-06-05T05:10:17Z",
                        "lastModifiedDateTime": "2022-06-24T04:33:03Z"
                      },
                      "folder": {
                        "childCount": 3
                      },
                      "root": {}
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "RootFolder-10": {
        "allOf": [
          {
            "$ref": "#/components/schemas/RootFolder"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "https://api.procore.com/rest/v1.0/folders/{folderId}"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "id": 12345,
                      "name": "01 Design Files",
                      "name_with_path": "01 Design Files",
                      "parent_id": null,
                      "updated_at": "2022-01-01T00:00:00Z",
                      "is_deleted": false,
                      "is_recycle_bin": false,
                      "is_tracked": false,
                      "tracked_folder": null,
                      "has_children": true,
                      "has_children_files": true,
                      "has_children_folders": true,
                      "folders": [
                        {
                          "id": 67890,
                          "custom_fields": [],
                          "name": "01 Bulletins & Addend",
                          "name_with_path": "01 Design Files/01 Bulletins & Addend",
                          "parent_id": 12345,
                          "updated_at": "2022-01-01T00:00:00Z",
                          "is_deleted": false,
                          "is_recycle_bin": false,
                          "is_tracked": false,
                          "tracked_folder": null,
                          "has_children": true,
                          "has_children_files": true,
                          "has_children_folders": true,
                          "folders": [],
                          "files": [],
                          "private": false,
                          "read_only": false
                        }
                      ],
                      "files": [
                        {
                          "id": 23456,
                          "custom_fields": [],
                          "name": "Test_File.pdf",
                          "parent_id": 12345,
                          "size": 98765,
                          "description": null,
                          "updated_at": "2022-01-01T00:00:00Z",
                          "created_at": "2022-01-01T00:00:00Z",
                          "name_with_path": "01 Design Files/01 Bulletins & Addenda/Test File.pdf",
                          "file_versions": [
                            {
                              "id": 12345,
                              "notes": null,
                              "url": "https://www.agaveapi.com/",
                              "size": 98765,
                              "created_at": "2022-01-01T00:00:00Z",
                              "number": 1,
                              "created_by": {
                                "id": 12345,
                                "login": "contact@agaveapi.com",
                                "name": "Agave API Admin"
                              },
                              "file_id": 12345,
                              "prostore_file": {
                                "id": 12345,
                                "name": "Test File.pdf",
                                "url": "https://www.agaveapi.com/",
                                "filename": "Test_File.pdf"
                              }
                            }
                          ],
                          "file_type": "Adobe Acrobat PDF",
                          "is_deleted": false,
                          "checked_out_by": null,
                          "checked_out_until": null,
                          "is_tracked": false,
                          "tracked_folder": null,
                          "private": false,
                          "legacy_id": 12345
                        }
                      ],
                      "private": false,
                      "read_only": false
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "Folder-3": {
        "allOf": [
          {
            "$ref": "#/components/schemas/Folder"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "N/A"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {}
                  }
                }
              }
            }
          }
        ]
      },
      "Folder-4": {
        "allOf": [
          {
            "$ref": "#/components/schemas/Folder"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "https://api.companycam.com/v2/projects/{projectId}/documents"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "id": "12345",
                      "company_id": "12345",
                      "byte_size": 98765,
                      "content_type": "application/pdf",
                      "creator_id": "12345",
                      "creator_type": "User",
                      "creator_name": "John Doe",
                      "project_id": "12345",
                      "name": "Test_File.pdf",
                      "url": "https://static.companycam.com/documents/12345",
                      "created_at": 1641042000,
                      "updated_at": 1641042000
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "Folder-5": {
        "allOf": [
          {
            "$ref": "#/components/schemas/Folder"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "https://api.dropboxapi.com/{id}/files/get_metadata"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      ".tag": "folder",
                      "name": "01 Design Files",
                      "path_lower": "/01 Design Files",
                      "path_display": "/01 Design Files",
                      "id": "id:BkZJFZkO_BsAAAAAAAAADQ"
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "Folder-6": {
        "allOf": [
          {
            "$ref": "#/components/schemas/Folder"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "https://{domain}.egnyte.com/pubapi/v1/fs/ids/folder/{Folder_ID}"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "name": "01 Design Files",
                      "lastModified": 1643643627000,
                      "uploaded": 1643647227437,
                      "count": 0,
                      "offset": 0,
                      "path": "/",
                      "folder_id": "12345",
                      "total_count": 2,
                      "is_folder": true,
                      "public_links": "files_folders",
                      "restrict_move_delete": true,
                      "allow_links": true,
                      "folders": [
                        {
                          "name": "Private",
                          "lastModified": 1643643627000,
                          "uploaded": 1643647227443,
                          "path": "/Private",
                          "folder_id": "12345",
                          "is_folder": true
                        },
                        {
                          "name": "Shared",
                          "lastModified": 1643643627000,
                          "uploaded": 1643647227595,
                          "path": "/Shared",
                          "folder_id": "12345",
                          "is_folder": true
                        }
                      ]
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "Folder-7": {
        "allOf": [
          {
            "$ref": "#/components/schemas/Folder"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as Agave received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "https://io.plangrid.com/projects/{projectId}/sheets"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "id": "12345",
                      "creator_user_id": 12345,
                      "last_editor_user_id": 12345,
                      "project_id": "c3da50d8-b29e-4265-bef4-176f17a55f95",
                      "resolved_conflict": false,
                      "created_at": "2022-01-01T00:00:00.000Z",
                      "updated_at": "2022-01-01T00:00:00.000Z",
                      "device_created_at": "2022-01-01T00:00:00.000Z",
                      "device_updated_at": "2022-01-01T00:00:00.000Z",
                      "deleted_at": null,
                      "name": "01 Design Files",
                      "process_state": null,
                      "cascade_deleted_dependents_count": null,
                      "required_role": "follower",
                      "kind": "attachment"
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "Folder-8": {
        "allOf": [
          {
            "$ref": "#/components/schemas/Folder"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "https://api.hubapi.com/files/v3/folders/{item-id}"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "id": "97792243375",
                      "createdAt": "2023-01-09T07:06:45.353Z",
                      "updatedAt": "2023-01-11T21:04:47.105Z",
                      "archived": false,
                      "name": "test folder 2",
                      "path": "/test folder 2"
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "Folder-9": {
        "allOf": [
          {
            "$ref": "#/components/schemas/Folder"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "https://graph.microsoft.com/v1.0/me/drive/items/{item-id}"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "@odata.context": "https://graph.microsoft.com/v1.0/$metadata#users('29e13967-4748-47bc-ab37-e45b431dbcc6')/drive/items/$entity",
                      "createdDateTime": "2022-06-13T22:13:13Z",
                      "eTag": "\"{2669F267-352D-4888-BE4C-B3362E6352D2},1\"",
                      "id": "01ZIKLJ23H6JUSMLJVRBEL4TFTGYXGGUWS",
                      "lastModifiedDateTime": "2022-06-13T22:13:13Z",
                      "name": "FolderA",
                      "webUrl": "https://agaveapi-my.sharepoint.com/personal/project-user-1_agaveapi_onmicrosoft_com/Documents/FolderA",
                      "cTag": "\"c:{2669F267-352D-4888-BE4C-B3362E6352D2},0\"",
                      "size": 458468,
                      "createdBy": {
                        "application": {
                          "id": "8c467193-a5f9-4ef1-bbe4-e7b7e55b3909",
                          "displayName": "Postman"
                        },
                        "user": {
                          "email": "project-user-1@agaveapi.onmicrosoft.com",
                          "id": "29e13967-4748-47bc-ab37-e45b431dbcc6",
                          "displayName": "Project1 User"
                        }
                      },
                      "lastModifiedBy": {
                        "application": {
                          "id": "8c467193-a5f9-4ef1-bbe4-e7b7e55b3909",
                          "displayName": "Postman"
                        },
                        "user": {
                          "email": "project-user-1@agaveapi.onmicrosoft.com",
                          "id": "29e13967-4748-47bc-ab37-e45b431dbcc6",
                          "displayName": "Project1 User"
                        }
                      },
                      "parentReference": {
                        "driveType": "business",
                        "driveId": "b!1CemnVlz_k6r1yqAswdZ0PAHyHPfLzBEhZfzTWGyp8-N_b0CCmn7TqcIfAPT5EcQ",
                        "id": "01ZIKLJ256Y2GOVW7725BZO354PWSELRRZ",
                        "path": "/drive/root:"
                      },
                      "fileSystemInfo": {
                        "createdDateTime": "2022-06-13T22:13:13Z",
                        "lastModifiedDateTime": "2022-06-13T22:13:13Z"
                      },
                      "folder": {
                        "childCount": 2
                      }
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "Folder-10": {
        "allOf": [
          {
            "$ref": "#/components/schemas/Folder"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as Agave received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "https://io.plangrid.com/projects/{projectId}/sheets"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {}
                  }
                }
              }
            }
          }
        ]
      },
      "Folder-11": {
        "allOf": [
          {
            "$ref": "#/components/schemas/Folder"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "https://api.procore.com/rest/v1.0/folders/{Folder_ID}"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "id": 12345,
                      "custom_fields": [],
                      "name": "01 Design Files",
                      "name_with_path": "Test-Project-1/01 Design Files/01 Bulletins & Addenda/Test_File.pdf",
                      "parent_id": 12345,
                      "updated_at": "2022-01-01T00:00:00Z",
                      "is_deleted": false,
                      "is_recycle_bin": false,
                      "is_tracked": false,
                      "tracked_folder": null,
                      "has_children": true,
                      "has_children_files": true,
                      "has_children_folders": false,
                      "folders": [],
                      "files": [
                        {
                          "id": 12345,
                          "custom_fields": [],
                          "name": "Test_File.pdf",
                          "parent_id": 12345,
                          "size": 965072,
                          "description": null,
                          "updated_at": "2022-01-01T00:00:00Z",
                          "created_at": "2022-01-01T00:00:00Z",
                          "name_with_path": "Test-Project-1/01 Design Files/01 Bulletins & Addenda/Test File.pdf",
                          "file_versions": [
                            {
                              "id": 12345,
                              "notes": null,
                              "url": "https://www.agaveapi.com/",
                              "size": 98765,
                              "created_at": "2022-01-01T00:00:00Z",
                              "number": 1,
                              "created_by": {
                                "id": 12345,
                                "login": "contact@agaveapi.com",
                                "name": "Agave API Admin"
                              },
                              "file_id": 12345,
                              "prostore_file": {
                                "id": 12345,
                                "name": "Test File.pdf",
                                "url": "https://www.agaveapi.com/",
                                "filename": "Test_File.pdf"
                              }
                            }
                          ],
                          "file_type": "Adobe Acrobat PDF",
                          "is_deleted": false,
                          "checked_out_by": null,
                          "checked_out_until": null,
                          "is_tracked": false,
                          "tracked_folder": null,
                          "private": false,
                          "legacy_id": 12345
                        }
                      ],
                      "private": false,
                      "read_only": false
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "UpdateFolder": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "description": "The name or title of the Folder.",
            "example": "01 Design Files"
          }
        },
        "required": [
          "name"
        ]
      },
      "NewFolder": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "description": "The name or title of the Folder.",
            "example": "01 Design Files"
          },
          "parent_id": {
            "allOf": [
              {
                "description": "The Agave UUID of the parent [Folder](#tag--folders)."
              },
              {
                "$ref": "#/components/schemas/IdPropertyWriteOnly"
              }
            ]
          }
        },
        "required": [
          "parent_id",
          "name"
        ]
      },
      "Photo": {
        "type": "object",
        "properties": {
          "id": {
            "allOf": [
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              },
              {
                "description": "The UUID of the Photo assigned by Agave."
              }
            ]
          },
          "source_id": {
            "type": "string",
            "readOnly": true,
            "example": "12345",
            "description": "The ID of the Photo in the Source System."
          },
          "capture_time": {
            "allOf": [
              {
                "description": "The datetime the Photo was taken."
              },
              {
                "$ref": "#/components/schemas/DateTimeProperty"
              }
            ]
          },
          "creator_id": {
            "allOf": [
              {
                "description": "The UUID assigned by Agave of the [Contact](#tag--contacts) that created the Photo."
              },
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              }
            ]
          },
          "description": {
            "type": "string",
            "description": "A description of the Photo.",
            "example": "Front Door"
          },
          "file_url": {
            "type": "string",
            "description": "A URL at which the Photo can be accessed or downloaded.",
            "example": "https://storage.agaveapi.com/download/photo.pdf?signature=xxx&expires_at=20220530T031901Z"
          },
          "latitude": {
            "type": "number",
            "description": "The latitude of the Photo.",
            "example": 38.897957
          },
          "longitude": {
            "type": "number",
            "description": "The longitude of the Photo.",
            "example": -77.03656
          },
          "name": {
            "type": "string",
            "description": "The name or title of the Photo.",
            "example": "front_door.png"
          },
          "preview_url": {
            "type": "string",
            "description": "A URL at which the Photo can be previewed in a browser.",
            "example": "https://storage.agaveapi.com/preview/photo.pdf?signature=xxx&expires_at=20220101T000001Z"
          },
          "size": {
            "type": "string",
            "description": "The size of the Photo.",
            "example": 98765
          },
          "source_create_time": {
            "allOf": [
              {
                "description": "The datetime the Photo was created."
              },
              {
                "$ref": "#/components/schemas/DateTimeProperty"
              }
            ]
          },
          "source_update_time": {
            "allOf": [
              {
                "description": "The datetime the Photo was last updated."
              },
              {
                "$ref": "#/components/schemas/DateTimeProperty"
              }
            ]
          }
        }
      },
      "Photo-2": {
        "allOf": [
          {
            "$ref": "#/components/schemas/Photo"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "https://api.companycam.com/v2/projects/{{projectId}}/photos"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "id": "12345",
                      "company_id": "12345",
                      "creator_id": "12345",
                      "creator_type": "User",
                      "creator_name": "John Doe",
                      "project_id": "12345",
                      "coordinates": {
                        "lat": 0,
                        "lon": 0
                      },
                      "status": "active",
                      "uris": [
                        {
                          "type": "original",
                          "uri": "https://static.companycam.com/lambda/projects/43139084/photos/",
                          "url": "https://static.companycam.com/lambda/projects/43139084/photos/"
                        },
                        {
                          "type": "web",
                          "uri": "https://static.companycam.com/lambda/projects/43139084/photos/",
                          "url": "https://static.companycam.com/lambda/projects/43139084/photos/"
                        },
                        {
                          "type": "thumbnail",
                          "uri": "https://static.companycam.com/lambda/projects/43139084/photos/",
                          "url": "https://static.companycam.com/lambda/projects/43139084/photos/"
                        },
                        {
                          "type": "original_annotation",
                          "uri": "https://static.companycam.com/lambda/projects/43139084/photos/",
                          "url": "https://static.companycam.com/lambda/projects/43139084/photos/"
                        },
                        {
                          "type": "web_annotation",
                          "uri": "https://static.companycam.com/lambda/projects/43139084/photos/",
                          "url": "https://static.companycam.com/lambda/projects/43139084/photos/"
                        },
                        {
                          "type": "thumbnail_annotation",
                          "uri": "https://static.companycam.com/lambda/projects/43139084/photos/",
                          "url": "https://static.companycam.com/lambda/projects/43139084/photos/"
                        }
                      ],
                      "hash": "12345",
                      "internal": false,
                      "photo_url": "https://app.companycam.com/assets/Image/12345",
                      "captured_at": 1641042000,
                      "created_at": 1641042000,
                      "updated_at": 1641042000,
                      "processing_status": "processed"
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "Photo-3": {
        "allOf": [
          {
            "$ref": "#/components/schemas/Photo"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "https://api.procore.com/rest/v1.0/images"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {}
                  }
                }
              }
            }
          }
        ]
      },
      "NewPhoto": {
        "type": "object",
        "properties": {
          "description": {
            "type": "string",
            "description": "A description of the Photo.",
            "example": "Front Door"
          },
          "name": {
            "type": "string",
            "description": "The name or title of the Photo.",
            "example": "front_door.png"
          },
          "content_type": {
            "type": "string",
            "description": "The MIME type of the uploaded Photo.",
            "example": "image/png"
          },
          "contents": {
            "type": "string",
            "format": "binary",
            "description": "The binary content of the Photo, sent as part of the `multipart/form-data` request."
          }
        }
      },
      "Webhook": {
        "type": "object",
        "properties": {
          "id": {
            "allOf": [
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              },
              {
                "description": "The UUID of the Webhook assigned by Agave."
              }
            ]
          },
          "source_id": {
            "type": "string",
            "readOnly": true,
            "example": "12345",
            "description": "The ID of the Webhook in the Source System."
          },
          "callback_url": {
            "type": "string",
            "description": "The URL that events are being sent to.",
            "example": "https://webhook.site/#!/12345"
          },
          "event": {
            "description": "The event you subscribed to.",
            "type": "string",
            "enum": [
              "CREATE",
              "UPDATE",
              "DELETE"
            ]
          },
          "project_id": {
            "allOf": [
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              },
              {
                "description": "The UUID of the Project assigned by Agave."
              }
            ]
          },
          "target": {
            "type": "string",
            "description": "The ID used to tie events back to what's in your system. This includes the webhook event type (e.g. \"file\"), followed by either the Agave-generated UUID for a specific data object or a \"*\" for all data objects for the requested type.",
            "example": "file:*"
          },
          "type": {
            "description": "The type of data subscribed to.",
            "type": "string",
            "enum": [
              "customer",
              "drawing",
              "file",
              "folder",
              "opportunity",
              "rfi",
              "specification_section",
              "submittal",
              "vendor"
            ]
          }
        }
      },
      "Webhook-2": {
        "allOf": [
          {
            "$ref": "#/components/schemas/Webhook"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "n/a"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "eventId": 3380164703,
                      "subscriptionId": 1852585,
                      "portalId": 23429609,
                      "appId": 1267952,
                      "occurredAt": 1676254128989,
                      "subscriptionType": "company.creation",
                      "attemptNumber": 0,
                      "objectId": 12922996782,
                      "changeFlag": "CREATED",
                      "changeSource": "INTEGRATION",
                      "sourceId": "1267952"
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "Webhook-3": {
        "allOf": [
          {
            "$ref": "#/components/schemas/Webhook"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "https://api.procore.com/rest/v1.0/webhooks/hooks/12345/triggers"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "v": 1,
                      "matches_filters": {
                        "current": []
                      },
                      "meta": {
                        "action": "added",
                        "change_source": "app",
                        "company_id": 12577477,
                        "host": "agave-sandbox.pipedrive.com",
                        "id": 51,
                        "is_bulk_update": false,
                        "matches_filters": {
                          "current": []
                        },
                        "object": "deal",
                        "permitted_user_ids": [
                          17117394,
                          17244697,
                          17939182,
                          17958487
                        ],
                        "pipedrive_service_name": false,
                        "timestamp": 1679545446,
                        "timestamp_micro": 1679545446664180,
                        "prepublish_timestamp": 1679545446913,
                        "trans_pending": false,
                        "user_id": 17244697,
                        "v": 1,
                        "webhook_id": "5392913"
                      },
                      "current": {
                        "email_messages_count": 0,
                        "cc_email": "agave-sandbox+deal51@pipedrivemail.com",
                        "products_count": 0,
                        "next_activity_date": null,
                        "next_activity_type": null,
                        "next_activity_duration": null,
                        "id": 51,
                        "person_id": 1,
                        "creator_user_id": 17244697,
                        "expected_close_date": null,
                        "owner_name": "Sandbox Agave",
                        "participants_count": 0,
                        "stage_id": 1,
                        "probability": null,
                        "undone_activities_count": 0,
                        "renewal_type": "one_time",
                        "active": true,
                        "person_name": "Jane Doe",
                        "last_activity_date": null,
                        "close_time": null,
                        "org_hidden": false,
                        "next_activity_id": null,
                        "weighted_value_currency": "USD",
                        "stage_order_nr": 0,
                        "next_activity_subject": null,
                        "rotten_time": null,
                        "user_id": 17244697,
                        "visible_to": "3",
                        "org_id": 1,
                        "notes_count": 0,
                        "next_activity_time": null,
                        "formatted_value": "$0",
                        "status": "open",
                        "formatted_weighted_value": "$0",
                        "first_won_time": null,
                        "last_outgoing_mail_time": null,
                        "title": "Webhooks deal",
                        "last_activity_id": null,
                        "update_time": "2023-03-23 04:24:06",
                        "activities_count": 0,
                        "pipeline_id": 1,
                        "lost_time": null,
                        "currency": "USD",
                        "weighted_value": 0,
                        "org_name": "Agave",
                        "value": 0,
                        "person_hidden": false,
                        "next_activity_note": null,
                        "files_count": 0,
                        "last_incoming_mail_time": null,
                        "label": null,
                        "lost_reason": null,
                        "deleted": false,
                        "won_time": null,
                        "followers_count": 0,
                        "stage_change_time": null,
                        "add_time": "2023-03-23 04:24:06",
                        "done_activities_count": 0
                      },
                      "previous": null,
                      "event": "added.deal",
                      "retry": 0
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "Webhook-4": {
        "allOf": [
          {
            "$ref": "#/components/schemas/Webhook"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "https://api.procore.com/rest/v1.0/webhooks/hooks/12345/triggers"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "user_id": 12345,
                      "ulid": "12345",
                      "timestamp": "2022-01-01T00:00:00.0000000",
                      "resource_name": "Project Files",
                      "resource_id": 12345,
                      "project_id": 12345,
                      "metadata": {
                        "source_user_id": 12345,
                        "source_project_id": 12345,
                        "source_operation_id": null,
                        "source_company_id": 12345,
                        "source_application_id": null
                      },
                      "id": 12345,
                      "event_type": "create",
                      "company_id": 12345,
                      "api_version": "v2"
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "Webhook-5": {
        "allOf": [
          {
            "$ref": "#/components/schemas/Webhook"
          },
          {
            "type": "object",
            "properties": {
              "source_data": {
                "type": "object",
                "description": "The Source Data as we received it from the Source System. \nSee [Source Data](https://docs.agaveapi.com/agave-api/source-data) for more info.\n",
                "properties": {
                  "path": {
                    "type": "string",
                    "description": "The URL path on the Source System.",
                    "example": "https://api.procore.com/rest/v1.0/webhooks/hooks/12345/triggers"
                  },
                  "content_type": {
                    "type": "string",
                    "description": "The content type of the Source Data.",
                    "example": "application/json"
                  },
                  "data": {
                    "type": "string",
                    "description": "The raw data from the Source System.",
                    "example": {
                      "name": "Customer",
                      "id": "1",
                      "operation": "Update",
                      "lastUpdated": "2023-03-22T19:04:25.000Z"
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "NewWebhook": {
        "type": "object",
        "properties": {
          "authorization_header": {
            "type": "string",
            "description": "If provided, all webhooks POST requests delivered by Agave will contain this Authorization information in the request header.",
            "example": "Bearer {{token}}"
          },
          "callback_url": {
            "type": "string",
            "description": "The url to send events to.",
            "example": "https://webhook.site/#!/12345"
          },
          "event": {
            "description": "The event to subscribe to.",
            "type": "string",
            "enum": [
              "CREATE",
              "UPDATE",
              "DELETE"
            ]
          },
          "project_id": {
            "allOf": [
              {
                "$ref": "#/components/schemas/IdPropertyReadOnly"
              },
              {
                "description": "The UUID of the Project assigned by Agave."
              }
            ]
          },
          "type": {
            "description": "The type of data to subscribe to.",
            "type": "string",
            "enum": [
              "ap_invoice",
              "ap_payment",
              "ar_invoice",
              "ar_payment",
              "budget_line_item",
              "change_event",
              "change_order",
              "coordination_issue",
              "cost_code",
              "cost_type",
              "customer",
              "drawing",
              "drawing_area",
              "estimate",
              "expense",
              "file",
              "filve_version",
              "folder",
              "item",
              "ledger_account",
              "observation",
              "opportunity",
              "photo",
              "prime_contract",
              "prime_contract_line_item",
              "purchase_order",
              "purchase_order_line_item",
              "rfi",
              "rfi_response",
              "specification_section",
              "subcontract",
              "subcontract_line_item",
              "submittal",
              "task",
              "timecard_netry",
              "user",
              "vendor"
            ]
          }
        }
      }
    },
    "headers": {
      "AgaveRequestId": {
        "schema": {
          "type": "string",
          "format": "uuid",
          "minLength": 36,
          "maxLength": 36,
          "description": "A unique request identifier that you can use for debugging and support. To learn more, see [Headers](/agave-api/headers)."
        },
        "example": "d318f7bc-f67c-42c6-ad6f-f807b8d6d05f"
      },
      "AgaveDataRetrievedAt": {
        "schema": {
          "type": "string",
          "format": "date-time",
          "description": "The datetime in ISO-8601 format that the data was retrieved from the Source System."
        },
        "example": "2021-11-20T09:12:28Z"
      }
    },
    "responses": {
      "400": {
        "description": "Bad Request",
        "headers": {
          "Agave-Request-Id": {
            "$ref": "#/components/headers/AgaveRequestId"
          }
        },
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/ValidationErrors"
            }
          }
        }
      },
      "403": {
        "description": "Forbidden",
        "headers": {
          "Agave-Request-Id": {
            "$ref": "#/components/headers/AgaveRequestId"
          }
        }
      },
      "404": {
        "description": "Not Found",
        "headers": {
          "Agave-Request-Id": {
            "$ref": "#/components/headers/AgaveRequestId"
          }
        }
      },
      "429": {
        "description": "Too Many Requests",
        "headers": {
          "Agave-Request-Id": {
            "$ref": "#/components/headers/AgaveRequestId"
          }
        },
        "content": {
          "application/json": {
            "schema": {
              "description": "Too Many Requests",
              "properties": {
                "rate_limit": {
                  "description": "Total rate limit (per minute)",
                  "type": "integer",
                  "example": 60
                },
                "rate_limit_remaining": {
                  "description": "Remaining rate limit",
                  "type": "integer",
                  "example": 56
                },
                "rate_limit_reset": {
                  "description": "How long until rate limits are reset",
                  "type": "string",
                  "format": "date-time",
                  "example": "2021-11-20T09:12:28Z"
                }
              }
            }
          }
        }
      },
      "500": {
        "description": "Internal Server Error",
        "headers": {
          "Agave-Request-Id": {
            "$ref": "#/components/headers/AgaveRequestId"
          }
        }
      },
      "503": {
        "description": "Service Unavailable",
        "headers": {
          "Agave-Request-Id": {
            "$ref": "#/components/headers/AgaveRequestId"
          }
        }
      }
    }
  },
  "x-tagGroups": [
    {
      "name": "link",
      "tags": [
        "link-token",
        "link-debug",
        "link-session",
        "link-management",
        "link-metadata"
      ]
    },
    {
      "name": "admin",
      "tags": [
        "admin-requests"
      ]
    },
    {
      "name": "async",
      "tags": [
        "async-requests"
      ]
    },
    {
      "name": "passthrough",
      "tags": [
        "passthrough-json",
        "passthrough-download",
        "passthrough-multipart"
      ]
    },
    {
      "name": "Customer Management",
      "tags": [
        "activities",
        "appointments",
        "customers",
        "leads",
        "opportunities"
      ]
    },
    {
      "name": "File Management",
      "tags": [
        "files",
        "file-transfers",
        "file-versions",
        "folders",
        "photos"
      ]
    },
    {
      "name": "Financials Management",
      "tags": [
        "actual-production-quantities",
        "ap-invoices",
        "ap-payments",
        "ar-invoices",
        "ar-payments",
        "assets",
        "bank-accounts",
        "batches",
        "budget-line-items",
        "budget-production-quantities",
        "budget-transfers",
        "change-events",
        "change-orders",
        "cost-codes",
        "cost-types",
        "departments",
        "employees",
        "estimates",
        "expenses",
        "inventory-locations",
        "items",
        "item-receipts",
        "job-costs",
        "ledger-accounts",
        "ledger-journals",
        "ledger-journal-entries",
        "prime-contracts",
        "purchase-orders",
        "purchase-order-compliances",
        "service-sites",
        "subcontracts",
        "subcontract-claims",
        "subcontract-compliances",
        "sub-jobs",
        "tax-codes",
        "timecard-entries",
        "wbs",
        "wbs-segments",
        "wbs-segment-items",
        "work-orders"
      ]
    },
    {
      "name": "Project Management",
      "tags": [
        "checklists",
        "checklist-templates",
        "contacts",
        "coordination-issues",
        "drawings",
        "drawing-versions",
        "issues",
        "jobs",
        "locations",
        "observations",
        "projects",
        "rfis",
        "specification-sections",
        "specification-section-versions",
        "submittals",
        "submittal-packages",
        "transmittals",
        "vendors",
        "vendor-compliances"
      ]
    },
    {
      "name": "Webhooks",
      "tags": [
        "webhooks"
      ]
    }
  ]
}